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]
                                            [-e EXECUTOR] [-t TAGS] [--rerun]
                                            [-f FILTER] [--helpfilter]
                                            [-et {local,batch}]
                                            [--module-purge] [-m MODULES]
                                            [-u UNLOAD_MODULES]
                                            [--account ACCOUNT]
                                            [--disable-executor-check]
                                            [--remove-stagedir]
                                            [--maxpendtime MAXPENDTIME]
                                            [--pollinterval POLLINTERVAL]
                                            [--procs PROCS [PROCS ...]]
                                            [--nodes NODES [NODES ...]]
                                            [--rebuild REBUILD]
                                            [--retry RETRY] [-s {parse,build}]
                                            [--testdir TESTDIR]
                                            [--timeout TIMEOUT]

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

select:
  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.
  -e EXECUTOR, --executor EXECUTOR
                        Discover buildspecs by executor name 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,key2=val2
  --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

  --disable-executor-check
                        Disable executor check during configuration check. By
                        default these checks are enforced for Local, Slurm,
                        PBS, LSF, and Cobalt Executor.
  --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
  -s {parse,build}, --stage {parse,build}
                        Control behavior of buildtest build to stop execution
                        after 'parse' or 'build' stage
  --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

Building a Test

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
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:49:46                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variabl… │ script │ generic… │ None     │ None  │ None  │ Declare  │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ variabl… │         │
│          │        │          │          │       │       │ in bash  │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/84dd6959: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/84dd6959
variables_bash/84dd6959: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/84dd6959/stage
variables_bash/84dd6959: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/84dd6959/variables_bash_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/84dd6959 does not have any dependencies adding test to queue
variables_bash/84dd6959: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/84dd6959/stage
variables_bash/84dd6959: Running Test via command: bash --norc --noprofile -eo pipefail variables_bash_build.sh
variables_bash/84dd6959: Test completed in 0.077881 seconds
variables_bash/84dd6959: Test completed with returncode: 0
variables_bash/84dd6959: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/84dd6959/variables_bash.out
variables_bash/84dd6959: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/84dd6959/variables_bash.err
In this iteration we are going to run the following tests: [variables_bash/84dd6959]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ variables_ba │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.077881 │
│ sh/84dd6959  │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 1 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest__whknrp3.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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:23                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/g… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/g… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/g… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/g… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/general_tests/configuration/ulimits.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/general_tests/configuration/kernel_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/general_tests/configuration/disk_usage.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/general_tests/configuration/systemd-default-target.yml: VALID
Total builder objects created: 9
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ ulimit_… │ script │ generic… │ None     │ None  │ None  │ Check if │ /home/… │
│          │        │          │          │       │       │ file     │         │
│          │        │          │          │       │       │ lock is  │         │
│          │        │          │          │       │       │ set to   │         │
│          │        │          │          │       │       │ unlimit… │         │
│          │        │          │          │       │       │ in       │         │
│          │        │          │          │       │       │ ulimits  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_… │ script │ generic… │ None     │ None  │ None  │ Check if │ /home/… │
│          │        │          │          │       │       │ cputime  │         │
│          │        │          │          │       │       │ is set   │         │
│          │        │          │          │       │       │ to       │         │
│          │        │          │          │       │       │ unlimit… │         │
│          │        │          │          │       │       │ in       │         │
│          │        │          │          │       │       │ ulimits  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_… │ script │ generic… │ None     │ None  │ None  │ Check if │ /home/… │
│          │        │          │          │       │       │ stack    │         │
│          │        │          │          │       │       │ size is  │         │
│          │        │          │          │       │       │ set to   │         │
│          │        │          │          │       │       │ unlimit… │         │
│          │        │          │          │       │       │ in       │         │
│          │        │          │          │       │       │ ulimits  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_… │ script │ generic… │ None     │ None  │ None  │ Check    │ /home/… │
│          │        │          │          │       │       │ virtual  │         │
│          │        │          │          │       │       │ memory   │         │
│          │        │          │          │       │       │ size and │         │
│          │        │          │          │       │       │ check if │         │
│          │        │          │          │       │       │ its set  │         │
│          │        │          │          │       │       │ to       │         │
│          │        │          │          │       │       │ unlimit… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_… │ script │ generic… │ None     │ None  │ None  │ Check if │ /home/… │
│          │        │          │          │       │       │ open     │         │
│          │        │          │          │       │       │ file     │         │
│          │        │          │          │       │       │ descrip… │         │
│          │        │          │          │       │       │ limit is │         │
│          │        │          │          │       │       │ set to   │         │
│          │        │          │          │       │       │ 4096     │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_… │ script │ generic… │ None     │ None  │ None  │ Check    │ /home/… │
│          │        │          │          │       │       │ max      │         │
│          │        │          │          │       │       │ number   │         │
│          │        │          │          │       │       │ of user  │         │
│          │        │          │          │       │       │ process  │         │
│          │        │          │          │       │       │ limit is │         │
│          │        │          │          │       │       │ set to   │         │
│          │        │          │          │       │       │ 2048     │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ kernel_… │ script │ generic… │ None     │ None  │ None  │ Retrieve │ /home/… │
│          │        │          │          │       │       │ Kernel   │         │
│          │        │          │          │       │       │ Swap     │         │
│          │        │          │          │       │       │ Usage    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ root_di… │ script │ generic… │ None     │ None  │ None  │ Check    │ /home/… │
│          │        │          │          │       │       │ root     │         │
│          │        │          │          │       │       │ disk     │         │
│          │        │          │          │       │       │ usage    │         │
│          │        │          │          │       │       │ and      │         │
│          │        │          │          │       │       │ report   │         │
│          │        │          │          │       │       │ if it    │         │
│          │        │          │          │       │       │ exceeds  │         │
│          │        │          │          │       │       │ thresho… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ systemd… │ script │ generic… │ None     │ None  │ None  │ check if │ /home/… │
│          │        │          │          │       │       │ default  │         │
│          │        │          │          │       │       │ target   │         │
│          │        │          │          │       │       │ is       │         │
│          │        │          │          │       │       │ multi-u… │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
ulimit_filelock_unlimited/f93e579b: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/f93e579b
ulimit_filelock_unlimited/f93e579b: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/f93e579b/stage
ulimit_filelock_unlimited/f93e579b: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/f93e579b/ulimit_filelock_unlimited_build.sh
ulimit_cputime_unlimited/07664ed1: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/07664ed1
ulimit_cputime_unlimited/07664ed1: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/07664ed1/stage
ulimit_cputime_unlimited/07664ed1: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/07664ed1/ulimit_cputime_unlimited_build.sh
ulimit_stacksize_unlimited/627812f7: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/627812f7
ulimit_stacksize_unlimited/627812f7: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/627812f7/stage
ulimit_stacksize_unlimited/627812f7: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/627812f7/ulimit_stacksize_unlimited_build.sh
ulimit_vmsize_unlimited/56fbb005: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/56fbb005
ulimit_vmsize_unlimited/56fbb005: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/56fbb005/stage
ulimit_vmsize_unlimited/56fbb005: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/56fbb005/ulimit_vmsize_unlimited_build.sh
ulimit_filedescriptor_4096/6e3f07c3: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/6e3f07c3
ulimit_filedescriptor_4096/6e3f07c3: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/6e3f07c3/stage
ulimit_filedescriptor_4096/6e3f07c3: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/6e3f07c3/ulimit_filedescriptor_4096_build.sh
ulimit_max_user_process_2048/d9d2a383: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/d9d2a383
ulimit_max_user_process_2048/d9d2a383: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/d9d2a383/stage
ulimit_max_user_process_2048/d9d2a383: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/d9d2a383/ulimit_max_user_process_2048_build.sh
kernel_swapusage/4fa94568: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/4fa94568
kernel_swapusage/4fa94568: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/4fa94568/stage
kernel_swapusage/4fa94568: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/4fa94568/kernel_swapusage_build.sh
root_disk_usage/183aeb8f: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/183aeb8f
root_disk_usage/183aeb8f: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/183aeb8f/stage
root_disk_usage/183aeb8f: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/183aeb8f/root_disk_usage_build.sh
systemd_default_target/39a32388: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/39a32388
systemd_default_target/39a32388: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/39a32388/stage
systemd_default_target/39a32388: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/39a32388/systemd_default_target_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
systemd_default_target/39a32388 does not have any dependencies adding test to queue
ulimit_filedescriptor_4096/6e3f07c3 does not have any dependencies adding test to queue
root_disk_usage/183aeb8f does not have any dependencies adding test to queue
ulimit_stacksize_unlimited/627812f7 does not have any dependencies adding test to queue
ulimit_filelock_unlimited/f93e579b does not have any dependencies adding test to queue
ulimit_vmsize_unlimited/56fbb005 does not have any dependencies adding test to queue
ulimit_max_user_process_2048/d9d2a383 does not have any dependencies adding test to queue
ulimit_cputime_unlimited/07664ed1 does not have any dependencies adding test to queue
kernel_swapusage/4fa94568 does not have any dependencies adding test to queue
systemd_default_target/39a32388: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/39a32388/stage
systemd_default_target/39a32388: Running Test via command: bash --norc --noprofile -eo pipefail systemd_default_target_build.sh
systemd_default_target/39a32388: Test completed in 0.008086 seconds
systemd_default_target/39a32388: Test completed with returncode: 1
systemd_default_target/39a32388: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/39a32388/systemd_default_target.out
systemd_default_target/39a32388: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/39a32388/systemd_default_target.err
ulimit_filedescriptor_4096/6e3f07c3: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/6e3f07c3/stage
ulimit_filedescriptor_4096/6e3f07c3: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_filedescriptor_4096_build.sh
ulimit_filedescriptor_4096/6e3f07c3: Test completed in 0.005383 seconds
ulimit_filedescriptor_4096/6e3f07c3: Test completed with returncode: 0
ulimit_filedescriptor_4096/6e3f07c3: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/6e3f07c3/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/6e3f07c3: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/6e3f07c3/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/6e3f07c3: performing regular expression - '^4096$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/6e3f07c3/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/6e3f07c3: Regular Expression Match - Failed!
root_disk_usage/183aeb8f: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/183aeb8f/stage
root_disk_usage/183aeb8f: Running Test via command: bash --norc --noprofile -eo pipefail root_disk_usage_build.sh
root_disk_usage/183aeb8f: Test completed in 0.008707 seconds
root_disk_usage/183aeb8f: Test completed with returncode: 0
root_disk_usage/183aeb8f: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/183aeb8f/root_disk_usage.out
root_disk_usage/183aeb8f: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/183aeb8f/root_disk_usage.err
ulimit_stacksize_unlimited/627812f7: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/627812f7/stage
ulimit_stacksize_unlimited/627812f7: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_stacksize_unlimited_build.sh
ulimit_stacksize_unlimited/627812f7: Test completed in 0.005317 seconds
ulimit_stacksize_unlimited/627812f7: Test completed with returncode: 0
ulimit_stacksize_unlimited/627812f7: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/627812f7/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/627812f7: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/627812f7/ulimit_stacksize_unlimited.err
ulimit_stacksize_unlimited/627812f7: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/627812f7/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/627812f7: Regular Expression Match - Failed!
ulimit_filelock_unlimited/f93e579b: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/f93e579b/stage
ulimit_filelock_unlimited/f93e579b: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_filelock_unlimited_build.sh
ulimit_filelock_unlimited/f93e579b: Test completed in 0.005158 seconds
ulimit_filelock_unlimited/f93e579b: Test completed with returncode: 0
ulimit_filelock_unlimited/f93e579b: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/f93e579b/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/f93e579b: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/f93e579b/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/f93e579b: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/f93e579b/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/f93e579b: Regular Expression Match - Success!
ulimit_vmsize_unlimited/56fbb005: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/56fbb005/stage
ulimit_vmsize_unlimited/56fbb005: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_vmsize_unlimited_build.sh
ulimit_vmsize_unlimited/56fbb005: Test completed in 0.005393 seconds
ulimit_vmsize_unlimited/56fbb005: Test completed with returncode: 0
ulimit_vmsize_unlimited/56fbb005: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/56fbb005/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/56fbb005: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/56fbb005/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/56fbb005: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/56fbb005/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/56fbb005: Regular Expression Match - Success!
ulimit_max_user_process_2048/d9d2a383: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/d9d2a383/stage
ulimit_max_user_process_2048/d9d2a383: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_max_user_process_2048_build.sh
ulimit_max_user_process_2048/d9d2a383: Test completed in 0.005385 seconds
ulimit_max_user_process_2048/d9d2a383: Test completed with returncode: 0
ulimit_max_user_process_2048/d9d2a383: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/d9d2a383/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/d9d2a383: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/d9d2a383/ulimit_max_user_process_2048.err
ulimit_max_user_process_2048/d9d2a383: performing regular expression - '^2048$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/d9d2a383/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/d9d2a383: Regular Expression Match - Failed!
ulimit_cputime_unlimited/07664ed1: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/07664ed1/stage
ulimit_cputime_unlimited/07664ed1: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_cputime_unlimited_build.sh
ulimit_cputime_unlimited/07664ed1: Test completed in 0.005455 seconds
ulimit_cputime_unlimited/07664ed1: Test completed with returncode: 0
ulimit_cputime_unlimited/07664ed1: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/07664ed1/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/07664ed1: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/07664ed1/ulimit_cputime_unlimited.err
ulimit_cputime_unlimited/07664ed1: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/07664ed1/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/07664ed1: Regular Expression Match - Success!
kernel_swapusage/4fa94568: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/4fa94568/stage
kernel_swapusage/4fa94568: Running Test via command: bash --norc --noprofile -eo pipefail kernel_swapusage_build.sh
kernel_swapusage/4fa94568: Test completed in 0.006398 seconds
kernel_swapusage/4fa94568: Test completed with returncode: 255
kernel_swapusage/4fa94568: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/4fa94568/kernel_swapusage.out
kernel_swapusage/4fa94568: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/4fa94568/kernel_swapusage.err
In this iteration we are going to run the following tests: [systemd_default_target/39a32388, ulimit_filedescriptor_4096/6e3f07c3, root_disk_usage/183aeb8f, ulimit_stacksize_unlimited/627812f7, ulimit_filelock_unlimited/f93e579b, ulimit_vmsize_unlimited/56fbb005, ulimit_max_user_process_2048/d9d2a383, ulimit_cputime_unlimited/07664ed1, kernel_swapusage/4fa94568]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ systemd_defa │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.008086 │
│ ult_target/3 │              │        │               │            │          │
│ 9a32388      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ root_disk_us │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.008707 │
│ age/183aeb8f │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_cputi │ generic.loc… │ PASS   │ False True    │ 0          │ 0.005455 │
│ me_unlimited │              │        │ False         │            │          │
│ /07664ed1    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_filed │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.005383 │
│ escriptor_40 │              │        │ False         │            │          │
│ 96/6e3f07c3  │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ kernel_swapu │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 255        │ 0.006398 │
│ sage/4fa9456 │              │        │               │            │          │
│ 8            │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_max_u │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.005385 │
│ ser_process_ │              │        │ False         │            │          │
│ 2048/d9d2a38 │              │        │               │            │          │
│ 3            │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_vmsiz │ generic.loc… │ PASS   │ False True    │ 0          │ 0.005393 │
│ e_unlimited/ │              │        │ False         │            │          │
│ 56fbb005     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_stack │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.005317 │
│ size_unlimit │              │        │ False         │            │          │
│ ed/627812f7  │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_filel │ generic.loc… │ PASS   │ False True    │ 0          │ 0.005158 │
│ ock_unlimite │              │        │ False         │            │          │
│ d/f93e579b   │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 9 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_lm30rmmf.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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:24                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/g… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/g… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/g… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/g… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/general_tests/configuration/disk_usage.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/general_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/general_tests/configuration/kernel_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/general_tests/configuration/ulimits.yml: VALID
Total builder objects created: 10
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ root_di… │ script │ generic… │ None     │ None  │ None  │ Check    │ /home/… │
│          │        │          │          │       │       │ root     │         │
│          │        │          │          │       │       │ disk     │         │
│          │        │          │          │       │       │ usage    │         │
│          │        │          │          │       │       │ and      │         │
│          │        │          │          │       │       │ report   │         │
│          │        │          │          │       │       │ if it    │         │
│          │        │          │          │       │       │ exceeds  │         │
│          │        │          │          │       │       │ thresho… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ variabl… │ script │ generic… │ None     │ None  │ None  │ Declare  │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ variabl… │         │
│          │        │          │          │       │       │ in bash  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ systemd… │ script │ generic… │ None     │ None  │ None  │ check if │ /home/… │
│          │        │          │          │       │       │ default  │         │
│          │        │          │          │       │       │ target   │         │
│          │        │          │          │       │       │ is       │         │
│          │        │          │          │       │       │ multi-u… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ kernel_… │ script │ generic… │ None     │ None  │ None  │ Retrieve │ /home/… │
│          │        │          │          │       │       │ Kernel   │         │
│          │        │          │          │       │       │ Swap     │         │
│          │        │          │          │       │       │ Usage    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_… │ script │ generic… │ None     │ None  │ None  │ Check if │ /home/… │
│          │        │          │          │       │       │ file     │         │
│          │        │          │          │       │       │ lock is  │         │
│          │        │          │          │       │       │ set to   │         │
│          │        │          │          │       │       │ unlimit… │         │
│          │        │          │          │       │       │ in       │         │
│          │        │          │          │       │       │ ulimits  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_… │ script │ generic… │ None     │ None  │ None  │ Check if │ /home/… │
│          │        │          │          │       │       │ cputime  │         │
│          │        │          │          │       │       │ is set   │         │
│          │        │          │          │       │       │ to       │         │
│          │        │          │          │       │       │ unlimit… │         │
│          │        │          │          │       │       │ in       │         │
│          │        │          │          │       │       │ ulimits  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_… │ script │ generic… │ None     │ None  │ None  │ Check if │ /home/… │
│          │        │          │          │       │       │ stack    │         │
│          │        │          │          │       │       │ size is  │         │
│          │        │          │          │       │       │ set to   │         │
│          │        │          │          │       │       │ unlimit… │         │
│          │        │          │          │       │       │ in       │         │
│          │        │          │          │       │       │ ulimits  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_… │ script │ generic… │ None     │ None  │ None  │ Check    │ /home/… │
│          │        │          │          │       │       │ virtual  │         │
│          │        │          │          │       │       │ memory   │         │
│          │        │          │          │       │       │ size and │         │
│          │        │          │          │       │       │ check if │         │
│          │        │          │          │       │       │ its set  │         │
│          │        │          │          │       │       │ to       │         │
│          │        │          │          │       │       │ unlimit… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_… │ script │ generic… │ None     │ None  │ None  │ Check if │ /home/… │
│          │        │          │          │       │       │ open     │         │
│          │        │          │          │       │       │ file     │         │
│          │        │          │          │       │       │ descrip… │         │
│          │        │          │          │       │       │ limit is │         │
│          │        │          │          │       │       │ set to   │         │
│          │        │          │          │       │       │ 4096     │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ ulimit_… │ script │ generic… │ None     │ None  │ None  │ Check    │ /home/… │
│          │        │          │          │       │       │ max      │         │
│          │        │          │          │       │       │ number   │         │
│          │        │          │          │       │       │ of user  │         │
│          │        │          │          │       │       │ process  │         │
│          │        │          │          │       │       │ limit is │         │
│          │        │          │          │       │       │ set to   │         │
│          │        │          │          │       │       │ 2048     │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
root_disk_usage/bb6a7de1: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/bb6a7de1
root_disk_usage/bb6a7de1: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/bb6a7de1/stage
root_disk_usage/bb6a7de1: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/bb6a7de1/root_disk_usage_build.sh
variables_bash/2cd435c9: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/2cd435c9
variables_bash/2cd435c9: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/2cd435c9/stage
variables_bash/2cd435c9: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/2cd435c9/variables_bash_build.sh
systemd_default_target/b0f28300: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/b0f28300
systemd_default_target/b0f28300: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/b0f28300/stage
systemd_default_target/b0f28300: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/b0f28300/systemd_default_target_build.sh
kernel_swapusage/d62fffbd: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/d62fffbd
kernel_swapusage/d62fffbd: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/d62fffbd/stage
kernel_swapusage/d62fffbd: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/d62fffbd/kernel_swapusage_build.sh
ulimit_filelock_unlimited/9e3efe2d: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/9e3efe2d
ulimit_filelock_unlimited/9e3efe2d: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/9e3efe2d/stage
ulimit_filelock_unlimited/9e3efe2d: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/9e3efe2d/ulimit_filelock_unlimited_build.sh
ulimit_cputime_unlimited/2a61e073: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/2a61e073
ulimit_cputime_unlimited/2a61e073: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/2a61e073/stage
ulimit_cputime_unlimited/2a61e073: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/2a61e073/ulimit_cputime_unlimited_build.sh
ulimit_stacksize_unlimited/538adf53: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/538adf53
ulimit_stacksize_unlimited/538adf53: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/538adf53/stage
ulimit_stacksize_unlimited/538adf53: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/538adf53/ulimit_stacksize_unlimited_build.sh
ulimit_vmsize_unlimited/20700928: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/20700928
ulimit_vmsize_unlimited/20700928: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/20700928/stage
ulimit_vmsize_unlimited/20700928: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/20700928/ulimit_vmsize_unlimited_build.sh
ulimit_filedescriptor_4096/02a16e99: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/02a16e99
ulimit_filedescriptor_4096/02a16e99: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/02a16e99/stage
ulimit_filedescriptor_4096/02a16e99: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/02a16e99/ulimit_filedescriptor_4096_build.sh
ulimit_max_user_process_2048/2f2828a9: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2f2828a9
ulimit_max_user_process_2048/2f2828a9: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2f2828a9/stage
ulimit_max_user_process_2048/2f2828a9: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2f2828a9/ulimit_max_user_process_2048_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
ulimit_cputime_unlimited/2a61e073 does not have any dependencies adding test to queue
variables_bash/2cd435c9 does not have any dependencies adding test to queue
ulimit_filedescriptor_4096/02a16e99 does not have any dependencies adding test to queue
ulimit_max_user_process_2048/2f2828a9 does not have any dependencies adding test to queue
root_disk_usage/bb6a7de1 does not have any dependencies adding test to queue
systemd_default_target/b0f28300 does not have any dependencies adding test to queue
ulimit_filelock_unlimited/9e3efe2d does not have any dependencies adding test to queue
ulimit_stacksize_unlimited/538adf53 does not have any dependencies adding test to queue
ulimit_vmsize_unlimited/20700928 does not have any dependencies adding test to queue
kernel_swapusage/d62fffbd does not have any dependencies adding test to queue
kernel_swapusage/d62fffbd: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/d62fffbd/stage
kernel_swapusage/d62fffbd: Running Test via command: bash --norc --noprofile -eo pipefail kernel_swapusage_build.sh
kernel_swapusage/d62fffbd: Test completed in 0.006404 seconds
kernel_swapusage/d62fffbd: Test completed with returncode: 255
kernel_swapusage/d62fffbd: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/d62fffbd/kernel_swapusage.out
kernel_swapusage/d62fffbd: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/d62fffbd/kernel_swapusage.err
ulimit_filedescriptor_4096/02a16e99: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/02a16e99/stage
ulimit_filedescriptor_4096/02a16e99: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_filedescriptor_4096_build.sh
ulimit_filedescriptor_4096/02a16e99: Test completed in 0.005373 seconds
ulimit_filedescriptor_4096/02a16e99: Test completed with returncode: 0
ulimit_filedescriptor_4096/02a16e99: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/02a16e99/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/02a16e99: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/02a16e99/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/02a16e99: performing regular expression - '^4096$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/02a16e99/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/02a16e99: Regular Expression Match - Failed!
ulimit_max_user_process_2048/2f2828a9: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2f2828a9/stage
ulimit_max_user_process_2048/2f2828a9: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_max_user_process_2048_build.sh
ulimit_max_user_process_2048/2f2828a9: Test completed in 0.005204 seconds
ulimit_max_user_process_2048/2f2828a9: Test completed with returncode: 0
ulimit_max_user_process_2048/2f2828a9: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2f2828a9/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/2f2828a9: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2f2828a9/ulimit_max_user_process_2048.err
ulimit_max_user_process_2048/2f2828a9: performing regular expression - '^2048$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/2f2828a9/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/2f2828a9: Regular Expression Match - Failed!
ulimit_cputime_unlimited/2a61e073: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/2a61e073/stage
ulimit_cputime_unlimited/2a61e073: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_cputime_unlimited_build.sh
ulimit_cputime_unlimited/2a61e073: Test completed in 0.005126 seconds
ulimit_cputime_unlimited/2a61e073: Test completed with returncode: 0
ulimit_cputime_unlimited/2a61e073: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/2a61e073/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/2a61e073: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/2a61e073/ulimit_cputime_unlimited.err
ulimit_cputime_unlimited/2a61e073: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/2a61e073/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/2a61e073: Regular Expression Match - Success!
root_disk_usage/bb6a7de1: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/bb6a7de1/stage
root_disk_usage/bb6a7de1: Running Test via command: bash --norc --noprofile -eo pipefail root_disk_usage_build.sh
root_disk_usage/bb6a7de1: Test completed in 0.008611 seconds
root_disk_usage/bb6a7de1: Test completed with returncode: 0
root_disk_usage/bb6a7de1: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/bb6a7de1/root_disk_usage.out
root_disk_usage/bb6a7de1: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/bb6a7de1/root_disk_usage.err
systemd_default_target/b0f28300: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/b0f28300/stage
systemd_default_target/b0f28300: Running Test via command: bash --norc --noprofile -eo pipefail systemd_default_target_build.sh
systemd_default_target/b0f28300: Test completed in 0.007485 seconds
systemd_default_target/b0f28300: Test completed with returncode: 1
systemd_default_target/b0f28300: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/b0f28300/systemd_default_target.out
systemd_default_target/b0f28300: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/b0f28300/systemd_default_target.err
ulimit_filelock_unlimited/9e3efe2d: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/9e3efe2d/stage
ulimit_filelock_unlimited/9e3efe2d: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_filelock_unlimited_build.sh
ulimit_filelock_unlimited/9e3efe2d: Test completed in 0.005288 seconds
ulimit_filelock_unlimited/9e3efe2d: Test completed with returncode: 0
ulimit_filelock_unlimited/9e3efe2d: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/9e3efe2d/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/9e3efe2d: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/9e3efe2d/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/9e3efe2d: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/9e3efe2d/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/9e3efe2d: Regular Expression Match - Success!
ulimit_stacksize_unlimited/538adf53: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/538adf53/stage
ulimit_stacksize_unlimited/538adf53: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_stacksize_unlimited_build.sh
ulimit_stacksize_unlimited/538adf53: Test completed in 0.005419 seconds
ulimit_stacksize_unlimited/538adf53: Test completed with returncode: 0
ulimit_stacksize_unlimited/538adf53: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/538adf53/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/538adf53: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/538adf53/ulimit_stacksize_unlimited.err
ulimit_stacksize_unlimited/538adf53: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/538adf53/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/538adf53: Regular Expression Match - Failed!
ulimit_vmsize_unlimited/20700928: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/20700928/stage
ulimit_vmsize_unlimited/20700928: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_vmsize_unlimited_build.sh
ulimit_vmsize_unlimited/20700928: Test completed in 0.005514 seconds
ulimit_vmsize_unlimited/20700928: Test completed with returncode: 0
ulimit_vmsize_unlimited/20700928: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/20700928/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/20700928: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/20700928/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/20700928: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/20700928/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/20700928: Regular Expression Match - Success!
variables_bash/2cd435c9: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/2cd435c9/stage
variables_bash/2cd435c9: Running Test via command: bash --norc --noprofile -eo pipefail variables_bash_build.sh
variables_bash/2cd435c9: Test completed in 0.00886 seconds
variables_bash/2cd435c9: Test completed with returncode: 0
variables_bash/2cd435c9: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/2cd435c9/variables_bash.out
variables_bash/2cd435c9: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/2cd435c9/variables_bash.err
In this iteration we are going to run the following tests: [kernel_swapusage/d62fffbd, ulimit_filedescriptor_4096/02a16e99, ulimit_max_user_process_2048/2f2828a9, ulimit_cputime_unlimited/2a61e073, root_disk_usage/bb6a7de1, systemd_default_target/b0f28300, ulimit_filelock_unlimited/9e3efe2d, ulimit_stacksize_unlimited/538adf53, ulimit_vmsize_unlimited/20700928, variables_bash/2cd435c9]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ ulimit_filed │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.005373 │
│ escriptor_40 │              │        │ False         │            │          │
│ 96/02a16e99  │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ variables_ba │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.00886  │
│ sh/2cd435c9  │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_max_u │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.005204 │
│ ser_process_ │              │        │ False         │            │          │
│ 2048/2f2828a │              │        │               │            │          │
│ 9            │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_vmsiz │ generic.loc… │ PASS   │ False True    │ 0          │ 0.005514 │
│ e_unlimited/ │              │        │ False         │            │          │
│ 20700928     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ root_disk_us │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.008611 │
│ age/bb6a7de1 │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_cputi │ generic.loc… │ PASS   │ False True    │ 0          │ 0.005126 │
│ me_unlimited │              │        │ False         │            │          │
│ /2a61e073    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_filel │ generic.loc… │ PASS   │ False True    │ 0          │ 0.005288 │
│ ock_unlimite │              │        │ False         │            │          │
│ d/9e3efe2d   │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_stack │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.005419 │
│ size_unlimit │              │        │ False         │            │          │
│ ed/538adf53  │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ kernel_swapu │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 255        │ 0.006404 │
│ sage/d62fffb │              │        │               │            │          │
│ d            │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ systemd_defa │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.007485 │
│ ult_target/b │              │        │               │            │          │
│ 0f28300      │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 10 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_012a4zv7.log

Excluding Buildspecs

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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:24                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
There are no 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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:25                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/g… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/g… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/g… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/g… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                              Excluded buildspecs                               
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/g… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/general_tests/configuration/kernel_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/general_tests/configuration/disk_usage.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/general_tests/configuration/systemd-default-target.yml: VALID
Total builder objects created: 3
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ kernel_… │ script │ generic… │ None     │ None  │ None  │ Retrieve │ /home/… │
│          │        │          │          │       │       │ Kernel   │         │
│          │        │          │          │       │       │ Swap     │         │
│          │        │          │          │       │       │ Usage    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ root_di… │ script │ generic… │ None     │ None  │ None  │ Check    │ /home/… │
│          │        │          │          │       │       │ root     │         │
│          │        │          │          │       │       │ disk     │         │
│          │        │          │          │       │       │ usage    │         │
│          │        │          │          │       │       │ and      │         │
│          │        │          │          │       │       │ report   │         │
│          │        │          │          │       │       │ if it    │         │
│          │        │          │          │       │       │ exceeds  │         │
│          │        │          │          │       │       │ thresho… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ systemd… │ script │ generic… │ None     │ None  │ None  │ check if │ /home/… │
│          │        │          │          │       │       │ default  │         │
│          │        │          │          │       │       │ target   │         │
│          │        │          │          │       │       │ is       │         │
│          │        │          │          │       │       │ multi-u… │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
kernel_swapusage/08cfdd55: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/08cfdd55
kernel_swapusage/08cfdd55: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/08cfdd55/stage
kernel_swapusage/08cfdd55: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/08cfdd55/kernel_swapusage_build.sh
root_disk_usage/32720a12: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/32720a12
root_disk_usage/32720a12: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/32720a12/stage
root_disk_usage/32720a12: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/32720a12/root_disk_usage_build.sh
systemd_default_target/ab121eda: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/ab121eda
systemd_default_target/ab121eda: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/ab121eda/stage
systemd_default_target/ab121eda: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/ab121eda/systemd_default_target_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
systemd_default_target/ab121eda does not have any dependencies adding test to queue
root_disk_usage/32720a12 does not have any dependencies adding test to queue
kernel_swapusage/08cfdd55 does not have any dependencies adding test to queue
systemd_default_target/ab121eda: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/ab121eda/stage
systemd_default_target/ab121eda: Running Test via command: bash --norc --noprofile -eo pipefail systemd_default_target_build.sh
systemd_default_target/ab121eda: Test completed in 0.007967 seconds
systemd_default_target/ab121eda: Test completed with returncode: 1
systemd_default_target/ab121eda: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/ab121eda/systemd_default_target.out
systemd_default_target/ab121eda: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/ab121eda/systemd_default_target.err
kernel_swapusage/08cfdd55: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/08cfdd55/stage
kernel_swapusage/08cfdd55: Running Test via command: bash --norc --noprofile -eo pipefail kernel_swapusage_build.sh
kernel_swapusage/08cfdd55: Test completed in 0.006031 seconds
kernel_swapusage/08cfdd55: Test completed with returncode: 255
kernel_swapusage/08cfdd55: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/08cfdd55/kernel_swapusage.out
kernel_swapusage/08cfdd55: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/kernel_state/kernel_swapusage/08cfdd55/kernel_swapusage.err
root_disk_usage/32720a12: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/32720a12/stage
root_disk_usage/32720a12: Running Test via command: bash --norc --noprofile -eo pipefail root_disk_usage_build.sh
root_disk_usage/32720a12: Test completed in 0.008672 seconds
root_disk_usage/32720a12: Test completed with returncode: 0
root_disk_usage/32720a12: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/32720a12/root_disk_usage.out
root_disk_usage/32720a12: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/disk_usage/root_disk_usage/32720a12/root_disk_usage.err
In this iteration we are going to run the following tests: [systemd_default_target/ab121eda, kernel_swapusage/08cfdd55, root_disk_usage/32720a12]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ systemd_defa │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.007967 │
│ ult_target/a │              │        │               │            │          │
│ b121eda      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ kernel_swapu │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 255        │ 0.006031 │
│ sage/08cfdd5 │              │        │               │            │          │
│ 5            │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ root_disk_us │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.008672 │
│ age/32720a12 │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 3 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_ojffp19t.log

Building By 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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:26                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                           Buildspecs By Tag=network                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/tags_example.yml: VALID
Total builder objects created: 2
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ string_… │ script │ generic… │ None     │ None  │ None  │ tags can │ /home/… │
│          │        │          │          │       │       │ be a     │         │
│          │        │          │          │       │       │ string   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ list_of… │ script │ generic… │ None     │ None  │ None  │ tags can │ /home/… │
│          │        │          │          │       │       │ be a     │         │
│          │        │          │          │       │       │ list of  │         │
│          │        │          │          │       │       │ strings  │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
string_tag/8196d0e7: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/string_tag/8196d0e7
string_tag/8196d0e7: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/string_tag/8196d0e7/stage
string_tag/8196d0e7: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/string_tag/8196d0e7/string_tag_build.sh
list_of_strings_tags/86cec1da: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/list_of_strings_tags/86cec1da
list_of_strings_tags/86cec1da: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/list_of_strings_tags/86cec1da/stage
list_of_strings_tags/86cec1da: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/list_of_strings_tags/86cec1da/list_of_strings_tags_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
list_of_strings_tags/86cec1da does not have any dependencies adding test to queue
string_tag/8196d0e7 does not have any dependencies adding test to queue
list_of_strings_tags/86cec1da: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/list_of_strings_tags/86cec1da/stage
list_of_strings_tags/86cec1da: Running Test via command: bash --norc --noprofile -eo pipefail list_of_strings_tags_build.sh
list_of_strings_tags/86cec1da: Test completed in 3.032019 seconds
list_of_strings_tags/86cec1da: Test completed with returncode: 0
list_of_strings_tags/86cec1da: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/list_of_strings_tags/86cec1da/list_of_strings_tags.out
list_of_strings_tags/86cec1da: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/list_of_strings_tags/86cec1da/list_of_strings_tags.err
string_tag/8196d0e7: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/string_tag/8196d0e7/stage
string_tag/8196d0e7: Running Test via command: bash --norc --noprofile -eo pipefail string_tag_build.sh
string_tag/8196d0e7: Test completed in 0.006273 seconds
string_tag/8196d0e7: Test completed with returncode: 0
string_tag/8196d0e7: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/string_tag/8196d0e7/string_tag.out
string_tag/8196d0e7: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/string_tag/8196d0e7/string_tag.err
In this iteration we are going to run the following tests: [list_of_strings_tags/86cec1da, string_tag/8196d0e7]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ string_tag/8 │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.006273 │
│ 196d0e7      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ list_of_stri │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 3.032019 │
│ ngs_tags/86c │              │        │               │            │          │
│ ec1da        │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 2 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_s0c15pt9.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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:29                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/pass_returncode.yml: VALID
Total builder objects created: 6
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ circle_… │ script │ generic… │ None     │ None  │ None  │ Calcula… │ /home/… │
│          │        │          │          │       │       │ circle   │         │
│          │        │          │          │       │       │ of area  │         │
│          │        │          │          │       │       │ given a  │         │
│          │        │          │          │       │       │ radius   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ python_… │ script │ generic… │ None     │ None  │ None  │ Hello    │ /home/… │
│          │        │          │          │       │       │ World    │         │
│          │        │          │          │       │       │ python   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_f… │ script │ generic… │ None     │ None  │ None  │ exit 1   │ /home/… │
│          │        │          │          │       │       │ by       │         │
│          │        │          │          │       │       │ default  │         │
│          │        │          │          │       │       │ is FAIL  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_p… │ script │ generic… │ None     │ None  │ None  │ report   │ /home/… │
│          │        │          │          │       │       │ exit 1   │         │
│          │        │          │          │       │       │ as PASS  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnc… │ script │ generic… │ None     │ None  │ None  │ exit 2   │ /home/… │
│          │        │          │          │       │       │ failed   │         │
│          │        │          │          │       │       │ since it │         │
│          │        │          │          │       │       │ failed   │         │
│          │        │          │          │       │       │ to match │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ 1        │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnc… │ script │ generic… │ None     │ None  │ None  │ exit 128 │ /home/… │
│          │        │          │          │       │       │ matches  │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ 128      │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
circle_area/fbe9bd2b: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/fbe9bd2b
circle_area/fbe9bd2b: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/fbe9bd2b/stage
circle_area/fbe9bd2b: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/fbe9bd2b/circle_area_build.sh
python_hello/8f16676e: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/8f16676e
python_hello/8f16676e: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/8f16676e/stage
python_hello/8f16676e: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/8f16676e/python_hello_build.sh
exit1_fail/7e5dadd8: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/7e5dadd8
exit1_fail/7e5dadd8: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/7e5dadd8/stage
exit1_fail/7e5dadd8: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/7e5dadd8/exit1_fail_build.sh
exit1_pass/da94edb9: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/da94edb9
exit1_pass/da94edb9: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/da94edb9/stage
exit1_pass/da94edb9: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/da94edb9/exit1_pass_build.sh
returncode_list_mismatch/729c8ece: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/729c8ece
returncode_list_mismatch/729c8ece: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/729c8ece/stage
returncode_list_mismatch/729c8ece: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/729c8ece/returncode_list_mismatch_build.sh
returncode_int_match/e2ab7db8: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/e2ab7db8
returncode_int_match/e2ab7db8: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/e2ab7db8/stage
returncode_int_match/e2ab7db8: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/e2ab7db8/returncode_int_match_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_list_mismatch/729c8ece does not have any dependencies adding test to queue
circle_area/fbe9bd2b does not have any dependencies adding test to queue
python_hello/8f16676e does not have any dependencies adding test to queue
exit1_pass/da94edb9 does not have any dependencies adding test to queue
returncode_int_match/e2ab7db8 does not have any dependencies adding test to queue
exit1_fail/7e5dadd8 does not have any dependencies adding test to queue
returncode_list_mismatch/729c8ece: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/729c8ece/stage
returncode_list_mismatch/729c8ece: Running Test via command: bash --norc --noprofile -eo pipefail returncode_list_mismatch_build.sh
returncode_list_mismatch/729c8ece: Test completed in 0.00557 seconds
returncode_list_mismatch/729c8ece: Test completed with returncode: 2
returncode_list_mismatch/729c8ece: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/729c8ece/returncode_list_mismatch.out
returncode_list_mismatch/729c8ece: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/729c8ece/returncode_list_mismatch.err
returncode_list_mismatch/729c8ece: Checking returncode - 2 is matched in list [1, 3]
circle_area/fbe9bd2b: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/fbe9bd2b/stage
circle_area/fbe9bd2b: Running Test via command: bash --norc --noprofile -eo pipefail circle_area_build.sh
circle_area/fbe9bd2b: Test completed in 0.030622 seconds
circle_area/fbe9bd2b: Test completed with returncode: 0
circle_area/fbe9bd2b: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/fbe9bd2b/circle_area.out
circle_area/fbe9bd2b: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/fbe9bd2b/circle_area.err
python_hello/8f16676e: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/8f16676e/stage
python_hello/8f16676e: Running Test via command: bash --norc --noprofile -eo pipefail python_hello_build.sh
python_hello/8f16676e: Test completed in 0.02913 seconds
python_hello/8f16676e: Test completed with returncode: 0
python_hello/8f16676e: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/8f16676e/python_hello.out
python_hello/8f16676e: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/8f16676e/python_hello.err
exit1_pass/da94edb9: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/da94edb9/stage
exit1_pass/da94edb9: Running Test via command: bash --norc --noprofile -eo pipefail exit1_pass_build.sh
exit1_pass/da94edb9: Test completed in 0.00505 seconds
exit1_pass/da94edb9: Test completed with returncode: 1
exit1_pass/da94edb9: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/da94edb9/exit1_pass.out
exit1_pass/da94edb9: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/da94edb9/exit1_pass.err
exit1_pass/da94edb9: Checking returncode - 1 is matched in list [1]
returncode_int_match/e2ab7db8: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/e2ab7db8/stage
returncode_int_match/e2ab7db8: Running Test via command: bash --norc --noprofile -eo pipefail returncode_int_match_build.sh
returncode_int_match/e2ab7db8: Test completed in 0.005102 seconds
returncode_int_match/e2ab7db8: Test completed with returncode: 128
returncode_int_match/e2ab7db8: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/e2ab7db8/returncode_int_match.out
returncode_int_match/e2ab7db8: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/e2ab7db8/returncode_int_match.err
returncode_int_match/e2ab7db8: Checking returncode - 128 is matched in list [128]
exit1_fail/7e5dadd8: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/7e5dadd8/stage
exit1_fail/7e5dadd8: Running Test via command: bash --norc --noprofile -eo pipefail exit1_fail_build.sh
exit1_fail/7e5dadd8: Test completed in 0.005117 seconds
exit1_fail/7e5dadd8: Test completed with returncode: 1
exit1_fail/7e5dadd8: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/7e5dadd8/exit1_fail.out
exit1_fail/7e5dadd8: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/7e5dadd8/exit1_fail.err
In this iteration we are going to run the following tests: [returncode_list_mismatch/729c8ece, circle_area/fbe9bd2b, python_hello/8f16676e, exit1_pass/da94edb9, returncode_int_match/e2ab7db8, exit1_fail/7e5dadd8]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ returncode_i │ generic.loc… │ PASS   │ True False    │ 128        │ 0.005102 │
│ nt_match/e2a │              │        │ False         │            │          │
│ b7db8        │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ python_hello │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.02913  │
│ /8f16676e    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_pass/d │ generic.loc… │ PASS   │ True False    │ 1          │ 0.00505  │
│ a94edb9      │              │        │ False         │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_l │ generic.loc… │ FAIL   │ False False   │ 2          │ 0.00557  │
│ ist_mismatch │              │        │ False         │            │          │
│ /729c8ece    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ circle_area/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.030622 │
│ fbe9bd2b     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_fail/7 │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.005117 │
│ e5dadd8      │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 6 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest__icrytg6.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 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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:30                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/python-hello.yml: VALID
Total builder objects created: 5
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_f… │ script │ generic… │ None     │ None  │ None  │ exit 1   │ /home/… │
│          │        │          │          │       │       │ by       │         │
│          │        │          │          │       │       │ default  │         │
│          │        │          │          │       │       │ is FAIL  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_p… │ script │ generic… │ None     │ None  │ None  │ report   │ /home/… │
│          │        │          │          │       │       │ exit 1   │         │
│          │        │          │          │       │       │ as PASS  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnc… │ script │ generic… │ None     │ None  │ None  │ exit 2   │ /home/… │
│          │        │          │          │       │       │ failed   │         │
│          │        │          │          │       │       │ since it │         │
│          │        │          │          │       │       │ failed   │         │
│          │        │          │          │       │       │ to match │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ 1        │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnc… │ script │ generic… │ None     │ None  │ None  │ exit 128 │ /home/… │
│          │        │          │          │       │       │ matches  │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ 128      │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ python_… │ script │ generic… │ None     │ None  │ None  │ Hello    │ /home/… │
│          │        │          │          │       │       │ World    │         │
│          │        │          │          │       │       │ python   │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/51fb2ae1: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/51fb2ae1
exit1_fail/51fb2ae1: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/51fb2ae1/stage
exit1_fail/51fb2ae1: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/51fb2ae1/exit1_fail_build.sh
exit1_pass/5f21888b: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/5f21888b
exit1_pass/5f21888b: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/5f21888b/stage
exit1_pass/5f21888b: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/5f21888b/exit1_pass_build.sh
returncode_list_mismatch/50317963: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/50317963
returncode_list_mismatch/50317963: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/50317963/stage
returncode_list_mismatch/50317963: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/50317963/returncode_list_mismatch_build.sh
returncode_int_match/ff3783fb: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/ff3783fb
returncode_int_match/ff3783fb: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/ff3783fb/stage
returncode_int_match/ff3783fb: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/ff3783fb/returncode_int_match_build.sh
python_hello/2067b9b3: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/2067b9b3
python_hello/2067b9b3: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/2067b9b3/stage
python_hello/2067b9b3: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/2067b9b3/python_hello_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_int_match/ff3783fb does not have any dependencies adding test to queue
exit1_fail/51fb2ae1 does not have any dependencies adding test to queue
exit1_pass/5f21888b does not have any dependencies adding test to queue
python_hello/2067b9b3 does not have any dependencies adding test to queue
returncode_list_mismatch/50317963 does not have any dependencies adding test to queue
returncode_int_match/ff3783fb: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/ff3783fb/stage
returncode_int_match/ff3783fb: Running Test via command: bash --norc --noprofile -eo pipefail returncode_int_match_build.sh
returncode_int_match/ff3783fb: Test completed in 0.005656 seconds
returncode_int_match/ff3783fb: Test completed with returncode: 128
returncode_int_match/ff3783fb: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/ff3783fb/returncode_int_match.out
returncode_int_match/ff3783fb: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/ff3783fb/returncode_int_match.err
returncode_int_match/ff3783fb: Checking returncode - 128 is matched in list [128]
exit1_fail/51fb2ae1: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/51fb2ae1/stage
exit1_fail/51fb2ae1: Running Test via command: bash --norc --noprofile -eo pipefail exit1_fail_build.sh
exit1_fail/51fb2ae1: Test completed in 0.005426 seconds
exit1_fail/51fb2ae1: Test completed with returncode: 1
exit1_fail/51fb2ae1: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/51fb2ae1/exit1_fail.out
exit1_fail/51fb2ae1: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/51fb2ae1/exit1_fail.err
exit1_pass/5f21888b: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/5f21888b/stage
exit1_pass/5f21888b: Running Test via command: bash --norc --noprofile -eo pipefail exit1_pass_build.sh
exit1_pass/5f21888b: Test completed in 0.005085 seconds
exit1_pass/5f21888b: Test completed with returncode: 1
exit1_pass/5f21888b: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/5f21888b/exit1_pass.out
exit1_pass/5f21888b: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/5f21888b/exit1_pass.err
exit1_pass/5f21888b: Checking returncode - 1 is matched in list [1]
python_hello/2067b9b3: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/2067b9b3/stage
python_hello/2067b9b3: Running Test via command: bash --norc --noprofile -eo pipefail python_hello_build.sh
python_hello/2067b9b3: Test completed in 0.030118 seconds
python_hello/2067b9b3: Test completed with returncode: 0
python_hello/2067b9b3: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/2067b9b3/python_hello.out
python_hello/2067b9b3: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/2067b9b3/python_hello.err
returncode_list_mismatch/50317963: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/50317963/stage
returncode_list_mismatch/50317963: Running Test via command: bash --norc --noprofile -eo pipefail returncode_list_mismatch_build.sh
returncode_list_mismatch/50317963: Test completed in 0.005216 seconds
returncode_list_mismatch/50317963: Test completed with returncode: 2
returncode_list_mismatch/50317963: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/50317963/returncode_list_mismatch.out
returncode_list_mismatch/50317963: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/50317963/returncode_list_mismatch.err
returncode_list_mismatch/50317963: Checking returncode - 2 is matched in list [1, 3]
In this iteration we are going to run the following tests: [returncode_int_match/ff3783fb, exit1_fail/51fb2ae1, exit1_pass/5f21888b, python_hello/2067b9b3, returncode_list_mismatch/50317963]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ returncode_l │ generic.loc… │ FAIL   │ False False   │ 2          │ 0.005216 │
│ ist_mismatch │              │        │ False         │            │          │
│ /50317963    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_fail/5 │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.005426 │
│ 1fb2ae1      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_pass/5 │ generic.loc… │ PASS   │ True False    │ 1          │ 0.005085 │
│ f21888b      │              │        │ False         │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ python_hello │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.030118 │
│ /2067b9b3    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_i │ generic.loc… │ PASS   │ True False    │ 128        │ 0.005656 │
│ nt_match/ff3 │              │        │ False         │            │          │
│ 783fb        │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 5 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_hy902f23.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.

Building by Executors

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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:31                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                    Buildspecs by Executor=generic.local.csh                    
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/environment.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/csh_shell_examples.yml: VALID
Total builder objects created: 4
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ bash_en… │ script │ generic… │ None     │ None  │ None  │ Declare  │ /home/… │
│          │        │          │          │       │       │ environ… │         │
│          │        │          │          │       │       │ variabl… │         │
│          │        │          │          │       │       │ in       │         │
│          │        │          │          │       │       │ default  │         │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ (bash)   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ csh_env… │ script │ generic… │ None     │ None  │ None  │ csh      │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ example  │         │
│          │        │          │          │       │       │ to       │         │
│          │        │          │          │       │       │ declare  │         │
│          │        │          │          │       │       │ environ… │         │
│          │        │          │          │       │       │ variabl… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ tcsh_en… │ script │ generic… │ None     │ None  │ None  │ tcsh     │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ example  │         │
│          │        │          │          │       │       │ to       │         │
│          │        │          │          │       │       │ declare  │         │
│          │        │          │          │       │       │ environ… │         │
│          │        │          │          │       │       │ variabl… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ csh_she… │ script │ generic… │ None     │ None  │ None  │ csh      │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ example  │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
bash_env_variables/aa7f3172: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/environment/bash_env_variables/aa7f3172
bash_env_variables/aa7f3172: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/environment/bash_env_variables/aa7f3172/stage
bash_env_variables/aa7f3172: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/environment/bash_env_variables/aa7f3172/bash_env_variables_build.sh
csh_env_declaration/a40f3aed: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/csh_env_declaration/a40f3aed
csh_env_declaration/a40f3aed: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/csh_env_declaration/a40f3aed/stage
csh_env_declaration/a40f3aed: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/csh_env_declaration/a40f3aed/csh_env_declaration_build.sh
tcsh_env_declaration/c4867743: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/tcsh_env_declaration/c4867743
tcsh_env_declaration/c4867743: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/tcsh_env_declaration/c4867743/stage
tcsh_env_declaration/c4867743: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/tcsh_env_declaration/c4867743/tcsh_env_declaration_build.sh
csh_shell/4213e4e3: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/csh_shell_examples/csh_shell/4213e4e3
csh_shell/4213e4e3: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/csh_shell_examples/csh_shell/4213e4e3/stage
csh_shell/4213e4e3: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/csh_shell_examples/csh_shell/4213e4e3/csh_shell_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
tcsh_env_declaration/c4867743 does not have any dependencies adding test to queue
csh_env_declaration/a40f3aed does not have any dependencies adding test to queue
bash_env_variables/aa7f3172 does not have any dependencies adding test to queue
csh_shell/4213e4e3 does not have any dependencies adding test to queue
csh_shell/4213e4e3: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/csh_shell_examples/csh_shell/4213e4e3/stage
csh_shell/4213e4e3: Running Test via command: csh -e csh_shell_build.sh
csh_shell/4213e4e3: Test completed in 4.360541 seconds
csh_shell/4213e4e3: Test completed with returncode: 0
csh_shell/4213e4e3: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/csh_shell_examples/csh_shell/4213e4e3/csh_shell.out
csh_shell/4213e4e3: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/csh_shell_examples/csh_shell/4213e4e3/csh_shell.err
csh_env_declaration/a40f3aed: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/csh_env_declaration/a40f3aed/stage
csh_env_declaration/a40f3aed: Running Test via command: csh -e csh_env_declaration_build.sh
csh_env_declaration/a40f3aed: Test completed in 4.360656 seconds
csh_env_declaration/a40f3aed: Test completed with returncode: 0
csh_env_declaration/a40f3aed: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/csh_env_declaration/a40f3aed/csh_env_declaration.out
csh_env_declaration/a40f3aed: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/csh_env_declaration/a40f3aed/csh_env_declaration.err
tcsh_env_declaration/c4867743: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/tcsh_env_declaration/c4867743/stage
tcsh_env_declaration/c4867743: Running Test via command: csh -e tcsh_env_declaration_build.sh
tcsh_env_declaration/c4867743: Test completed in 2.186532 seconds
tcsh_env_declaration/c4867743: Test completed with returncode: 1
tcsh_env_declaration/c4867743: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/tcsh_env_declaration/c4867743/tcsh_env_declaration.out
tcsh_env_declaration/c4867743: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/tcsh_env_declaration/c4867743/tcsh_env_declaration.err
bash_env_variables/aa7f3172: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/environment/bash_env_variables/aa7f3172/stage
bash_env_variables/aa7f3172: Running Test via command: bash --norc --noprofile -eo pipefail bash_env_variables_build.sh
bash_env_variables/aa7f3172: Test completed in 0.007364 seconds
bash_env_variables/aa7f3172: Test completed with returncode: 0
bash_env_variables/aa7f3172: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/environment/bash_env_variables/aa7f3172/bash_env_variables.out
bash_env_variables/aa7f3172: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/environment/bash_env_variables/aa7f3172/bash_env_variables.err
In this iteration we are going to run the following tests: [csh_shell/4213e4e3, csh_env_declaration/a40f3aed, tcsh_env_declaration/c4867743, bash_env_variables/aa7f3172]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ csh_env_decl │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 4.360656 │
│ aration/a40f │              │        │               │            │          │
│ 3aed         │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ bash_env_var │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.007364 │
│ iables/aa7f3 │              │        │               │            │          │
│ 172          │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ csh_shell/42 │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 4.360541 │
│ 13e4e3       │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ tcsh_env_dec │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 2.186532 │
│ laration/c48 │              │        │               │            │          │
│ 67743        │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



Passed Tests: 3/4 Percentage: 75.000%
Failed Tests: 1/4 Percentage: 25.000%


Adding 4 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_w7q37d7o.log

Note

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

Filtering Buildspecs

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 buildspecs which expects a single key=value pair. Currently, buildtest can filter tests based on tags, type and maintainers.

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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:43                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/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/v1.2/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/v1.2/tutorials/test_status/pass_returncode.yml: VALID
Total builder objects created: 2
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_p… │ script │ generic… │ None     │ None  │ None  │ report   │ /home/… │
│          │        │          │          │       │       │ exit 1   │         │
│          │        │          │          │       │       │ as PASS  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnc… │ script │ generic… │ None     │ None  │ None  │ exit 128 │ /home/… │
│          │        │          │          │       │       │ matches  │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ 128      │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_pass/e9c886ec: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/e9c886ec
exit1_pass/e9c886ec: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/e9c886ec/stage
exit1_pass/e9c886ec: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/e9c886ec/exit1_pass_build.sh
returncode_int_match/b9c08e85: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b9c08e85
returncode_int_match/b9c08e85: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b9c08e85/stage
returncode_int_match/b9c08e85: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b9c08e85/returncode_int_match_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_int_match/b9c08e85 does not have any dependencies adding test to queue
exit1_pass/e9c886ec does not have any dependencies adding test to queue
returncode_int_match/b9c08e85: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b9c08e85/stage
returncode_int_match/b9c08e85: Running Test via command: bash --norc --noprofile -eo pipefail returncode_int_match_build.sh
returncode_int_match/b9c08e85: Test completed in 0.005377 seconds
returncode_int_match/b9c08e85: Test completed with returncode: 128
returncode_int_match/b9c08e85: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b9c08e85/returncode_int_match.out
returncode_int_match/b9c08e85: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/b9c08e85/returncode_int_match.err
returncode_int_match/b9c08e85: Checking returncode - 128 is matched in list [128]
exit1_pass/e9c886ec: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/e9c886ec/stage
exit1_pass/e9c886ec: Running Test via command: bash --norc --noprofile -eo pipefail exit1_pass_build.sh
exit1_pass/e9c886ec: Test completed in 0.005036 seconds
exit1_pass/e9c886ec: Test completed with returncode: 1
exit1_pass/e9c886ec: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/e9c886ec/exit1_pass.out
exit1_pass/e9c886ec: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/e9c886ec/exit1_pass.err
exit1_pass/e9c886ec: Checking returncode - 1 is matched in list [1]
In this iteration we are going to run the following tests: [returncode_int_match/b9c08e85, exit1_pass/e9c886ec]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ exit1_pass/e │ generic.loc… │ PASS   │ True False    │ 1          │ 0.005036 │
│ 9c886ec      │              │        │ False         │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_i │ generic.loc… │ PASS   │ True False    │ 128        │ 0.005377 │
│ nt_match/b9c │              │        │ False         │            │          │
│ 08e85        │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 2 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_80eu27v8.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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:43                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  45
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  45
────────────────────────────── Parsing Buildspecs ──────────────────────────────
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/python-shell.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/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/v1.2/tutorials/environment.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/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/v1.2/tutorials/shebang.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/exists.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/invalid_executor.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/python-hello.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/burstbuffer_datawarp_executors.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/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/v1.2/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/v1.2/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/v1.2/tutorials/job_dependency/ex4.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/tags_example.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/vars.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/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/v1.2/tutorials/metrics_regex.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/contains.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/csh_shell_examples.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/job_dependency/ex3.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/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/v1.2/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/v1.2/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/v1.2/tutorials/job_dependency/ex2.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/summary_example.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/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/v1.2/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/v1.2/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/v1.2/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/v1.2/tutorials/gcc_version.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/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/v1.2/tutorials/job_dependency/ex1.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/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/v1.2/tutorials/add_numbers.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/shell_examples.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/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/v1.2/tutorials/skip_tests.yml: skipping test because 'maintainers' field is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/skip_buildspec.yml: skipping all test since 'skip' is defined
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/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/v1.2/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/v1.2/tutorials/sleep.yml: skipping test because 'maintainers' field is not specified in buildspec.
Valid Buildspecs: 42
Invalid Buildspecs: 3
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/multi_executors/status_by_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/environment.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/file_exists_with_number.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/shebang.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/exists.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/invalid_executor.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/burstbuffer_datawarp_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/status_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/assert_range.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/job_dependency/ex4.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/tags_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/assert_ge.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/metrics_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/contains.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/job_dependency/ex3.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/assert_ne.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/maintainers_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/assert_eq_exceptions.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/job_dependency/ex2.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/summary_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/runtime_status_test.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/multi_executors/executors_var_env_declaration.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/file_and_dir_check.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/assert_le.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/gcc_version.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/multi_executors/executor_regex_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/job_dependency/ex1.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/assert_eq.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/add_numbers.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/multi_executors/executor_scheduler.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/skip_tests.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/skip_buildspec.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/explicit_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/assert_gt.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/sleep.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/file_exists_exception.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/invalid_buildspec_section.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/invalid_tags.yml: INVALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
└──────────────────────────────────────────────────────────────────────────────┘
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ hello_w… │ script │ generic… │ None     │ None  │ None  │ hello    │ /home/… │
│          │        │          │          │       │       │ world    │         │
│          │        │          │          │       │       │ example  │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
hello_world/96cdb82a: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/hello_world/hello_world/96cdb82a
hello_world/96cdb82a: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/hello_world/hello_world/96cdb82a/stage
hello_world/96cdb82a: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/hello_world/hello_world/96cdb82a/hello_world_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
hello_world/96cdb82a does not have any dependencies adding test to queue
hello_world/96cdb82a: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/hello_world/hello_world/96cdb82a/stage
hello_world/96cdb82a: Running Test via command: bash --norc --noprofile -eo pipefail hello_world_build.sh
hello_world/96cdb82a: Test completed in 0.005583 seconds
hello_world/96cdb82a: Test completed with returncode: 0
hello_world/96cdb82a: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/hello_world/hello_world/96cdb82a/hello_world.out
hello_world/96cdb82a: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/hello_world/hello_world/96cdb82a/hello_world.err
In this iteration we are going to run the following tests: [hello_world/96cdb82a]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ hello_world/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.005583 │
│ 96cdb82a     │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 1 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_gj2eied8.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. We inform buildtest to stop after build stage (--stage=build) for more details see Configure Build Stages.

buildtest build -b tutorials --filter type=script --stage=build
$ buildtest build -b tutorials --filter type=script --stage=build
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:44                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  45
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  45
────────────────────────────── Parsing Buildspecs ──────────────────────────────
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/skip_buildspec.yml: skipping all test since 'skip' is defined
skip: skipping test due to 'skip' property.
Valid Buildspecs: 42
Invalid Buildspecs: 3
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/add_numbers.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/multi_executors/executors_var_env_declaration.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/job_dependency/ex2.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/status_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/gcc_version.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/job_dependency/ex4.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/assert_range.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/shebang.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/runtime_status_test.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/explicit_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/burstbuffer_datawarp_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/multi_executors/executor_scheduler.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/exists.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/job_dependency/ex3.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/tags_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/assert_ge.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/sleep.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/contains.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/multi_executors/executor_regex_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/assert_le.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/assert_eq.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/assert_gt.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/file_exists_with_number.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/assert_ne.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/metrics_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/skip_buildspec.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/perf_checks/assert_eq_exceptions.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/summary_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/multi_executors/status_by_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/invalid_executor.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/maintainers_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/file_and_dir_check.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/skip_tests.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/job_dependency/ex1.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/environment.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/invalid_tags.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/invalid_buildspec_section.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/test_status/file_exists_exception.yml: INVALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
└──────────────────────────────────────────────────────────────────────────────┘
Total builder objects created: 77
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ add_num… │ script │ generic… │ None     │ None  │ None  │ Add X+Y  │ /home/… │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ python_… │ script │ generic… │ None     │ None  │ None  │ Hello    │ /home/… │
│          │        │          │          │       │       │ World    │         │
│          │        │          │          │       │       │ python   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ executo… │ script │ generic… │ None     │ None  │ None  │ Declari… │ /home/… │
│          │        │          │          │       │       │ env and  │         │
│          │        │          │          │       │       │ vars by  │         │
│          │        │          │          │       │       │ executo… │         │
│          │        │          │          │       │       │ section  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ executo… │ script │ generic… │ None     │ None  │ None  │ Declari… │ /home/… │
│          │        │          │          │       │       │ env and  │         │
│          │        │          │          │       │       │ vars by  │         │
│          │        │          │          │       │       │ executo… │         │
│          │        │          │          │       │       │ section  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ test1/e… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will     │         │
│          │        │          │          │       │       │ pass     │         │
│          │        │          │          │       │       │ with     │         │
│          │        │          │          │       │       │ exit 1   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ test2/b… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will run │         │
│          │        │          │          │       │       │ if test1 │         │
│          │        │          │          │       │       │ has      │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ 1        │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ test3/f… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will run │         │
│          │        │          │          │       │       │ if test1 │         │
│          │        │          │          │       │       │ has      │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ 1 and    │         │
│          │        │          │          │       │       │ test2    │         │
│          │        │          │          │       │       │ has      │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ 2        │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ status_… │ script │ generic… │ None     │ None  │ None  │ Pass     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ based on │         │
│          │        │          │          │       │       │ regular  │         │
│          │        │          │          │       │       │ express… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ status_… │ script │ generic… │ None     │ None  │ None  │ Pass     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ based on │         │
│          │        │          │          │       │       │ regular  │         │
│          │        │          │          │       │       │ express… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ gcc_ver… │ script │ generic… │ None     │ None  │ None  │ Print    │ /home/… │
│          │        │          │          │       │       │ gcc      │         │
│          │        │          │          │       │       │ version  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ runtime… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will     │         │
│          │        │          │          │       │       │ sleep 5  │         │
│          │        │          │          │       │       │ second   │         │
│          │        │          │          │       │       │ but will │         │
│          │        │          │          │       │       │ fail due │         │
│          │        │          │          │       │       │ to       │         │
│          │        │          │          │       │       │ runtime  │         │
│          │        │          │          │       │       │ 2sec     │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ runtime… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will run │         │
│          │        │          │          │       │       │ when     │         │
│          │        │          │          │       │       │ runtime… │         │
│          │        │          │          │       │       │ is PASS  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ runtime… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will run │         │
│          │        │          │          │       │       │ when     │         │
│          │        │          │          │       │       │ runtime… │         │
│          │        │          │          │       │       │ is FAIL  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ assert_… │ script │ generic… │ None     │ None  │ None  │ Example  │ /home/… │
│          │        │          │          │       │       │ on       │         │
│          │        │          │          │       │       │ assert_… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ bash_lo… │ script │ generic… │ None     │ None  │ None  │ customi… │ /home/… │
│          │        │          │          │       │       │ shebang  │         │
│          │        │          │          │       │       │ line     │         │
│          │        │          │          │       │       │ with     │         │
│          │        │          │          │       │       │ bash     │         │
│          │        │          │          │       │       │ login    │         │
│          │        │          │          │       │       │ shell    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ bash_no… │ script │ generic… │ None     │ None  │ None  │ customi… │ /home/… │
│          │        │          │          │       │       │ shebang  │         │
│          │        │          │          │       │       │ line     │         │
│          │        │          │          │       │       │ with     │         │
│          │        │          │          │       │       │ default  │         │
│          │        │          │          │       │       │ bash     │         │
│          │        │          │          │       │       │ (nonlog… │         │
│          │        │          │          │       │       │ shell    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ timelim… │ script │ generic… │ None     │ None  │ None  │ Run a    │ /home/… │
│          │        │          │          │       │       │ sleep    │         │
│          │        │          │          │       │       │ job for  │         │
│          │        │          │          │       │       │ 2        │         │
│          │        │          │          │       │       │ seconds  │         │
│          │        │          │          │       │       │ and test │         │
│          │        │          │          │       │       │ pass if  │         │
│          │        │          │          │       │       │ its      │         │
│          │        │          │          │       │       │ within   │         │
│          │        │          │          │       │       │ 1.0-3.0… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ timelim… │ script │ generic… │ None     │ None  │ None  │ Run a    │ /home/… │
│          │        │          │          │       │       │ sleep    │         │
│          │        │          │          │       │       │ job for  │         │
│          │        │          │          │       │       │ 2        │         │
│          │        │          │          │       │       │ seconds  │         │
│          │        │          │          │       │       │ and test │         │
│          │        │          │          │       │       │ pass if  │         │
│          │        │          │          │       │       │ its      │         │
│          │        │          │          │       │       │ exceeds  │         │
│          │        │          │          │       │       │ min time │         │
│          │        │          │          │       │       │ of 1.0   │         │
│          │        │          │          │       │       │ sec      │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ timelim… │ script │ generic… │ None     │ None  │ None  │ Run a    │ /home/… │
│          │        │          │          │       │       │ sleep    │         │
│          │        │          │          │       │       │ job for  │         │
│          │        │          │          │       │       │ 2        │         │
│          │        │          │          │       │       │ seconds  │         │
│          │        │          │          │       │       │ and test │         │
│          │        │          │          │       │       │ pass if  │         │
│          │        │          │          │       │       │ it's     │         │
│          │        │          │          │       │       │ within   │         │
│          │        │          │          │       │       │ max      │         │
│          │        │          │          │       │       │ time:    │         │
│          │        │          │          │       │       │ 5.0 sec  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ timelim… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ fails    │         │
│          │        │          │          │       │       │ because  │         │
│          │        │          │          │       │       │ it runs  │         │
│          │        │          │          │       │       │ less     │         │
│          │        │          │          │       │       │ than     │         │
│          │        │          │          │       │       │ mintime  │         │
│          │        │          │          │       │       │ of 10    │         │
│          │        │          │          │       │       │ second   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ timelim… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ fails    │         │
│          │        │          │          │       │       │ because  │         │
│          │        │          │          │       │       │ it       │         │
│          │        │          │          │       │       │ exceeds  │         │
│          │        │          │          │       │       │ maxtime  │         │
│          │        │          │          │       │       │ of 1.0   │         │
│          │        │          │          │       │       │ second   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ always_… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will     │         │
│          │        │          │          │       │       │ always   │         │
│          │        │          │          │       │       │ 'PASS'   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ always_… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will     │         │
│          │        │          │          │       │       │ always   │         │
│          │        │          │          │       │       │ 'FAIL'   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ test_fa… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will     │         │
│          │        │          │          │       │       │ 'FAIL'   │         │
│          │        │          │          │       │       │ even if  │         │
│          │        │          │          │       │       │ we have  │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ match    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ test_pa… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will     │         │
│          │        │          │          │       │       │ 'PASS'   │         │
│          │        │          │          │       │       │ even if  │         │
│          │        │          │          │       │       │ we have  │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ mismatch │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ create_… │ script │ generic… │ None     │ None  │ None  │ Create a │ /home/… │
│          │        │          │          │       │       │ burst    │         │
│          │        │          │          │       │       │ buffer   │         │
│          │        │          │          │       │       │ for      │         │
│          │        │          │          │       │       │ multiple │         │
│          │        │          │          │       │       │ executo… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ create_… │ script │ generic… │ None     │ None  │ None  │ Create a │ /home/… │
│          │        │          │          │       │       │ burst    │         │
│          │        │          │          │       │       │ buffer   │         │
│          │        │          │          │       │       │ for      │         │
│          │        │          │          │       │       │ multiple │         │
│          │        │          │          │       │       │ executo… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_… │ script │ generic… │ None     │ None  │ None  │ Calcula… │ /home/… │
│          │        │          │          │       │       │ circle   │         │
│          │        │          │          │       │       │ of area  │         │
│          │        │          │          │       │       │ given a  │         │
│          │        │          │          │       │       │ radius   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ executo… │ script │ generic… │ None     │ None  │ None  │ Declari… │ /home/… │
│          │        │          │          │       │       │ env and  │         │
│          │        │          │          │       │       │ vars by  │         │
│          │        │          │          │       │       │ executo… │         │
│          │        │          │          │       │       │ section  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ executo… │ script │ generic… │ None     │ None  │ None  │ Declari… │ /home/… │
│          │        │          │          │       │       │ env and  │         │
│          │        │          │          │       │       │ vars by  │         │
│          │        │          │          │       │       │ executo… │         │
│          │        │          │          │       │       │ section  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ status_… │ script │ generic… │ None     │ None  │ None  │ status   │ /home/… │
│          │        │          │          │       │       │ check    │         │
│          │        │          │          │       │       │ based    │         │
│          │        │          │          │       │       │ for file │         │
│          │        │          │          │       │       │ and      │         │
│          │        │          │          │       │       │ directo… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ status_… │ script │ generic… │ None     │ None  │ None  │ status   │ /home/… │
│          │        │          │          │       │       │ check    │         │
│          │        │          │          │       │       │ failure  │         │
│          │        │          │          │       │       │ for      │         │
│          │        │          │          │       │       │ existen… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ variabl… │ script │ generic… │ None     │ None  │ None  │ Declare  │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ variabl… │         │
│          │        │          │          │       │       │ in bash  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ pass_te… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will     │         │
│          │        │          │          │       │       │ always   │         │
│          │        │          │          │       │       │ pass     │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ fail_te… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will run │         │
│          │        │          │          │       │       │ if test  │         │
│          │        │          │          │       │       │ 'pass_t… │         │
│          │        │          │          │       │       │ is in    │         │
│          │        │          │          │       │       │ state    │         │
│          │        │          │          │       │       │ 'PASS'   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ pass_an… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will run │         │
│          │        │          │          │       │       │ if       │         │
│          │        │          │          │       │       │ pass_te… │         │
│          │        │          │          │       │       │ is       │         │
│          │        │          │          │       │       │ 'PASS'   │         │
│          │        │          │          │       │       │ and      │         │
│          │        │          │          │       │       │ fail_te… │         │
│          │        │          │          │       │       │ is       │         │
│          │        │          │          │       │       │ 'FAIL'   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ final_t… │ script │ generic… │ None     │ None  │ None  │ Test     │ /home/… │
│          │        │          │          │       │       │ will run │         │
│          │        │          │          │       │       │ after    │         │
│          │        │          │          │       │       │ 'pass_t… │         │
│          │        │          │          │       │       │ 'fail_t… │         │
│          │        │          │          │       │       │ and      │         │
│          │        │          │          │       │       │ 'pass_a… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ string_… │ script │ generic… │ None     │ None  │ None  │ tags can │ /home/… │
│          │        │          │          │       │       │ be a     │         │
│          │        │          │          │       │       │ string   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ list_of… │ script │ generic… │ None     │ None  │ None  │ tags can │ /home/… │
│          │        │          │          │       │       │ be a     │         │
│          │        │          │          │       │       │ list of  │         │
│          │        │          │          │       │       │ strings  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ stream_… │ script │ generic… │ None     │ None  │ None  │ Run      │ /home/… │
│          │        │          │          │       │       │ stream   │         │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ with     │         │
│          │        │          │          │       │       │ metrics  │         │
│          │        │          │          │       │       │ example  │         │
│          │        │          │          │       │       │ using    │         │
│          │        │          │          │       │       │ assert   │         │
│          │        │          │          │       │       │ greater  │         │
│          │        │          │          │       │       │ equal    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ sleep/e… │ script │ generic… │ None     │ None  │ None  │ sleep 2  │ /home/… │
│          │        │          │          │       │       │ seconds  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ contain… │ script │ generic… │ None     │ None  │ None  │ Status   │ /home/… │
│          │        │          │          │       │       │ check    │         │
│          │        │          │          │       │       │ based on │         │
│          │        │          │          │       │       │ contains │         │
│          │        │          │          │       │       │ and not  │         │
│          │        │          │          │       │       │ contains │         │
│          │        │          │          │       │       │ where    │         │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ pass     │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ assert_… │ script │ generic… │ None     │ None  │ None  │ Status   │ /home/… │
│          │        │          │          │       │       │ check    │         │
│          │        │          │          │       │       │ based on │         │
│          │        │          │          │       │       │ contains │         │
│          │        │          │          │       │       │ where    │         │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ fails    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_f… │ script │ generic… │ None     │ None  │ None  │ exit 1   │ /home/… │
│          │        │          │          │       │       │ by       │         │
│          │        │          │          │       │       │ default  │         │
│          │        │          │          │       │       │ is FAIL  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_p… │ script │ generic… │ None     │ None  │ None  │ report   │ /home/… │
│          │        │          │          │       │       │ exit 1   │         │
│          │        │          │          │       │       │ as PASS  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnc… │ script │ generic… │ None     │ None  │ None  │ exit 2   │ /home/… │
│          │        │          │          │       │       │ failed   │         │
│          │        │          │          │       │       │ since it │         │
│          │        │          │          │       │       │ failed   │         │
│          │        │          │          │       │       │ to match │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ 1        │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnc… │ script │ generic… │ None     │ None  │ None  │ exit 128 │ /home/… │
│          │        │          │          │       │       │ matches  │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ 128      │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ multipl… │ script │ generic… │ None     │ None  │ None  │ run test │ /home/… │
│          │        │          │          │       │       │ with     │         │
│          │        │          │          │       │       │ executor │         │
│          │        │          │          │       │       │ generic… │         │
│          │        │          │          │       │       │ and      │         │
│          │        │          │          │       │       │ generic… │         │
│          │        │          │          │       │       │ executor │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ multipl… │ script │ generic… │ None     │ None  │ None  │ run test │ /home/… │
│          │        │          │          │       │       │ with     │         │
│          │        │          │          │       │       │ executor │         │
│          │        │          │          │       │       │ generic… │         │
│          │        │          │          │       │       │ and      │         │
│          │        │          │          │       │       │ generic… │         │
│          │        │          │          │       │       │ executor │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ assert_… │ script │ generic… │ None     │ None  │ None  │ Run      │ /home/… │
│          │        │          │          │       │       │ stream   │         │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ with     │         │
│          │        │          │          │       │       │ metrics  │         │
│          │        │          │          │       │       │ example  │         │
│          │        │          │          │       │       │ using    │         │
│          │        │          │          │       │       │ assert   │         │
│          │        │          │          │       │       │ less     │         │
│          │        │          │          │       │       │ than     │         │
│          │        │          │          │       │       │ equal    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ assert_… │ script │ generic… │ None     │ None  │ None  │ Test for │ /home/… │
│          │        │          │          │       │       │ assert   │         │
│          │        │          │          │       │       │ equality │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ assert_… │ script │ generic… │ None     │ None  │ None  │ Run      │ /home/… │
│          │        │          │          │       │       │ stream   │         │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ with     │         │
│          │        │          │          │       │       │ metrics  │         │
│          │        │          │          │       │       │ example  │         │
│          │        │          │          │       │       │ using    │         │
│          │        │          │          │       │       │ assert   │         │
│          │        │          │          │       │       │ greater  │         │
│          │        │          │          │       │       │ than.    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ file_ex… │ script │ generic… │ None     │ None  │ None  │ this     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will     │         │
│          │        │          │          │       │       │ pass     │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ assert_… │ script │ generic… │ None     │ None  │ None  │ Test for │ /home/… │
│          │        │          │          │       │       │ assert   │         │
│          │        │          │          │       │       │ not      │         │
│          │        │          │          │       │       │ equal    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ metric_… │ script │ generic… │ None     │ None  │ None  │ capture  │ /home/… │
│          │        │          │          │       │       │ result   │         │
│          │        │          │          │       │       │ metric   │         │
│          │        │          │          │       │       │ from     │         │
│          │        │          │          │       │       │ output   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ assert_… │ script │ generic… │ None     │ None  │ None  │ An       │ /home/… │
│          │        │          │          │       │       │ invalid  │         │
│          │        │          │          │       │       │ metric   │         │
│          │        │          │          │       │       │ name     │         │
│          │        │          │          │       │       │ will     │         │
│          │        │          │          │       │       │ cause    │         │
│          │        │          │          │       │       │ failure  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ assert_… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will     │         │
│          │        │          │          │       │       │ fail     │         │
│          │        │          │          │       │       │ because  │         │
│          │        │          │          │       │       │ there is │         │
│          │        │          │          │       │       │ a        │         │
│          │        │          │          │       │       │ mismatch │         │
│          │        │          │          │       │       │ in       │         │
│          │        │          │          │       │       │ metric x │         │
│          │        │          │          │       │       │ assert   │         │
│          │        │          │          │       │       │ equality │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_w… │ script │ generic… │ None     │ None  │ None  │ hello    │ /home/… │
│          │        │          │          │       │       │ world    │         │
│          │        │          │          │       │       │ example  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ summary… │ script │ generic… │ None     │ None  │ None  │ The      │ /home/… │
│          │        │          │          │       │       │ summary  │         │
│          │        │          │          │       │       │ field    │         │
│          │        │          │          │       │       │ can be a │         │
│          │        │          │          │       │       │ multi-l… │         │
│          │        │          │          │       │       │ string   │         │
│          │        │          │          │       │       │ and      │         │
│          │        │          │          │       │       │ exceed   │         │
│          │        │          │          │       │       │ 80 char  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ status_… │ script │ generic… │ None     │ None  │ None  │ define   │ /home/… │
│          │        │          │          │       │       │ status   │         │
│          │        │          │          │       │       │ per      │         │
│          │        │          │          │       │       │ executor │         │
│          │        │          │          │       │       │ type.    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ status_… │ script │ generic… │ None     │ None  │ None  │ define   │ /home/… │
│          │        │          │          │       │       │ status   │         │
│          │        │          │          │       │       │ per      │         │
│          │        │          │          │       │       │ executor │         │
│          │        │          │          │       │       │ type.    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ foo_bar… │ script │ generic… │ None     │ None  │ None  │ prints   │ /home/… │
│          │        │          │          │       │       │ variable │         │
│          │        │          │          │       │       │ $FOO     │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ _bin_sh… │ script │ generic… │ None     │ None  │ None  │ /bin/sh  │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ example  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ _bin_ba… │ script │ generic… │ None     │ None  │ None  │ /bin/ba… │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ example  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ bash_sh… │ script │ generic… │ None     │ None  │ None  │ bash     │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ example  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ sh_shel… │ script │ generic… │ None     │ None  │ None  │ sh shell │ /home/… │
│          │        │          │          │       │       │ example  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ shell_o… │ script │ generic… │ None     │ None  │ None  │ shell    │ /home/… │
│          │        │          │          │       │       │ options  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ csh_she… │ script │ generic… │ None     │ None  │ None  │ csh      │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ example  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ file_an… │ script │ generic… │ None     │ None  │ None  │ status   │ /home/… │
│          │        │          │          │       │       │ check    │         │
│          │        │          │          │       │       │ for      │         │
│          │        │          │          │       │       │ files    │         │
│          │        │          │          │       │       │ and      │         │
│          │        │          │          │       │       │ directo… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ combine… │ script │ generic… │ None     │ None  │ None  │ status   │ /home/… │
│          │        │          │          │       │       │ check    │         │
│          │        │          │          │       │       │ for      │         │
│          │        │          │          │       │       │ files    │         │
│          │        │          │          │       │       │ and      │         │
│          │        │          │          │       │       │ directo… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ unskipp… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test is  │         │
│          │        │          │          │       │       │ not      │         │
│          │        │          │          │       │       │ skipped  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ jobA/63… │ script │ generic… │ None     │ None  │ None  │ no job   │ /home/… │
│          │        │          │          │       │       │ depende… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ jobB/c8… │ script │ generic… │ None     │ None  │ None  │ job      │ /home/… │
│          │        │          │          │       │       │ depende… │         │
│          │        │          │          │       │       │ on jobA  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ jobC/0e… │ script │ generic… │ None     │ None  │ None  │ job      │ /home/… │
│          │        │          │          │       │       │ depende… │         │
│          │        │          │          │       │       │ on jobA  │         │
│          │        │          │          │       │       │ and jobB │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ bash_en… │ script │ generic… │ None     │ None  │ None  │ Declare  │ /home/… │
│          │        │          │          │       │       │ environ… │         │
│          │        │          │          │       │       │ variabl… │         │
│          │        │          │          │       │       │ in       │         │
│          │        │          │          │       │       │ default  │         │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ (bash)   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ csh_env… │ script │ generic… │ None     │ None  │ None  │ csh      │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ example  │         │
│          │        │          │          │       │       │ to       │         │
│          │        │          │          │       │       │ declare  │         │
│          │        │          │          │       │       │ environ… │         │
│          │        │          │          │       │       │ variabl… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ tcsh_en… │ script │ generic… │ None     │ None  │ None  │ tcsh     │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ example  │         │
│          │        │          │          │       │       │ to       │         │
│          │        │          │          │       │       │ declare  │         │
│          │        │          │          │       │       │ environ… │         │
│          │        │          │          │       │       │ variabl… │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
add_numbers/2eac0af6: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/add_numbers/add_numbers/2eac0af6
add_numbers/2eac0af6: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/add_numbers/add_numbers/2eac0af6/stage
add_numbers/2eac0af6: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/add_numbers/add_numbers/2eac0af6/add_numbers_build.sh
python_hello/42bd3e56: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/42bd3e56
python_hello/42bd3e56: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/42bd3e56/stage
python_hello/42bd3e56: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/42bd3e56/python_hello_build.sh
executors_vars_env_declaration/3a7fe257: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/executors_var_env_declaration/executors_vars_env_declaration/3a7fe257
executors_vars_env_declaration/3a7fe257: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/executors_var_env_declaration/executors_vars_env_declaration/3a7fe257/stage
executors_vars_env_declaration/3a7fe257: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/executors_var_env_declaration/executors_vars_env_declaration/3a7fe257/executors_vars_env_declaration_build.sh
executors_vars_env_declaration/ee740435: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/executors_var_env_declaration/executors_vars_env_declaration/ee740435
executors_vars_env_declaration/ee740435: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/executors_var_env_declaration/executors_vars_env_declaration/ee740435/stage
executors_vars_env_declaration/ee740435: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/executors_var_env_declaration/executors_vars_env_declaration/ee740435/executors_vars_env_declaration_build.sh
test1/e40072f1: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex2/test1/e40072f1
test1/e40072f1: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex2/test1/e40072f1/stage
test1/e40072f1: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex2/test1/e40072f1/test1_build.sh
test2/bff8c922: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex2/test2/bff8c922
test2/bff8c922: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex2/test2/bff8c922/stage
test2/bff8c922: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex2/test2/bff8c922/test2_build.sh
test3/f3c18739: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex2/test3/f3c18739
test3/f3c18739: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex2/test3/f3c18739/stage
test3/f3c18739: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex2/test3/f3c18739/test3_build.sh
status_regex_pass/5a906b96: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/status_regex/status_regex_pass/5a906b96
status_regex_pass/5a906b96: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/status_regex/status_regex_pass/5a906b96/stage
status_regex_pass/5a906b96: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/status_regex/status_regex_pass/5a906b96/status_regex_pass_build.sh
status_regex_fail/af62d293: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/status_regex/status_regex_fail/af62d293
status_regex_fail/af62d293: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/status_regex/status_regex_fail/af62d293/stage
status_regex_fail/af62d293: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/status_regex/status_regex_fail/af62d293/status_regex_fail_build.sh
gcc_version/cdbc0aa0: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/gcc_version/gcc_version/cdbc0aa0
gcc_version/cdbc0aa0: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/gcc_version/gcc_version/cdbc0aa0/stage
gcc_version/cdbc0aa0: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/gcc_version/gcc_version/cdbc0aa0/gcc_version_build.sh
runtime_test/49426b0c: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex4/runtime_test/49426b0c
runtime_test/49426b0c: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex4/runtime_test/49426b0c/stage
runtime_test/49426b0c: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex4/runtime_test/49426b0c/runtime_test_build.sh
runtime_test_pass/63562c55: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex4/runtime_test_pass/63562c55
runtime_test_pass/63562c55: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex4/runtime_test_pass/63562c55/stage
runtime_test_pass/63562c55: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex4/runtime_test_pass/63562c55/runtime_test_pass_build.sh
runtime_test_fail/e30a5a8e: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex4/runtime_test_fail/e30a5a8e
runtime_test_fail/e30a5a8e: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex4/runtime_test_fail/e30a5a8e/stage
runtime_test_fail/e30a5a8e: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex4/runtime_test_fail/e30a5a8e/runtime_test_fail_build.sh
assert_range_ex/bd1be61b: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_range/assert_range_ex/bd1be61b
assert_range_ex/bd1be61b: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_range/assert_range_ex/bd1be61b/stage
assert_range_ex/bd1be61b: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_range/assert_range_ex/bd1be61b/assert_range_ex_build.sh
bash_login_shebang/c19d4ba8: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/shebang/bash_login_shebang/c19d4ba8
bash_login_shebang/c19d4ba8: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/shebang/bash_login_shebang/c19d4ba8/stage
bash_login_shebang/c19d4ba8: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/shebang/bash_login_shebang/c19d4ba8/bash_login_shebang_build.sh
bash_nonlogin_shebang/0536f9e5: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/shebang/bash_nonlogin_shebang/0536f9e5
bash_nonlogin_shebang/0536f9e5: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/shebang/bash_nonlogin_shebang/0536f9e5/stage
bash_nonlogin_shebang/0536f9e5: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/shebang/bash_nonlogin_shebang/0536f9e5/bash_nonlogin_shebang_build.sh
timelimit_min_max/e4881939: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/runtime_status_test/timelimit_min_max/e4881939
timelimit_min_max/e4881939: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/runtime_status_test/timelimit_min_max/e4881939/stage
timelimit_min_max/e4881939: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/runtime_status_test/timelimit_min_max/e4881939/timelimit_min_max_build.sh
timelimit_min/b4a56a4e: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/runtime_status_test/timelimit_min/b4a56a4e
timelimit_min/b4a56a4e: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/runtime_status_test/timelimit_min/b4a56a4e/stage
timelimit_min/b4a56a4e: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/runtime_status_test/timelimit_min/b4a56a4e/timelimit_min_build.sh
timelimit_max/965f9776: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/runtime_status_test/timelimit_max/965f9776
timelimit_max/965f9776: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/runtime_status_test/timelimit_max/965f9776/stage
timelimit_max/965f9776: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/runtime_status_test/timelimit_max/965f9776/timelimit_max_build.sh
timelimit_min_fail/3f38d3c5: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/runtime_status_test/timelimit_min_fail/3f38d3c5
timelimit_min_fail/3f38d3c5: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/runtime_status_test/timelimit_min_fail/3f38d3c5/stage
timelimit_min_fail/3f38d3c5: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/runtime_status_test/timelimit_min_fail/3f38d3c5/timelimit_min_fail_build.sh
timelimit_max_fail/0763c0c8: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/runtime_status_test/timelimit_max_fail/0763c0c8
timelimit_max_fail/0763c0c8: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/runtime_status_test/timelimit_max_fail/0763c0c8/stage
timelimit_max_fail/0763c0c8: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/runtime_status_test/timelimit_max_fail/0763c0c8/timelimit_max_fail_build.sh
always_pass/f028dc96: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/explicit_state/always_pass/f028dc96
always_pass/f028dc96: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/explicit_state/always_pass/f028dc96/stage
always_pass/f028dc96: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/explicit_state/always_pass/f028dc96/always_pass_build.sh
always_fail/e4e9517c: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/explicit_state/always_fail/e4e9517c
always_fail/e4e9517c: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/explicit_state/always_fail/e4e9517c/stage
always_fail/e4e9517c: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/explicit_state/always_fail/e4e9517c/always_fail_build.sh
test_fail_returncode_match/5a207488: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/explicit_state/test_fail_returncode_match/5a207488
test_fail_returncode_match/5a207488: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/explicit_state/test_fail_returncode_match/5a207488/stage
test_fail_returncode_match/5a207488: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/explicit_state/test_fail_returncode_match/5a207488/test_fail_returncode_match_build.sh
test_pass_returncode_mismatch/545aa72e: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/explicit_state/test_pass_returncode_mismatch/545aa72e
test_pass_returncode_mismatch/545aa72e: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/explicit_state/test_pass_returncode_mismatch/545aa72e/stage
test_pass_returncode_mismatch/545aa72e: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/explicit_state/test_pass_returncode_mismatch/545aa72e/test_pass_returncode_mismatch_build.sh
create_burst_buffer_executors/1e3295b6: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/burstbuffer_datawarp_executors/create_burst_buffer_executors/1e3295b6
create_burst_buffer_executors/1e3295b6: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/burstbuffer_datawarp_executors/create_burst_buffer_executors/1e3295b6/stage
create_burst_buffer_executors/1e3295b6: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/burstbuffer_datawarp_executors/create_burst_buffer_executors/1e3295b6/create_burst_buffer_executors_build.sh
create_burst_buffer_executors/8b359c9a: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/burstbuffer_datawarp_executors/create_burst_buffer_executors/8b359c9a
create_burst_buffer_executors/8b359c9a: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/burstbuffer_datawarp_executors/create_burst_buffer_executors/8b359c9a/stage
create_burst_buffer_executors/8b359c9a: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/burstbuffer_datawarp_executors/create_burst_buffer_executors/8b359c9a/create_burst_buffer_executors_build.sh
circle_area/6126d7da: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/6126d7da
circle_area/6126d7da: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/6126d7da/stage
circle_area/6126d7da: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/6126d7da/circle_area_build.sh
executors_sbatch_declaration/626497ef: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/executor_scheduler/executors_sbatch_declaration/626497ef
executors_sbatch_declaration/626497ef: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/executor_scheduler/executors_sbatch_declaration/626497ef/stage
executors_sbatch_declaration/626497ef: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/executor_scheduler/executors_sbatch_declaration/626497ef/executors_sbatch_declaration_build.sh
executors_sbatch_declaration/e266ff40: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/executor_scheduler/executors_sbatch_declaration/e266ff40
executors_sbatch_declaration/e266ff40: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/executor_scheduler/executors_sbatch_declaration/e266ff40/stage
executors_sbatch_declaration/e266ff40: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/executor_scheduler/executors_sbatch_declaration/e266ff40/executors_sbatch_declaration_build.sh
status_exists/72ade150: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/exists/status_exists/72ade150
status_exists/72ade150: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/exists/status_exists/72ade150/stage
status_exists/72ade150: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/exists/status_exists/72ade150/status_exists_build.sh
status_exists_failure/15e0c7d7: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/exists/status_exists_failure/15e0c7d7
status_exists_failure/15e0c7d7: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/exists/status_exists_failure/15e0c7d7/stage
status_exists_failure/15e0c7d7: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/exists/status_exists_failure/15e0c7d7/status_exists_failure_build.sh
variables_bash/dede14e2: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/dede14e2
variables_bash/dede14e2: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/dede14e2/stage
variables_bash/dede14e2: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/dede14e2/variables_bash_build.sh
pass_test/5b52666f: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex3/pass_test/5b52666f
pass_test/5b52666f: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex3/pass_test/5b52666f/stage
pass_test/5b52666f: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex3/pass_test/5b52666f/pass_test_build.sh
fail_test/f18f8d1b: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex3/fail_test/f18f8d1b
fail_test/f18f8d1b: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex3/fail_test/f18f8d1b/stage
fail_test/f18f8d1b: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex3/fail_test/f18f8d1b/fail_test_build.sh
pass_and_fail_test/147f02c6: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex3/pass_and_fail_test/147f02c6
pass_and_fail_test/147f02c6: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex3/pass_and_fail_test/147f02c6/stage
pass_and_fail_test/147f02c6: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex3/pass_and_fail_test/147f02c6/pass_and_fail_test_build.sh
final_test/2d282367: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex3/final_test/2d282367
final_test/2d282367: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex3/final_test/2d282367/stage
final_test/2d282367: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex3/final_test/2d282367/final_test_build.sh
string_tag/0eed77da: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/string_tag/0eed77da
string_tag/0eed77da: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/string_tag/0eed77da/stage
string_tag/0eed77da: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/string_tag/0eed77da/string_tag_build.sh
list_of_strings_tags/e70f1296: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/list_of_strings_tags/e70f1296
list_of_strings_tags/e70f1296: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/list_of_strings_tags/e70f1296/stage
list_of_strings_tags/e70f1296: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/tags_example/list_of_strings_tags/e70f1296/list_of_strings_tags_build.sh
stream_test/bd5b3d39: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_ge/stream_test/bd5b3d39
stream_test/bd5b3d39: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_ge/stream_test/bd5b3d39/stage
stream_test/bd5b3d39: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_ge/stream_test/bd5b3d39/stream_test_build.sh
sleep/e6c62316: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/sleep/sleep/e6c62316
sleep/e6c62316: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/sleep/sleep/e6c62316/stage
sleep/e6c62316: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/sleep/sleep/e6c62316/sleep_build.sh
contains_and_not_contains/768ffdd8: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/contains/contains_and_not_contains/768ffdd8
contains_and_not_contains/768ffdd8: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/contains/contains_and_not_contains/768ffdd8/stage
contains_and_not_contains/768ffdd8: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/contains/contains_and_not_contains/768ffdd8/contains_and_not_contains_build.sh
assert_contains_fail/bc2cfa4c: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/contains/assert_contains_fail/bc2cfa4c
assert_contains_fail/bc2cfa4c: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/contains/assert_contains_fail/bc2cfa4c/stage
assert_contains_fail/bc2cfa4c: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/contains/assert_contains_fail/bc2cfa4c/assert_contains_fail_build.sh
exit1_fail/0eadfa67: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/0eadfa67
exit1_fail/0eadfa67: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/0eadfa67/stage
exit1_fail/0eadfa67: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/0eadfa67/exit1_fail_build.sh
exit1_pass/db9183bd: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/db9183bd
exit1_pass/db9183bd: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/db9183bd/stage
exit1_pass/db9183bd: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/db9183bd/exit1_pass_build.sh
returncode_list_mismatch/771ed45d: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/771ed45d
returncode_list_mismatch/771ed45d: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/771ed45d/stage
returncode_list_mismatch/771ed45d: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/771ed45d/returncode_list_mismatch_build.sh
returncode_int_match/813436b8: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/813436b8
returncode_int_match/813436b8: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/813436b8/stage
returncode_int_match/813436b8: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/813436b8/returncode_int_match_build.sh
multiple_executors/62fd751b: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/executor_regex_script/multiple_executors/62fd751b
multiple_executors/62fd751b: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/executor_regex_script/multiple_executors/62fd751b/stage
multiple_executors/62fd751b: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/executor_regex_script/multiple_executors/62fd751b/multiple_executors_build.sh
multiple_executors/96e1343a: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/executor_regex_script/multiple_executors/96e1343a
multiple_executors/96e1343a: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/executor_regex_script/multiple_executors/96e1343a/stage
multiple_executors/96e1343a: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/executor_regex_script/multiple_executors/96e1343a/multiple_executors_build.sh
assert_le_example/a0de33e4: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_le/assert_le_example/a0de33e4
assert_le_example/a0de33e4: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_le/assert_le_example/a0de33e4/stage
assert_le_example/a0de33e4: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_le/assert_le_example/a0de33e4/assert_le_example_build.sh
assert_eq_example/47865afb: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_eq/assert_eq_example/47865afb
assert_eq_example/47865afb: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_eq/assert_eq_example/47865afb/stage
assert_eq_example/47865afb: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_eq/assert_eq_example/47865afb/assert_eq_example_build.sh
assert_gt_example/79b7efbb: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_gt/assert_gt_example/79b7efbb
assert_gt_example/79b7efbb: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_gt/assert_gt_example/79b7efbb/stage
assert_gt_example/79b7efbb: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_gt/assert_gt_example/79b7efbb/assert_gt_example_build.sh
file_exists_pass/960e6220: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/file_exists_with_number/file_exists_pass/960e6220
file_exists_pass/960e6220: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/file_exists_with_number/file_exists_pass/960e6220/stage
file_exists_pass/960e6220: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/file_exists_with_number/file_exists_pass/960e6220/file_exists_pass_build.sh
assert_ne_example/b15ec6d2: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_ne/assert_ne_example/b15ec6d2
assert_ne_example/b15ec6d2: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_ne/assert_ne_example/b15ec6d2/stage
assert_ne_example/b15ec6d2: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_ne/assert_ne_example/b15ec6d2/assert_ne_example_build.sh
metric_regex_example/3948a035: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/metrics_regex/metric_regex_example/3948a035
metric_regex_example/3948a035: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/metrics_regex/metric_regex_example/3948a035/stage
metric_regex_example/3948a035: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/metrics_regex/metric_regex_example/3948a035/metric_regex_example_build.sh
assert_eq_invalid_metric/746b82ed: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_invalid_metric/746b82ed
assert_eq_invalid_metric/746b82ed: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_invalid_metric/746b82ed/stage
assert_eq_invalid_metric/746b82ed: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_invalid_metric/746b82ed/assert_eq_invalid_metric_build.sh
assert_eq_mismatch/a08d110e: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_mismatch/a08d110e
assert_eq_mismatch/a08d110e: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_mismatch/a08d110e/stage
assert_eq_mismatch/a08d110e: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_mismatch/a08d110e/assert_eq_mismatch_build.sh
hello_world/078ea80d: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/hello_world/hello_world/078ea80d
hello_world/078ea80d: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/hello_world/hello_world/078ea80d/stage
hello_world/078ea80d: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/hello_world/hello_world/078ea80d/hello_world_build.sh
summary_example/d7fb78eb: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/summary_example/summary_example/d7fb78eb
summary_example/d7fb78eb: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/summary_example/summary_example/d7fb78eb/stage
summary_example/d7fb78eb: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/summary_example/summary_example/d7fb78eb/summary_example_build.sh
status_returncode_by_executors/56284b0e: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/status_by_executors/status_returncode_by_executors/56284b0e
status_returncode_by_executors/56284b0e: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/status_by_executors/status_returncode_by_executors/56284b0e/stage
status_returncode_by_executors/56284b0e: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/status_by_executors/status_returncode_by_executors/56284b0e/status_returncode_by_executors_build.sh
status_returncode_by_executors/4838ad84: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/status_by_executors/status_returncode_by_executors/4838ad84
status_returncode_by_executors/4838ad84: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/status_by_executors/status_returncode_by_executors/4838ad84/stage
status_returncode_by_executors/4838ad84: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/status_by_executors/status_returncode_by_executors/4838ad84/status_returncode_by_executors_build.sh
foo_bar/84ebbd0a: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/maintainers_example/foo_bar/84ebbd0a
foo_bar/84ebbd0a: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/maintainers_example/foo_bar/84ebbd0a/stage
foo_bar/84ebbd0a: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/maintainers_example/foo_bar/84ebbd0a/foo_bar_build.sh
_bin_sh_shell/b6f22254: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/shell_examples/_bin_sh_shell/b6f22254
_bin_sh_shell/b6f22254: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/shell_examples/_bin_sh_shell/b6f22254/stage
_bin_sh_shell/b6f22254: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/shell_examples/_bin_sh_shell/b6f22254/_bin_sh_shell_build.sh
_bin_bash_shell/c0301a31: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/shell_examples/_bin_bash_shell/c0301a31
_bin_bash_shell/c0301a31: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/shell_examples/_bin_bash_shell/c0301a31/stage
_bin_bash_shell/c0301a31: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/shell_examples/_bin_bash_shell/c0301a31/_bin_bash_shell_build.sh
bash_shell/8ffc84c6: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/shell_examples/bash_shell/8ffc84c6
bash_shell/8ffc84c6: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/shell_examples/bash_shell/8ffc84c6/stage
bash_shell/8ffc84c6: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/shell_examples/bash_shell/8ffc84c6/bash_shell_build.sh
sh_shell/95408057: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/shell_examples/sh_shell/95408057
sh_shell/95408057: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/shell_examples/sh_shell/95408057/stage
sh_shell/95408057: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/shell_examples/sh_shell/95408057/sh_shell_build.sh
shell_options/e4998e74: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/shell_examples/shell_options/e4998e74
shell_options/e4998e74: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/shell_examples/shell_options/e4998e74/stage
shell_options/e4998e74: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.sh/shell_examples/shell_options/e4998e74/shell_options_build.sh
csh_shell/8d8c1104: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/csh_shell_examples/csh_shell/8d8c1104
csh_shell/8d8c1104: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/csh_shell_examples/csh_shell/8d8c1104/stage
csh_shell/8d8c1104: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/csh_shell_examples/csh_shell/8d8c1104/csh_shell_build.sh
file_and_dir_checks/41d0cf43: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/file_and_dir_check/file_and_dir_checks/41d0cf43
file_and_dir_checks/41d0cf43: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/file_and_dir_check/file_and_dir_checks/41d0cf43/stage
file_and_dir_checks/41d0cf43: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/file_and_dir_check/file_and_dir_checks/41d0cf43/file_and_dir_checks_build.sh
combined_file_and_dir_checks/67ed4d60: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/file_and_dir_check/combined_file_and_dir_checks/67ed4d60
combined_file_and_dir_checks/67ed4d60: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/file_and_dir_check/combined_file_and_dir_checks/67ed4d60/stage
combined_file_and_dir_checks/67ed4d60: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/file_and_dir_check/combined_file_and_dir_checks/67ed4d60/combined_file_and_dir_checks_build.sh
unskipped/9fc5b51e: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/skip_tests/unskipped/9fc5b51e
unskipped/9fc5b51e: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/skip_tests/unskipped/9fc5b51e/stage
unskipped/9fc5b51e: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/skip_tests/unskipped/9fc5b51e/unskipped_build.sh
jobA/63e98805: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex1/jobA/63e98805
jobA/63e98805: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex1/jobA/63e98805/stage
jobA/63e98805: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex1/jobA/63e98805/jobA_build.sh
jobB/c8874e0e: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex1/jobB/c8874e0e
jobB/c8874e0e: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex1/jobB/c8874e0e/stage
jobB/c8874e0e: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex1/jobB/c8874e0e/jobB_build.sh
jobC/0e2a346e: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex1/jobC/0e2a346e
jobC/0e2a346e: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex1/jobC/0e2a346e/stage
jobC/0e2a346e: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/ex1/jobC/0e2a346e/jobC_build.sh
bash_env_variables/b45faba2: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/environment/bash_env_variables/b45faba2
bash_env_variables/b45faba2: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/environment/bash_env_variables/b45faba2/stage
bash_env_variables/b45faba2: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/environment/bash_env_variables/b45faba2/bash_env_variables_build.sh
csh_env_declaration/8f9094d3: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/csh_env_declaration/8f9094d3
csh_env_declaration/8f9094d3: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/csh_env_declaration/8f9094d3/stage
csh_env_declaration/8f9094d3: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/csh_env_declaration/8f9094d3/csh_env_declaration_build.sh
tcsh_env_declaration/b085f183: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/tcsh_env_declaration/b085f183
tcsh_env_declaration/b085f183: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/tcsh_env_declaration/b085f183/stage
tcsh_env_declaration/b085f183: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.csh/environment/tcsh_env_declaration/b085f183/tcsh_env_declaration_build.sh

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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:46                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/tutorials/python-shell.yml: VALID
Total builder objects created: 2
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ python_… │ script │ generic… │ None     │ None  │ None  │ Hello    │ /home/… │
│          │        │          │          │       │       │ World    │         │
│          │        │          │          │       │       │ python   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_… │ script │ generic… │ None     │ None  │ None  │ Calcula… │ /home/… │
│          │        │          │          │       │       │ circle   │         │
│          │        │          │          │       │       │ of area  │         │
│          │        │          │          │       │       │ given a  │         │
│          │        │          │          │       │       │ radius   │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
python_hello/c0b19d78: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/c0b19d78
python_hello/c0b19d78: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/c0b19d78/stage
python_hello/c0b19d78: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/c0b19d78/python_hello_build.sh
circle_area/00558b65: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/00558b65
circle_area/00558b65: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/00558b65/stage
circle_area/00558b65: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/00558b65/circle_area_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
python_hello/c0b19d78 does not have any dependencies adding test to queue
circle_area/00558b65 does not have any dependencies adding test to queue
python_hello/c0b19d78: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/c0b19d78/stage
python_hello/c0b19d78: Running Test via command: bash --norc --noprofile -eo pipefail python_hello_build.sh
python_hello/c0b19d78: Test completed in 0.030273 seconds
python_hello/c0b19d78: Test completed with returncode: 0
python_hello/c0b19d78: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/c0b19d78/python_hello.out
python_hello/c0b19d78: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-hello/python_hello/c0b19d78/python_hello.err
circle_area/00558b65: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/00558b65/stage
circle_area/00558b65: Running Test via command: bash --norc --noprofile -eo pipefail circle_area_build.sh
circle_area/00558b65: Test completed in 0.030538 seconds
circle_area/00558b65: Test completed with returncode: 0
circle_area/00558b65: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/00558b65/circle_area.out
circle_area/00558b65: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/00558b65/circle_area.err
In this iteration we are going to run the following tests: [python_hello/c0b19d78, circle_area/00558b65]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ circle_area/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.030538 │
│ 00558b65     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ python_hello │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.030273 │
│ /c0b19d78    │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 2 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_eb1yh_ho.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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:46                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

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

Please see logfile: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/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 --stage option. The –stage option accepts parse or build, which will instruct buildtest to stop at parse or build phase of the pipeline.

Buildtest will validate all the buildspecs in the parse stage, so you can instruct buildtest to stop at parse stage via --stage=parse. 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 --stage=parse
$ buildtest build -b tutorials/vars.yml --stage=parse
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:47                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variabl… │ script │ generic… │ None     │ None  │ None  │ Declare  │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ variabl… │         │
│          │        │          │          │       │       │ in bash  │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘

Likewise, if you want to troubleshoot your test script without running them you can use --stage=build which will stop after build phase. This can be used when you are writing buildspec to troubleshoot how test is generated. In this next example, we inform buildtest to stop after build stage.

buildtest build -b tutorials/vars.yml --stage=build
$ buildtest build -b tutorials/vars.yml --stage=build
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:47                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variabl… │ script │ generic… │ None     │ None  │ None  │ Declare  │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ variabl… │         │
│          │        │          │          │       │       │ in bash  │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/fef0abec: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/fef0abec
variables_bash/fef0abec: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/fef0abec/stage
variables_bash/fef0abec: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/fef0abec/variables_bash_build.sh

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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:48                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/invalid_buildspec_section.yml: INVALID

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

Please see logfile: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:48                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/invalid_executor.yml: VALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… │
└──────────────────────────────────────────────────────────────────────────────┘

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

Please see logfile: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/buildtest.log

Rebuild Tests

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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:49                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/python-shell.yml: VALID
Total builder objects created: 3
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ circle_… │ script │ generic… │ None     │ None  │ None  │ Calcula… │ /home/… │
│          │        │          │          │       │       │ circle   │         │
│          │        │          │          │       │       │ of area  │         │
│          │        │          │          │       │       │ given a  │         │
│          │        │          │          │       │       │ radius   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_… │ script │ generic… │ None     │ None  │ None  │ Calcula… │ /home/… │
│          │        │          │          │       │       │ circle   │         │
│          │        │          │          │       │       │ of area  │         │
│          │        │          │          │       │       │ given a  │         │
│          │        │          │          │       │       │ radius   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_… │ script │ generic… │ None     │ None  │ None  │ Calcula… │ /home/… │
│          │        │          │          │       │       │ circle   │         │
│          │        │          │          │       │       │ of area  │         │
│          │        │          │          │       │       │ given a  │         │
│          │        │          │          │       │       │ radius   │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
circle_area/88bd39a5: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/88bd39a5
circle_area/88bd39a5: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/88bd39a5/stage
circle_area/88bd39a5: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/88bd39a5/circle_area_build.sh
circle_area/1604440b: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/1604440b
circle_area/1604440b: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/1604440b/stage
circle_area/1604440b: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/1604440b/circle_area_build.sh
circle_area/3805b425: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/3805b425
circle_area/3805b425: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/3805b425/stage
circle_area/3805b425: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/3805b425/circle_area_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
circle_area/1604440b does not have any dependencies adding test to queue
circle_area/3805b425 does not have any dependencies adding test to queue
circle_area/88bd39a5 does not have any dependencies adding test to queue
circle_area/1604440b: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/1604440b/stage
circle_area/1604440b: Running Test via command: bash --norc --noprofile -eo pipefail circle_area_build.sh
circle_area/1604440b: Test completed in 0.030619 seconds
circle_area/1604440b: Test completed with returncode: 0
circle_area/1604440b: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/1604440b/circle_area.out
circle_area/1604440b: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/1604440b/circle_area.err
circle_area/3805b425: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/3805b425/stage
circle_area/3805b425: Running Test via command: bash --norc --noprofile -eo pipefail circle_area_build.sh
circle_area/3805b425: Test completed in 0.029915 seconds
circle_area/3805b425: Test completed with returncode: 0
circle_area/3805b425: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/3805b425/circle_area.out
circle_area/3805b425: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/3805b425/circle_area.err
circle_area/88bd39a5: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/88bd39a5/stage
circle_area/88bd39a5: Running Test via command: bash --norc --noprofile -eo pipefail circle_area_build.sh
circle_area/88bd39a5: Test completed in 0.030095 seconds
circle_area/88bd39a5: Test completed with returncode: 0
circle_area/88bd39a5: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/88bd39a5/circle_area.out
circle_area/88bd39a5: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/python-shell/circle_area/88bd39a5/circle_area.err
In this iteration we are going to run the following tests: [circle_area/1604440b, circle_area/3805b425, circle_area/88bd39a5]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ circle_area/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.029915 │
│ 3805b425     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ circle_area/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.030619 │
│ 1604440b     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ circle_area/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.030095 │
│ 88bd39a5     │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 3 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_r9veylpf.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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:50                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=fail                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/test_status/pass_returncode.yml: VALID
Total builder objects created: 8
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ exit1_f… │ script │ generic… │ None     │ None  │ None  │ exit 1   │ /home/… │
│          │        │          │          │       │       │ by       │         │
│          │        │          │          │       │       │ default  │         │
│          │        │          │          │       │       │ is FAIL  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_p… │ script │ generic… │ None     │ None  │ None  │ report   │ /home/… │
│          │        │          │          │       │       │ exit 1   │         │
│          │        │          │          │       │       │ as PASS  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnc… │ script │ generic… │ None     │ None  │ None  │ exit 2   │ /home/… │
│          │        │          │          │       │       │ failed   │         │
│          │        │          │          │       │       │ since it │         │
│          │        │          │          │       │       │ failed   │         │
│          │        │          │          │       │       │ to match │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ 1        │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnc… │ script │ generic… │ None     │ None  │ None  │ exit 128 │ /home/… │
│          │        │          │          │       │       │ matches  │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ 128      │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_f… │ script │ generic… │ None     │ None  │ None  │ exit 1   │ /home/… │
│          │        │          │          │       │       │ by       │         │
│          │        │          │          │       │       │ default  │         │
│          │        │          │          │       │       │ is FAIL  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ exit1_p… │ script │ generic… │ None     │ None  │ None  │ report   │ /home/… │
│          │        │          │          │       │       │ exit 1   │         │
│          │        │          │          │       │       │ as PASS  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnc… │ script │ generic… │ None     │ None  │ None  │ exit 2   │ /home/… │
│          │        │          │          │       │       │ failed   │         │
│          │        │          │          │       │       │ since it │         │
│          │        │          │          │       │       │ failed   │         │
│          │        │          │          │       │       │ to match │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ 1        │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ returnc… │ script │ generic… │ None     │ None  │ None  │ exit 128 │ /home/… │
│          │        │          │          │       │       │ matches  │         │
│          │        │          │          │       │       │ returnc… │         │
│          │        │          │          │       │       │ 128      │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/bcf10351: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/bcf10351
exit1_fail/bcf10351: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/bcf10351/stage
exit1_fail/bcf10351: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/bcf10351/exit1_fail_build.sh
exit1_pass/7bfe91ca: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/7bfe91ca
exit1_pass/7bfe91ca: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/7bfe91ca/stage
exit1_pass/7bfe91ca: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/7bfe91ca/exit1_pass_build.sh
returncode_list_mismatch/9557581b: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/9557581b
returncode_list_mismatch/9557581b: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/9557581b/stage
returncode_list_mismatch/9557581b: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/9557581b/returncode_list_mismatch_build.sh
returncode_int_match/4ca93445: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/4ca93445
returncode_int_match/4ca93445: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/4ca93445/stage
returncode_int_match/4ca93445: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/4ca93445/returncode_int_match_build.sh
exit1_fail/68a0ff30: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/68a0ff30
exit1_fail/68a0ff30: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/68a0ff30/stage
exit1_fail/68a0ff30: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/68a0ff30/exit1_fail_build.sh
exit1_pass/de241e6a: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/de241e6a
exit1_pass/de241e6a: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/de241e6a/stage
exit1_pass/de241e6a: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/de241e6a/exit1_pass_build.sh
returncode_list_mismatch/df5bdd16: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/df5bdd16
returncode_list_mismatch/df5bdd16: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/df5bdd16/stage
returncode_list_mismatch/df5bdd16: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/df5bdd16/returncode_list_mismatch_build.sh
returncode_int_match/c0911a99: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/c0911a99
returncode_int_match/c0911a99: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/c0911a99/stage
returncode_int_match/c0911a99: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/c0911a99/returncode_int_match_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/bcf10351 does not have any dependencies adding test to queue
returncode_int_match/4ca93445 does not have any dependencies adding test to queue
exit1_fail/68a0ff30 does not have any dependencies adding test to queue
returncode_list_mismatch/9557581b does not have any dependencies adding test to queue
exit1_pass/7bfe91ca does not have any dependencies adding test to queue
exit1_pass/de241e6a does not have any dependencies adding test to queue
returncode_list_mismatch/df5bdd16 does not have any dependencies adding test to queue
returncode_int_match/c0911a99 does not have any dependencies adding test to queue
exit1_fail/bcf10351: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/bcf10351/stage
exit1_fail/bcf10351: Running Test via command: bash --norc --noprofile -eo pipefail exit1_fail_build.sh
exit1_fail/bcf10351: Test completed in 0.005412 seconds
exit1_fail/bcf10351: Test completed with returncode: 1
exit1_fail/bcf10351: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/bcf10351/exit1_fail.out
exit1_fail/bcf10351: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/bcf10351/exit1_fail.err
returncode_int_match/4ca93445: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/4ca93445/stage
returncode_int_match/4ca93445: Running Test via command: bash --norc --noprofile -eo pipefail returncode_int_match_build.sh
returncode_int_match/4ca93445: Test completed in 0.005099 seconds
returncode_int_match/4ca93445: Test completed with returncode: 128
returncode_int_match/4ca93445: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/4ca93445/returncode_int_match.out
returncode_int_match/4ca93445: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/4ca93445/returncode_int_match.err
returncode_int_match/4ca93445: Checking returncode - 128 is matched in list [128]
exit1_fail/68a0ff30: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/68a0ff30/stage
exit1_fail/68a0ff30: Running Test via command: bash --norc --noprofile -eo pipefail exit1_fail_build.sh
exit1_fail/68a0ff30: Test completed in 0.00499 seconds
exit1_fail/68a0ff30: Test completed with returncode: 1
exit1_fail/68a0ff30: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/68a0ff30/exit1_fail.out
exit1_fail/68a0ff30: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_fail/68a0ff30/exit1_fail.err
returncode_list_mismatch/9557581b: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/9557581b/stage
returncode_list_mismatch/9557581b: Running Test via command: bash --norc --noprofile -eo pipefail returncode_list_mismatch_build.sh
returncode_list_mismatch/9557581b: Test completed in 0.005088 seconds
returncode_list_mismatch/9557581b: Test completed with returncode: 2
returncode_list_mismatch/9557581b: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/9557581b/returncode_list_mismatch.out
returncode_list_mismatch/9557581b: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/9557581b/returncode_list_mismatch.err
returncode_list_mismatch/9557581b: Checking returncode - 2 is matched in list [1, 3]
exit1_pass/7bfe91ca: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/7bfe91ca/stage
exit1_pass/7bfe91ca: Running Test via command: bash --norc --noprofile -eo pipefail exit1_pass_build.sh
exit1_pass/7bfe91ca: Test completed in 0.005063 seconds
exit1_pass/7bfe91ca: Test completed with returncode: 1
exit1_pass/7bfe91ca: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/7bfe91ca/exit1_pass.out
exit1_pass/7bfe91ca: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/7bfe91ca/exit1_pass.err
exit1_pass/7bfe91ca: Checking returncode - 1 is matched in list [1]
exit1_pass/de241e6a: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/de241e6a/stage
exit1_pass/de241e6a: Running Test via command: bash --norc --noprofile -eo pipefail exit1_pass_build.sh
exit1_pass/de241e6a: Test completed in 0.005011 seconds
exit1_pass/de241e6a: Test completed with returncode: 1
exit1_pass/de241e6a: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/de241e6a/exit1_pass.out
exit1_pass/de241e6a: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/exit1_pass/de241e6a/exit1_pass.err
exit1_pass/de241e6a: Checking returncode - 1 is matched in list [1]
returncode_list_mismatch/df5bdd16: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/df5bdd16/stage
returncode_list_mismatch/df5bdd16: Running Test via command: bash --norc --noprofile -eo pipefail returncode_list_mismatch_build.sh
returncode_list_mismatch/df5bdd16: Test completed in 0.005154 seconds
returncode_list_mismatch/df5bdd16: Test completed with returncode: 2
returncode_list_mismatch/df5bdd16: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/df5bdd16/returncode_list_mismatch.out
returncode_list_mismatch/df5bdd16: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/df5bdd16/returncode_list_mismatch.err
returncode_list_mismatch/df5bdd16: Checking returncode - 2 is matched in list [1, 3]
returncode_int_match/c0911a99: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/c0911a99/stage
returncode_int_match/c0911a99: Running Test via command: bash --norc --noprofile -eo pipefail returncode_int_match_build.sh
returncode_int_match/c0911a99: Test completed in 0.00526 seconds
returncode_int_match/c0911a99: Test completed with returncode: 128
returncode_int_match/c0911a99: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/c0911a99/returncode_int_match.out
returncode_int_match/c0911a99: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/pass_returncode/returncode_int_match/c0911a99/returncode_int_match.err
returncode_int_match/c0911a99: Checking returncode - 128 is matched in list [128]
In this iteration we are going to run the following tests: [exit1_fail/bcf10351, returncode_int_match/4ca93445, exit1_fail/68a0ff30, returncode_list_mismatch/9557581b, exit1_pass/7bfe91ca, exit1_pass/de241e6a, returncode_list_mismatch/df5bdd16, returncode_int_match/c0911a99]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ returncode_i │ generic.loc… │ PASS   │ True False    │ 128        │ 0.005099 │
│ nt_match/4ca │              │        │ False         │            │          │
│ 93445        │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_l │ generic.loc… │ FAIL   │ False False   │ 2          │ 0.005154 │
│ ist_mismatch │              │        │ False         │            │          │
│ /df5bdd16    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_l │ generic.loc… │ FAIL   │ False False   │ 2          │ 0.005088 │
│ ist_mismatch │              │        │ False         │            │          │
│ /9557581b    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_pass/d │ generic.loc… │ PASS   │ True False    │ 1          │ 0.005011 │
│ e241e6a      │              │        │ False         │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_fail/b │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.005412 │
│ cf10351      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_pass/7 │ generic.loc… │ PASS   │ True False    │ 1          │ 0.005063 │
│ bfe91ca      │              │        │ False         │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_fail/6 │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.00499  │
│ 8a0ff30      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_i │ generic.loc… │ PASS   │ True False    │ 128        │ 0.00526  │
│ nt_match/c09 │              │        │ False         │            │          │
│ 11a99        │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 8 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_nxbyfak5.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/v1.2/bi │
│ n/buildtest:36 in <module>                                                   │
│                                                                              │
│   33                                                                         │
│   34 import buildtest.main                                                   │
│   35                                                                         │
│ ❱ 36 buildtest.main.main()                                                   │
│   37                                                                         │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │      buildtest = <module 'buildtest' from                                │ │
│ │                  '/home/docs/checkouts/readthedocs.org/user_builds/buil… │ │
│ │ buildtest_file = '/home/docs/checkouts/readthedocs.org/user_builds/buil… │ │
│ │             os = <module 'os' from                                       │ │
│ │                  '/home/docs/.asdf/installs/python/3.7.15/lib/python3.7… │ │
│ │         prefix = '/home/docs/checkouts/readthedocs.org/user_builds/buil… │ │
│ │            sys = <module 'sys' (built-in)>                               │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/bu │
│ ildtest/main.py:174 in main                                                  │
│                                                                              │
│   171 │   │   │   │   unload_modules=args.unload_modules,                    │
│   172 │   │   │   │   rerun=args.rerun,                                      │
│   173 │   │   │   │   executor_type=args.executor_type,                      │
│ ❱ 174 │   │   │   │   timeout=args.timeout,                                  │
│   175 │   │   │   )                                                          │
│   176 │   │   │   cmd.build()                                                │
│   177                                                                        │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │               args = Namespace(account=None,                             │ │
│ │                      buildspec=['tutorials/test_status/pass_returncode.… │ │
│ │                      color=None, configfile=None, debug=False,           │ │
│ │                      disable_executor_check=True, editor=None,           │ │
│ │                      exclude=None, executor=None, executor_type=None,    │ │
│ │                      filter=None, helpcolor=False, helpfilter=False,     │ │
│ │                      loglevel='DEBUG', logpath=False, maxpendtime=None,  │ │
│ │                      module_purge=False, modules=None, no_color=False,   │ │
│ │                      nodes=None, pollinterval=None, print_log=False,     │ │
│ │                      procs=None, rebuild=51, remove_stagedir=False,      │ │
│ │                      report=None, rerun=False, retry=1, stage=None,      │ │
│ │                      subcommands='build', tags=None, testdir=None,       │ │
│ │                      timeout=None, unload_modules=None, view_log=False)  │ │
│ │   buildtest_editor = '/usr/bin/vim'                                      │ │
│ │        config_file = None                                                │ │
│ │      configuration = <buildtest.config.SiteConfiguration object at       │ │
│ │                      0x7f4a2e87f1d0>                                     │ │
│ │              fname = '/home/docs/checkouts/readthedocs.org/user_builds/… │ │
│ │             logger = <Logger buildtest (DEBUG)>                          │ │
│ │           no_color = False                                               │ │
│ │             parser = ArgumentParser(prog='buildtest', usage='%(prog)s    │ │
│ │                      [options] [COMMANDS]', description='buildtest is a  │ │
│ │                      HPC testing framework for building and running      │ │
│ │                      tests.', formatter_class=<class                     │ │
│ │                      'argparse.RawDescriptionHelpFormatter'>,            │ │
│ │                      conflict_handler='error', add_help=True)            │ │
│ │        report_file = None                                                │ │
│ │             system = <buildtest.system.BuildTestSystem object at         │ │
│ │                      0x7f4a2e3d8250>                                     │ │
│ │ validate_executors = True                                                │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/bu │
│ ildtest/cli/build.py:561 in __init__                                         │
│                                                                              │
│    558 │   │   │                                                             │
│    559 │   │   │   if rebuild > 50:                                          │
│    560 │   │   │   │   raise BuildTestError(                                 │
│ ❱  561 │   │   │   │   │   f"--rebuild {rebuild} exceeds maximum rebuild lim │
│    562 │   │   │   │   )                                                     │
│    563 │   │                                                                 │
│    564 │   │   if timeout:                                                   │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │            account = None                                                │ │
│ │         buildspecs = ['tutorials/test_status/pass_returncode.yml']       │ │
│ │   buildtest_system = <buildtest.system.BuildTestSystem object at         │ │
│ │                      0x7f4a2e3d8250>                                     │ │
│ │      configuration = <buildtest.config.SiteConfiguration object at       │ │
│ │                      0x7f4a2e87f1d0>                                     │ │
│ │ exclude_buildspecs = None                                                │ │
│ │      executor_type = None                                                │ │
│ │          executors = None                                                │ │
│ │  filter_buildspecs = None                                                │ │
│ │         helpfilter = False                                               │ │
│ │        maxpendtime = None                                                │ │
│ │        modulepurge = False                                               │ │
│ │            modules = None                                                │ │
│ │           numnodes = None                                                │ │
│ │           numprocs = None                                                │ │
│ │      poll_interval = None                                                │ │
│ │            rebuild = 51                                                  │ │
│ │    remove_stagedir = False                                               │ │
│ │        report_file = None                                                │ │
│ │              rerun = False                                               │ │
│ │              retry = 1                                                   │ │
│ │               self = <buildtest.cli.build.BuildTest object at            │ │
│ │                      0x7f4a2e408290>                                     │ │
│ │              stage = None                                                │ │
│ │               tags = None                                                │ │
│ │            testdir = None                                                │ │
│ │            timeout = None                                                │ │
│ │     unload_modules = None                                                │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────╯
BuildTestError: '--rebuild 51 exceeds maximum rebuild limit of 50'

Rerun Last command

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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:51                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variabl… │ script │ generic… │ None     │ None  │ None  │ Declare  │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ variabl… │         │
│          │        │          │          │       │       │ in bash  │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/0c194e60: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/0c194e60
variables_bash/0c194e60: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/0c194e60/stage
variables_bash/0c194e60: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/0c194e60/variables_bash_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/0c194e60 does not have any dependencies adding test to queue
variables_bash/0c194e60: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/0c194e60/stage
variables_bash/0c194e60: Running Test via command: bash --norc --noprofile -eo pipefail variables_bash_build.sh
variables_bash/0c194e60: Test completed in 0.008984 seconds
variables_bash/0c194e60: Test completed with returncode: 0
variables_bash/0c194e60: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/0c194e60/variables_bash.out
variables_bash/0c194e60: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/0c194e60/variables_bash.err
In this iteration we are going to run the following tests: [variables_bash/0c194e60]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ variables_ba │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.008984 │
│ sh/0c194e60  │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 1 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_3cbof_ii.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 /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:52                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variabl… │ script │ generic… │ None     │ None  │ None  │ Declare  │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ variabl… │         │
│          │        │          │          │       │       │ in bash  │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/4a9534e4: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/4a9534e4
variables_bash/4a9534e4: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/4a9534e4/stage
variables_bash/4a9534e4: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/4a9534e4/variables_bash_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/4a9534e4 does not have any dependencies adding test to queue
variables_bash/4a9534e4: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/4a9534e4/stage
variables_bash/4a9534e4: Running Test via command: bash --norc --noprofile -eo pipefail variables_bash_build.sh
variables_bash/4a9534e4: Test completed in 0.00888 seconds
variables_bash/4a9534e4: Test completed with returncode: 0
variables_bash/4a9534e4: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/4a9534e4/variables_bash.out
variables_bash/4a9534e4: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/4a9534e4/variables_bash.err
In this iteration we are going to run the following tests: [variables_bash/4a9534e4]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓
┃               ┃              ┃        ┃ checks        ┃            ┃         ┃
┃               ┃              ┃        ┃ (ReturnCode,  ┃            ┃         ┃
┃               ┃              ┃        ┃ Regex,        ┃            ┃         ┃
┃ builder       ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime ┃
┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩
│ variables_bas │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.00888 │
│ h/4a9534e4    │              │        │               │            │         │
└───────────────┴──────────────┴────────┴───────────────┴────────────┴─────────┘



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


Adding 1 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_144rrkgv.log

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

buildtest build --rerun -t python --stage=build
$ buildtest build --rerun -t python --stage=build
Reading content of rerun file /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:52                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/vars.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ variabl… │ script │ generic… │ None     │ None  │ None  │ Declare  │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ variabl… │         │
│          │        │          │          │       │       │ in bash  │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/effee559: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/effee559
variables_bash/effee559: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/effee559/stage
variables_bash/effee559: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/effee559/variables_bash_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/effee559 does not have any dependencies adding test to queue
variables_bash/effee559: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/effee559/stage
variables_bash/effee559: Running Test via command: bash --norc --noprofile -eo pipefail variables_bash_build.sh
variables_bash/effee559: Test completed in 0.008889 seconds
variables_bash/effee559: Test completed with returncode: 0
variables_bash/effee559: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/effee559/variables_bash.out
variables_bash/effee559: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/vars/variables_bash/effee559/variables_bash.err
In this iteration we are going to run the following tests: [variables_bash/effee559]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ variables_ba │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.008889 │
│ sh/effee559  │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 1 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_gs1139ap.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

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 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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:53                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/sleep.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/3… │ script │ generic… │ None     │ None  │ None  │ sleep 2  │ /home/… │
│          │        │          │          │       │       │ seconds  │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
sleep/36cf8125: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/sleep/sleep/36cf8125
sleep/36cf8125: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/sleep/sleep/36cf8125/stage
sleep/36cf8125: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/sleep/sleep/36cf8125/sleep_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
sleep/36cf8125 does not have any dependencies adding test to queue
sleep/36cf8125: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/sleep/sleep/36cf8125/stage
sleep/36cf8125: Running Test via command: bash --norc --noprofile -eo pipefail sleep_build.sh
sleep/36cf8125: Test completed in 1.003333 seconds
sleep/36cf8125: Test completed with returncode: -9
sleep/36cf8125: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/sleep/sleep/36cf8125/sleep.out
sleep/36cf8125: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/sleep/sleep/36cf8125/sleep.err
In this iteration we are going to run the following tests: [sleep/36cf8125]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ sleep/36cf81 │ generic.loc… │ FAIL   │ N/A N/A N/A   │ -9         │ 1.003333 │
│ 25           │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 1 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_633dcvp4.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-19398495-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/02/06 21:50:55                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ buildtest version:  1.1                                                      │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ python version:     3.7.15                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/t… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/v1.2/tutorials/sleep.yml: VALID
Total builder objects created: 1
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ sleep/0… │ script │ generic… │ None     │ None  │ None  │ sleep 2  │ /home/… │
│          │        │          │          │       │       │ seconds  │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
sleep/01bb4a9c: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/sleep/sleep/01bb4a9c
sleep/01bb4a9c: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/sleep/sleep/01bb4a9c/stage
sleep/01bb4a9c: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/sleep/sleep/01bb4a9c/sleep_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
sleep/01bb4a9c does not have any dependencies adding test to queue
sleep/01bb4a9c: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/sleep/sleep/01bb4a9c/stage
sleep/01bb4a9c: Running Test via command: bash --norc --noprofile -eo pipefail sleep_build.sh
sleep/01bb4a9c: Test completed in 2.019524 seconds
sleep/01bb4a9c: Test completed with returncode: 0
sleep/01bb4a9c: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/sleep/sleep/01bb4a9c/sleep.out
sleep/01bb4a9c: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/tests/generic.local.bash/sleep/sleep/01bb4a9c/sleep.err
In this iteration we are going to run the following tests: [sleep/01bb4a9c]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ sleep/01bb4a │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 2.019524 │
│ 9c           │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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


Adding 1 test results to /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v1.2/var/logs/buildtest_lnnw5ipn.log