Building Test via buildtest (buildtest build)

This 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.

Once you install buildtest, you should find the buildtest command in your $PATH. You can check the path to buildtest command by running:

$ which buildtest

If you don’t see buildtest go back and install buildtest.

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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:00:28                                      │
│ 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/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_1e606gdy.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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:01:38                                      │
│ 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/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/stable/general_tests/configuration/disk_usage.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/general_tests/configuration/ulimits.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/general_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/general_tests/configuration/kernel_state.yml: VALID
Total builder objects created: 9
                            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… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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     │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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    │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
root_disk_usage/f9c4227b: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/disk_usage/root_disk_usage/f9c4227b
root_disk_usage/f9c4227b: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/disk_usage/root_disk_usage/f9c4227b/stage
root_disk_usage/f9c4227b: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/disk_usage/root_disk_usage/f9c4227b/root_disk_usage_build.sh
ulimit_filelock_unlimited/57110aa1: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/57110aa1
ulimit_filelock_unlimited/57110aa1: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/57110aa1/stage
ulimit_filelock_unlimited/57110aa1: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/57110aa1/ulimit_filelock_unlimited_build.sh
ulimit_cputime_unlimited/4ea89c0e: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/4ea89c0e
ulimit_cputime_unlimited/4ea89c0e: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/4ea89c0e/stage
ulimit_cputime_unlimited/4ea89c0e: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/4ea89c0e/ulimit_cputime_unlimited_build.sh
ulimit_stacksize_unlimited/ac6b88ca: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/ac6b88ca
ulimit_stacksize_unlimited/ac6b88ca: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/ac6b88ca/stage
ulimit_stacksize_unlimited/ac6b88ca: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/ac6b88ca/ulimit_stacksize_unlimited_build.sh
ulimit_vmsize_unlimited/001d5ca5: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/001d5ca5
ulimit_vmsize_unlimited/001d5ca5: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/001d5ca5/stage
ulimit_vmsize_unlimited/001d5ca5: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/001d5ca5/ulimit_vmsize_unlimited_build.sh
ulimit_filedescriptor_4096/4b5a3730: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/4b5a3730
ulimit_filedescriptor_4096/4b5a3730: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/4b5a3730/stage
ulimit_filedescriptor_4096/4b5a3730: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/4b5a3730/ulimit_filedescriptor_4096_build.sh
ulimit_max_user_process_2048/3c2b27a2: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/3c2b27a2
ulimit_max_user_process_2048/3c2b27a2: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/3c2b27a2/stage
ulimit_max_user_process_2048/3c2b27a2: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/3c2b27a2/ulimit_max_user_process_2048_build.sh
systemd_default_target/1cbe0bd4: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/1cbe0bd4
systemd_default_target/1cbe0bd4: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/1cbe0bd4/stage
systemd_default_target/1cbe0bd4: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/1cbe0bd4/systemd_default_target_build.sh
kernel_swapusage/3cafb670: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/kernel_state/kernel_swapusage/3cafb670
kernel_swapusage/3cafb670: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/kernel_state/kernel_swapusage/3cafb670/stage
kernel_swapusage/3cafb670: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/kernel_state/kernel_swapusage/3cafb670/kernel_swapusage_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
root_disk_usage/f9c4227b does not have any dependencies adding test to queue
ulimit_vmsize_unlimited/001d5ca5 does not have any dependencies adding test to queue
ulimit_max_user_process_2048/3c2b27a2 does not have any dependencies adding test to queue
ulimit_stacksize_unlimited/ac6b88ca does not have any dependencies adding test to queue
ulimit_filelock_unlimited/57110aa1 does not have any dependencies adding test to queue
kernel_swapusage/3cafb670 does not have any dependencies adding test to queue
ulimit_filedescriptor_4096/4b5a3730 does not have any dependencies adding test to queue
systemd_default_target/1cbe0bd4 does not have any dependencies adding test to queue
ulimit_cputime_unlimited/4ea89c0e does not have any dependencies adding test to queue
root_disk_usage/f9c4227b: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/disk_usage/root_disk_usage/f9c4227b/stage
root_disk_usage/f9c4227b: Running Test via command: bash --norc --noprofile -eo pipefail root_disk_usage_build.sh
root_disk_usage/f9c4227b: Test completed in 0.009426 seconds
root_disk_usage/f9c4227b: Test completed with returncode: 0
root_disk_usage/f9c4227b: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/disk_usage/root_disk_usage/f9c4227b/root_disk_usage.out
root_disk_usage/f9c4227b: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/disk_usage/root_disk_usage/f9c4227b/root_disk_usage.err
ulimit_vmsize_unlimited/001d5ca5: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/001d5ca5/stage
ulimit_vmsize_unlimited/001d5ca5: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_vmsize_unlimited_build.sh
ulimit_vmsize_unlimited/001d5ca5: Test completed in 0.00533 seconds
ulimit_vmsize_unlimited/001d5ca5: Test completed with returncode: 0
ulimit_vmsize_unlimited/001d5ca5: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/001d5ca5/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/001d5ca5: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/001d5ca5/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/001d5ca5: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/001d5ca5/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/001d5ca5: Regular Expression Match - Success!
ulimit_max_user_process_2048/3c2b27a2: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/3c2b27a2/stage
ulimit_max_user_process_2048/3c2b27a2: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_max_user_process_2048_build.sh
ulimit_max_user_process_2048/3c2b27a2: Test completed in 0.005173 seconds
ulimit_max_user_process_2048/3c2b27a2: Test completed with returncode: 0
ulimit_max_user_process_2048/3c2b27a2: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/3c2b27a2/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/3c2b27a2: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/3c2b27a2/ulimit_max_user_process_2048.err
ulimit_max_user_process_2048/3c2b27a2: performing regular expression - '^2048$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/3c2b27a2/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/3c2b27a2: Regular Expression Match - Failed!
ulimit_stacksize_unlimited/ac6b88ca: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/ac6b88ca/stage
ulimit_stacksize_unlimited/ac6b88ca: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_stacksize_unlimited_build.sh
ulimit_stacksize_unlimited/ac6b88ca: Test completed in 0.005173 seconds
ulimit_stacksize_unlimited/ac6b88ca: Test completed with returncode: 0
ulimit_stacksize_unlimited/ac6b88ca: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/ac6b88ca/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/ac6b88ca: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/ac6b88ca/ulimit_stacksize_unlimited.err
ulimit_stacksize_unlimited/ac6b88ca: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/ac6b88ca/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/ac6b88ca: Regular Expression Match - Failed!
ulimit_filelock_unlimited/57110aa1: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/57110aa1/stage
ulimit_filelock_unlimited/57110aa1: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_filelock_unlimited_build.sh
ulimit_filelock_unlimited/57110aa1: Test completed in 0.005239 seconds
ulimit_filelock_unlimited/57110aa1: Test completed with returncode: 0
ulimit_filelock_unlimited/57110aa1: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/57110aa1/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/57110aa1: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/57110aa1/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/57110aa1: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/57110aa1/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/57110aa1: Regular Expression Match - Success!
kernel_swapusage/3cafb670: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/kernel_state/kernel_swapusage/3cafb670/stage
kernel_swapusage/3cafb670: Running Test via command: bash --norc --noprofile -eo pipefail kernel_swapusage_build.sh
kernel_swapusage/3cafb670: Test completed in 0.067624 seconds
kernel_swapusage/3cafb670: Test completed with returncode: 255
kernel_swapusage/3cafb670: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/kernel_state/kernel_swapusage/3cafb670/kernel_swapusage.out
kernel_swapusage/3cafb670: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/kernel_state/kernel_swapusage/3cafb670/kernel_swapusage.err
ulimit_filedescriptor_4096/4b5a3730: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/4b5a3730/stage
ulimit_filedescriptor_4096/4b5a3730: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_filedescriptor_4096_build.sh
ulimit_filedescriptor_4096/4b5a3730: Test completed in 0.005553 seconds
ulimit_filedescriptor_4096/4b5a3730: Test completed with returncode: 0
ulimit_filedescriptor_4096/4b5a3730: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/4b5a3730/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/4b5a3730: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/4b5a3730/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/4b5a3730: performing regular expression - '^4096$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/4b5a3730/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/4b5a3730: Regular Expression Match - Failed!
systemd_default_target/1cbe0bd4: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/1cbe0bd4/stage
systemd_default_target/1cbe0bd4: Running Test via command: bash --norc --noprofile -eo pipefail systemd_default_target_build.sh
systemd_default_target/1cbe0bd4: Test completed in 0.195461 seconds
systemd_default_target/1cbe0bd4: Test completed with returncode: 1
systemd_default_target/1cbe0bd4: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/1cbe0bd4/systemd_default_target.out
systemd_default_target/1cbe0bd4: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/1cbe0bd4/systemd_default_target.err
ulimit_cputime_unlimited/4ea89c0e: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/4ea89c0e/stage
ulimit_cputime_unlimited/4ea89c0e: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_cputime_unlimited_build.sh
ulimit_cputime_unlimited/4ea89c0e: Test completed in 0.005754 seconds
ulimit_cputime_unlimited/4ea89c0e: Test completed with returncode: 0
ulimit_cputime_unlimited/4ea89c0e: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/4ea89c0e/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/4ea89c0e: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/4ea89c0e/ulimit_cputime_unlimited.err
ulimit_cputime_unlimited/4ea89c0e: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/4ea89c0e/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/4ea89c0e: Regular Expression Match - Success!
In this iteration we are going to run the following tests: [root_disk_usage/f9c4227b, ulimit_vmsize_unlimited/001d5ca5, ulimit_max_user_process_2048/3c2b27a2, ulimit_stacksize_unlimited/ac6b88ca, ulimit_filelock_unlimited/57110aa1, kernel_swapusage/3cafb670, ulimit_filedescriptor_4096/4b5a3730, systemd_default_target/1cbe0bd4, ulimit_cputime_unlimited/4ea89c0e]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ root_disk_us │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.009426 │
│ age/f9c4227b │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_vmsiz │ generic.loc… │ PASS   │ False True    │ 0          │ 0.00533  │
│ e_unlimited/ │              │        │ False         │            │          │
│ 001d5ca5     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_filel │ generic.loc… │ PASS   │ False True    │ 0          │ 0.005239 │
│ ock_unlimite │              │        │ False         │            │          │
│ d/57110aa1   │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ kernel_swapu │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 255        │ 0.067624 │
│ sage/3cafb67 │              │        │               │            │          │
│ 0            │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_cputi │ generic.loc… │ PASS   │ False True    │ 0          │ 0.005754 │
│ me_unlimited │              │        │ False         │            │          │
│ /4ea89c0e    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_max_u │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.005173 │
│ ser_process_ │              │        │ False         │            │          │
│ 2048/3c2b27a │              │        │               │            │          │
│ 2            │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_stack │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.005173 │
│ size_unlimit │              │        │ False         │            │          │
│ ed/ac6b88ca  │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_filed │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.005553 │
│ escriptor_40 │              │        │ False         │            │          │
│ 96/4b5a3730  │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ systemd_defa │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.195461 │
│ ult_target/1 │              │        │               │            │          │
│ cbe0bd4      │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_r1jmmqs3.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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:01:39                                      │
│ 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/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/stable/general_tests/configuration/disk_usage.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/general_tests/configuration/ulimits.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/general_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/general_tests/configuration/kernel_state.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  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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     │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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    │         │
└──────────┴────────┴──────────┴──────────┴───────┴───────┴──────────┴─────────┘
──────────────────────────────── Building Test ─────────────────────────────────
root_disk_usage/16319a1c: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/disk_usage/root_disk_usage/16319a1c
root_disk_usage/16319a1c: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/disk_usage/root_disk_usage/16319a1c/stage
root_disk_usage/16319a1c: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/disk_usage/root_disk_usage/16319a1c/root_disk_usage_build.sh
variables_bash/83570505: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/vars/variables_bash/83570505
variables_bash/83570505: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/vars/variables_bash/83570505/stage
variables_bash/83570505: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/vars/variables_bash/83570505/variables_bash_build.sh
ulimit_filelock_unlimited/3a72b429: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/3a72b429
ulimit_filelock_unlimited/3a72b429: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/3a72b429/stage
ulimit_filelock_unlimited/3a72b429: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/3a72b429/ulimit_filelock_unlimited_build.sh
ulimit_cputime_unlimited/fff85e95: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/fff85e95
ulimit_cputime_unlimited/fff85e95: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/fff85e95/stage
ulimit_cputime_unlimited/fff85e95: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/fff85e95/ulimit_cputime_unlimited_build.sh
ulimit_stacksize_unlimited/c90c1a59: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/c90c1a59
ulimit_stacksize_unlimited/c90c1a59: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/c90c1a59/stage
ulimit_stacksize_unlimited/c90c1a59: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/c90c1a59/ulimit_stacksize_unlimited_build.sh
ulimit_vmsize_unlimited/bdaf955b: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/bdaf955b
ulimit_vmsize_unlimited/bdaf955b: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/bdaf955b/stage
ulimit_vmsize_unlimited/bdaf955b: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/bdaf955b/ulimit_vmsize_unlimited_build.sh
ulimit_filedescriptor_4096/abc5e2d5: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/abc5e2d5
ulimit_filedescriptor_4096/abc5e2d5: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/abc5e2d5/stage
ulimit_filedescriptor_4096/abc5e2d5: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/abc5e2d5/ulimit_filedescriptor_4096_build.sh
ulimit_max_user_process_2048/1a0a7450: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/1a0a7450
ulimit_max_user_process_2048/1a0a7450: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/1a0a7450/stage
ulimit_max_user_process_2048/1a0a7450: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/1a0a7450/ulimit_max_user_process_2048_build.sh
systemd_default_target/9271b66b: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/9271b66b
systemd_default_target/9271b66b: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/9271b66b/stage
systemd_default_target/9271b66b: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/9271b66b/systemd_default_target_build.sh
kernel_swapusage/ec6ece43: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/kernel_state/kernel_swapusage/ec6ece43
kernel_swapusage/ec6ece43: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/kernel_state/kernel_swapusage/ec6ece43/stage
kernel_swapusage/ec6ece43: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/kernel_state/kernel_swapusage/ec6ece43/kernel_swapusage_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
ulimit_stacksize_unlimited/c90c1a59 does not have any dependencies adding test to queue
ulimit_max_user_process_2048/1a0a7450 does not have any dependencies adding test to queue
ulimit_cputime_unlimited/fff85e95 does not have any dependencies adding test to queue
ulimit_vmsize_unlimited/bdaf955b does not have any dependencies adding test to queue
systemd_default_target/9271b66b does not have any dependencies adding test to queue
kernel_swapusage/ec6ece43 does not have any dependencies adding test to queue
variables_bash/83570505 does not have any dependencies adding test to queue
ulimit_filelock_unlimited/3a72b429 does not have any dependencies adding test to queue
ulimit_filedescriptor_4096/abc5e2d5 does not have any dependencies adding test to queue
root_disk_usage/16319a1c does not have any dependencies adding test to queue
ulimit_stacksize_unlimited/c90c1a59: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/c90c1a59/stage
ulimit_stacksize_unlimited/c90c1a59: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_stacksize_unlimited_build.sh
ulimit_stacksize_unlimited/c90c1a59: Test completed in 0.00559 seconds
ulimit_stacksize_unlimited/c90c1a59: Test completed with returncode: 0
ulimit_stacksize_unlimited/c90c1a59: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/c90c1a59/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/c90c1a59: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/c90c1a59/ulimit_stacksize_unlimited.err
ulimit_stacksize_unlimited/c90c1a59: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimited/c90c1a59/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/c90c1a59: Regular Expression Match - Failed!
ulimit_max_user_process_2048/1a0a7450: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/1a0a7450/stage
ulimit_max_user_process_2048/1a0a7450: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_max_user_process_2048_build.sh
ulimit_max_user_process_2048/1a0a7450: Test completed in 0.005293 seconds
ulimit_max_user_process_2048/1a0a7450: Test completed with returncode: 0
ulimit_max_user_process_2048/1a0a7450: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/1a0a7450/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/1a0a7450: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/1a0a7450/ulimit_max_user_process_2048.err
ulimit_max_user_process_2048/1a0a7450: performing regular expression - '^2048$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/1a0a7450/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/1a0a7450: Regular Expression Match - Failed!
ulimit_vmsize_unlimited/bdaf955b: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/bdaf955b/stage
ulimit_vmsize_unlimited/bdaf955b: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_vmsize_unlimited_build.sh
ulimit_vmsize_unlimited/bdaf955b: Test completed in 0.00528 seconds
ulimit_vmsize_unlimited/bdaf955b: Test completed with returncode: 0
ulimit_vmsize_unlimited/bdaf955b: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/bdaf955b/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/bdaf955b: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/bdaf955b/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/bdaf955b: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/bdaf955b/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/bdaf955b: Regular Expression Match - Success!
ulimit_cputime_unlimited/fff85e95: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/fff85e95/stage
ulimit_cputime_unlimited/fff85e95: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_cputime_unlimited_build.sh
ulimit_cputime_unlimited/fff85e95: Test completed in 0.005529 seconds
ulimit_cputime_unlimited/fff85e95: Test completed with returncode: 0
ulimit_cputime_unlimited/fff85e95: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/fff85e95/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/fff85e95: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/fff85e95/ulimit_cputime_unlimited.err
ulimit_cputime_unlimited/fff85e95: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/fff85e95/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/fff85e95: Regular Expression Match - Success!
systemd_default_target/9271b66b: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/9271b66b/stage
systemd_default_target/9271b66b: Running Test via command: bash --norc --noprofile -eo pipefail systemd_default_target_build.sh
systemd_default_target/9271b66b: Test completed in 0.007905 seconds
systemd_default_target/9271b66b: Test completed with returncode: 1
systemd_default_target/9271b66b: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/9271b66b/systemd_default_target.out
systemd_default_target/9271b66b: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/systemd-default-target/systemd_default_target/9271b66b/systemd_default_target.err
kernel_swapusage/ec6ece43: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/kernel_state/kernel_swapusage/ec6ece43/stage
kernel_swapusage/ec6ece43: Running Test via command: bash --norc --noprofile -eo pipefail kernel_swapusage_build.sh
kernel_swapusage/ec6ece43: Test completed in 0.006127 seconds
kernel_swapusage/ec6ece43: Test completed with returncode: 255
kernel_swapusage/ec6ece43: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/kernel_state/kernel_swapusage/ec6ece43/kernel_swapusage.out
kernel_swapusage/ec6ece43: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/kernel_state/kernel_swapusage/ec6ece43/kernel_swapusage.err
variables_bash/83570505: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/vars/variables_bash/83570505/stage
variables_bash/83570505: Running Test via command: bash --norc --noprofile -eo pipefail variables_bash_build.sh
variables_bash/83570505: Test completed in 0.008688 seconds
variables_bash/83570505: Test completed with returncode: 0
variables_bash/83570505: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/vars/variables_bash/83570505/variables_bash.out
variables_bash/83570505: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/vars/variables_bash/83570505/variables_bash.err
ulimit_filelock_unlimited/3a72b429: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/3a72b429/stage
ulimit_filelock_unlimited/3a72b429: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_filelock_unlimited_build.sh
ulimit_filelock_unlimited/3a72b429: Test completed in 0.005181 seconds
ulimit_filelock_unlimited/3a72b429: Test completed with returncode: 0
ulimit_filelock_unlimited/3a72b429: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/3a72b429/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/3a72b429: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/3a72b429/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/3a72b429: performing regular expression - '^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimited/3a72b429/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/3a72b429: Regular Expression Match - Success!
ulimit_filedescriptor_4096/abc5e2d5: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/abc5e2d5/stage
ulimit_filedescriptor_4096/abc5e2d5: Running Test via command: bash --norc --noprofile -eo pipefail ulimit_filedescriptor_4096_build.sh
ulimit_filedescriptor_4096/abc5e2d5: Test completed in 0.005306 seconds
ulimit_filedescriptor_4096/abc5e2d5: Test completed with returncode: 0
ulimit_filedescriptor_4096/abc5e2d5: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/abc5e2d5/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/abc5e2d5: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/abc5e2d5/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/abc5e2d5: performing regular expression - '^4096$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/abc5e2d5/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/abc5e2d5: Regular Expression Match - Failed!
root_disk_usage/16319a1c: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/disk_usage/root_disk_usage/16319a1c/stage
root_disk_usage/16319a1c: Running Test via command: bash --norc --noprofile -eo pipefail root_disk_usage_build.sh
root_disk_usage/16319a1c: Test completed in 0.009425 seconds
root_disk_usage/16319a1c: Test completed with returncode: 0
root_disk_usage/16319a1c: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/disk_usage/root_disk_usage/16319a1c/root_disk_usage.out
root_disk_usage/16319a1c: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/disk_usage/root_disk_usage/16319a1c/root_disk_usage.err
In this iteration we are going to run the following tests: [ulimit_stacksize_unlimited/c90c1a59, ulimit_max_user_process_2048/1a0a7450, ulimit_vmsize_unlimited/bdaf955b, ulimit_cputime_unlimited/fff85e95, systemd_default_target/9271b66b, kernel_swapusage/ec6ece43, variables_bash/83570505, ulimit_filelock_unlimited/3a72b429, ulimit_filedescriptor_4096/abc5e2d5, root_disk_usage/16319a1c]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ ulimit_vmsiz │ generic.loc… │ PASS   │ False True    │ 0          │ 0.00528  │
│ e_unlimited/ │              │        │ False         │            │          │
│ bdaf955b     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_max_u │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.005293 │
│ ser_process_ │              │        │ False         │            │          │
│ 2048/1a0a745 │              │        │               │            │          │
│ 0            │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_stack │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.00559  │
│ size_unlimit │              │        │ False         │            │          │
│ ed/c90c1a59  │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ kernel_swapu │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 255        │ 0.006127 │
│ sage/ec6ece4 │              │        │               │            │          │
│ 3            │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ root_disk_us │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.009425 │
│ age/16319a1c │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_cputi │ generic.loc… │ PASS   │ False True    │ 0          │ 0.005529 │
│ me_unlimited │              │        │ False         │            │          │
│ /fff85e95    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ variables_ba │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.008688 │
│ sh/83570505  │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_filel │ generic.loc… │ PASS   │ False True    │ 0          │ 0.005181 │
│ ock_unlimite │              │        │ False         │            │          │
│ d/3a72b429   │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ systemd_defa │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.007905 │
│ ult_target/9 │              │        │               │            │          │
│ 271b66b      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_filed │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.005306 │
│ escriptor_40 │              │        │ False         │            │          │
│ 96/abc5e2d5  │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_gpygjpzu.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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:01:40                                      │
│ 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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:01:40                                      │
│ 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/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                              Excluded buildspecs                               
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_rgd_7_v0.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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:01:41                                      │
│ 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/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                           Buildspecs By Tag=network                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/stable/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/7b1e7fbb: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/string_tag/7b1e7fbb
string_tag/7b1e7fbb: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/string_tag/7b1e7fbb/stage
string_tag/7b1e7fbb: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/string_tag/7b1e7fbb/string_tag_build.sh
list_of_strings_tags/4e7526a7: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/list_of_strings_tags/4e7526a7
list_of_strings_tags/4e7526a7: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/list_of_strings_tags/4e7526a7/stage
list_of_strings_tags/4e7526a7: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/list_of_strings_tags/4e7526a7/list_of_strings_tags_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
string_tag/7b1e7fbb does not have any dependencies adding test to queue
list_of_strings_tags/4e7526a7 does not have any dependencies adding test to queue
string_tag/7b1e7fbb: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/string_tag/7b1e7fbb/stage
string_tag/7b1e7fbb: Running Test via command: bash --norc --noprofile -eo pipefail string_tag_build.sh
string_tag/7b1e7fbb: Test completed in 0.00631 seconds
string_tag/7b1e7fbb: Test completed with returncode: 0
string_tag/7b1e7fbb: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/string_tag/7b1e7fbb/string_tag.out
string_tag/7b1e7fbb: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/string_tag/7b1e7fbb/string_tag.err
list_of_strings_tags/4e7526a7: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/list_of_strings_tags/4e7526a7/stage
list_of_strings_tags/4e7526a7: Running Test via command: bash --norc --noprofile -eo pipefail list_of_strings_tags_build.sh
list_of_strings_tags/4e7526a7: Test completed in 3.029589 seconds
list_of_strings_tags/4e7526a7: Test completed with returncode: 0
list_of_strings_tags/4e7526a7: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/list_of_strings_tags/4e7526a7/list_of_strings_tags.out
list_of_strings_tags/4e7526a7: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/list_of_strings_tags/4e7526a7/list_of_strings_tags.err
In this iteration we are going to run the following tests: [string_tag/7b1e7fbb, list_of_strings_tags/4e7526a7]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ list_of_stri │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 3.029589 │
│ ngs_tags/4e7 │              │        │               │            │          │
│ 526a7        │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ string_tag/7 │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.00631  │
│ b1e7fbb      │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_pami_aym.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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:01:45                                      │
│ 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/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/stable/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/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/46c31635: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/46c31635
circle_area/46c31635: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/46c31635/stage
circle_area/46c31635: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/46c31635/circle_area_build.sh
python_hello/7700e9e9: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/7700e9e9
python_hello/7700e9e9: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/7700e9e9/stage
python_hello/7700e9e9: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/7700e9e9/python_hello_build.sh
exit1_fail/cf9ea369: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/cf9ea369
exit1_fail/cf9ea369: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/cf9ea369/stage
exit1_fail/cf9ea369: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/cf9ea369/exit1_fail_build.sh
exit1_pass/7dbb7d1c: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/7dbb7d1c
exit1_pass/7dbb7d1c: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/7dbb7d1c/stage
exit1_pass/7dbb7d1c: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/7dbb7d1c/exit1_pass_build.sh
returncode_list_mismatch/4b5edb6d: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/4b5edb6d
returncode_list_mismatch/4b5edb6d: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/4b5edb6d/stage
returncode_list_mismatch/4b5edb6d: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/4b5edb6d/returncode_list_mismatch_build.sh
returncode_int_match/59380195: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/59380195
returncode_int_match/59380195: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/59380195/stage
returncode_int_match/59380195: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/59380195/returncode_int_match_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
circle_area/46c31635 does not have any dependencies adding test to queue
returncode_int_match/59380195 does not have any dependencies adding test to queue
exit1_fail/cf9ea369 does not have any dependencies adding test to queue
python_hello/7700e9e9 does not have any dependencies adding test to queue
returncode_list_mismatch/4b5edb6d does not have any dependencies adding test to queue
exit1_pass/7dbb7d1c does not have any dependencies adding test to queue
circle_area/46c31635: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/46c31635/stage
circle_area/46c31635: Running Test via command: bash --norc --noprofile -eo pipefail circle_area_build.sh
circle_area/46c31635: Test completed in 0.030673 seconds
circle_area/46c31635: Test completed with returncode: 0
circle_area/46c31635: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/46c31635/circle_area.out
circle_area/46c31635: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/46c31635/circle_area.err
returncode_int_match/59380195: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/59380195/stage
returncode_int_match/59380195: Running Test via command: bash --norc --noprofile -eo pipefail returncode_int_match_build.sh
returncode_int_match/59380195: Test completed in 0.005243 seconds
returncode_int_match/59380195: Test completed with returncode: 128
returncode_int_match/59380195: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/59380195/returncode_int_match.out
returncode_int_match/59380195: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/59380195/returncode_int_match.err
returncode_int_match/59380195: Checking returncode - 128 is matched in list [128]
exit1_fail/cf9ea369: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/cf9ea369/stage
exit1_fail/cf9ea369: Running Test via command: bash --norc --noprofile -eo pipefail exit1_fail_build.sh
exit1_fail/cf9ea369: Test completed in 0.005073 seconds
exit1_fail/cf9ea369: Test completed with returncode: 1
exit1_fail/cf9ea369: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/cf9ea369/exit1_fail.out
exit1_fail/cf9ea369: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/cf9ea369/exit1_fail.err
python_hello/7700e9e9: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/7700e9e9/stage
python_hello/7700e9e9: Running Test via command: bash --norc --noprofile -eo pipefail python_hello_build.sh
python_hello/7700e9e9: Test completed in 0.029941 seconds
python_hello/7700e9e9: Test completed with returncode: 0
python_hello/7700e9e9: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/7700e9e9/python_hello.out
python_hello/7700e9e9: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/7700e9e9/python_hello.err
returncode_list_mismatch/4b5edb6d: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/4b5edb6d/stage
returncode_list_mismatch/4b5edb6d: Running Test via command: bash --norc --noprofile -eo pipefail returncode_list_mismatch_build.sh
returncode_list_mismatch/4b5edb6d: Test completed in 0.00531 seconds
returncode_list_mismatch/4b5edb6d: Test completed with returncode: 2
returncode_list_mismatch/4b5edb6d: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/4b5edb6d/returncode_list_mismatch.out
returncode_list_mismatch/4b5edb6d: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/4b5edb6d/returncode_list_mismatch.err
returncode_list_mismatch/4b5edb6d: Checking returncode - 2 is matched in list [1, 3]
exit1_pass/7dbb7d1c: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/7dbb7d1c/stage
exit1_pass/7dbb7d1c: Running Test via command: bash --norc --noprofile -eo pipefail exit1_pass_build.sh
exit1_pass/7dbb7d1c: Test completed in 0.005066 seconds
exit1_pass/7dbb7d1c: Test completed with returncode: 1
exit1_pass/7dbb7d1c: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/7dbb7d1c/exit1_pass.out
exit1_pass/7dbb7d1c: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/7dbb7d1c/exit1_pass.err
exit1_pass/7dbb7d1c: Checking returncode - 1 is matched in list [1]
In this iteration we are going to run the following tests: [circle_area/46c31635, returncode_int_match/59380195, exit1_fail/cf9ea369, python_hello/7700e9e9, returncode_list_mismatch/4b5edb6d, exit1_pass/7dbb7d1c]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ circle_area/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.030673 │
│ 46c31635     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_pass/7 │ generic.loc… │ PASS   │ True False    │ 1          │ 0.005066 │
│ dbb7d1c      │              │        │ False         │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_l │ generic.loc… │ FAIL   │ False False   │ 2          │ 0.00531  │
│ ist_mismatch │              │        │ False         │            │          │
│ /4b5edb6d    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_i │ generic.loc… │ PASS   │ True False    │ 128        │ 0.005243 │
│ nt_match/593 │              │        │ False         │            │          │
│ 80195        │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_fail/c │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.005073 │
│ f9ea369      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ python_hello │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.029941 │
│ /7700e9e9    │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_shm43gzn.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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:01:45                                      │
│ 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/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/stable/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/test_status/pass_returncode.yml: VALID
Total builder objects created: 5
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ 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 ─────────────────────────────────
python_hello/5e43851a: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/5e43851a
python_hello/5e43851a: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/5e43851a/stage
python_hello/5e43851a: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/5e43851a/python_hello_build.sh
exit1_fail/e621ebf3: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/e621ebf3
exit1_fail/e621ebf3: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/e621ebf3/stage
exit1_fail/e621ebf3: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/e621ebf3/exit1_fail_build.sh
exit1_pass/2b8eb7bd: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/2b8eb7bd
exit1_pass/2b8eb7bd: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/2b8eb7bd/stage
exit1_pass/2b8eb7bd: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/2b8eb7bd/exit1_pass_build.sh
returncode_list_mismatch/bc5b0c2f: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bc5b0c2f
returncode_list_mismatch/bc5b0c2f: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bc5b0c2f/stage
returncode_list_mismatch/bc5b0c2f: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bc5b0c2f/returncode_list_mismatch_build.sh
returncode_int_match/9401d2fb: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/9401d2fb
returncode_int_match/9401d2fb: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/9401d2fb/stage
returncode_int_match/9401d2fb: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/9401d2fb/returncode_int_match_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/e621ebf3 does not have any dependencies adding test to queue
python_hello/5e43851a does not have any dependencies adding test to queue
returncode_int_match/9401d2fb does not have any dependencies adding test to queue
exit1_pass/2b8eb7bd does not have any dependencies adding test to queue
returncode_list_mismatch/bc5b0c2f does not have any dependencies adding test to queue
returncode_int_match/9401d2fb: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/9401d2fb/stage
returncode_int_match/9401d2fb: Running Test via command: bash --norc --noprofile -eo pipefail returncode_int_match_build.sh
returncode_int_match/9401d2fb: Test completed in 0.005862 seconds
returncode_int_match/9401d2fb: Test completed with returncode: 128
returncode_int_match/9401d2fb: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/9401d2fb/returncode_int_match.out
returncode_int_match/9401d2fb: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/9401d2fb/returncode_int_match.err
returncode_int_match/9401d2fb: Checking returncode - 128 is matched in list [128]
exit1_fail/e621ebf3: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/e621ebf3/stage
exit1_fail/e621ebf3: Running Test via command: bash --norc --noprofile -eo pipefail exit1_fail_build.sh
exit1_fail/e621ebf3: Test completed in 0.005302 seconds
exit1_fail/e621ebf3: Test completed with returncode: 1
exit1_fail/e621ebf3: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/e621ebf3/exit1_fail.out
exit1_fail/e621ebf3: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/e621ebf3/exit1_fail.err
python_hello/5e43851a: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/5e43851a/stage
python_hello/5e43851a: Running Test via command: bash --norc --noprofile -eo pipefail python_hello_build.sh
python_hello/5e43851a: Test completed in 0.02964 seconds
python_hello/5e43851a: Test completed with returncode: 0
python_hello/5e43851a: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/5e43851a/python_hello.out
python_hello/5e43851a: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/5e43851a/python_hello.err
exit1_pass/2b8eb7bd: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/2b8eb7bd/stage
exit1_pass/2b8eb7bd: Running Test via command: bash --norc --noprofile -eo pipefail exit1_pass_build.sh
exit1_pass/2b8eb7bd: Test completed in 0.005147 seconds
exit1_pass/2b8eb7bd: Test completed with returncode: 1
exit1_pass/2b8eb7bd: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/2b8eb7bd/exit1_pass.out
exit1_pass/2b8eb7bd: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/2b8eb7bd/exit1_pass.err
exit1_pass/2b8eb7bd: Checking returncode - 1 is matched in list [1]
returncode_list_mismatch/bc5b0c2f: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bc5b0c2f/stage
returncode_list_mismatch/bc5b0c2f: Running Test via command: bash --norc --noprofile -eo pipefail returncode_list_mismatch_build.sh
returncode_list_mismatch/bc5b0c2f: Test completed in 0.005007 seconds
returncode_list_mismatch/bc5b0c2f: Test completed with returncode: 2
returncode_list_mismatch/bc5b0c2f: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bc5b0c2f/returncode_list_mismatch.out
returncode_list_mismatch/bc5b0c2f: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/bc5b0c2f/returncode_list_mismatch.err
returncode_list_mismatch/bc5b0c2f: Checking returncode - 2 is matched in list [1, 3]
In this iteration we are going to run the following tests: [returncode_int_match/9401d2fb, exit1_fail/e621ebf3, python_hello/5e43851a, exit1_pass/2b8eb7bd, returncode_list_mismatch/bc5b0c2f]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ exit1_pass/2 │ generic.loc… │ PASS   │ True False    │ 1          │ 0.005147 │
│ b8eb7bd      │              │        │ False         │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_i │ generic.loc… │ PASS   │ True False    │ 128        │ 0.005862 │
│ nt_match/940 │              │        │ False         │            │          │
│ 1d2fb        │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_l │ generic.loc… │ FAIL   │ False False   │ 2          │ 0.005007 │
│ ist_mismatch │              │        │ False         │            │          │
│ /bc5b0c2f    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_fail/e │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.005302 │
│ 621ebf3      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ python_hello │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.02964  │
│ /5e43851a    │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_fn4bmoun.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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:01: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/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                    Buildspecs by Executor=generic.local.csh                    
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/stable/tutorials/environment.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/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/66202773: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/environment/bash_env_variables/66202773
bash_env_variables/66202773: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/environment/bash_env_variables/66202773/stage
bash_env_variables/66202773: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/environment/bash_env_variables/66202773/bash_env_variables_build.sh
csh_env_declaration/eba35309: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/csh_env_declaration/eba35309
csh_env_declaration/eba35309: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/csh_env_declaration/eba35309/stage
csh_env_declaration/eba35309: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/csh_env_declaration/eba35309/csh_env_declaration_build.sh
tcsh_env_declaration/45133194: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/tcsh_env_declaration/45133194
tcsh_env_declaration/45133194: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/tcsh_env_declaration/45133194/stage
tcsh_env_declaration/45133194: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/tcsh_env_declaration/45133194/tcsh_env_declaration_build.sh
csh_shell/5123c48f: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/csh_shell_examples/csh_shell/5123c48f
csh_shell/5123c48f: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/csh_shell_examples/csh_shell/5123c48f/stage
csh_shell/5123c48f: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/csh_shell_examples/csh_shell/5123c48f/csh_shell_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
bash_env_variables/66202773 does not have any dependencies adding test to queue
tcsh_env_declaration/45133194 does not have any dependencies adding test to queue
csh_shell/5123c48f does not have any dependencies adding test to queue
csh_env_declaration/eba35309 does not have any dependencies adding test to queue
bash_env_variables/66202773: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/environment/bash_env_variables/66202773/stage
bash_env_variables/66202773: Running Test via command: bash --norc --noprofile -eo pipefail bash_env_variables_build.sh
bash_env_variables/66202773: Test completed in 0.0073 seconds
bash_env_variables/66202773: Test completed with returncode: 0
bash_env_variables/66202773: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/environment/bash_env_variables/66202773/bash_env_variables.out
bash_env_variables/66202773: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/environment/bash_env_variables/66202773/bash_env_variables.err
tcsh_env_declaration/45133194: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/tcsh_env_declaration/45133194/stage
tcsh_env_declaration/45133194: Running Test via command: csh -e tcsh_env_declaration_build.sh
tcsh_env_declaration/45133194: Test completed in 2.277778 seconds
tcsh_env_declaration/45133194: Test completed with returncode: 1
tcsh_env_declaration/45133194: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/tcsh_env_declaration/45133194/tcsh_env_declaration.out
tcsh_env_declaration/45133194: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/tcsh_env_declaration/45133194/tcsh_env_declaration.err
csh_shell/5123c48f: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/csh_shell_examples/csh_shell/5123c48f/stage
csh_shell/5123c48f: Running Test via command: csh -e csh_shell_build.sh
csh_shell/5123c48f: Test completed in 4.373072 seconds
csh_shell/5123c48f: Test completed with returncode: 0
csh_shell/5123c48f: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/csh_shell_examples/csh_shell/5123c48f/csh_shell.out
csh_shell/5123c48f: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/csh_shell_examples/csh_shell/5123c48f/csh_shell.err
csh_env_declaration/eba35309: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/csh_env_declaration/eba35309/stage
csh_env_declaration/eba35309: Running Test via command: csh -e csh_env_declaration_build.sh
csh_env_declaration/eba35309: Test completed in 4.36722 seconds
csh_env_declaration/eba35309: Test completed with returncode: 0
csh_env_declaration/eba35309: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/csh_env_declaration/eba35309/csh_env_declaration.out
csh_env_declaration/eba35309: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/csh_env_declaration/eba35309/csh_env_declaration.err
In this iteration we are going to run the following tests: [bash_env_variables/66202773, tcsh_env_declaration/45133194, csh_shell/5123c48f, csh_env_declaration/eba35309]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ tcsh_env_dec │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 2.277778 │
│ laration/451 │              │        │               │            │          │
│ 33194        │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ csh_env_decl │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 4.36722  │
│ aration/eba3 │              │        │               │            │          │
│ 5309         │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ bash_env_var │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.0073   │
│ iables/66202 │              │        │               │            │          │
│ 773          │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ csh_shell/51 │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 4.373072 │
│ 23c48f       │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_2e7beb6b.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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:01:58                                      │
│ 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/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/stable/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/stable/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/stable/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/537b9ec7: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/537b9ec7
exit1_pass/537b9ec7: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/537b9ec7/stage
exit1_pass/537b9ec7: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/537b9ec7/exit1_pass_build.sh
returncode_int_match/3ab876bc: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/3ab876bc
returncode_int_match/3ab876bc: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/3ab876bc/stage
returncode_int_match/3ab876bc: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/3ab876bc/returncode_int_match_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_int_match/3ab876bc does not have any dependencies adding test to queue
exit1_pass/537b9ec7 does not have any dependencies adding test to queue
returncode_int_match/3ab876bc: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/3ab876bc/stage
returncode_int_match/3ab876bc: Running Test via command: bash --norc --noprofile -eo pipefail returncode_int_match_build.sh
returncode_int_match/3ab876bc: Test completed in 0.005372 seconds
returncode_int_match/3ab876bc: Test completed with returncode: 128
returncode_int_match/3ab876bc: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/3ab876bc/returncode_int_match.out
returncode_int_match/3ab876bc: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/3ab876bc/returncode_int_match.err
returncode_int_match/3ab876bc: Checking returncode - 128 is matched in list [128]
exit1_pass/537b9ec7: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/537b9ec7/stage
exit1_pass/537b9ec7: Running Test via command: bash --norc --noprofile -eo pipefail exit1_pass_build.sh
exit1_pass/537b9ec7: Test completed in 0.005096 seconds
exit1_pass/537b9ec7: Test completed with returncode: 1
exit1_pass/537b9ec7: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/537b9ec7/exit1_pass.out
exit1_pass/537b9ec7: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/537b9ec7/exit1_pass.err
exit1_pass/537b9ec7: Checking returncode - 1 is matched in list [1]
In this iteration we are going to run the following tests: [returncode_int_match/3ab876bc, exit1_pass/537b9ec7]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ exit1_pass/5 │ generic.loc… │ PASS   │ True False    │ 1          │ 0.005096 │
│ 37b9ec7      │              │        │ False         │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_i │ generic.loc… │ PASS   │ True False    │ 128        │ 0.005372 │
│ nt_match/3ab │              │        │ False         │            │          │
│ 876bc        │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_jotg6ob8.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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:01:59                                      │
│ 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/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_am6gdhcu.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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:02:00                                      │
│ 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/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


Total Discovered Buildspecs:  41
Total Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  41
────────────────────────────── Parsing Buildspecs ──────────────────────────────
skip: skipping test due to 'skip' property.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/skip_buildspec.yml: skipping all test since 'skip' is defined
Valid Buildspecs: 38
Invalid Buildspecs: 3
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/multi_executors/executor_regex_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/test_status/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/perf_checks/assert_range.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/test_status/runtime_status_test.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/multi_executors/executor_scheduler.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/environment.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/job_dependency/ex2.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/add_numbers.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/invalid_executor.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/metrics_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/skip_tests.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/gcc_version.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/test_status/status_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/test_status/explicit_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/job_dependency/ex4.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/test_status/file_and_dir_check.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/burstbuffer_datawarp_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/test_status/file_exists_with_number.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/shebang.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/skip_buildspec.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/perf_checks/assert_ge.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/sleep.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/job_dependency/ex1.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/job_dependency/ex3.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/perf_checks/assert_eq_exceptions.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/perf_checks/assert_eq.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/maintainers_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/multi_executors/status_by_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/test_status/exists.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/summary_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/multi_executors/executors_var_env_declaration.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/tags_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/test_status/file_exists_exception.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/invalid_tags.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/tutorials/invalid_buildspec_section.yml: INVALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… │
└──────────────────────────────────────────────────────────────────────────────┘
Total builder objects created: 72
                            Builders by type=script                             
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┓
┃ builder  ┃ type   ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ descrip… ┃ builds… ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━┩
│ _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  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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 │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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      │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ assert_… │ script │ generic… │ None     │ None  │ None  │ Example  │ /home/… │
│          │        │          │          │       │       │ on       │         │
│          │        │          │          │       │       │ assert_… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ test1/f… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will     │         │
│          │        │          │          │       │       │ pass     │         │
│          │        │          │          │       │       │ with     │         │
│          │        │          │          │       │       │ exit 1   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ test2/9… │ 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        │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ add_num… │ script │ generic… │ None     │ None  │ None  │ Add X+Y  │ /home/… │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ metric_… │ script │ generic… │ None     │ None  │ None  │ capture  │ /home/… │
│          │        │          │          │       │       │ result   │         │
│          │        │          │          │       │       │ metric   │         │
│          │        │          │          │       │       │ from     │         │
│          │        │          │          │       │       │ output   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ unskipp… │ script │ generic… │ None     │ None  │ None  │ This     │ /home/… │
│          │        │          │          │       │       │ test is  │         │
│          │        │          │          │       │       │ not      │         │
│          │        │          │          │       │       │ skipped  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ gcc_ver… │ script │ generic… │ None     │ None  │ None  │ Print    │ /home/… │
│          │        │          │          │       │       │ gcc      │         │
│          │        │          │          │       │       │ version  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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 │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ circle_… │ script │ generic… │ None     │ None  │ None  │ Calcula… │ /home/… │
│          │        │          │          │       │       │ circle   │         │
│          │        │          │          │       │       │ of area  │         │
│          │        │          │          │       │       │ given a  │         │
│          │        │          │          │       │       │ radius   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ python_… │ script │ generic… │ None     │ None  │ None  │ Hello    │ /home/… │
│          │        │          │          │       │       │ World    │         │
│          │        │          │          │       │       │ python   │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ file_ex… │ script │ generic… │ None     │ None  │ None  │ this     │ /home/… │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ will     │         │
│          │        │          │          │       │       │ pass     │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ hello_w… │ script │ generic… │ None     │ None  │ None  │ hello    │ /home/… │
│          │        │          │          │       │       │ world    │         │
│          │        │          │          │       │       │ example  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ stream_… │ script │ generic… │ None     │ None  │ None  │ Run      │ /home/… │
│          │        │          │          │       │       │ stream   │         │
│          │        │          │          │       │       │ test     │         │
│          │        │          │          │       │       │ with     │         │
│          │        │          │          │       │       │ metrics  │         │
│          │        │          │          │       │       │ example  │         │
│          │        │          │          │       │       │ using    │         │
│          │        │          │          │       │       │ assert   │         │
│          │        │          │          │       │       │ greater  │         │
│          │        │          │          │       │       │ equal    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ sleep/d… │ script │ generic… │ None     │ None  │ None  │ sleep 2  │ /home/… │
│          │        │          │          │       │       │ seconds  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ jobA/b0… │ script │ generic… │ None     │ None  │ None  │ no job   │ /home/… │
│          │        │          │          │       │       │ depende… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ jobB/c1… │ script │ generic… │ None     │ None  │ None  │ job      │ /home/… │
│          │        │          │          │       │       │ depende… │         │
│          │        │          │          │       │       │ on jobA  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ jobC/68… │ script │ generic… │ None     │ None  │ None  │ job      │ /home/… │
│          │        │          │          │       │       │ depende… │         │
│          │        │          │          │       │       │ on jobA  │         │
│          │        │          │          │       │       │ and jobB │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ variabl… │ script │ generic… │ None     │ None  │ None  │ Declare  │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ variabl… │         │
│          │        │          │          │       │       │ in bash  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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 │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ assert_… │ script │ generic… │ None     │ None  │ None  │ Test for │ /home/… │
│          │        │          │          │       │       │ assert   │         │
│          │        │          │          │       │       │ equality │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ foo_bar… │ script │ generic… │ None     │ None  │ None  │ prints   │ /home/… │
│          │        │          │          │       │       │ variable │         │
│          │        │          │          │       │       │ $FOO     │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ csh_she… │ script │ generic… │ None     │ None  │ None  │ csh      │ /home/… │
│          │        │          │          │       │       │ shell    │         │
│          │        │          │          │       │       │ example  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ status_… │ script │ generic… │ None     │ None  │ None  │ define   │ /home/… │
│          │        │          │          │       │       │ status   │         │
│          │        │          │          │       │       │ per      │         │
│          │        │          │          │       │       │ executor │         │
│          │        │          │          │       │       │ type.    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ status_… │ script │ generic… │ None     │ None  │ None  │ define   │ /home/… │
│          │        │          │          │       │       │ status   │         │
│          │        │          │          │       │       │ per      │         │
│          │        │          │          │       │       │ executor │         │
│          │        │          │          │       │       │ type.    │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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… │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ summary… │ script │ generic… │ None     │ None  │ None  │ The      │ /home/… │
│          │        │          │          │       │       │ summary  │         │
│          │        │          │          │       │       │ field    │         │
│          │        │          │          │       │       │ can be a │         │
│          │        │          │          │       │       │ multi-l… │         │
│          │        │          │          │       │       │ string   │         │
│          │        │          │          │       │       │ and      │         │
│          │        │          │          │       │       │ exceed   │         │
│          │        │          │          │       │       │ 80 char  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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  │         │
├──────────┼────────┼──────────┼──────────┼───────┼───────┼──────────┼─────────┤
│ 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 ─────────────────────────────────
_bin_sh_shell/a675958e: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/shell_examples/_bin_sh_shell/a675958e
_bin_sh_shell/a675958e: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/shell_examples/_bin_sh_shell/a675958e/stage
_bin_sh_shell/a675958e: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/shell_examples/_bin_sh_shell/a675958e/_bin_sh_shell_build.sh
_bin_bash_shell/876ec4c2: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/shell_examples/_bin_bash_shell/876ec4c2
_bin_bash_shell/876ec4c2: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/shell_examples/_bin_bash_shell/876ec4c2/stage
_bin_bash_shell/876ec4c2: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/shell_examples/_bin_bash_shell/876ec4c2/_bin_bash_shell_build.sh
bash_shell/0cc7f433: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/shell_examples/bash_shell/0cc7f433
bash_shell/0cc7f433: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/shell_examples/bash_shell/0cc7f433/stage
bash_shell/0cc7f433: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/shell_examples/bash_shell/0cc7f433/bash_shell_build.sh
sh_shell/eb0a17fa: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/shell_examples/sh_shell/eb0a17fa
sh_shell/eb0a17fa: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/shell_examples/sh_shell/eb0a17fa/stage
sh_shell/eb0a17fa: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/shell_examples/sh_shell/eb0a17fa/sh_shell_build.sh
shell_options/35b9b89f: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/shell_examples/shell_options/35b9b89f
shell_options/35b9b89f: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/shell_examples/shell_options/35b9b89f/stage
shell_options/35b9b89f: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/shell_examples/shell_options/35b9b89f/shell_options_build.sh
multiple_executors/6b133c89: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/executor_regex_script/multiple_executors/6b133c89
multiple_executors/6b133c89: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/executor_regex_script/multiple_executors/6b133c89/stage
multiple_executors/6b133c89: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/executor_regex_script/multiple_executors/6b133c89/multiple_executors_build.sh
multiple_executors/6e41796d: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/executor_regex_script/multiple_executors/6e41796d
multiple_executors/6e41796d: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/executor_regex_script/multiple_executors/6e41796d/stage
multiple_executors/6e41796d: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/executor_regex_script/multiple_executors/6e41796d/multiple_executors_build.sh
exit1_fail/e626ed83: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/e626ed83
exit1_fail/e626ed83: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/e626ed83/stage
exit1_fail/e626ed83: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/e626ed83/exit1_fail_build.sh
exit1_pass/56c44c0c: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/56c44c0c
exit1_pass/56c44c0c: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/56c44c0c/stage
exit1_pass/56c44c0c: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/56c44c0c/exit1_pass_build.sh
returncode_list_mismatch/3cbd584f: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/3cbd584f
returncode_list_mismatch/3cbd584f: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/3cbd584f/stage
returncode_list_mismatch/3cbd584f: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/3cbd584f/returncode_list_mismatch_build.sh
returncode_int_match/20efa003: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/20efa003
returncode_int_match/20efa003: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/20efa003/stage
returncode_int_match/20efa003: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/20efa003/returncode_int_match_build.sh
assert_range_ex/14328ba4: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/assert_range/assert_range_ex/14328ba4
assert_range_ex/14328ba4: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/assert_range/assert_range_ex/14328ba4/stage
assert_range_ex/14328ba4: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/assert_range/assert_range_ex/14328ba4/assert_range_ex_build.sh
timelimit_min_max/709ae75d: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/runtime_status_test/timelimit_min_max/709ae75d
timelimit_min_max/709ae75d: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/runtime_status_test/timelimit_min_max/709ae75d/stage
timelimit_min_max/709ae75d: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/runtime_status_test/timelimit_min_max/709ae75d/timelimit_min_max_build.sh
timelimit_min/51a9ef74: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/runtime_status_test/timelimit_min/51a9ef74
timelimit_min/51a9ef74: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/runtime_status_test/timelimit_min/51a9ef74/stage
timelimit_min/51a9ef74: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/runtime_status_test/timelimit_min/51a9ef74/timelimit_min_build.sh
timelimit_max/841f0aad: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/runtime_status_test/timelimit_max/841f0aad
timelimit_max/841f0aad: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/runtime_status_test/timelimit_max/841f0aad/stage
timelimit_max/841f0aad: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/runtime_status_test/timelimit_max/841f0aad/timelimit_max_build.sh
timelimit_min_fail/15e48bdd: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/runtime_status_test/timelimit_min_fail/15e48bdd
timelimit_min_fail/15e48bdd: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/runtime_status_test/timelimit_min_fail/15e48bdd/stage
timelimit_min_fail/15e48bdd: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/runtime_status_test/timelimit_min_fail/15e48bdd/timelimit_min_fail_build.sh
timelimit_max_fail/6174a1c0: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/runtime_status_test/timelimit_max_fail/6174a1c0
timelimit_max_fail/6174a1c0: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/runtime_status_test/timelimit_max_fail/6174a1c0/stage
timelimit_max_fail/6174a1c0: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/runtime_status_test/timelimit_max_fail/6174a1c0/timelimit_max_fail_build.sh
executors_sbatch_declaration/4fc9c056: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/executor_scheduler/executors_sbatch_declaration/4fc9c056
executors_sbatch_declaration/4fc9c056: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/executor_scheduler/executors_sbatch_declaration/4fc9c056/stage
executors_sbatch_declaration/4fc9c056: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/executor_scheduler/executors_sbatch_declaration/4fc9c056/executors_sbatch_declaration_build.sh
executors_sbatch_declaration/9c3eff95: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/executor_scheduler/executors_sbatch_declaration/9c3eff95
executors_sbatch_declaration/9c3eff95: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/executor_scheduler/executors_sbatch_declaration/9c3eff95/stage
executors_sbatch_declaration/9c3eff95: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/executor_scheduler/executors_sbatch_declaration/9c3eff95/executors_sbatch_declaration_build.sh
bash_env_variables/26debc99: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/environment/bash_env_variables/26debc99
bash_env_variables/26debc99: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/environment/bash_env_variables/26debc99/stage
bash_env_variables/26debc99: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/environment/bash_env_variables/26debc99/bash_env_variables_build.sh
csh_env_declaration/0f61f804: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/csh_env_declaration/0f61f804
csh_env_declaration/0f61f804: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/csh_env_declaration/0f61f804/stage
csh_env_declaration/0f61f804: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/csh_env_declaration/0f61f804/csh_env_declaration_build.sh
tcsh_env_declaration/872c8fb4: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/tcsh_env_declaration/872c8fb4
tcsh_env_declaration/872c8fb4: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/tcsh_env_declaration/872c8fb4/stage
tcsh_env_declaration/872c8fb4: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/environment/tcsh_env_declaration/872c8fb4/tcsh_env_declaration_build.sh
test1/f07198c1: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex2/test1/f07198c1
test1/f07198c1: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex2/test1/f07198c1/stage
test1/f07198c1: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex2/test1/f07198c1/test1_build.sh
test2/95cd4278: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex2/test2/95cd4278
test2/95cd4278: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex2/test2/95cd4278/stage
test2/95cd4278: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex2/test2/95cd4278/test2_build.sh
test3/f70d0a1c: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex2/test3/f70d0a1c
test3/f70d0a1c: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex2/test3/f70d0a1c/stage
test3/f70d0a1c: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex2/test3/f70d0a1c/test3_build.sh
add_numbers/931a8468: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/add_numbers/add_numbers/931a8468
add_numbers/931a8468: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/add_numbers/add_numbers/931a8468/stage
add_numbers/931a8468: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/add_numbers/add_numbers/931a8468/add_numbers_build.sh
metric_regex_example/548c5e15: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/metrics_regex/metric_regex_example/548c5e15
metric_regex_example/548c5e15: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/metrics_regex/metric_regex_example/548c5e15/stage
metric_regex_example/548c5e15: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/metrics_regex/metric_regex_example/548c5e15/metric_regex_example_build.sh
unskipped/171c30ba: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/skip_tests/unskipped/171c30ba
unskipped/171c30ba: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/skip_tests/unskipped/171c30ba/stage
unskipped/171c30ba: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/skip_tests/unskipped/171c30ba/unskipped_build.sh
gcc_version/40857f31: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/gcc_version/gcc_version/40857f31
gcc_version/40857f31: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/gcc_version/gcc_version/40857f31/stage
gcc_version/40857f31: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/gcc_version/gcc_version/40857f31/gcc_version_build.sh
status_regex_pass/fd2c894b: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/status_regex/status_regex_pass/fd2c894b
status_regex_pass/fd2c894b: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/status_regex/status_regex_pass/fd2c894b/stage
status_regex_pass/fd2c894b: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/status_regex/status_regex_pass/fd2c894b/status_regex_pass_build.sh
status_regex_fail/2427e649: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/status_regex/status_regex_fail/2427e649
status_regex_fail/2427e649: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/status_regex/status_regex_fail/2427e649/stage
status_regex_fail/2427e649: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/status_regex/status_regex_fail/2427e649/status_regex_fail_build.sh
always_pass/c2f1bf21: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/explicit_state/always_pass/c2f1bf21
always_pass/c2f1bf21: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/explicit_state/always_pass/c2f1bf21/stage
always_pass/c2f1bf21: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/explicit_state/always_pass/c2f1bf21/always_pass_build.sh
always_fail/49ed6d84: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/explicit_state/always_fail/49ed6d84
always_fail/49ed6d84: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/explicit_state/always_fail/49ed6d84/stage
always_fail/49ed6d84: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/explicit_state/always_fail/49ed6d84/always_fail_build.sh
test_fail_returncode_match/8a2a9c36: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/explicit_state/test_fail_returncode_match/8a2a9c36
test_fail_returncode_match/8a2a9c36: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/explicit_state/test_fail_returncode_match/8a2a9c36/stage
test_fail_returncode_match/8a2a9c36: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/explicit_state/test_fail_returncode_match/8a2a9c36/test_fail_returncode_match_build.sh
test_pass_returncode_mismatch/95eb97c9: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/explicit_state/test_pass_returncode_mismatch/95eb97c9
test_pass_returncode_mismatch/95eb97c9: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/explicit_state/test_pass_returncode_mismatch/95eb97c9/stage
test_pass_returncode_mismatch/95eb97c9: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/explicit_state/test_pass_returncode_mismatch/95eb97c9/test_pass_returncode_mismatch_build.sh
runtime_test/35da1dcc: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex4/runtime_test/35da1dcc
runtime_test/35da1dcc: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex4/runtime_test/35da1dcc/stage
runtime_test/35da1dcc: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex4/runtime_test/35da1dcc/runtime_test_build.sh
runtime_test_pass/03e67797: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex4/runtime_test_pass/03e67797
runtime_test_pass/03e67797: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex4/runtime_test_pass/03e67797/stage
runtime_test_pass/03e67797: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex4/runtime_test_pass/03e67797/runtime_test_pass_build.sh
runtime_test_fail/e48f7987: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex4/runtime_test_fail/e48f7987
runtime_test_fail/e48f7987: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex4/runtime_test_fail/e48f7987/stage
runtime_test_fail/e48f7987: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex4/runtime_test_fail/e48f7987/runtime_test_fail_build.sh
circle_area/34f30d8c: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/34f30d8c
circle_area/34f30d8c: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/34f30d8c/stage
circle_area/34f30d8c: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/34f30d8c/circle_area_build.sh
file_and_dir_checks/50a83550: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/file_and_dir_check/file_and_dir_checks/50a83550
file_and_dir_checks/50a83550: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/file_and_dir_check/file_and_dir_checks/50a83550/stage
file_and_dir_checks/50a83550: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/file_and_dir_check/file_and_dir_checks/50a83550/file_and_dir_checks_build.sh
combined_file_and_dir_checks/3d00717b: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/file_and_dir_check/combined_file_and_dir_checks/3d00717b
combined_file_and_dir_checks/3d00717b: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/file_and_dir_check/combined_file_and_dir_checks/3d00717b/stage
combined_file_and_dir_checks/3d00717b: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/file_and_dir_check/combined_file_and_dir_checks/3d00717b/combined_file_and_dir_checks_build.sh
create_burst_buffer_executors/199cc852: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/burstbuffer_datawarp_executors/create_burst_buffer_executors/199cc852
create_burst_buffer_executors/199cc852: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/burstbuffer_datawarp_executors/create_burst_buffer_executors/199cc852/stage
create_burst_buffer_executors/199cc852: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/burstbuffer_datawarp_executors/create_burst_buffer_executors/199cc852/create_burst_buffer_executors_build.sh
create_burst_buffer_executors/d9546408: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/burstbuffer_datawarp_executors/create_burst_buffer_executors/d9546408
create_burst_buffer_executors/d9546408: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/burstbuffer_datawarp_executors/create_burst_buffer_executors/d9546408/stage
create_burst_buffer_executors/d9546408: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/burstbuffer_datawarp_executors/create_burst_buffer_executors/d9546408/create_burst_buffer_executors_build.sh
python_hello/e4df8eea: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/e4df8eea
python_hello/e4df8eea: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/e4df8eea/stage
python_hello/e4df8eea: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/e4df8eea/python_hello_build.sh
file_exists_pass/feba27ae: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/file_exists_with_number/file_exists_pass/feba27ae
file_exists_pass/feba27ae: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/file_exists_with_number/file_exists_pass/feba27ae/stage
file_exists_pass/feba27ae: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/file_exists_with_number/file_exists_pass/feba27ae/file_exists_pass_build.sh
bash_login_shebang/53c9c25c: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/shebang/bash_login_shebang/53c9c25c
bash_login_shebang/53c9c25c: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/shebang/bash_login_shebang/53c9c25c/stage
bash_login_shebang/53c9c25c: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/shebang/bash_login_shebang/53c9c25c/bash_login_shebang_build.sh
bash_nonlogin_shebang/6882cf2f: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/shebang/bash_nonlogin_shebang/6882cf2f
bash_nonlogin_shebang/6882cf2f: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/shebang/bash_nonlogin_shebang/6882cf2f/stage
bash_nonlogin_shebang/6882cf2f: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/shebang/bash_nonlogin_shebang/6882cf2f/bash_nonlogin_shebang_build.sh
hello_world/620fc331: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/hello_world/hello_world/620fc331
hello_world/620fc331: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/hello_world/hello_world/620fc331/stage
hello_world/620fc331: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/hello_world/hello_world/620fc331/hello_world_build.sh
stream_test/fba92126: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/assert_ge/stream_test/fba92126
stream_test/fba92126: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/assert_ge/stream_test/fba92126/stage
stream_test/fba92126: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/assert_ge/stream_test/fba92126/stream_test_build.sh
sleep/d1e8a839: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/sleep/sleep/d1e8a839
sleep/d1e8a839: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/sleep/sleep/d1e8a839/stage
sleep/d1e8a839: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/sleep/sleep/d1e8a839/sleep_build.sh
jobA/b0be75dc: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex1/jobA/b0be75dc
jobA/b0be75dc: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex1/jobA/b0be75dc/stage
jobA/b0be75dc: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex1/jobA/b0be75dc/jobA_build.sh
jobB/c1ae748f: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex1/jobB/c1ae748f
jobB/c1ae748f: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex1/jobB/c1ae748f/stage
jobB/c1ae748f: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex1/jobB/c1ae748f/jobB_build.sh
jobC/6838eacf: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex1/jobC/6838eacf
jobC/6838eacf: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex1/jobC/6838eacf/stage
jobC/6838eacf: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex1/jobC/6838eacf/jobC_build.sh
pass_test/a37ae82a: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex3/pass_test/a37ae82a
pass_test/a37ae82a: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex3/pass_test/a37ae82a/stage
pass_test/a37ae82a: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex3/pass_test/a37ae82a/pass_test_build.sh
fail_test/bb796cf1: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex3/fail_test/bb796cf1
fail_test/bb796cf1: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex3/fail_test/bb796cf1/stage
fail_test/bb796cf1: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex3/fail_test/bb796cf1/fail_test_build.sh
pass_and_fail_test/b767850a: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex3/pass_and_fail_test/b767850a
pass_and_fail_test/b767850a: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex3/pass_and_fail_test/b767850a/stage
pass_and_fail_test/b767850a: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex3/pass_and_fail_test/b767850a/pass_and_fail_test_build.sh
final_test/209716ca: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex3/final_test/209716ca
final_test/209716ca: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex3/final_test/209716ca/stage
final_test/209716ca: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/ex3/final_test/209716ca/final_test_build.sh
variables_bash/f119c496: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/vars/variables_bash/f119c496
variables_bash/f119c496: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/vars/variables_bash/f119c496/stage
variables_bash/f119c496: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/vars/variables_bash/f119c496/variables_bash_build.sh
assert_eq_invalid_metric/78a85c23: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_invalid_metric/78a85c23
assert_eq_invalid_metric/78a85c23: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_invalid_metric/78a85c23/stage
assert_eq_invalid_metric/78a85c23: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_invalid_metric/78a85c23/assert_eq_invalid_metric_build.sh
assert_eq_mismatch/f88515d6: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_mismatch/f88515d6
assert_eq_mismatch/f88515d6: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_mismatch/f88515d6/stage
assert_eq_mismatch/f88515d6: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/assert_eq_exceptions/assert_eq_mismatch/f88515d6/assert_eq_mismatch_build.sh
assert_eq_example/4fd9abf7: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/assert_eq/assert_eq_example/4fd9abf7
assert_eq_example/4fd9abf7: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/assert_eq/assert_eq_example/4fd9abf7/stage
assert_eq_example/4fd9abf7: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/assert_eq/assert_eq_example/4fd9abf7/assert_eq_example_build.sh
foo_bar/ea086157: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/maintainers_example/foo_bar/ea086157
foo_bar/ea086157: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/maintainers_example/foo_bar/ea086157/stage
foo_bar/ea086157: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/maintainers_example/foo_bar/ea086157/foo_bar_build.sh
csh_shell/ea94f220: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/csh_shell_examples/csh_shell/ea94f220
csh_shell/ea94f220: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/csh_shell_examples/csh_shell/ea94f220/stage
csh_shell/ea94f220: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.csh/csh_shell_examples/csh_shell/ea94f220/csh_shell_build.sh
status_returncode_by_executors/3a67cf3d: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/status_by_executors/status_returncode_by_executors/3a67cf3d
status_returncode_by_executors/3a67cf3d: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/status_by_executors/status_returncode_by_executors/3a67cf3d/stage
status_returncode_by_executors/3a67cf3d: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/status_by_executors/status_returncode_by_executors/3a67cf3d/status_returncode_by_executors_build.sh
status_returncode_by_executors/ccee2591: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/status_by_executors/status_returncode_by_executors/ccee2591
status_returncode_by_executors/ccee2591: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/status_by_executors/status_returncode_by_executors/ccee2591/stage
status_returncode_by_executors/ccee2591: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/status_by_executors/status_returncode_by_executors/ccee2591/status_returncode_by_executors_build.sh
status_exists/316f3598: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/exists/status_exists/316f3598
status_exists/316f3598: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/exists/status_exists/316f3598/stage
status_exists/316f3598: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/exists/status_exists/316f3598/status_exists_build.sh
status_exists_failure/a5d0fd07: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/exists/status_exists_failure/a5d0fd07
status_exists_failure/a5d0fd07: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/exists/status_exists_failure/a5d0fd07/stage
status_exists_failure/a5d0fd07: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/exists/status_exists_failure/a5d0fd07/status_exists_failure_build.sh
summary_example/4ab9b1f7: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/summary_example/summary_example/4ab9b1f7
summary_example/4ab9b1f7: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/summary_example/summary_example/4ab9b1f7/stage
summary_example/4ab9b1f7: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/summary_example/summary_example/4ab9b1f7/summary_example_build.sh
executors_vars_env_declaration/4ae43d4f: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/executors_var_env_declaration/executors_vars_env_declaration/4ae43d4f
executors_vars_env_declaration/4ae43d4f: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/executors_var_env_declaration/executors_vars_env_declaration/4ae43d4f/stage
executors_vars_env_declaration/4ae43d4f: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/executors_var_env_declaration/executors_vars_env_declaration/4ae43d4f/executors_vars_env_declaration_build.sh
executors_vars_env_declaration/e9745845: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/executors_var_env_declaration/executors_vars_env_declaration/e9745845
executors_vars_env_declaration/e9745845: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/executors_var_env_declaration/executors_vars_env_declaration/e9745845/stage
executors_vars_env_declaration/e9745845: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.sh/executors_var_env_declaration/executors_vars_env_declaration/e9745845/executors_vars_env_declaration_build.sh
string_tag/c3204aa8: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/string_tag/c3204aa8
string_tag/c3204aa8: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/string_tag/c3204aa8/stage
string_tag/c3204aa8: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/string_tag/c3204aa8/string_tag_build.sh
list_of_strings_tags/2b0684ee: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/list_of_strings_tags/2b0684ee
list_of_strings_tags/2b0684ee: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/list_of_strings_tags/2b0684ee/stage
list_of_strings_tags/2b0684ee: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/tags_example/list_of_strings_tags/2b0684ee/list_of_strings_tags_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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:02:01                                      │
│ 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/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/stable/tutorials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/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/21b7181a: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/21b7181a
python_hello/21b7181a: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/21b7181a/stage
python_hello/21b7181a: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/21b7181a/python_hello_build.sh
circle_area/071d5349: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/071d5349
circle_area/071d5349: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/071d5349/stage
circle_area/071d5349: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/071d5349/circle_area_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
circle_area/071d5349 does not have any dependencies adding test to queue
python_hello/21b7181a does not have any dependencies adding test to queue
circle_area/071d5349: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/071d5349/stage
circle_area/071d5349: Running Test via command: bash --norc --noprofile -eo pipefail circle_area_build.sh
circle_area/071d5349: Test completed in 0.031923 seconds
circle_area/071d5349: Test completed with returncode: 0
circle_area/071d5349: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/071d5349/circle_area.out
circle_area/071d5349: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/071d5349/circle_area.err
python_hello/21b7181a: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/21b7181a/stage
python_hello/21b7181a: Running Test via command: bash --norc --noprofile -eo pipefail python_hello_build.sh
python_hello/21b7181a: Test completed in 0.030779 seconds
python_hello/21b7181a: Test completed with returncode: 0
python_hello/21b7181a: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/21b7181a/python_hello.out
python_hello/21b7181a: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-hello/python_hello/21b7181a/python_hello.err
In this iteration we are going to run the following tests: [circle_area/071d5349, python_hello/21b7181a]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ circle_area/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.031923 │
│ 071d5349     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ python_hello │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.030779 │
│ /21b7181a    │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_qk43gzqb.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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:02:02                                      │
│ 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/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

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/stable/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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:02:02                                      │
│ 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/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/stable/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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:02:03                                      │
│ 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/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/stable/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/071ee7bb: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/vars/variables_bash/071ee7bb
variables_bash/071ee7bb: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/vars/variables_bash/071ee7bb/stage
variables_bash/071ee7bb: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/vars/variables_bash/071ee7bb/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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:02:03                                      │
│ 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/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/stable/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/stable/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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:02:04                                      │
│ 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/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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

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/stable/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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:02:04                                      │
│ 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/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/stable/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/2a157f1a: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/2a157f1a
circle_area/2a157f1a: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/2a157f1a/stage
circle_area/2a157f1a: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/2a157f1a/circle_area_build.sh
circle_area/5628d1c9: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/5628d1c9
circle_area/5628d1c9: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/5628d1c9/stage
circle_area/5628d1c9: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/5628d1c9/circle_area_build.sh
circle_area/6450e52e: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/6450e52e
circle_area/6450e52e: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/6450e52e/stage
circle_area/6450e52e: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/6450e52e/circle_area_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
circle_area/5628d1c9 does not have any dependencies adding test to queue
circle_area/2a157f1a does not have any dependencies adding test to queue
circle_area/6450e52e does not have any dependencies adding test to queue
circle_area/6450e52e: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/6450e52e/stage
circle_area/6450e52e: Running Test via command: bash --norc --noprofile -eo pipefail circle_area_build.sh
circle_area/6450e52e: Test completed in 0.031482 seconds
circle_area/6450e52e: Test completed with returncode: 0
circle_area/6450e52e: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/6450e52e/circle_area.out
circle_area/6450e52e: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/6450e52e/circle_area.err
circle_area/5628d1c9: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/5628d1c9/stage
circle_area/5628d1c9: Running Test via command: bash --norc --noprofile -eo pipefail circle_area_build.sh
circle_area/5628d1c9: Test completed in 0.031281 seconds
circle_area/5628d1c9: Test completed with returncode: 0
circle_area/5628d1c9: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/5628d1c9/circle_area.out
circle_area/5628d1c9: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/5628d1c9/circle_area.err
circle_area/2a157f1a: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/2a157f1a/stage
circle_area/2a157f1a: Running Test via command: bash --norc --noprofile -eo pipefail circle_area_build.sh
circle_area/2a157f1a: Test completed in 0.032024 seconds
circle_area/2a157f1a: Test completed with returncode: 0
circle_area/2a157f1a: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/2a157f1a/circle_area.out
circle_area/2a157f1a: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/python-shell/circle_area/2a157f1a/circle_area.err
In this iteration we are going to run the following tests: [circle_area/6450e52e, circle_area/5628d1c9, circle_area/2a157f1a]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ circle_area/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.031281 │
│ 5628d1c9     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ circle_area/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.031482 │
│ 6450e52e     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ circle_area/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.032024 │
│ 2a157f1a     │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_tjfiqxmm.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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:02:05                                      │
│ 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/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=fail                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ buildspec                                                                    ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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/stable/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/d297915a: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/d297915a
exit1_fail/d297915a: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/d297915a/stage
exit1_fail/d297915a: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/d297915a/exit1_fail_build.sh
exit1_pass/100654d7: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/100654d7
exit1_pass/100654d7: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/100654d7/stage
exit1_pass/100654d7: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/100654d7/exit1_pass_build.sh
returncode_list_mismatch/87845ad3: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/87845ad3
returncode_list_mismatch/87845ad3: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/87845ad3/stage
returncode_list_mismatch/87845ad3: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/87845ad3/returncode_list_mismatch_build.sh
returncode_int_match/a9d4b75e: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/a9d4b75e
returncode_int_match/a9d4b75e: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/a9d4b75e/stage
returncode_int_match/a9d4b75e: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/a9d4b75e/returncode_int_match_build.sh
exit1_fail/f39766c5: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/f39766c5
exit1_fail/f39766c5: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/f39766c5/stage
exit1_fail/f39766c5: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/f39766c5/exit1_fail_build.sh
exit1_pass/c1f3dc28: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/c1f3dc28
exit1_pass/c1f3dc28: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/c1f3dc28/stage
exit1_pass/c1f3dc28: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/c1f3dc28/exit1_pass_build.sh
returncode_list_mismatch/06efc60a: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/06efc60a
returncode_list_mismatch/06efc60a: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/06efc60a/stage
returncode_list_mismatch/06efc60a: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/06efc60a/returncode_list_mismatch_build.sh
returncode_int_match/2ffd4daf: Creating test directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/2ffd4daf
returncode_int_match/2ffd4daf: Creating the stage directory: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/2ffd4daf/stage
returncode_int_match/2ffd4daf: Writing build script: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/2ffd4daf/returncode_int_match_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 1 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_list_mismatch/06efc60a does not have any dependencies adding test to queue
exit1_pass/c1f3dc28 does not have any dependencies adding test to queue
returncode_int_match/2ffd4daf does not have any dependencies adding test to queue
exit1_pass/100654d7 does not have any dependencies adding test to queue
exit1_fail/d297915a does not have any dependencies adding test to queue
exit1_fail/f39766c5 does not have any dependencies adding test to queue
returncode_list_mismatch/87845ad3 does not have any dependencies adding test to queue
returncode_int_match/a9d4b75e does not have any dependencies adding test to queue
returncode_list_mismatch/06efc60a: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/06efc60a/stage
returncode_list_mismatch/06efc60a: Running Test via command: bash --norc --noprofile -eo pipefail returncode_list_mismatch_build.sh
returncode_list_mismatch/06efc60a: Test completed in 0.005526 seconds
returncode_list_mismatch/06efc60a: Test completed with returncode: 2
returncode_list_mismatch/06efc60a: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/06efc60a/returncode_list_mismatch.out
returncode_list_mismatch/06efc60a: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/06efc60a/returncode_list_mismatch.err
returncode_list_mismatch/06efc60a: Checking returncode - 2 is matched in list [1, 3]
returncode_int_match/2ffd4daf: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/2ffd4daf/stage
returncode_int_match/2ffd4daf: Running Test via command: bash --norc --noprofile -eo pipefail returncode_int_match_build.sh
returncode_int_match/2ffd4daf: Test completed in 0.005414 seconds
returncode_int_match/2ffd4daf: Test completed with returncode: 128
returncode_int_match/2ffd4daf: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/2ffd4daf/returncode_int_match.out
returncode_int_match/2ffd4daf: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/2ffd4daf/returncode_int_match.err
returncode_int_match/2ffd4daf: Checking returncode - 128 is matched in list [128]
exit1_pass/c1f3dc28: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/c1f3dc28/stage
exit1_pass/c1f3dc28: Running Test via command: bash --norc --noprofile -eo pipefail exit1_pass_build.sh
exit1_pass/c1f3dc28: Test completed in 0.005465 seconds
exit1_pass/c1f3dc28: Test completed with returncode: 1
exit1_pass/c1f3dc28: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/c1f3dc28/exit1_pass.out
exit1_pass/c1f3dc28: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/c1f3dc28/exit1_pass.err
exit1_pass/c1f3dc28: Checking returncode - 1 is matched in list [1]
exit1_pass/100654d7: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/100654d7/stage
exit1_pass/100654d7: Running Test via command: bash --norc --noprofile -eo pipefail exit1_pass_build.sh
exit1_pass/100654d7: Test completed in 0.005186 seconds
exit1_pass/100654d7: Test completed with returncode: 1
exit1_pass/100654d7: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/100654d7/exit1_pass.out
exit1_pass/100654d7: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_pass/100654d7/exit1_pass.err
exit1_pass/100654d7: Checking returncode - 1 is matched in list [1]
exit1_fail/d297915a: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/d297915a/stage
exit1_fail/d297915a: Running Test via command: bash --norc --noprofile -eo pipefail exit1_fail_build.sh
exit1_fail/d297915a: Test completed in 0.005314 seconds
exit1_fail/d297915a: Test completed with returncode: 1
exit1_fail/d297915a: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/d297915a/exit1_fail.out
exit1_fail/d297915a: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/d297915a/exit1_fail.err
exit1_fail/f39766c5: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/f39766c5/stage
exit1_fail/f39766c5: Running Test via command: bash --norc --noprofile -eo pipefail exit1_fail_build.sh
exit1_fail/f39766c5: Test completed in 0.005332 seconds
exit1_fail/f39766c5: Test completed with returncode: 1
exit1_fail/f39766c5: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/f39766c5/exit1_fail.out
exit1_fail/f39766c5: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/exit1_fail/f39766c5/exit1_fail.err
returncode_list_mismatch/87845ad3: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/87845ad3/stage
returncode_list_mismatch/87845ad3: Running Test via command: bash --norc --noprofile -eo pipefail returncode_list_mismatch_build.sh
returncode_list_mismatch/87845ad3: Test completed in 0.00562 seconds
returncode_list_mismatch/87845ad3: Test completed with returncode: 2
returncode_list_mismatch/87845ad3: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/87845ad3/returncode_list_mismatch.out
returncode_list_mismatch/87845ad3: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_list_mismatch/87845ad3/returncode_list_mismatch.err
returncode_list_mismatch/87845ad3: Checking returncode - 2 is matched in list [1, 3]
returncode_int_match/a9d4b75e: Current Working Directory : /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/a9d4b75e/stage
returncode_int_match/a9d4b75e: Running Test via command: bash --norc --noprofile -eo pipefail returncode_int_match_build.sh
returncode_int_match/a9d4b75e: Test completed in 0.005625 seconds
returncode_int_match/a9d4b75e: Test completed with returncode: 128
returncode_int_match/a9d4b75e: Writing output file -  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/a9d4b75e/returncode_int_match.out
returncode_int_match/a9d4b75e: Writing error file - /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/tests/generic.local.bash/pass_returncode/returncode_int_match/a9d4b75e/returncode_int_match.err
returncode_int_match/a9d4b75e: Checking returncode - 128 is matched in list [128]
In this iteration we are going to run the following tests: [returncode_list_mismatch/06efc60a, returncode_int_match/2ffd4daf, exit1_pass/c1f3dc28, exit1_pass/100654d7, exit1_fail/d297915a, exit1_fail/f39766c5, returncode_list_mismatch/87845ad3, returncode_int_match/a9d4b75e]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ builder      ┃ executor     ┃ status ┃ Runtime)      ┃ returncode ┃ runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ exit1_pass/1 │ generic.loc… │ PASS   │ True False    │ 1          │ 0.005186 │
│ 00654d7      │              │        │ False         │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_l │ generic.loc… │ FAIL   │ False False   │ 2          │ 0.00562  │
│ ist_mismatch │              │        │ False         │            │          │
│ /87845ad3    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_i │ generic.loc… │ PASS   │ True False    │ 128        │ 0.005414 │
│ nt_match/2ff │              │        │ False         │            │          │
│ d4daf        │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_i │ generic.loc… │ PASS   │ True False    │ 128        │ 0.005625 │
│ nt_match/a9d │              │        │ False         │            │          │
│ 4b75e        │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_l │ generic.loc… │ FAIL   │ False False   │ 2          │ 0.005526 │
│ ist_mismatch │              │        │ False         │            │          │
│ /06efc60a    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_fail/d │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.005314 │
│ 297915a      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_pass/c │ generic.loc… │ PASS   │ True False    │ 1          │ 0.005465 │
│ 1f3dc28      │              │        │ False         │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_fail/f │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.005332 │
│ 39766c5      │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_74uqsh8l.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/stable/ │
│ bin/buildtest:36 in <module>                                                 │
│                                                                              │
│   33                                                                         │
│   34 import buildtest.main                                                   │
│   35                                                                         │
│ ❱ 36 buildtest.main.main()                                                   │
│   37                                                                         │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │ __annotations__ = {}                                                     │ │
│ │    __builtins__ = <module 'builtins' (built-in)>                         │ │
│ │      __cached__ = None                                                   │ │
│ │         __doc__ = ':"\n# preferred pythons for running                   │ │
│ │                   buildtest\nPREFERRED_PYTHONS="python3 python"\n'+365   │ │
│ │        __file__ = '/home/docs/checkouts/readthedocs.org/user_builds/bui… │ │
│ │      __loader__ = <_frozen_importlib_external.SourceFileLoader object at │ │
│ │                   0x7f14bc380210>                                        │ │
│ │        __name__ = '__main__'                                             │ │
│ │     __package__ = None                                                   │ │
│ │        __spec__ = None                                                   │ │
│ │       buildtest = <module 'buildtest' from                               │ │
│ │                   '/home/docs/checkouts/readthedocs.org/user_builds/bui… │ │
│ │  buildtest_file = '/home/docs/checkouts/readthedocs.org/user_builds/bui… │ │
│ │              os = <module 'os' from                                      │ │
│ │                   '/home/docs/.asdf/installs/python/3.7.15/lib/python3.… │ │
│ │          prefix = '/home/docs/checkouts/readthedocs.org/user_builds/bui… │ │
│ │             sys = <module 'sys' (built-in)>                              │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/ │
│ buildtest/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       │ │
│ │                      0x7f14ba259fd0>                                     │ │
│ │              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         │ │
│ │                      0x7f14ba253910>                                     │ │
│ │ validate_executors = True                                                │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/ │
│ buildtest/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         │ │
│ │                      0x7f14ba253910>                                     │ │
│ │      configuration = <buildtest.config.SiteConfiguration object at       │ │
│ │                      0x7f14ba259fd0>                                     │ │
│ │ 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            │ │
│ │                      0x7f14ba5f6710>                                     │ │
│ │              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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:02:07                                      │
│ 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/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_dzkheznu.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/stable/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:02:07                                      │
│ 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/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_q_r6mbuz.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/stable/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:02:08                                      │
│ 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/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_13jgynwx.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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:02:09                                      │
│ 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/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_u1mjatrl.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-19096927-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2023/01/06 20:02:10                                      │
│ 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/stable… ║
╚══════════════════════════════════════════════════════════════════════════════╝


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



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/stable/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/stable/var/logs/buildtest_8n0d8_au.log