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
usage: buildtest [options] [COMMANDS] build [-h] [-b BUILDSPEC] [-x EXCLUDE]
                                            [-e EXECUTOR] [-t TAGS] [--rerun]
                                            [-f FILTER] [--helpfilter]
                                            [-et {local,batch}]
                                            [--account ACCOUNT]
                                            [--disable-executor-check] [-k]
                                            [--maxpendtime MAXPENDTIME]
                                            [--pollinterval POLLINTERVAL]
                                            [--rebuild REBUILD]
                                            [--retry RETRY] [-s {parse,build}]
                                            [--testdir TESTDIR]
                                            [--procs PROCS [PROCS ...]]
                                            [--module-purge] [-m MODULES]
                                            [-u UNLOAD_MODULES]
                                            [--nodes NODES [NODES ...]]

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

discover:
  select buildspecs

  -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

  -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)

extra:
  All extra options

  --account ACCOUNT     Specify project account used to charge batch jobs
                        (applicable for batch jobs only)
  --disable-executor-check
                        Disable executor check during configuration check. By
                        default these checks are enforced for Local, Slurm,
                        PBS, LSF, and Cobalt Executor.
  -k, --keep-stage-dir  Keep stage directory after job completion.
  --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
  --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.
  --procs PROCS [PROCS ...]
                        Specify number of processes to run tests (only
                        applicable with batch jobs). Multiple values can be
                        specified comma separated.
  --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 commaseparated 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
  --nodes NODES [NODES ...]
                        Specify number of nodes to run tests (only applicable
                        with batch jobs). Multiple values can be specified
                        comma separated.

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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 20:58:43                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -b /home/docs/checkouts/readthedocs │
│ .org/user_builds/buildtest/checkouts/v0.14.0/tutorials/vars.yml              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  1
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/vars.yml: VALID
Total builder objects created: 1
Total compiler builder: 0
Total script builder: 1
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ variables_bash │ generic.local. │ None     │ Declare shell  │ /home/docs/che │
│ /03e69249      │ bash           │          │ variables in   │ ckouts/readthe │
│                │                │          │ bash           │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/vars.yml    │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/03e69249: Creating test directory: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars
/variables_bash/03e69249
variables_bash/03e69249: Creating the stage directory: /home/docs/checkouts/read
thedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash
/vars/variables_bash/03e69249/stage
variables_bash/03e69249: Writing build script: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/va
riables_bash/03e69249/variables_bash_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/03e69249 does not have any dependencies adding test to queue
variables_bash/03e69249: Running Test via command: bash --norc --noprofile -eo 
pipefail variables_bash_build.sh
variables_bash/03e69249: Test completed in 0.077149 seconds
variables_bash/03e69249: Test completed with returncode: 0
variables_bash/03e69249: Writing output file -  /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/v
ariables_bash/03e69249/variables_bash.out
variables_bash/03e69249: Writing error file - /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/var
iables_bash/03e69249/variables_bash.err
In this iteration we are going to run the following tests: [variables_bash/03e69249]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ Checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ Builder      ┃ executor     ┃ status ┃ Runtime)      ┃ ReturnCode ┃ Runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ variables_ba │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.077149 │
│ sh/03e69249  │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/buildt
est/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest_0fuvgr_i.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 general_tests/configuration/
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 20:59:40                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -b general_tests/configuration/     │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  4
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  4
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 4
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/gen
eral_tests/configuration/kernel_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/gen
eral_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/gen
eral_tests/configuration/ulimits.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/gen
eral_tests/configuration/disk_usage.yml: VALID
Total builder objects created: 9
Total compiler builder: 0
Total script builder: 9
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ kernel_swapusa │ generic.local. │ None     │ Retrieve       │ /home/docs/che │
│ ge/f4ea4108    │ bash           │          │ Kernel Swap    │ ckouts/readthe │
│                │                │          │ Usage          │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/kernel_ │
│                │                │          │                │ state.yml      │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ systemd_defaul │ generic.local. │ None     │ check if       │ /home/docs/che │
│ t_target/159ff │ bash           │          │ default target │ ckouts/readthe │
│ 768            │                │          │ is multi-user. │ docs.org/user_ │
│                │                │          │ target         │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/systemd │
│                │                │          │                │ -default-targe │
│                │                │          │                │ t.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ ulimit_fileloc │ generic.local. │ None     │ Check if file  │ /home/docs/che │
│ k_unlimited/d7 │ bash           │          │ lock is set to │ ckouts/readthe │
│ 9298a7         │                │          │ unlimited in   │ docs.org/user_ │
│                │                │          │ ulimits        │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/ulimits │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ ulimit_cputime │ generic.local. │ None     │ Check if       │ /home/docs/che │
│ _unlimited/01a │ bash           │          │ cputime is set │ ckouts/readthe │
│ fd276          │                │          │ to unlimited   │ docs.org/user_ │
│                │                │          │ in ulimits     │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/ulimits │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ ulimit_stacksi │ generic.local. │ None     │ Check if stack │ /home/docs/che │
│ ze_unlimited/c │ bash           │          │ size is set to │ ckouts/readthe │
│ cae882e        │                │          │ unlimited in   │ docs.org/user_ │
│                │                │          │ ulimits        │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/ulimits │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ ulimit_vmsize_ │ generic.local. │ None     │ Check virtual  │ /home/docs/che │
│ unlimited/722c │ bash           │          │ memory size    │ ckouts/readthe │
│ 2ee2           │                │          │ and check if   │ docs.org/user_ │
│                │                │          │ its set to     │ builds/buildte │
│                │                │          │ unlimited      │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/ulimits │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ ulimit_filedes │ generic.local. │ None     │ Check if open  │ /home/docs/che │
│ criptor_4096/b │ bash           │          │ file           │ ckouts/readthe │
│ 1c413cd        │                │          │ descriptors    │ docs.org/user_ │
│                │                │          │ limit is set   │ builds/buildte │
│                │                │          │ to 4096        │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/ulimits │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ ulimit_max_use │ generic.local. │ None     │ Check max      │ /home/docs/che │
│ r_process_2048 │ bash           │          │ number of user │ ckouts/readthe │
│ /07d8cef3      │                │          │ process limit  │ docs.org/user_ │
│                │                │          │ is set to 2048 │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/ulimits │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ root_disk_usag │ generic.local. │ None     │ Check root     │ /home/docs/che │
│ e/38c9666e     │ bash           │          │ disk usage and │ ckouts/readthe │
│                │                │          │ report if it   │ docs.org/user_ │
│                │                │          │ exceeds        │ builds/buildte │
│                │                │          │ threshold      │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/disk_us │
│                │                │          │                │ age.yml        │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
kernel_swapusage/f4ea4108: Creating test directory: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ke
rnel_state/kernel_swapusage/f4ea4108
kernel_swapusage/f4ea4108: Creating the stage directory: /home/docs/checkouts/re
adthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.ba
sh/kernel_state/kernel_swapusage/f4ea4108/stage
kernel_swapusage/f4ea4108: Writing build script: /home/docs/checkouts/readthedoc
s.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/kerne
l_state/kernel_swapusage/f4ea4108/kernel_swapusage_build.sh
systemd_default_target/159ff768: Creating test directory: /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/systemd-default-target/systemd_default_target/159ff768
systemd_default_target/159ff768: Creating the stage directory: /home/docs/checko
uts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.lo
cal.bash/systemd-default-target/systemd_default_target/159ff768/stage
systemd_default_target/159ff768: Writing build script: /home/docs/checkouts/read
thedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash
/systemd-default-target/systemd_default_target/159ff768/systemd_default_target_b
uild.sh
ulimit_filelock_unlimited/d79298a7: Creating test directory: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.bash/ulimits/ulimit_filelock_unlimited/d79298a7
ulimit_filelock_unlimited/d79298a7: Creating the stage directory: /home/docs/che
ckouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic
.local.bash/ulimits/ulimit_filelock_unlimited/d79298a7/stage
ulimit_filelock_unlimited/d79298a7: Writing build script: /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/ulimits/ulimit_filelock_unlimited/d79298a7/ulimit_filelock_unlimited_build.s
h
ulimit_cputime_unlimited/01afd276: Creating test directory: /home/docs/checkouts
/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local
.bash/ulimits/ulimit_cputime_unlimited/01afd276
ulimit_cputime_unlimited/01afd276: Creating the stage directory: /home/docs/chec
kouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.
local.bash/ulimits/ulimit_cputime_unlimited/01afd276/stage
ulimit_cputime_unlimited/01afd276: Writing build script: /home/docs/checkouts/re
adthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.ba
sh/ulimits/ulimit_cputime_unlimited/01afd276/ulimit_cputime_unlimited_build.sh
ulimit_stacksize_unlimited/ccae882e: Creating test directory: /home/docs/checkou
ts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loc
al.bash/ulimits/ulimit_stacksize_unlimited/ccae882e
ulimit_stacksize_unlimited/ccae882e: Creating the stage directory: /home/docs/ch
eckouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generi
c.local.bash/ulimits/ulimit_stacksize_unlimited/ccae882e/stage
ulimit_stacksize_unlimited/ccae882e: Writing build script: /home/docs/checkouts/
readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.
bash/ulimits/ulimit_stacksize_unlimited/ccae882e/ulimit_stacksize_unlimited_buil
d.sh
ulimit_vmsize_unlimited/722c2ee2: Creating test directory: /home/docs/checkouts/
readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.
bash/ulimits/ulimit_vmsize_unlimited/722c2ee2
ulimit_vmsize_unlimited/722c2ee2: Creating the stage directory: /home/docs/check
outs/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.l
ocal.bash/ulimits/ulimit_vmsize_unlimited/722c2ee2/stage
ulimit_vmsize_unlimited/722c2ee2: Writing build script: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/ulimits/ulimit_vmsize_unlimited/722c2ee2/ulimit_vmsize_unlimited_build.sh
ulimit_filedescriptor_4096/b1c413cd: Creating test directory: /home/docs/checkou
ts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loc
al.bash/ulimits/ulimit_filedescriptor_4096/b1c413cd
ulimit_filedescriptor_4096/b1c413cd: Creating the stage directory: /home/docs/ch
eckouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generi
c.local.bash/ulimits/ulimit_filedescriptor_4096/b1c413cd/stage
ulimit_filedescriptor_4096/b1c413cd: Writing build script: /home/docs/checkouts/
readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.
bash/ulimits/ulimit_filedescriptor_4096/b1c413cd/ulimit_filedescriptor_4096_buil
d.sh
ulimit_max_user_process_2048/07d8cef3: Creating test directory: /home/docs/check
outs/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.l
ocal.bash/ulimits/ulimit_max_user_process_2048/07d8cef3
ulimit_max_user_process_2048/07d8cef3: Creating the stage directory: /home/docs/
checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/gene
ric.local.bash/ulimits/ulimit_max_user_process_2048/07d8cef3/stage
ulimit_max_user_process_2048/07d8cef3: Writing build script: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.bash/ulimits/ulimit_max_user_process_2048/07d8cef3/ulimit_max_user_process_204
8_build.sh
root_disk_usage/38c9666e: Creating test directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/dis
k_usage/root_disk_usage/38c9666e
root_disk_usage/38c9666e: Creating the stage directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/disk_usage/root_disk_usage/38c9666e/stage
root_disk_usage/38c9666e: Writing build script: /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/disk_u
sage/root_disk_usage/38c9666e/root_disk_usage_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
ulimit_stacksize_unlimited/ccae882e does not have any dependencies adding test 
to queue
root_disk_usage/38c9666e does not have any dependencies adding test to queue
kernel_swapusage/f4ea4108 does not have any dependencies adding test to queue
ulimit_filedescriptor_4096/b1c413cd does not have any dependencies adding test 
to queue
ulimit_max_user_process_2048/07d8cef3 does not have any dependencies adding test
to queue
ulimit_filelock_unlimited/d79298a7 does not have any dependencies adding test to
queue
systemd_default_target/159ff768 does not have any dependencies adding test to 
queue
ulimit_cputime_unlimited/01afd276 does not have any dependencies adding test to 
queue
ulimit_vmsize_unlimited/722c2ee2 does not have any dependencies adding test to 
queue
ulimit_stacksize_unlimited/ccae882e: Running Test via command: bash --norc 
--noprofile -eo pipefail ulimit_stacksize_unlimited_build.sh
root_disk_usage/38c9666e: Running Test via command: bash --norc --noprofile -eo 
pipefail root_disk_usage_build.sh
ulimit_stacksize_unlimited/ccae882e: Test completed in 0.026253 seconds
ulimit_stacksize_unlimited/ccae882e: Test completed with returncode: 0
ulimit_stacksize_unlimited/ccae882e: Writing output file -  /home/docs/checkouts
/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local
.bash/ulimits/ulimit_stacksize_unlimited/ccae882e/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/ccae882e: Writing error file - /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/ulimits/ulimit_stacksize_unlimited/ccae882e/ulimit_stacksize_unlimited.err
ulimit_stacksize_unlimited/ccae882e: performing regular expression - 
'^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtes
t/checkouts/v0.14.0/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimi
ted/ccae882e/ulimit_stacksize_unlimited.out
ulimit_stacksize_unlimited/ccae882e: Regular Expression Match - Failed!
ulimit_filedescriptor_4096/b1c413cd: Running Test via command: bash --norc 
--noprofile -eo pipefail ulimit_filedescriptor_4096_build.sh
ulimit_filedescriptor_4096/b1c413cd: Test completed in 0.023576 seconds
ulimit_filedescriptor_4096/b1c413cd: Test completed with returncode: 0
ulimit_filedescriptor_4096/b1c413cd: Writing output file -  /home/docs/checkouts
/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local
.bash/ulimits/ulimit_filedescriptor_4096/b1c413cd/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/b1c413cd: Writing error file - /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/ulimits/ulimit_filedescriptor_4096/b1c413cd/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/b1c413cd: performing regular expression - '^4096$' on
file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14
.0/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/b1c413cd/ulim
it_filedescriptor_4096.out
ulimit_filedescriptor_4096/b1c413cd: Regular Expression Match - Failed!
root_disk_usage/38c9666e: Test completed in 0.095224 seconds
root_disk_usage/38c9666e: Test completed with returncode: 0
root_disk_usage/38c9666e: Writing output file -  /home/docs/checkouts/readthedoc
s.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/disk_
usage/root_disk_usage/38c9666e/root_disk_usage.out
root_disk_usage/38c9666e: Writing error file - /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/disk_us
age/root_disk_usage/38c9666e/root_disk_usage.err
kernel_swapusage/f4ea4108: Running Test via command: bash --norc --noprofile -eo
pipefail kernel_swapusage_build.sh
ulimit_max_user_process_2048/07d8cef3: Running Test via command: bash --norc 
--noprofile -eo pipefail ulimit_max_user_process_2048_build.sh
ulimit_max_user_process_2048/07d8cef3: Test completed in 0.02771 seconds
ulimit_max_user_process_2048/07d8cef3: Test completed with returncode: 0
ulimit_max_user_process_2048/07d8cef3: Writing output file -  /home/docs/checkou
ts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loc
al.bash/ulimits/ulimit_max_user_process_2048/07d8cef3/ulimit_max_user_process_20
48.out
ulimit_max_user_process_2048/07d8cef3: Writing error file - /home/docs/checkouts
/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local
.bash/ulimits/ulimit_max_user_process_2048/07d8cef3/ulimit_max_user_process_2048
.err
ulimit_max_user_process_2048/07d8cef3: performing regular expression - '^2048$' 
on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0
.14.0/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/07d8cef3
/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/07d8cef3: Regular Expression Match - Failed!
ulimit_filelock_unlimited/d79298a7: Running Test via command: bash --norc 
--noprofile -eo pipefail ulimit_filelock_unlimited_build.sh
kernel_swapusage/f4ea4108: Test completed in 0.085848 seconds
kernel_swapusage/f4ea4108: Test completed with returncode: 255
kernel_swapusage/f4ea4108: Writing output file -  /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/kern
el_state/kernel_swapusage/f4ea4108/kernel_swapusage.out
kernel_swapusage/f4ea4108: Writing error file - /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/kernel
_state/kernel_swapusage/f4ea4108/kernel_swapusage.err
ulimit_filelock_unlimited/d79298a7: Test completed in 0.023271 seconds
ulimit_filelock_unlimited/d79298a7: Test completed with returncode: 0
ulimit_filelock_unlimited/d79298a7: Writing output file -  /home/docs/checkouts/
readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.
bash/ulimits/ulimit_filelock_unlimited/d79298a7/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/d79298a7: Writing error file - /home/docs/checkouts/re
adthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.ba
sh/ulimits/ulimit_filelock_unlimited/d79298a7/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/d79298a7: performing regular expression - 
'^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtes
t/checkouts/v0.14.0/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimit
ed/d79298a7/ulimit_filelock_unlimited.out
ulimit_filelock_unlimited/d79298a7: Regular Expression Match - Success!
systemd_default_target/159ff768: Running Test via command: bash --norc 
--noprofile -eo pipefail systemd_default_target_build.sh
ulimit_cputime_unlimited/01afd276: Running Test via command: bash --norc 
--noprofile -eo pipefail ulimit_cputime_unlimited_build.sh
ulimit_cputime_unlimited/01afd276: Test completed in 0.023186 seconds
systemd_default_target/159ff768: Test completed in 0.057453 seconds
systemd_default_target/159ff768: Test completed with returncode: 1
ulimit_cputime_unlimited/01afd276: Test completed with returncode: 0
ulimit_cputime_unlimited/01afd276: Writing output file -  /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/ulimits/ulimit_cputime_unlimited/01afd276/ulimit_cputime_unlimited.out
systemd_default_target/159ff768: Writing output file -  /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/systemd-default-target/systemd_default_target/159ff768/systemd_default_target.
out
ulimit_cputime_unlimited/01afd276: Writing error file - /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/ulimits/ulimit_cputime_unlimited/01afd276/ulimit_cputime_unlimited.err
systemd_default_target/159ff768: Writing error file - /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/
systemd-default-target/systemd_default_target/159ff768/systemd_default_target.er
r
ulimit_cputime_unlimited/01afd276: performing regular expression - '^unlimited$'
on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0
.14.0/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/01afd276/uli
mit_cputime_unlimited.out
ulimit_cputime_unlimited/01afd276: Regular Expression Match - Success!
ulimit_vmsize_unlimited/722c2ee2: Running Test via command: bash --norc 
--noprofile -eo pipefail ulimit_vmsize_unlimited_build.sh
ulimit_vmsize_unlimited/722c2ee2: Test completed in 0.007073 seconds
ulimit_vmsize_unlimited/722c2ee2: Test completed with returncode: 0
ulimit_vmsize_unlimited/722c2ee2: Writing output file -  /home/docs/checkouts/re
adthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.ba
sh/ulimits/ulimit_vmsize_unlimited/722c2ee2/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/722c2ee2: Writing error file - /home/docs/checkouts/read
thedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash
/ulimits/ulimit_vmsize_unlimited/722c2ee2/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/722c2ee2: performing regular expression - '^unlimited$' 
on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0
.14.0/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/722c2ee2/ulim
it_vmsize_unlimited.out
ulimit_vmsize_unlimited/722c2ee2: Regular Expression Match - Success!
In this iteration we are going to run the following tests: [ulimit_stacksize_unlimited/ccae882e, root_disk_usage/38c9666e, ulimit_filedescriptor_4096/b1c413cd, kernel_swapusage/f4ea4108, ulimit_max_user_process_2048/07d8cef3, ulimit_filelock_unlimited/d79298a7, systemd_default_target/159ff768, ulimit_cputime_unlimited/01afd276, ulimit_vmsize_unlimited/722c2ee2]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ Checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ Builder      ┃ executor     ┃ status ┃ Runtime)      ┃ ReturnCode ┃ Runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ ulimit_filel │ generic.loc… │ PASS   │ False True    │ 0          │ 0.023271 │
│ ock_unlimite │              │        │ False         │            │          │
│ d/d79298a7   │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_cputi │ generic.loc… │ PASS   │ False True    │ 0          │ 0.023186 │
│ me_unlimited │              │        │ False         │            │          │
│ /01afd276    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_vmsiz │ generic.loc… │ PASS   │ False True    │ 0          │ 0.007073 │
│ e_unlimited/ │              │        │ False         │            │          │
│ 722c2ee2     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_stack │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.026253 │
│ size_unlimit │              │        │ False         │            │          │
│ ed/ccae882e  │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ kernel_swapu │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 255        │ 0.085848 │
│ sage/f4ea410 │              │        │               │            │          │
│ 8            │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ root_disk_us │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.095224 │
│ age/38c9666e │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ systemd_defa │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.057453 │
│ ult_target/1 │              │        │               │            │          │
│ 59ff768      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_filed │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.023576 │
│ escriptor_40 │              │        │ False         │            │          │
│ 96/b1c413cd  │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_max_u │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.02771  │
│ ser_process_ │              │        │ False         │            │          │
│ 2048/07d8cef │              │        │               │            │          │
│ 3            │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/buildt
est/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest__6pf2y_9.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 general_tests/configuration/ -b tutorials/vars.yml
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 20:59:41                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -b general_tests/configuration/ -b  │
│ tutorials/vars.yml                                                           │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  5
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  5
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 5
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/gen
eral_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/gen
eral_tests/configuration/ulimits.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/gen
eral_tests/configuration/kernel_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/gen
eral_tests/configuration/disk_usage.yml: VALID
Total builder objects created: 10
Total compiler builder: 0
Total script builder: 10
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ systemd_defaul │ generic.local. │ None     │ check if       │ /home/docs/che │
│ t_target/a957b │ bash           │          │ default target │ ckouts/readthe │
│ 04c            │                │          │ is multi-user. │ docs.org/user_ │
│                │                │          │ target         │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/systemd │
│                │                │          │                │ -default-targe │
│                │                │          │                │ t.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ ulimit_fileloc │ generic.local. │ None     │ Check if file  │ /home/docs/che │
│ k_unlimited/94 │ bash           │          │ lock is set to │ ckouts/readthe │
│ 7c1383         │                │          │ unlimited in   │ docs.org/user_ │
│                │                │          │ ulimits        │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/ulimits │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ ulimit_cputime │ generic.local. │ None     │ Check if       │ /home/docs/che │
│ _unlimited/1c6 │ bash           │          │ cputime is set │ ckouts/readthe │
│ b05b3          │                │          │ to unlimited   │ docs.org/user_ │
│                │                │          │ in ulimits     │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/ulimits │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ ulimit_stacksi │ generic.local. │ None     │ Check if stack │ /home/docs/che │
│ ze_unlimited/5 │ bash           │          │ size is set to │ ckouts/readthe │
│ b60ffbd        │                │          │ unlimited in   │ docs.org/user_ │
│                │                │          │ ulimits        │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/ulimits │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ ulimit_vmsize_ │ generic.local. │ None     │ Check virtual  │ /home/docs/che │
│ unlimited/cf8c │ bash           │          │ memory size    │ ckouts/readthe │
│ 8075           │                │          │ and check if   │ docs.org/user_ │
│                │                │          │ its set to     │ builds/buildte │
│                │                │          │ unlimited      │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/ulimits │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ ulimit_filedes │ generic.local. │ None     │ Check if open  │ /home/docs/che │
│ criptor_4096/3 │ bash           │          │ file           │ ckouts/readthe │
│ a29750f        │                │          │ descriptors    │ docs.org/user_ │
│                │                │          │ limit is set   │ builds/buildte │
│                │                │          │ to 4096        │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/ulimits │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ ulimit_max_use │ generic.local. │ None     │ Check max      │ /home/docs/che │
│ r_process_2048 │ bash           │          │ number of user │ ckouts/readthe │
│ /8f2e631c      │                │          │ process limit  │ docs.org/user_ │
│                │                │          │ is set to 2048 │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/ulimits │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ variables_bash │ generic.local. │ None     │ Declare shell  │ /home/docs/che │
│ /5c7292ca      │ bash           │          │ variables in   │ ckouts/readthe │
│                │                │          │ bash           │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/vars.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ kernel_swapusa │ generic.local. │ None     │ Retrieve       │ /home/docs/che │
│ ge/d34cd043    │ bash           │          │ Kernel Swap    │ ckouts/readthe │
│                │                │          │ Usage          │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/kernel_ │
│                │                │          │                │ state.yml      │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ root_disk_usag │ generic.local. │ None     │ Check root     │ /home/docs/che │
│ e/9c9e2e0d     │ bash           │          │ disk usage and │ ckouts/readthe │
│                │                │          │ report if it   │ docs.org/user_ │
│                │                │          │ exceeds        │ builds/buildte │
│                │                │          │ threshold      │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/disk_us │
│                │                │          │                │ age.yml        │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
systemd_default_target/a957b04c: Creating test directory: /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/systemd-default-target/systemd_default_target/a957b04c
systemd_default_target/a957b04c: Creating the stage directory: /home/docs/checko
uts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.lo
cal.bash/systemd-default-target/systemd_default_target/a957b04c/stage
systemd_default_target/a957b04c: Writing build script: /home/docs/checkouts/read
thedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash
/systemd-default-target/systemd_default_target/a957b04c/systemd_default_target_b
uild.sh
ulimit_filelock_unlimited/947c1383: Creating test directory: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.bash/ulimits/ulimit_filelock_unlimited/947c1383
ulimit_filelock_unlimited/947c1383: Creating the stage directory: /home/docs/che
ckouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic
.local.bash/ulimits/ulimit_filelock_unlimited/947c1383/stage
ulimit_filelock_unlimited/947c1383: Writing build script: /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/ulimits/ulimit_filelock_unlimited/947c1383/ulimit_filelock_unlimited_build.s
h
ulimit_cputime_unlimited/1c6b05b3: Creating test directory: /home/docs/checkouts
/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local
.bash/ulimits/ulimit_cputime_unlimited/1c6b05b3
ulimit_cputime_unlimited/1c6b05b3: Creating the stage directory: /home/docs/chec
kouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.
local.bash/ulimits/ulimit_cputime_unlimited/1c6b05b3/stage
ulimit_cputime_unlimited/1c6b05b3: Writing build script: /home/docs/checkouts/re
adthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.ba
sh/ulimits/ulimit_cputime_unlimited/1c6b05b3/ulimit_cputime_unlimited_build.sh
ulimit_stacksize_unlimited/5b60ffbd: Creating test directory: /home/docs/checkou
ts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loc
al.bash/ulimits/ulimit_stacksize_unlimited/5b60ffbd
ulimit_stacksize_unlimited/5b60ffbd: Creating the stage directory: /home/docs/ch
eckouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generi
c.local.bash/ulimits/ulimit_stacksize_unlimited/5b60ffbd/stage
ulimit_stacksize_unlimited/5b60ffbd: Writing build script: /home/docs/checkouts/
readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.
bash/ulimits/ulimit_stacksize_unlimited/5b60ffbd/ulimit_stacksize_unlimited_buil
d.sh
ulimit_vmsize_unlimited/cf8c8075: Creating test directory: /home/docs/checkouts/
readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.
bash/ulimits/ulimit_vmsize_unlimited/cf8c8075
ulimit_vmsize_unlimited/cf8c8075: Creating the stage directory: /home/docs/check
outs/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.l
ocal.bash/ulimits/ulimit_vmsize_unlimited/cf8c8075/stage
ulimit_vmsize_unlimited/cf8c8075: Writing build script: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/ulimits/ulimit_vmsize_unlimited/cf8c8075/ulimit_vmsize_unlimited_build.sh
ulimit_filedescriptor_4096/3a29750f: Creating test directory: /home/docs/checkou
ts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loc
al.bash/ulimits/ulimit_filedescriptor_4096/3a29750f
ulimit_filedescriptor_4096/3a29750f: Creating the stage directory: /home/docs/ch
eckouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generi
c.local.bash/ulimits/ulimit_filedescriptor_4096/3a29750f/stage
ulimit_filedescriptor_4096/3a29750f: Writing build script: /home/docs/checkouts/
readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.
bash/ulimits/ulimit_filedescriptor_4096/3a29750f/ulimit_filedescriptor_4096_buil
d.sh
ulimit_max_user_process_2048/8f2e631c: Creating test directory: /home/docs/check
outs/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.l
ocal.bash/ulimits/ulimit_max_user_process_2048/8f2e631c
ulimit_max_user_process_2048/8f2e631c: Creating the stage directory: /home/docs/
checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/gene
ric.local.bash/ulimits/ulimit_max_user_process_2048/8f2e631c/stage
ulimit_max_user_process_2048/8f2e631c: Writing build script: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.bash/ulimits/ulimit_max_user_process_2048/8f2e631c/ulimit_max_user_process_204
8_build.sh
variables_bash/5c7292ca: Creating test directory: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars
/variables_bash/5c7292ca
variables_bash/5c7292ca: Creating the stage directory: /home/docs/checkouts/read
thedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash
/vars/variables_bash/5c7292ca/stage
variables_bash/5c7292ca: Writing build script: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/va
riables_bash/5c7292ca/variables_bash_build.sh
kernel_swapusage/d34cd043: Creating test directory: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ke
rnel_state/kernel_swapusage/d34cd043
kernel_swapusage/d34cd043: Creating the stage directory: /home/docs/checkouts/re
adthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.ba
sh/kernel_state/kernel_swapusage/d34cd043/stage
kernel_swapusage/d34cd043: Writing build script: /home/docs/checkouts/readthedoc
s.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/kerne
l_state/kernel_swapusage/d34cd043/kernel_swapusage_build.sh
root_disk_usage/9c9e2e0d: Creating test directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/dis
k_usage/root_disk_usage/9c9e2e0d
root_disk_usage/9c9e2e0d: Creating the stage directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/disk_usage/root_disk_usage/9c9e2e0d/stage
root_disk_usage/9c9e2e0d: Writing build script: /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/disk_u
sage/root_disk_usage/9c9e2e0d/root_disk_usage_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
ulimit_stacksize_unlimited/5b60ffbd does not have any dependencies adding test 
to queue
systemd_default_target/a957b04c does not have any dependencies adding test to 
queue
ulimit_filelock_unlimited/947c1383 does not have any dependencies adding test to
queue
ulimit_vmsize_unlimited/cf8c8075 does not have any dependencies adding test to 
queue
variables_bash/5c7292ca does not have any dependencies adding test to queue
root_disk_usage/9c9e2e0d does not have any dependencies adding test to queue
ulimit_filedescriptor_4096/3a29750f does not have any dependencies adding test 
to queue
ulimit_max_user_process_2048/8f2e631c does not have any dependencies adding test
to queue
kernel_swapusage/d34cd043 does not have any dependencies adding test to queue
ulimit_cputime_unlimited/1c6b05b3 does not have any dependencies adding test to 
queue
ulimit_filelock_unlimited/947c1383: Running Test via command: bash --norc 
--noprofile -eo pipefail ulimit_filelock_unlimited_build.sh
ulimit_stacksize_unlimited/5b60ffbd: Running Test via command: bash --norc 
--noprofile -eo pipefail ulimit_stacksize_unlimited_build.sh
ulimit_stacksize_unlimited/5b60ffbd: Test completed in 0.025336 seconds
ulimit_filelock_unlimited/947c1383: Test completed in 0.026099 seconds
ulimit_filelock_unlimited/947c1383: Test completed with returncode: 0
ulimit_stacksize_unlimited/5b60ffbd: Test completed with returncode: 0
ulimit_stacksize_unlimited/5b60ffbd: Writing output file -  /home/docs/checkouts
/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local
.bash/ulimits/ulimit_stacksize_unlimited/5b60ffbd/ulimit_stacksize_unlimited.out
ulimit_filelock_unlimited/947c1383: Writing output file -  /home/docs/checkouts/
readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.
bash/ulimits/ulimit_filelock_unlimited/947c1383/ulimit_filelock_unlimited.out
ulimit_stacksize_unlimited/5b60ffbd: Writing error file - /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/ulimits/ulimit_stacksize_unlimited/5b60ffbd/ulimit_stacksize_unlimited.err
ulimit_filelock_unlimited/947c1383: Writing error file - /home/docs/checkouts/re
adthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.ba
sh/ulimits/ulimit_filelock_unlimited/947c1383/ulimit_filelock_unlimited.err
ulimit_filelock_unlimited/947c1383: performing regular expression - 
'^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtes
t/checkouts/v0.14.0/var/tests/generic.local.bash/ulimits/ulimit_filelock_unlimit
ed/947c1383/ulimit_filelock_unlimited.out
ulimit_stacksize_unlimited/5b60ffbd: performing regular expression - 
'^unlimited$' on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtes
t/checkouts/v0.14.0/var/tests/generic.local.bash/ulimits/ulimit_stacksize_unlimi
ted/5b60ffbd/ulimit_stacksize_unlimited.out
ulimit_filelock_unlimited/947c1383: Regular Expression Match - Success!
ulimit_stacksize_unlimited/5b60ffbd: Regular Expression Match - Failed!
systemd_default_target/a957b04c: Running Test via command: bash --norc 
--noprofile -eo pipefail systemd_default_target_build.sh
ulimit_cputime_unlimited/1c6b05b3: Running Test via command: bash --norc 
--noprofile -eo pipefail ulimit_cputime_unlimited_build.sh
ulimit_cputime_unlimited/1c6b05b3: Test completed in 0.020935 seconds
ulimit_cputime_unlimited/1c6b05b3: Test completed with returncode: 0
ulimit_cputime_unlimited/1c6b05b3: Writing output file -  /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/ulimits/ulimit_cputime_unlimited/1c6b05b3/ulimit_cputime_unlimited.out
ulimit_cputime_unlimited/1c6b05b3: Writing error file - /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/ulimits/ulimit_cputime_unlimited/1c6b05b3/ulimit_cputime_unlimited.err
ulimit_cputime_unlimited/1c6b05b3: performing regular expression - '^unlimited$'
on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0
.14.0/var/tests/generic.local.bash/ulimits/ulimit_cputime_unlimited/1c6b05b3/uli
mit_cputime_unlimited.out
ulimit_cputime_unlimited/1c6b05b3: Regular Expression Match - Success!
systemd_default_target/a957b04c: Test completed in 0.039392 seconds
systemd_default_target/a957b04c: Test completed with returncode: 1
systemd_default_target/a957b04c: Writing output file -  /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/systemd-default-target/systemd_default_target/a957b04c/systemd_default_target.
out
systemd_default_target/a957b04c: Writing error file - /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/
systemd-default-target/systemd_default_target/a957b04c/systemd_default_target.er
r
variables_bash/5c7292ca: Running Test via command: bash --norc --noprofile -eo 
pipefail variables_bash_build.sh
root_disk_usage/9c9e2e0d: Running Test via command: bash --norc --noprofile -eo 
pipefail root_disk_usage_build.sh
variables_bash/5c7292ca: Test completed in 0.024481 seconds
variables_bash/5c7292ca: Test completed with returncode: 0
variables_bash/5c7292ca: Writing output file -  /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/v
ariables_bash/5c7292ca/variables_bash.out
variables_bash/5c7292ca: Writing error file - /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/var
iables_bash/5c7292ca/variables_bash.err
ulimit_filedescriptor_4096/3a29750f: Running Test via command: bash --norc 
--noprofile -eo pipefail ulimit_filedescriptor_4096_build.sh
root_disk_usage/9c9e2e0d: Test completed in 0.044135 seconds
root_disk_usage/9c9e2e0d: Test completed with returncode: 0
root_disk_usage/9c9e2e0d: Writing output file -  /home/docs/checkouts/readthedoc
s.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/disk_
usage/root_disk_usage/9c9e2e0d/root_disk_usage.out
root_disk_usage/9c9e2e0d: Writing error file - /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/disk_us
age/root_disk_usage/9c9e2e0d/root_disk_usage.err
ulimit_filedescriptor_4096/3a29750f: Test completed in 0.023127 seconds
ulimit_filedescriptor_4096/3a29750f: Test completed with returncode: 0
ulimit_filedescriptor_4096/3a29750f: Writing output file -  /home/docs/checkouts
/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local
.bash/ulimits/ulimit_filedescriptor_4096/3a29750f/ulimit_filedescriptor_4096.out
ulimit_filedescriptor_4096/3a29750f: Writing error file - /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/ulimits/ulimit_filedescriptor_4096/3a29750f/ulimit_filedescriptor_4096.err
ulimit_filedescriptor_4096/3a29750f: performing regular expression - '^4096$' on
file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14
.0/var/tests/generic.local.bash/ulimits/ulimit_filedescriptor_4096/3a29750f/ulim
it_filedescriptor_4096.out
ulimit_max_user_process_2048/8f2e631c: Running Test via command: bash --norc 
--noprofile -eo pipefail ulimit_max_user_process_2048_build.sh
ulimit_filedescriptor_4096/3a29750f: Regular Expression Match - Failed!
ulimit_max_user_process_2048/8f2e631c: Test completed in 0.008089 seconds
ulimit_max_user_process_2048/8f2e631c: Test completed with returncode: 0
ulimit_max_user_process_2048/8f2e631c: Writing output file -  /home/docs/checkou
ts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loc
al.bash/ulimits/ulimit_max_user_process_2048/8f2e631c/ulimit_max_user_process_20
48.out
ulimit_max_user_process_2048/8f2e631c: Writing error file - /home/docs/checkouts
/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local
.bash/ulimits/ulimit_max_user_process_2048/8f2e631c/ulimit_max_user_process_2048
.err
ulimit_max_user_process_2048/8f2e631c: performing regular expression - '^2048$' 
on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0
.14.0/var/tests/generic.local.bash/ulimits/ulimit_max_user_process_2048/8f2e631c
/ulimit_max_user_process_2048.out
ulimit_max_user_process_2048/8f2e631c: Regular Expression Match - Failed!
kernel_swapusage/d34cd043: Running Test via command: bash --norc --noprofile -eo
pipefail kernel_swapusage_build.sh
ulimit_vmsize_unlimited/cf8c8075: Running Test via command: bash --norc 
--noprofile -eo pipefail ulimit_vmsize_unlimited_build.sh
kernel_swapusage/d34cd043: Test completed in 0.025805 seconds
kernel_swapusage/d34cd043: Test completed with returncode: 255
kernel_swapusage/d34cd043: Writing output file -  /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/kern
el_state/kernel_swapusage/d34cd043/kernel_swapusage.out
kernel_swapusage/d34cd043: Writing error file - /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/kernel
_state/kernel_swapusage/d34cd043/kernel_swapusage.err
ulimit_vmsize_unlimited/cf8c8075: Test completed in 0.022592 seconds
ulimit_vmsize_unlimited/cf8c8075: Test completed with returncode: 0
ulimit_vmsize_unlimited/cf8c8075: Writing output file -  /home/docs/checkouts/re
adthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.ba
sh/ulimits/ulimit_vmsize_unlimited/cf8c8075/ulimit_vmsize_unlimited.out
ulimit_vmsize_unlimited/cf8c8075: Writing error file - /home/docs/checkouts/read
thedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash
/ulimits/ulimit_vmsize_unlimited/cf8c8075/ulimit_vmsize_unlimited.err
ulimit_vmsize_unlimited/cf8c8075: performing regular expression - '^unlimited$' 
on file: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0
.14.0/var/tests/generic.local.bash/ulimits/ulimit_vmsize_unlimited/cf8c8075/ulim
it_vmsize_unlimited.out
ulimit_vmsize_unlimited/cf8c8075: Regular Expression Match - Success!
In this iteration we are going to run the following tests: [ulimit_stacksize_unlimited/5b60ffbd, ulimit_filelock_unlimited/947c1383, systemd_default_target/a957b04c, ulimit_cputime_unlimited/1c6b05b3, variables_bash/5c7292ca, root_disk_usage/9c9e2e0d, ulimit_filedescriptor_4096/3a29750f, ulimit_max_user_process_2048/8f2e631c, kernel_swapusage/d34cd043, ulimit_vmsize_unlimited/cf8c8075]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ Checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ Builder      ┃ executor     ┃ status ┃ Runtime)      ┃ ReturnCode ┃ Runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ variables_ba │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.024481 │
│ sh/5c7292ca  │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_filel │ generic.loc… │ PASS   │ False True    │ 0          │ 0.026099 │
│ ock_unlimite │              │        │ False         │            │          │
│ d/947c1383   │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_max_u │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.008089 │
│ ser_process_ │              │        │ False         │            │          │
│ 2048/8f2e631 │              │        │               │            │          │
│ c            │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ systemd_defa │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.039392 │
│ ult_target/a │              │        │               │            │          │
│ 957b04c      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ kernel_swapu │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 255        │ 0.025805 │
│ sage/d34cd04 │              │        │               │            │          │
│ 3            │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ root_disk_us │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.044135 │
│ age/9c9e2e0d │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_filed │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.023127 │
│ escriptor_40 │              │        │ False         │            │          │
│ 96/3a29750f  │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_cputi │ generic.loc… │ PASS   │ False True    │ 0          │ 0.020935 │
│ me_unlimited │              │        │ False         │            │          │
│ /1c6b05b3    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_stack │ generic.loc… │ FAIL   │ False False   │ 0          │ 0.025336 │
│ size_unlimit │              │        │ False         │            │          │
│ ed/5b60ffbd  │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ ulimit_vmsiz │ generic.loc… │ PASS   │ False True    │ 0          │ 0.022592 │
│ e_unlimited/ │              │        │ False         │            │          │
│ cf8c8075     │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/build
test/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest__zal1qko.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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 20:59:42                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest bd -b tutorials/ -x tutorials/            │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 20:59:42                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest bd -b general_tests/configuration/ -x     │
│ general_tests/configuration/ulimits.yml                                      │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  4
Excluded Buildspecs:  1
Detected Buildspecs after exclusion:  3
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                              Excluded buildspecs                               
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 3
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/gen
eral_tests/configuration/systemd-default-target.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/gen
eral_tests/configuration/disk_usage.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/gen
eral_tests/configuration/kernel_state.yml: VALID
Total builder objects created: 3
Total compiler builder: 0
Total script builder: 3
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ systemd_defaul │ generic.local. │ None     │ check if       │ /home/docs/che │
│ t_target/f3997 │ bash           │          │ default target │ ckouts/readthe │
│ b3a            │                │          │ is multi-user. │ docs.org/user_ │
│                │                │          │ target         │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/systemd │
│                │                │          │                │ -default-targe │
│                │                │          │                │ t.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ root_disk_usag │ generic.local. │ None     │ Check root     │ /home/docs/che │
│ e/ddf74275     │ bash           │          │ disk usage and │ ckouts/readthe │
│                │                │          │ report if it   │ docs.org/user_ │
│                │                │          │ exceeds        │ builds/buildte │
│                │                │          │ threshold      │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/disk_us │
│                │                │          │                │ age.yml        │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ kernel_swapusa │ generic.local. │ None     │ Retrieve       │ /home/docs/che │
│ ge/3690ca43    │ bash           │          │ Kernel Swap    │ ckouts/readthe │
│                │                │          │ Usage          │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/general │
│                │                │          │                │ _tests/configu │
│                │                │          │                │ ration/kernel_ │
│                │                │          │                │ state.yml      │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
systemd_default_target/f3997b3a: Creating test directory: /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/systemd-default-target/systemd_default_target/f3997b3a
systemd_default_target/f3997b3a: Creating the stage directory: /home/docs/checko
uts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.lo
cal.bash/systemd-default-target/systemd_default_target/f3997b3a/stage
systemd_default_target/f3997b3a: Writing build script: /home/docs/checkouts/read
thedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash
/systemd-default-target/systemd_default_target/f3997b3a/systemd_default_target_b
uild.sh
root_disk_usage/ddf74275: Creating test directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/dis
k_usage/root_disk_usage/ddf74275
root_disk_usage/ddf74275: Creating the stage directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/disk_usage/root_disk_usage/ddf74275/stage
root_disk_usage/ddf74275: Writing build script: /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/disk_u
sage/root_disk_usage/ddf74275/root_disk_usage_build.sh
kernel_swapusage/3690ca43: Creating test directory: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ke
rnel_state/kernel_swapusage/3690ca43
kernel_swapusage/3690ca43: Creating the stage directory: /home/docs/checkouts/re
adthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.ba
sh/kernel_state/kernel_swapusage/3690ca43/stage
kernel_swapusage/3690ca43: Writing build script: /home/docs/checkouts/readthedoc
s.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/kerne
l_state/kernel_swapusage/3690ca43/kernel_swapusage_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
kernel_swapusage/3690ca43 does not have any dependencies adding test to queue
root_disk_usage/ddf74275 does not have any dependencies adding test to queue
systemd_default_target/f3997b3a does not have any dependencies adding test to 
queue
root_disk_usage/ddf74275: Running Test via command: bash --norc --noprofile -eo 
pipefail root_disk_usage_build.sh
kernel_swapusage/3690ca43: Running Test via command: bash --norc --noprofile -eo
pipefail kernel_swapusage_build.sh
kernel_swapusage/3690ca43: Test completed in 0.03997 seconds
kernel_swapusage/3690ca43: Test completed with returncode: 255
kernel_swapusage/3690ca43: Writing output file -  /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/kern
el_state/kernel_swapusage/3690ca43/kernel_swapusage.out
kernel_swapusage/3690ca43: Writing error file - /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/kernel
_state/kernel_swapusage/3690ca43/kernel_swapusage.err
root_disk_usage/ddf74275: Test completed in 0.050299 seconds
root_disk_usage/ddf74275: Test completed with returncode: 0
root_disk_usage/ddf74275: Writing output file -  /home/docs/checkouts/readthedoc
s.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/disk_
usage/root_disk_usage/ddf74275/root_disk_usage.out
root_disk_usage/ddf74275: Writing error file - /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/disk_us
age/root_disk_usage/ddf74275/root_disk_usage.err
systemd_default_target/f3997b3a: Running Test via command: bash --norc 
--noprofile -eo pipefail systemd_default_target_build.sh
systemd_default_target/f3997b3a: Test completed in 0.010551 seconds
systemd_default_target/f3997b3a: Test completed with returncode: 1
systemd_default_target/f3997b3a: Writing output file -  /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/systemd-default-target/systemd_default_target/f3997b3a/systemd_default_target.
out
systemd_default_target/f3997b3a: Writing error file - /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/
systemd-default-target/systemd_default_target/f3997b3a/systemd_default_target.er
r
In this iteration we are going to run the following tests: [root_disk_usage/ddf74275, kernel_swapusage/3690ca43, systemd_default_target/f3997b3a]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ Checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ Builder      ┃ executor     ┃ status ┃ Runtime)      ┃ ReturnCode ┃ Runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ systemd_defa │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.010551 │
│ ult_target/f │              │        │               │            │          │
│ 3997b3a      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ root_disk_us │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.050299 │
│ age/ddf74275 │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ kernel_swapu │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 255        │ 0.03997  │
│ sage/3690ca4 │              │        │               │            │          │
│ 3            │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/buildt
est/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest_u4e8wsfw.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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 20:59:43                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -t network                          │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  1
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                           Buildspecs By Tag=network                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/tags_example.yml: VALID
Total builder objects created: 2
Total compiler builder: 0
Total script builder: 2
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ string_tag/c12 │ generic.local. │ None     │ tags can be a  │ /home/docs/che │
│ 68573          │ bash           │          │ string         │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/tags_exampl │
│                │                │          │                │ e.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ list_of_string │ generic.local. │ None     │ tags can be a  │ /home/docs/che │
│ s_tags/32f108a │ bash           │          │ list of        │ ckouts/readthe │
│ 3              │                │          │ strings        │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/tags_exampl │
│                │                │          │                │ e.yml          │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
string_tag/c1268573: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/tags_exa
mple/string_tag/c1268573
string_tag/c1268573: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/tag
s_example/string_tag/c1268573/stage
string_tag/c1268573: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/tags_exampl
e/string_tag/c1268573/string_tag_build.sh
list_of_strings_tags/32f108a3: Creating test directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/tags_example/list_of_strings_tags/32f108a3
list_of_strings_tags/32f108a3: Creating the stage directory: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.bash/tags_example/list_of_strings_tags/32f108a3/stage
list_of_strings_tags/32f108a3: Writing build script: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/t
ags_example/list_of_strings_tags/32f108a3/list_of_strings_tags_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
list_of_strings_tags/32f108a3 does not have any dependencies adding test to 
queue
string_tag/c1268573 does not have any dependencies adding test to queue
list_of_strings_tags/32f108a3: Running Test via command: bash --norc --noprofile
-eo pipefail list_of_strings_tags_build.sh
string_tag/c1268573: Running Test via command: bash --norc --noprofile -eo 
pipefail string_tag_build.sh
string_tag/c1268573: Test completed in 0.029034 seconds
string_tag/c1268573: Test completed with returncode: 0
string_tag/c1268573: Writing output file -  /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/tags_examp
le/string_tag/c1268573/string_tag.out
string_tag/c1268573: Writing error file - /home/docs/checkouts/readthedocs.org/u
ser_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/tags_example
/string_tag/c1268573/string_tag.err
list_of_strings_tags/32f108a3: Test completed in 3.064146 seconds
list_of_strings_tags/32f108a3: Test completed with returncode: 0
list_of_strings_tags/32f108a3: Writing output file -  /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/
tags_example/list_of_strings_tags/32f108a3/list_of_strings_tags.out
list_of_strings_tags/32f108a3: Writing error file - /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ta
gs_example/list_of_strings_tags/32f108a3/list_of_strings_tags.err
In this iteration we are going to run the following tests: [list_of_strings_tags/32f108a3, string_tag/c1268573]
                                  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.064146 │
│ ngs_tags/32f │              │        │               │            │          │
│ 108a3        │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ string_tag/c │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.029034 │
│ 1268573      │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/buildt
est/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest_633b1dqk.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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 20:59:46                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -t python -t pass                   │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  3
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  3
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14… ║
║  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 3
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/pass_returncode.yml: VALID
Total builder objects created: 6
Total compiler builder: 0
Total script builder: 6
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ python_hello/2 │ generic.local. │ None     │ Hello World    │ /home/docs/che │
│ 4fad74c        │ bash           │          │ python         │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/python-hell │
│                │                │          │                │ o.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ circle_area/7d │ generic.local. │ None     │ Calculate      │ /home/docs/che │
│ a13c72         │ bash           │          │ circle of area │ ckouts/readthe │
│                │                │          │ given a radius │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/python-shel │
│                │                │          │                │ l.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ exit1_fail/f39 │ generic.local. │ None     │ exit 1 by      │ /home/docs/che │
│ 40fb3          │ bash           │          │ default is     │ ckouts/readthe │
│                │                │          │ FAIL           │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ exit1_pass/c63 │ generic.local. │ None     │ report exit 1  │ /home/docs/che │
│ ceb3e          │ bash           │          │ as PASS        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ returncode_lis │ generic.local. │ None     │ exit 2 failed  │ /home/docs/che │
│ t_mismatch/298 │ bash           │          │ since it       │ ckouts/readthe │
│ 44be6          │                │          │ failed to      │ docs.org/user_ │
│                │                │          │ match          │ builds/buildte │
│                │                │          │ returncode 1   │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ returncode_int │ generic.local. │ None     │ exit 128       │ /home/docs/che │
│ _match/2f2fecd │ bash           │          │ matches        │ ckouts/readthe │
│ f              │                │          │ returncode 128 │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
python_hello/24fad74c: Creating test directory: /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python
-hello/python_hello/24fad74c
python_hello/24fad74c: Creating the stage directory: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/p
ython-hello/python_hello/24fad74c/stage
python_hello/24fad74c: Writing build script: /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-he
llo/python_hello/24fad74c/python_hello_build.sh
circle_area/7da13c72: Creating test directory: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-
shell/circle_area/7da13c72
circle_area/7da13c72: Creating the stage directory: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/py
thon-shell/circle_area/7da13c72/stage
circle_area/7da13c72: Writing build script: /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-she
ll/circle_area/7da13c72/circle_area_build.sh
exit1_fail/f3940fb3: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_ret
urncode/exit1_fail/f3940fb3
exit1_fail/f3940fb3: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pas
s_returncode/exit1_fail/f3940fb3/stage
exit1_fail/f3940fb3: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_return
code/exit1_fail/f3940fb3/exit1_fail_build.sh
exit1_pass/c63ceb3e: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_ret
urncode/exit1_pass/c63ceb3e
exit1_pass/c63ceb3e: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pas
s_returncode/exit1_pass/c63ceb3e/stage
exit1_pass/c63ceb3e: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_return
code/exit1_pass/c63ceb3e/exit1_pass_build.sh
returncode_list_mismatch/29844be6: Creating test directory: /home/docs/checkouts
/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local
.bash/pass_returncode/returncode_list_mismatch/29844be6
returncode_list_mismatch/29844be6: Creating the stage directory: /home/docs/chec
kouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.
local.bash/pass_returncode/returncode_list_mismatch/29844be6/stage
returncode_list_mismatch/29844be6: Writing build script: /home/docs/checkouts/re
adthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.ba
sh/pass_returncode/returncode_list_mismatch/29844be6/returncode_list_mismatch_bu
ild.sh
returncode_int_match/2f2fecdf: Creating test directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/pass_returncode/returncode_int_match/2f2fecdf
returncode_int_match/2f2fecdf: Creating the stage directory: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.bash/pass_returncode/returncode_int_match/2f2fecdf/stage
returncode_int_match/2f2fecdf: Writing build script: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/p
ass_returncode/returncode_int_match/2f2fecdf/returncode_int_match_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_int_match/2f2fecdf does not have any dependencies adding test to 
queue
python_hello/24fad74c does not have any dependencies adding test to queue
exit1_pass/c63ceb3e does not have any dependencies adding test to queue
exit1_fail/f3940fb3 does not have any dependencies adding test to queue
returncode_list_mismatch/29844be6 does not have any dependencies adding test to 
queue
circle_area/7da13c72 does not have any dependencies adding test to queue
circle_area/7da13c72: Running Test via command: bash --norc --noprofile -eo 
pipefail circle_area_build.sh
returncode_int_match/2f2fecdf: Running Test via command: bash --norc --noprofile
-eo pipefail returncode_int_match_build.sh
returncode_int_match/2f2fecdf: Test completed in 0.028528 seconds
returncode_int_match/2f2fecdf: Test completed with returncode: 128
returncode_int_match/2f2fecdf: Writing output file -  /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/
pass_returncode/returncode_int_match/2f2fecdf/returncode_int_match.out
returncode_int_match/2f2fecdf: Writing error file - /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pa
ss_returncode/returncode_int_match/2f2fecdf/returncode_int_match.err
returncode_int_match/2f2fecdf: Checking returncode - 128 is matched in list 
[128]
python_hello/24fad74c: Running Test via command: bash --norc --noprofile -eo 
pipefail python_hello_build.sh
circle_area/7da13c72: Test completed in 0.097547 seconds
circle_area/7da13c72: Test completed with returncode: 0
circle_area/7da13c72: Writing output file -  /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-sh
ell/circle_area/7da13c72/circle_area.out
circle_area/7da13c72: Writing error file - /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-shel
l/circle_area/7da13c72/circle_area.err
exit1_pass/c63ceb3e: Running Test via command: bash --norc --noprofile -eo 
pipefail exit1_pass_build.sh
exit1_pass/c63ceb3e: Test completed in 0.02153 seconds
exit1_pass/c63ceb3e: Test completed with returncode: 1
exit1_pass/c63ceb3e: Writing output file -  /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_retur
ncode/exit1_pass/c63ceb3e/exit1_pass.out
exit1_pass/c63ceb3e: Writing error file - /home/docs/checkouts/readthedocs.org/u
ser_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_returnc
ode/exit1_pass/c63ceb3e/exit1_pass.err
exit1_pass/c63ceb3e: Checking returncode - 1 is matched in list [1]
exit1_fail/f3940fb3: Running Test via command: bash --norc --noprofile -eo 
pipefail exit1_fail_build.sh
python_hello/24fad74c: Test completed in 0.11622 seconds
python_hello/24fad74c: Test completed with returncode: 0
python_hello/24fad74c: Writing output file -  /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-h
ello/python_hello/24fad74c/python_hello.out
python_hello/24fad74c: Writing error file - /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-hel
lo/python_hello/24fad74c/python_hello.err
exit1_fail/f3940fb3: Test completed in 0.024661 seconds
exit1_fail/f3940fb3: Test completed with returncode: 1
exit1_fail/f3940fb3: Writing output file -  /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_retur
ncode/exit1_fail/f3940fb3/exit1_fail.out
exit1_fail/f3940fb3: Writing error file - /home/docs/checkouts/readthedocs.org/u
ser_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_returnc
ode/exit1_fail/f3940fb3/exit1_fail.err
returncode_list_mismatch/29844be6: Running Test via command: bash --norc 
--noprofile -eo pipefail returncode_list_mismatch_build.sh
returncode_list_mismatch/29844be6: Test completed in 0.006701 seconds
returncode_list_mismatch/29844be6: Test completed with returncode: 2
returncode_list_mismatch/29844be6: Writing output file -  /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/pass_returncode/returncode_list_mismatch/29844be6/returncode_list_mismatch.o
ut
returncode_list_mismatch/29844be6: Writing error file - /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/pass_returncode/returncode_list_mismatch/29844be6/returncode_list_mismatch.err
returncode_list_mismatch/29844be6: Checking returncode - 2 is matched in list 
[1, 3]
In this iteration we are going to run the following tests: [circle_area/7da13c72, returncode_int_match/2f2fecdf, python_hello/24fad74c, exit1_pass/c63ceb3e, exit1_fail/f3940fb3, returncode_list_mismatch/29844be6]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ Checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ Builder      ┃ executor     ┃ status ┃ Runtime)      ┃ ReturnCode ┃ Runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ python_hello │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.11622  │
│ /24fad74c    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_l │ generic.loc… │ FAIL   │ False False   │ 2          │ 0.006701 │
│ ist_mismatch │              │        │ False         │            │          │
│ /29844be6    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ circle_area/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.097547 │
│ 7da13c72     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_fail/f │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.024661 │
│ 3940fb3      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_pass/c │ generic.loc… │ PASS   │ True False    │ 1          │ 0.02153  │
│ 63ceb3e      │              │        │ False         │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_i │ generic.loc… │ PASS   │ True False    │ 128        │ 0.028528 │
│ nt_match/2f2 │              │        │ False         │            │          │
│ fecdf        │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/buildt
est/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest_bptic8pd.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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 20:59:47                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build --tags pass --buildspec             │
│ tutorials/python-hello.yml                                                   │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  2
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/python-hello.yml: VALID
Total builder objects created: 5
Total compiler builder: 0
Total script builder: 5
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ exit1_fail/647 │ generic.local. │ None     │ exit 1 by      │ /home/docs/che │
│ e2c63          │ bash           │          │ default is     │ ckouts/readthe │
│                │                │          │ FAIL           │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ exit1_pass/63a │ generic.local. │ None     │ report exit 1  │ /home/docs/che │
│ 902f7          │ bash           │          │ as PASS        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ returncode_lis │ generic.local. │ None     │ exit 2 failed  │ /home/docs/che │
│ t_mismatch/506 │ bash           │          │ since it       │ ckouts/readthe │
│ e8e9e          │                │          │ failed to      │ docs.org/user_ │
│                │                │          │ match          │ builds/buildte │
│                │                │          │ returncode 1   │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ returncode_int │ generic.local. │ None     │ exit 128       │ /home/docs/che │
│ _match/c236dab │ bash           │          │ matches        │ ckouts/readthe │
│ 6              │                │          │ returncode 128 │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ python_hello/8 │ generic.local. │ None     │ Hello World    │ /home/docs/che │
│ 4b624d9        │ bash           │          │ python         │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/python-hell │
│                │                │          │                │ o.yml          │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/647e2c63: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_ret
urncode/exit1_fail/647e2c63
exit1_fail/647e2c63: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pas
s_returncode/exit1_fail/647e2c63/stage
exit1_fail/647e2c63: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_return
code/exit1_fail/647e2c63/exit1_fail_build.sh
exit1_pass/63a902f7: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_ret
urncode/exit1_pass/63a902f7
exit1_pass/63a902f7: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pas
s_returncode/exit1_pass/63a902f7/stage
exit1_pass/63a902f7: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_return
code/exit1_pass/63a902f7/exit1_pass_build.sh
returncode_list_mismatch/506e8e9e: Creating test directory: /home/docs/checkouts
/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local
.bash/pass_returncode/returncode_list_mismatch/506e8e9e
returncode_list_mismatch/506e8e9e: Creating the stage directory: /home/docs/chec
kouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.
local.bash/pass_returncode/returncode_list_mismatch/506e8e9e/stage
returncode_list_mismatch/506e8e9e: Writing build script: /home/docs/checkouts/re
adthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.ba
sh/pass_returncode/returncode_list_mismatch/506e8e9e/returncode_list_mismatch_bu
ild.sh
returncode_int_match/c236dab6: Creating test directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/pass_returncode/returncode_int_match/c236dab6
returncode_int_match/c236dab6: Creating the stage directory: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.bash/pass_returncode/returncode_int_match/c236dab6/stage
returncode_int_match/c236dab6: Writing build script: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/p
ass_returncode/returncode_int_match/c236dab6/returncode_int_match_build.sh
python_hello/84b624d9: Creating test directory: /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python
-hello/python_hello/84b624d9
python_hello/84b624d9: Creating the stage directory: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/p
ython-hello/python_hello/84b624d9/stage
python_hello/84b624d9: Writing build script: /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-he
llo/python_hello/84b624d9/python_hello_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_int_match/c236dab6 does not have any dependencies adding test to 
queue
exit1_pass/63a902f7 does not have any dependencies adding test to queue
exit1_fail/647e2c63 does not have any dependencies adding test to queue
python_hello/84b624d9 does not have any dependencies adding test to queue
returncode_list_mismatch/506e8e9e does not have any dependencies adding test to 
queue
returncode_int_match/c236dab6: Running Test via command: bash --norc --noprofile
-eo pipefail returncode_int_match_build.sh
exit1_pass/63a902f7: Running Test via command: bash --norc --noprofile -eo 
pipefail exit1_pass_build.sh
returncode_int_match/c236dab6: Test completed in 0.02371 seconds
returncode_int_match/c236dab6: Test completed with returncode: 128
returncode_int_match/c236dab6: Writing output file -  /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/
pass_returncode/returncode_int_match/c236dab6/returncode_int_match.out
returncode_int_match/c236dab6: Writing error file - /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pa
ss_returncode/returncode_int_match/c236dab6/returncode_int_match.err
returncode_int_match/c236dab6: Checking returncode - 128 is matched in list 
[128]
exit1_pass/63a902f7: Test completed in 0.029537 seconds
exit1_pass/63a902f7: Test completed with returncode: 1
exit1_pass/63a902f7: Writing output file -  /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_retur
ncode/exit1_pass/63a902f7/exit1_pass.out
exit1_pass/63a902f7: Writing error file - /home/docs/checkouts/readthedocs.org/u
ser_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_returnc
ode/exit1_pass/63a902f7/exit1_pass.err
exit1_pass/63a902f7: Checking returncode - 1 is matched in list [1]
exit1_fail/647e2c63: Running Test via command: bash --norc --noprofile -eo 
pipefail exit1_fail_build.sh
python_hello/84b624d9: Running Test via command: bash --norc --noprofile -eo 
pipefail python_hello_build.sh
exit1_fail/647e2c63: Test completed in 0.027814 seconds
exit1_fail/647e2c63: Test completed with returncode: 1
exit1_fail/647e2c63: Writing output file -  /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_retur
ncode/exit1_fail/647e2c63/exit1_fail.out
exit1_fail/647e2c63: Writing error file - /home/docs/checkouts/readthedocs.org/u
ser_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_returnc
ode/exit1_fail/647e2c63/exit1_fail.err
returncode_list_mismatch/506e8e9e: Running Test via command: bash --norc 
--noprofile -eo pipefail returncode_list_mismatch_build.sh
python_hello/84b624d9: Test completed in 0.101943 seconds
returncode_list_mismatch/506e8e9e: Test completed in 0.037425 seconds
python_hello/84b624d9: Test completed with returncode: 0
returncode_list_mismatch/506e8e9e: Test completed with returncode: 2
python_hello/84b624d9: Writing output file -  /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-h
ello/python_hello/84b624d9/python_hello.out
returncode_list_mismatch/506e8e9e: Writing output file -  /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/pass_returncode/returncode_list_mismatch/506e8e9e/returncode_list_mismatch.o
ut
python_hello/84b624d9: Writing error file - /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-hel
lo/python_hello/84b624d9/python_hello.err
returncode_list_mismatch/506e8e9e: Writing error file - /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/pass_returncode/returncode_list_mismatch/506e8e9e/returncode_list_mismatch.err
returncode_list_mismatch/506e8e9e: Checking returncode - 2 is matched in list 
[1, 3]
In this iteration we are going to run the following tests: [returncode_int_match/c236dab6, exit1_pass/63a902f7, exit1_fail/647e2c63, python_hello/84b624d9, returncode_list_mismatch/506e8e9e]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ Checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ Builder      ┃ executor     ┃ status ┃ Runtime)      ┃ ReturnCode ┃ Runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ returncode_i │ generic.loc… │ PASS   │ True False    │ 128        │ 0.02371  │
│ nt_match/c23 │              │        │ False         │            │          │
│ 6dab6        │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_fail/6 │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.027814 │
│ 47e2c63      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_l │ generic.loc… │ FAIL   │ False False   │ 2          │ 0.037425 │
│ ist_mismatch │              │        │ False         │            │          │
│ /506e8e9e    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ python_hello │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.101943 │
│ /84b624d9    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_pass/6 │ generic.loc… │ PASS   │ True False    │ 1          │ 0.029537 │
│ 3a902f7      │              │        │ False         │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/buildt
est/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest_m4x_eoi5.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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 20:59:48                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build --executor generic.local.csh        │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  2
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                    Buildspecs by Executor=generic.local.csh                    
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/environment.yml: VALID
Total builder objects created: 4
Total compiler builder: 0
Total script builder: 4
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ csh_shell/ea02 │ generic.local. │ None     │ csh shell      │ /home/docs/che │
│ fc2f           │ csh            │          │ example        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/csh_shell_e │
│                │                │          │                │ xamples.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ bash_env_varia │ generic.local. │ None     │ Declare        │ /home/docs/che │
│ bles/3bd54c5d  │ bash           │          │ environment    │ ckouts/readthe │
│                │                │          │ variables in   │ docs.org/user_ │
│                │                │          │ default shell  │ builds/buildte │
│                │                │          │ (bash)         │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/environment │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ csh_env_declar │ generic.local. │ None     │ csh shell      │ /home/docs/che │
│ ation/158cce41 │ csh            │          │ example to     │ ckouts/readthe │
│                │                │          │ declare        │ docs.org/user_ │
│                │                │          │ environment    │ builds/buildte │
│                │                │          │ variables      │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/environment │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ tcsh_env_decla │ generic.local. │ None     │ tcsh shell     │ /home/docs/che │
│ ration/48bddc7 │ csh            │          │ example to     │ ckouts/readthe │
│ 5              │                │          │ declare        │ docs.org/user_ │
│                │                │          │ environment    │ builds/buildte │
│                │                │          │ variables      │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/environment │
│                │                │          │                │ .yml           │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
csh_shell/ea02fc2f: Creating test directory: /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/csh_shell_
examples/csh_shell/ea02fc2f
csh_shell/ea02fc2f: Creating the stage directory: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/csh_s
hell_examples/csh_shell/ea02fc2f/stage
csh_shell/ea02fc2f: Writing build script: /home/docs/checkouts/readthedocs.org/u
ser_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/csh_shell_exa
mples/csh_shell/ea02fc2f/csh_shell_build.sh
bash_env_variables/3bd54c5d: Creating test directory: /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/
environment/bash_env_variables/3bd54c5d
bash_env_variables/3bd54c5d: Creating the stage directory: /home/docs/checkouts/
readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.
bash/environment/bash_env_variables/3bd54c5d/stage
bash_env_variables/3bd54c5d: Writing build script: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/env
ironment/bash_env_variables/3bd54c5d/bash_env_variables_build.sh
csh_env_declaration/158cce41: Creating test directory: /home/docs/checkouts/read
thedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/
environment/csh_env_declaration/158cce41
csh_env_declaration/158cce41: Creating the stage directory: /home/docs/checkouts
/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local
.csh/environment/csh_env_declaration/158cce41/stage
csh_env_declaration/158cce41: Writing build script: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/env
ironment/csh_env_declaration/158cce41/csh_env_declaration_build.sh
tcsh_env_declaration/48bddc75: Creating test directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh
/environment/tcsh_env_declaration/48bddc75
tcsh_env_declaration/48bddc75: Creating the stage directory: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.csh/environment/tcsh_env_declaration/48bddc75/stage
tcsh_env_declaration/48bddc75: Writing build script: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/en
vironment/tcsh_env_declaration/48bddc75/tcsh_env_declaration_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
csh_shell/ea02fc2f does not have any dependencies adding test to queue
tcsh_env_declaration/48bddc75 does not have any dependencies adding test to 
queue
csh_env_declaration/158cce41 does not have any dependencies adding test to queue
bash_env_variables/3bd54c5d does not have any dependencies adding test to queue
csh_shell/ea02fc2f: Running Test via command: csh -e csh_shell_build.sh
tcsh_env_declaration/48bddc75: Running Test via command: csh -e 
tcsh_env_declaration_build.sh
tcsh_env_declaration/48bddc75: Test completed in 5.915913 seconds
tcsh_env_declaration/48bddc75: Test completed with returncode: 1
tcsh_env_declaration/48bddc75: Writing output file -  /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/e
nvironment/tcsh_env_declaration/48bddc75/tcsh_env_declaration.out
tcsh_env_declaration/48bddc75: Writing error file - /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/env
ironment/tcsh_env_declaration/48bddc75/tcsh_env_declaration.err
csh_env_declaration/158cce41: Running Test via command: csh -e 
csh_env_declaration_build.sh
csh_shell/ea02fc2f: Test completed in 11.687989 seconds
csh_shell/ea02fc2f: Test completed with returncode: 0
csh_shell/ea02fc2f: Writing output file -  /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/csh_shell_ex
amples/csh_shell/ea02fc2f/csh_shell.out
csh_shell/ea02fc2f: Writing error file - /home/docs/checkouts/readthedocs.org/us
er_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/csh_shell_exam
ples/csh_shell/ea02fc2f/csh_shell.err
bash_env_variables/3bd54c5d: Running Test via command: bash --norc --noprofile 
-eo pipefail bash_env_variables_build.sh
bash_env_variables/3bd54c5d: Test completed in 0.048899 seconds
bash_env_variables/3bd54c5d: Test completed with returncode: 0
bash_env_variables/3bd54c5d: Writing output file -  /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/en
vironment/bash_env_variables/3bd54c5d/bash_env_variables.out
bash_env_variables/3bd54c5d: Writing error file - /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/envi
ronment/bash_env_variables/3bd54c5d/bash_env_variables.err
csh_env_declaration/158cce41: Test completed in 8.456386 seconds
csh_env_declaration/158cce41: Test completed with returncode: 0
csh_env_declaration/158cce41: Writing output file -  /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/en
vironment/csh_env_declaration/158cce41/csh_env_declaration.out
csh_env_declaration/158cce41: Writing error file - /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/envi
ronment/csh_env_declaration/158cce41/csh_env_declaration.err
In this iteration we are going to run the following tests: [csh_shell/ea02fc2f, tcsh_env_declaration/48bddc75, csh_env_declaration/158cce41, bash_env_variables/3bd54c5d]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃              ┃              ┃        ┃ Checks       ┃            ┃           ┃
┃              ┃              ┃        ┃ (ReturnCode, ┃            ┃           ┃
┃              ┃              ┃        ┃ Regex,       ┃            ┃           ┃
┃ Builder      ┃ executor     ┃ status ┃ Runtime)     ┃ ReturnCode ┃ Runtime   ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ csh_shell/ea │ generic.loc… │ PASS   │ N/A N/A N/A  │ 0          │ 11.687989 │
│ 02fc2f       │              │        │              │            │           │
├──────────────┼──────────────┼────────┼──────────────┼────────────┼───────────┤
│ csh_env_decl │ generic.loc… │ PASS   │ N/A N/A N/A  │ 0          │ 8.456386  │
│ aration/158c │              │        │              │            │           │
│ ce41         │              │        │              │            │           │
├──────────────┼──────────────┼────────┼──────────────┼────────────┼───────────┤
│ tcsh_env_dec │ generic.loc… │ FAIL   │ N/A N/A N/A  │ 1          │ 5.915913  │
│ laration/48b │              │        │              │            │           │
│ ddc75        │              │        │              │            │           │
├──────────────┼──────────────┼────────┼──────────────┼────────────┼───────────┤
│ bash_env_var │ generic.loc… │ PASS   │ N/A N/A N/A  │ 0          │ 0.048899  │
│ iables/3bd54 │              │        │              │            │           │
│ c5d          │              │        │              │            │           │
└──────────────┴──────────────┴────────┴──────────────┴────────────┴───────────┘



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/buildt
est/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest_zhenthr5.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 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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 21:00:04                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -t pass --filter tags=pass          │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  1
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=pass                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
[exit1_fail][/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tutorials/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/v0.14.0/tutorials/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/v0.14.0/tut
orials/pass_returncode.yml: VALID
Total builder objects created: 2
Total compiler builder: 0
Total script builder: 2
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ exit1_pass/90a │ generic.local. │ None     │ report exit 1  │ /home/docs/che │
│ 5c7f9          │ bash           │          │ as PASS        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ returncode_int │ generic.local. │ None     │ exit 128       │ /home/docs/che │
│ _match/25cbc5c │ bash           │          │ matches        │ ckouts/readthe │
│ 0              │                │          │ returncode 128 │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_pass/90a5c7f9: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_ret
urncode/exit1_pass/90a5c7f9
exit1_pass/90a5c7f9: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pas
s_returncode/exit1_pass/90a5c7f9/stage
exit1_pass/90a5c7f9: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_return
code/exit1_pass/90a5c7f9/exit1_pass_build.sh
returncode_int_match/25cbc5c0: Creating test directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/pass_returncode/returncode_int_match/25cbc5c0
returncode_int_match/25cbc5c0: Creating the stage directory: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.bash/pass_returncode/returncode_int_match/25cbc5c0/stage
returncode_int_match/25cbc5c0: Writing build script: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/p
ass_returncode/returncode_int_match/25cbc5c0/returncode_int_match_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
returncode_int_match/25cbc5c0 does not have any dependencies adding test to 
queue
exit1_pass/90a5c7f9 does not have any dependencies adding test to queue
exit1_pass/90a5c7f9: Running Test via command: bash --norc --noprofile -eo 
pipefail exit1_pass_build.sh
returncode_int_match/25cbc5c0: Running Test via command: bash --norc --noprofile
-eo pipefail returncode_int_match_build.sh
exit1_pass/90a5c7f9: Test completed in 0.022694 seconds
exit1_pass/90a5c7f9: Test completed with returncode: 1
exit1_pass/90a5c7f9: Writing output file -  /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_retur
ncode/exit1_pass/90a5c7f9/exit1_pass.out
exit1_pass/90a5c7f9: Writing error file - /home/docs/checkouts/readthedocs.org/u
ser_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_returnc
ode/exit1_pass/90a5c7f9/exit1_pass.err
exit1_pass/90a5c7f9: Checking returncode - 1 is matched in list [1]
returncode_int_match/25cbc5c0: Test completed in 0.030895 seconds
returncode_int_match/25cbc5c0: Test completed with returncode: 128
returncode_int_match/25cbc5c0: Writing output file -  /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/
pass_returncode/returncode_int_match/25cbc5c0/returncode_int_match.out
returncode_int_match/25cbc5c0: Writing error file - /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pa
ss_returncode/returncode_int_match/25cbc5c0/returncode_int_match.err
returncode_int_match/25cbc5c0: Checking returncode - 128 is matched in list 
[128]
In this iteration we are going to run the following tests: [exit1_pass/90a5c7f9, returncode_int_match/25cbc5c0]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ Checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ Builder      ┃ executor     ┃ status ┃ Runtime)      ┃ ReturnCode ┃ Runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ exit1_pass/9 │ generic.loc… │ PASS   │ True False    │ 1          │ 0.022694 │
│ 0a5c7f9      │              │        │ False         │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_i │ generic.loc… │ PASS   │ True False    │ 128        │ 0.030895 │
│ nt_match/25c │              │        │ False         │            │          │
│ bc5c0        │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/buildt
est/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest_nniay4ek.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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 21:00:04                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -b tutorials --filter               │
│ maintainers=@shahzebsiddiqui                                                 │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  33
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  33
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/explicit_state.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/selinux.yml: skipping test because 'maintainers' field is not specified 
in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/status_regex.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/add_numbers.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/executor_regex_script.yml: skipping test because 'maintainers' field is 
not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/job_dependency/ex3.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/environment.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/shell_examples.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/pass_returncode.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/vars.yml: skipping test because 'maintainers' field is not specified in 
buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/runtime_status_test.yml: skipping test because 'maintainers' field is not
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/tags_example.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/python-hello.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/job_dependency/ex4.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/csh_shell_examples.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/script/status_by_executors.yml: skipping test because 'maintainers' field
is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/skip_tests.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/metrics_regex.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/sleep.yml: skipping test because 'maintainers' field is not specified in 
buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/script/multiple_executors.yml: skipping test because 'maintainers' field 
is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/python-shell.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/job_dependency/ex2.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/job_dependency_stream.yml: skipping test because 'maintainers' field is 
not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/gcc_version.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/script/executor_scheduler.yml: skipping test because 'maintainers' field 
is not specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/job_dependency/ex1.yml: skipping test because 'maintainers' field is not 
specified in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/shebang.yml: skipping test because 'maintainers' field is not specified 
in buildspec.
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/maintainers_example.yml: unable to find maintainer: @shahzebsiddiqui in 
buildspec which contains the following maintainers: ['@johndoe', '@bobsmith'] 
therefore we skip this test
Valid Buildspecs: 29
Invalid Buildspecs: 4
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/explicit_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/selinux.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/status_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/add_numbers.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/executor_regex_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/job_dependency/ex3.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/environment.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/runtime_status_test.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/tags_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/job_dependency/ex4.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/script/status_by_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/skip_tests.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/metrics_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/sleep.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/script/multiple_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/job_dependency/ex2.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/job_dependency_stream.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/gcc_version.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/script/executor_scheduler.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/job_dependency/ex1.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/shebang.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/maintainers_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/invalid_buildspec_section.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/invalid_tags.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/invalid_executor.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/burstbuffer_datawarp_executors.yml: INVALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
└──────────────────────────────────────────────────────────────────────────────┘
Total builder objects created: 1
Total compiler builder: 0
Total script builder: 1
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ hello_world/ef │ generic.local. │ None     │ hello world    │ /home/docs/che │
│ 2032ee         │ bash           │          │ example        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/hello_world │
│                │                │          │                │ .yml           │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
hello_world/ef2032ee: Creating test directory: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/hello_w
orld/hello_world/ef2032ee
hello_world/ef2032ee: Creating the stage directory: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/he
llo_world/hello_world/ef2032ee/stage
hello_world/ef2032ee: Writing build script: /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/hello_worl
d/hello_world/ef2032ee/hello_world_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
hello_world/ef2032ee does not have any dependencies adding test to queue
hello_world/ef2032ee: Running Test via command: bash --norc --noprofile -eo 
pipefail hello_world_build.sh
hello_world/ef2032ee: Test completed in 0.007092 seconds
hello_world/ef2032ee: Test completed with returncode: 0
hello_world/ef2032ee: Writing output file -  /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/hello_wor
ld/hello_world/ef2032ee/hello_world.out
hello_world/ef2032ee: Writing error file - /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/hello_world
/hello_world/ef2032ee/hello_world.err
In this iteration we are going to run the following tests: [hello_world/ef2032ee]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ Checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ Builder      ┃ executor     ┃ status ┃ Runtime)      ┃ ReturnCode ┃ Runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ hello_world/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.007092 │
│ ef2032ee     │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/buildt
est/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest_rydra99k.log

Please see Query 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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 21:00:05                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -b tutorials --filter type=script   │
│ --stage=build                                                                │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  33
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  33
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
skip: skipping test due to 'skip' property.
Valid Buildspecs: 29
Invalid Buildspecs: 4
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/csh_shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/status_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/tags_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/script/status_by_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/maintainers_example.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/job_dependency_stream.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/gcc_version.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/pass_returncode.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/job_dependency/ex2.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/job_dependency/ex1.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/vars.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/skip_tests.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/runtime_status_test.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/job_dependency/ex4.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/shebang.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/explicit_state.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/shell_examples.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/metrics_regex.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/sleep.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/hello_world.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/environment.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/selinux.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/executor_regex_script.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/script/multiple_executors.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/script/executor_scheduler.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/add_numbers.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/job_dependency/ex3.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/invalid_buildspec_section.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/invalid_executor.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/invalid_tags.yml: INVALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/burstbuffer_datawarp_executors.yml: INVALID
Total builder objects created: 62
Total compiler builder: 0
Total script builder: 62
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ circle_area/b7 │ generic.local. │ None     │ Calculate      │ /home/docs/che │
│ 7f0eb3         │ bash           │          │ circle of area │ ckouts/readthe │
│                │                │          │ given a radius │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/python-shel │
│                │                │          │                │ l.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ csh_shell/8e03 │ generic.local. │ None     │ csh shell      │ /home/docs/che │
│ 1afb           │ csh            │          │ example        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/csh_shell_e │
│                │                │          │                │ xamples.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ status_regex_p │ generic.local. │ None     │ Pass test      │ /home/docs/che │
│ ass/61800510   │ bash           │          │ based on       │ ckouts/readthe │
│                │                │          │ regular        │ docs.org/user_ │
│                │                │          │ expression     │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/status_rege │
│                │                │          │                │ x.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ status_regex_f │ generic.local. │ None     │ Pass test      │ /home/docs/che │
│ ail/3f532dc2   │ bash           │          │ based on       │ ckouts/readthe │
│                │                │          │ regular        │ docs.org/user_ │
│                │                │          │ expression     │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/status_rege │
│                │                │          │                │ x.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ string_tag/7f4 │ generic.local. │ None     │ tags can be a  │ /home/docs/che │
│ b8d90          │ bash           │          │ string         │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/tags_exampl │
│                │                │          │                │ e.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ list_of_string │ generic.local. │ None     │ tags can be a  │ /home/docs/che │
│ s_tags/1383d3a │ bash           │          │ list of        │ ckouts/readthe │
│ 0              │                │          │ strings        │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/tags_exampl │
│                │                │          │                │ e.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ status_returnc │ generic.local. │ None     │ define status  │ /home/docs/che │
│ ode_by_executo │ bash           │          │ per executor   │ ckouts/readthe │
│ rs/85592d86    │                │          │ type.          │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/script/stat │
│                │                │          │                │ us_by_executor │
│                │                │          │                │ s.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ status_returnc │ generic.local. │ None     │ define status  │ /home/docs/che │
│ ode_by_executo │ sh             │          │ per executor   │ ckouts/readthe │
│ rs/9fd97f7b    │                │          │ type.          │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/script/stat │
│                │                │          │                │ us_by_executor │
│                │                │          │                │ s.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ foo_bar/dceaf1 │ generic.local. │ None     │ prints         │ /home/docs/che │
│ d1             │ sh             │          │ variable $FOO  │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/maintainers │
│                │                │          │                │ _example.yml   │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ download_strea │ generic.local. │ None     │ None           │ /home/docs/che │
│ m/40c250b8     │ bash           │          │                │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/job_depende │
│                │                │          │                │ ncy_stream.yml │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ run_stream/728 │ generic.local. │ None     │ job dependency │ /home/docs/che │
│ 7568b          │ bash           │          │ on download_st │ ckouts/readthe │
│                │                │          │ ream           │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/job_depende │
│                │                │          │                │ ncy_stream.yml │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ python_hello/3 │ generic.local. │ None     │ Hello World    │ /home/docs/che │
│ 9c0780c        │ bash           │          │ python         │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/python-hell │
│                │                │          │                │ o.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ gcc_version/13 │ generic.local. │ None     │ Print gcc      │ /home/docs/che │
│ d4468a         │ bash           │          │ version        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/gcc_version │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ exit1_fail/c67 │ generic.local. │ None     │ exit 1 by      │ /home/docs/che │
│ 86ac7          │ bash           │          │ default is     │ ckouts/readthe │
│                │                │          │ FAIL           │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ exit1_pass/e7f │ generic.local. │ None     │ report exit 1  │ /home/docs/che │
│ 7be2d          │ bash           │          │ as PASS        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ returncode_lis │ generic.local. │ None     │ exit 2 failed  │ /home/docs/che │
│ t_mismatch/704 │ bash           │          │ since it       │ ckouts/readthe │
│ a914a          │                │          │ failed to      │ docs.org/user_ │
│                │                │          │ match          │ builds/buildte │
│                │                │          │ returncode 1   │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ returncode_int │ generic.local. │ None     │ exit 128       │ /home/docs/che │
│ _match/4ab2543 │ bash           │          │ matches        │ ckouts/readthe │
│ 1              │                │          │ returncode 128 │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ test1/ef354070 │ generic.local. │ None     │ This test will │ /home/docs/che │
│                │ bash           │          │ pass with exit │ ckouts/readthe │
│                │                │          │ 1              │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/job_depende │
│                │                │          │                │ ncy/ex2.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ test2/e2a779ed │ generic.local. │ None     │ This test will │ /home/docs/che │
│                │ bash           │          │ run if test1   │ ckouts/readthe │
│                │                │          │ has returncode │ docs.org/user_ │
│                │                │          │ 1              │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/job_depende │
│                │                │          │                │ ncy/ex2.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ test3/5f20e4ff │ generic.local. │ None     │ This test will │ /home/docs/che │
│                │ bash           │          │ run if test1   │ ckouts/readthe │
│                │                │          │ has returncode │ docs.org/user_ │
│                │                │          │ 1 and test2    │ builds/buildte │
│                │                │          │ has returncode │ st/checkouts/v │
│                │                │          │ 2              │ 0.14.0/tutoria │
│                │                │          │                │ ls/job_depende │
│                │                │          │                │ ncy/ex2.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ jobA/d4be6293  │ generic.local. │ None     │ no job         │ /home/docs/che │
│                │ bash           │          │ dependency     │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/job_depende │
│                │                │          │                │ ncy/ex1.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ jobB/c851fd93  │ generic.local. │ None     │ job dependency │ /home/docs/che │
│                │ bash           │          │ on jobA        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/job_depende │
│                │                │          │                │ ncy/ex1.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ jobC/a221cc8d  │ generic.local. │ None     │ job dependency │ /home/docs/che │
│                │ bash           │          │ on jobA and    │ ckouts/readthe │
│                │                │          │ jobB           │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/job_depende │
│                │                │          │                │ ncy/ex1.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ variables_bash │ generic.local. │ None     │ Declare shell  │ /home/docs/che │
│ /65b5b7f9      │ bash           │          │ variables in   │ ckouts/readthe │
│                │                │          │ bash           │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/vars.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ unskipped/565f │ generic.local. │ None     │ This test is   │ /home/docs/che │
│ 733f           │ bash           │          │ not skipped    │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/skip_tests. │
│                │                │          │                │ yml            │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ timelimit_min_ │ generic.local. │ None     │ Run a sleep    │ /home/docs/che │
│ max/ea9d5177   │ sh             │          │ job for 2      │ ckouts/readthe │
│                │                │          │ seconds and    │ docs.org/user_ │
│                │                │          │ test pass if   │ builds/buildte │
│                │                │          │ its within     │ st/checkouts/v │
│                │                │          │ 1.0-3.0sec     │ 0.14.0/tutoria │
│                │                │          │                │ ls/runtime_sta │
│                │                │          │                │ tus_test.yml   │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ timelimit_min/ │ generic.local. │ None     │ Run a sleep    │ /home/docs/che │
│ 519fd475       │ sh             │          │ job for 2      │ ckouts/readthe │
│                │                │          │ seconds and    │ docs.org/user_ │
│                │                │          │ test pass if   │ builds/buildte │
│                │                │          │ its exceeds    │ st/checkouts/v │
│                │                │          │ min time of    │ 0.14.0/tutoria │
│                │                │          │ 1.0 sec        │ ls/runtime_sta │
│                │                │          │                │ tus_test.yml   │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ timelimit_max/ │ generic.local. │ None     │ Run a sleep    │ /home/docs/che │
│ 867cd9c5       │ sh             │          │ job for 2      │ ckouts/readthe │
│                │                │          │ seconds and    │ docs.org/user_ │
│                │                │          │ test pass if   │ builds/buildte │
│                │                │          │ it's within    │ st/checkouts/v │
│                │                │          │ max time: 5.0  │ 0.14.0/tutoria │
│                │                │          │ sec            │ ls/runtime_sta │
│                │                │          │                │ tus_test.yml   │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ timelimit_min_ │ generic.local. │ None     │ This test      │ /home/docs/che │
│ fail/7b8a4aaa  │ sh             │          │ fails because  │ ckouts/readthe │
│                │                │          │ it runs less   │ docs.org/user_ │
│                │                │          │ than mintime   │ builds/buildte │
│                │                │          │ of 10 second   │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/runtime_sta │
│                │                │          │                │ tus_test.yml   │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ timelimit_max_ │ generic.local. │ None     │ This test      │ /home/docs/che │
│ fail/89ba5f96  │ sh             │          │ fails because  │ ckouts/readthe │
│                │                │          │ it exceeds     │ docs.org/user_ │
│                │                │          │ maxtime of 1.0 │ builds/buildte │
│                │                │          │ second         │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/runtime_sta │
│                │                │          │                │ tus_test.yml   │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ runtime_test/e │ generic.local. │ None     │ This test will │ /home/docs/che │
│ 33c9b88        │ bash           │          │ sleep 5 second │ ckouts/readthe │
│                │                │          │ but will fail  │ docs.org/user_ │
│                │                │          │ due to runtime │ builds/buildte │
│                │                │          │ 2sec           │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/job_depende │
│                │                │          │                │ ncy/ex4.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ runtime_test_p │ generic.local. │ None     │ This test will │ /home/docs/che │
│ ass/3d56580c   │ bash           │          │ run when runti │ ckouts/readthe │
│                │                │          │ me_test_pass   │ docs.org/user_ │
│                │                │          │ is PASS        │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/job_depende │
│                │                │          │                │ ncy/ex4.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ runtime_test_f │ generic.local. │ None     │ This test will │ /home/docs/che │
│ ail/5b271976   │ bash           │          │ run when runti │ ckouts/readthe │
│                │                │          │ me_test_pass   │ docs.org/user_ │
│                │                │          │ is FAIL        │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/job_depende │
│                │                │          │                │ ncy/ex4.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ bash_login_she │ generic.local. │ None     │ customize      │ /home/docs/che │
│ bang/7f7af01e  │ bash           │          │ shebang line   │ ckouts/readthe │
│                │                │          │ with bash      │ docs.org/user_ │
│                │                │          │ login shell    │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/shebang.yml │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ bash_nonlogin_ │ generic.local. │ None     │ customize      │ /home/docs/che │
│ shebang/2e4715 │ bash           │          │ shebang line   │ ckouts/readthe │
│ ec             │                │          │ with default   │ docs.org/user_ │
│                │                │          │ bash           │ builds/buildte │
│                │                │          │ (nonlogin)     │ st/checkouts/v │
│                │                │          │ shell          │ 0.14.0/tutoria │
│                │                │          │                │ ls/shebang.yml │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ always_pass/39 │ generic.local. │ None     │ This test will │ /home/docs/che │
│ be397f         │ sh             │          │ always 'PASS'  │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/explicit_st │
│                │                │          │                │ ate.yml        │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ always_fail/f6 │ generic.local. │ None     │ This test will │ /home/docs/che │
│ ecf622         │ sh             │          │ always 'FAIL'  │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/explicit_st │
│                │                │          │                │ ate.yml        │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ test_fail_retu │ generic.local. │ None     │ This test will │ /home/docs/che │
│ rncode_match/2 │ sh             │          │ 'FAIL' even if │ ckouts/readthe │
│ b16af99        │                │          │ we have        │ docs.org/user_ │
│                │                │          │ returncode     │ builds/buildte │
│                │                │          │ match          │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/explicit_st │
│                │                │          │                │ ate.yml        │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ test_pass_retu │ generic.local. │ None     │ This test will │ /home/docs/che │
│ rncode_mismatc │ sh             │          │ 'PASS' even if │ ckouts/readthe │
│ h/2b9778e7     │                │          │ we have        │ docs.org/user_ │
│                │                │          │ returncode     │ builds/buildte │
│                │                │          │ mismatch       │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/explicit_st │
│                │                │          │                │ ate.yml        │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ _bin_sh_shell/ │ generic.local. │ None     │ /bin/sh shell  │ /home/docs/che │
│ 39d88224       │ sh             │          │ example        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/shell_examp │
│                │                │          │                │ les.yml        │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ _bin_bash_shel │ generic.local. │ None     │ /bin/bash      │ /home/docs/che │
│ l/acb32dfb     │ bash           │          │ shell example  │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/shell_examp │
│                │                │          │                │ les.yml        │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ bash_shell/cec │ generic.local. │ None     │ bash shell     │ /home/docs/che │
│ 8b8e0          │ bash           │          │ example        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/shell_examp │
│                │                │          │                │ les.yml        │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ sh_shell/ab74c │ generic.local. │ None     │ sh shell       │ /home/docs/che │
│ 2b5            │ sh             │          │ example        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/shell_examp │
│                │                │          │                │ les.yml        │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ shell_options/ │ generic.local. │ None     │ shell options  │ /home/docs/che │
│ ea9efe74       │ sh             │          │                │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/shell_examp │
│                │                │          │                │ les.yml        │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ metric_regex_e │ generic.local. │ None     │ capture result │ /home/docs/che │
│ xample/038042f │ sh             │          │ metric from    │ ckouts/readthe │
│ 0              │                │          │ output         │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/metrics_reg │
│                │                │          │                │ ex.yml         │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ sleep/d52c22f1 │ generic.local. │ None     │ sleep 2        │ /home/docs/che │
│                │ bash           │          │ seconds        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/sleep.yml   │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ hello_world/71 │ generic.local. │ None     │ hello world    │ /home/docs/che │
│ cb79ae         │ bash           │          │ example        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/hello_world │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ bash_env_varia │ generic.local. │ None     │ Declare        │ /home/docs/che │
│ bles/0dff6038  │ bash           │          │ environment    │ ckouts/readthe │
│                │                │          │ variables in   │ docs.org/user_ │
│                │                │          │ default shell  │ builds/buildte │
│                │                │          │ (bash)         │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/environment │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ csh_env_declar │ generic.local. │ None     │ csh shell      │ /home/docs/che │
│ ation/c0cc8cf0 │ csh            │          │ example to     │ ckouts/readthe │
│                │                │          │ declare        │ docs.org/user_ │
│                │                │          │ environment    │ builds/buildte │
│                │                │          │ variables      │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/environment │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ tcsh_env_decla │ generic.local. │ None     │ tcsh shell     │ /home/docs/che │
│ ration/eb4b084 │ csh            │          │ example to     │ ckouts/readthe │
│ 8              │                │          │ declare        │ docs.org/user_ │
│                │                │          │ environment    │ builds/buildte │
│                │                │          │ variables      │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/environment │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ selinux_disabl │ generic.local. │ None     │ Check if       │ /home/docs/che │
│ e/005a1d5c     │ bash           │          │ SELinux is     │ ckouts/readthe │
│                │                │          │ Disabled       │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/selinux.yml │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ executor_regex │ generic.local. │ None     │ regular        │ /home/docs/che │
│ _script_schema │ bash           │          │ expression     │ ckouts/readthe │
│ /6718eee4      │                │          │ test with      │ docs.org/user_ │
│                │                │          │ executor using │ builds/buildte │
│                │                │          │ script schema  │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/executor_re │
│                │                │          │                │ gex_script.yml │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ executor_regex │ generic.local. │ None     │ regular        │ /home/docs/che │
│ _script_schema │ sh             │          │ expression     │ ckouts/readthe │
│ /83bb99e6      │                │          │ test with      │ docs.org/user_ │
│                │                │          │ executor using │ builds/buildte │
│                │                │          │ script schema  │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/executor_re │
│                │                │          │                │ gex_script.yml │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ executors_vars │ generic.local. │ None     │ Declaring env  │ /home/docs/che │
│ _env_declarati │ bash           │          │ and vars by    │ ckouts/readthe │
│ on/146980f4    │                │          │ executors      │ docs.org/user_ │
│                │                │          │ section        │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/script/mult │
│                │                │          │                │ iple_executors │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ executors_vars │ generic.local. │ None     │ Declaring env  │ /home/docs/che │
│ _env_declarati │ sh             │          │ and vars by    │ ckouts/readthe │
│ on/4aca8533    │                │          │ executors      │ docs.org/user_ │
│                │                │          │ section        │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/script/mult │
│                │                │          │                │ iple_executors │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ executors_sbat │ generic.local. │ None     │ Declaring env  │ /home/docs/che │
│ ch_declaration │ bash           │          │ and vars by    │ ckouts/readthe │
│ /8676c5c3      │                │          │ executors      │ docs.org/user_ │
│                │                │          │ section        │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/script/exec │
│                │                │          │                │ utor_scheduler │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ executors_sbat │ generic.local. │ None     │ Declaring env  │ /home/docs/che │
│ ch_declaration │ sh             │          │ and vars by    │ ckouts/readthe │
│ /e294b6df      │                │          │ executors      │ docs.org/user_ │
│                │                │          │ section        │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/script/exec │
│                │                │          │                │ utor_scheduler │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ add_numbers/0c │ generic.local. │ None     │ Add X+Y        │ /home/docs/che │
│ daf318         │ bash           │          │                │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/add_numbers │
│                │                │          │                │ .yml           │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ pass_test/43b8 │ generic.local. │ None     │ This test will │ /home/docs/che │
│ 72cf           │ bash           │          │ always pass    │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/job_depende │
│                │                │          │                │ ncy/ex3.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ fail_test/37c7 │ generic.local. │ None     │ This test will │ /home/docs/che │
│ 0330           │ bash           │          │ run if test    │ ckouts/readthe │
│                │                │          │ 'pass_test' is │ docs.org/user_ │
│                │                │          │ in state       │ builds/buildte │
│                │                │          │ 'PASS'         │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/job_depende │
│                │                │          │                │ ncy/ex3.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ pass_and_fail_ │ generic.local. │ None     │ This test will │ /home/docs/che │
│ test/e6d232ba  │ bash           │          │ run if         │ ckouts/readthe │
│                │                │          │ pass_test is   │ docs.org/user_ │
│                │                │          │ 'PASS' and     │ builds/buildte │
│                │                │          │ fail_test is   │ st/checkouts/v │
│                │                │          │ 'FAIL'         │ 0.14.0/tutoria │
│                │                │          │                │ ls/job_depende │
│                │                │          │                │ ncy/ex3.yml    │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ final_test/1f6 │ generic.local. │ None     │ Test will run  │ /home/docs/che │
│ 05508          │ bash           │          │ after          │ ckouts/readthe │
│                │                │          │ 'pass_test',   │ docs.org/user_ │
│                │                │          │ 'fail_test',   │ builds/buildte │
│                │                │          │ and 'pass_and_ │ st/checkouts/v │
│                │                │          │ fail_test'     │ 0.14.0/tutoria │
│                │                │          │                │ ls/job_depende │
│                │                │          │                │ ncy/ex3.yml    │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
circle_area/b77f0eb3: Creating test directory: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-
shell/circle_area/b77f0eb3
circle_area/b77f0eb3: Creating the stage directory: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/py
thon-shell/circle_area/b77f0eb3/stage
circle_area/b77f0eb3: Writing build script: /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-she
ll/circle_area/b77f0eb3/circle_area_build.sh
csh_shell/8e031afb: Creating test directory: /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/csh_shell_
examples/csh_shell/8e031afb
csh_shell/8e031afb: Creating the stage directory: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/csh_s
hell_examples/csh_shell/8e031afb/stage
csh_shell/8e031afb: Writing build script: /home/docs/checkouts/readthedocs.org/u
ser_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/csh_shell_exa
mples/csh_shell/8e031afb/csh_shell_build.sh
status_regex_pass/61800510: Creating test directory: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/s
tatus_regex/status_regex_pass/61800510
status_regex_pass/61800510: Creating the stage directory: /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/status_regex/status_regex_pass/61800510/stage
status_regex_pass/61800510: Writing build script: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/stat
us_regex/status_regex_pass/61800510/status_regex_pass_build.sh
status_regex_fail/3f532dc2: Creating test directory: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/s
tatus_regex/status_regex_fail/3f532dc2
status_regex_fail/3f532dc2: Creating the stage directory: /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/status_regex/status_regex_fail/3f532dc2/stage
status_regex_fail/3f532dc2: Writing build script: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/stat
us_regex/status_regex_fail/3f532dc2/status_regex_fail_build.sh
string_tag/7f4b8d90: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/tags_exa
mple/string_tag/7f4b8d90
string_tag/7f4b8d90: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/tag
s_example/string_tag/7f4b8d90/stage
string_tag/7f4b8d90: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/tags_exampl
e/string_tag/7f4b8d90/string_tag_build.sh
list_of_strings_tags/1383d3a0: Creating test directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/tags_example/list_of_strings_tags/1383d3a0
list_of_strings_tags/1383d3a0: Creating the stage directory: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.bash/tags_example/list_of_strings_tags/1383d3a0/stage
list_of_strings_tags/1383d3a0: Writing build script: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/t
ags_example/list_of_strings_tags/1383d3a0/list_of_strings_tags_build.sh
status_returncode_by_executors/85592d86: Creating test directory: /home/docs/che
ckouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic
.local.bash/status_by_executors/status_returncode_by_executors/85592d86
status_returncode_by_executors/85592d86: Creating the stage directory: /home/doc
s/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/ge
neric.local.bash/status_by_executors/status_returncode_by_executors/85592d86/sta
ge
status_returncode_by_executors/85592d86: Writing build script: /home/docs/checko
uts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.lo
cal.bash/status_by_executors/status_returncode_by_executors/85592d86/status_retu
rncode_by_executors_build.sh
status_returncode_by_executors/9fd97f7b: Creating test directory: /home/docs/che
ckouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic
.local.sh/status_by_executors/status_returncode_by_executors/9fd97f7b
status_returncode_by_executors/9fd97f7b: Creating the stage directory: /home/doc
s/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/ge
neric.local.sh/status_by_executors/status_returncode_by_executors/9fd97f7b/stage
status_returncode_by_executors/9fd97f7b: Writing build script: /home/docs/checko
uts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.lo
cal.sh/status_by_executors/status_returncode_by_executors/9fd97f7b/status_return
code_by_executors_build.sh
foo_bar/dceaf1d1: Creating test directory: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/maintainers_e
xample/foo_bar/dceaf1d1
foo_bar/dceaf1d1: Creating the stage directory: /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/maintain
ers_example/foo_bar/dceaf1d1/stage
foo_bar/dceaf1d1: Writing build script: /home/docs/checkouts/readthedocs.org/use
r_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/maintainers_exam
ple/foo_bar/dceaf1d1/foo_bar_build.sh
download_stream/40c250b8: Creating test directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/job
_dependency_stream/download_stream/40c250b8
download_stream/40c250b8: Creating the stage directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/job_dependency_stream/download_stream/40c250b8/stage
download_stream/40c250b8: Writing build script: /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/job_de
pendency_stream/download_stream/40c250b8/download_stream_build.sh
run_stream/7287568b: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/job_depe
ndency_stream/run_stream/7287568b
run_stream/7287568b: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/job
_dependency_stream/run_stream/7287568b/stage
run_stream/7287568b: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/job_depende
ncy_stream/run_stream/7287568b/run_stream_build.sh
python_hello/39c0780c: Creating test directory: /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python
-hello/python_hello/39c0780c
python_hello/39c0780c: Creating the stage directory: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/p
ython-hello/python_hello/39c0780c/stage
python_hello/39c0780c: Writing build script: /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-he
llo/python_hello/39c0780c/python_hello_build.sh
gcc_version/13d4468a: Creating test directory: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/gcc_ver
sion/gcc_version/13d4468a
gcc_version/13d4468a: Creating the stage directory: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/gc
c_version/gcc_version/13d4468a/stage
gcc_version/13d4468a: Writing build script: /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/gcc_versio
n/gcc_version/13d4468a/gcc_version_build.sh
exit1_fail/c6786ac7: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_ret
urncode/exit1_fail/c6786ac7
exit1_fail/c6786ac7: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pas
s_returncode/exit1_fail/c6786ac7/stage
exit1_fail/c6786ac7: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_return
code/exit1_fail/c6786ac7/exit1_fail_build.sh
exit1_pass/e7f7be2d: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_ret
urncode/exit1_pass/e7f7be2d
exit1_pass/e7f7be2d: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pas
s_returncode/exit1_pass/e7f7be2d/stage
exit1_pass/e7f7be2d: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_return
code/exit1_pass/e7f7be2d/exit1_pass_build.sh
returncode_list_mismatch/704a914a: Creating test directory: /home/docs/checkouts
/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local
.bash/pass_returncode/returncode_list_mismatch/704a914a
returncode_list_mismatch/704a914a: Creating the stage directory: /home/docs/chec
kouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.
local.bash/pass_returncode/returncode_list_mismatch/704a914a/stage
returncode_list_mismatch/704a914a: Writing build script: /home/docs/checkouts/re
adthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.ba
sh/pass_returncode/returncode_list_mismatch/704a914a/returncode_list_mismatch_bu
ild.sh
returncode_int_match/4ab25431: Creating test directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/pass_returncode/returncode_int_match/4ab25431
returncode_int_match/4ab25431: Creating the stage directory: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.bash/pass_returncode/returncode_int_match/4ab25431/stage
returncode_int_match/4ab25431: Writing build script: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/p
ass_returncode/returncode_int_match/4ab25431/returncode_int_match_build.sh
test1/ef354070: Creating test directory: /home/docs/checkouts/readthedocs.org/us
er_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex2/test1/ef3
54070
test1/ef354070: Creating the stage directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex2/test
1/ef354070/stage
test1/ef354070: Writing build script: /home/docs/checkouts/readthedocs.org/user_
builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex2/test1/ef3540
70/test1_build.sh
test2/e2a779ed: Creating test directory: /home/docs/checkouts/readthedocs.org/us
er_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex2/test2/e2a
779ed
test2/e2a779ed: Creating the stage directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex2/test
2/e2a779ed/stage
test2/e2a779ed: Writing build script: /home/docs/checkouts/readthedocs.org/user_
builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex2/test2/e2a779
ed/test2_build.sh
test3/5f20e4ff: Creating test directory: /home/docs/checkouts/readthedocs.org/us
er_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex2/test3/5f2
0e4ff
test3/5f20e4ff: Creating the stage directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex2/test
3/5f20e4ff/stage
test3/5f20e4ff: Writing build script: /home/docs/checkouts/readthedocs.org/user_
builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex2/test3/5f20e4
ff/test3_build.sh
jobA/d4be6293: Creating test directory: /home/docs/checkouts/readthedocs.org/use
r_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex1/jobA/d4be6
293
jobA/d4be6293: Creating the stage directory: /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex1/jobA/
d4be6293/stage
jobA/d4be6293: Writing build script: /home/docs/checkouts/readthedocs.org/user_b
uilds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex1/jobA/d4be6293
/jobA_build.sh
jobB/c851fd93: Creating test directory: /home/docs/checkouts/readthedocs.org/use
r_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex1/jobB/c851f
d93
jobB/c851fd93: Creating the stage directory: /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex1/jobB/
c851fd93/stage
jobB/c851fd93: Writing build script: /home/docs/checkouts/readthedocs.org/user_b
uilds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex1/jobB/c851fd93
/jobB_build.sh
jobC/a221cc8d: Creating test directory: /home/docs/checkouts/readthedocs.org/use
r_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex1/jobC/a221c
c8d
jobC/a221cc8d: Creating the stage directory: /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex1/jobC/
a221cc8d/stage
jobC/a221cc8d: Writing build script: /home/docs/checkouts/readthedocs.org/user_b
uilds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex1/jobC/a221cc8d
/jobC_build.sh
variables_bash/65b5b7f9: Creating test directory: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars
/variables_bash/65b5b7f9
variables_bash/65b5b7f9: Creating the stage directory: /home/docs/checkouts/read
thedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash
/vars/variables_bash/65b5b7f9/stage
variables_bash/65b5b7f9: Writing build script: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/va
riables_bash/65b5b7f9/variables_bash_build.sh
unskipped/565f733f: Creating test directory: /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/skip_test
s/unskipped/565f733f
unskipped/565f733f: Creating the stage directory: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/skip
_tests/unskipped/565f733f/stage
unskipped/565f733f: Writing build script: /home/docs/checkouts/readthedocs.org/u
ser_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/skip_tests/u
nskipped/565f733f/unskipped_build.sh
timelimit_min_max/ea9d5177: Creating test directory: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/run
time_status_test/timelimit_min_max/ea9d5177
timelimit_min_max/ea9d5177: Creating the stage directory: /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.s
h/runtime_status_test/timelimit_min_max/ea9d5177/stage
timelimit_min_max/ea9d5177: Writing build script: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/runtim
e_status_test/timelimit_min_max/ea9d5177/timelimit_min_max_build.sh
timelimit_min/519fd475: Creating test directory: /home/docs/checkouts/readthedoc
s.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/runtime
_status_test/timelimit_min/519fd475
timelimit_min/519fd475: Creating the stage directory: /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/ru
ntime_status_test/timelimit_min/519fd475/stage
timelimit_min/519fd475: Writing build script: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/runtime_st
atus_test/timelimit_min/519fd475/timelimit_min_build.sh
timelimit_max/867cd9c5: Creating test directory: /home/docs/checkouts/readthedoc
s.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/runtime
_status_test/timelimit_max/867cd9c5
timelimit_max/867cd9c5: Creating the stage directory: /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/ru
ntime_status_test/timelimit_max/867cd9c5/stage
timelimit_max/867cd9c5: Writing build script: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/runtime_st
atus_test/timelimit_max/867cd9c5/timelimit_max_build.sh
timelimit_min_fail/7b8a4aaa: Creating test directory: /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/ru
ntime_status_test/timelimit_min_fail/7b8a4aaa
timelimit_min_fail/7b8a4aaa: Creating the stage directory: /home/docs/checkouts/
readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.
sh/runtime_status_test/timelimit_min_fail/7b8a4aaa/stage
timelimit_min_fail/7b8a4aaa: Writing build script: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/runti
me_status_test/timelimit_min_fail/7b8a4aaa/timelimit_min_fail_build.sh
timelimit_max_fail/89ba5f96: Creating test directory: /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/ru
ntime_status_test/timelimit_max_fail/89ba5f96
timelimit_max_fail/89ba5f96: Creating the stage directory: /home/docs/checkouts/
readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.
sh/runtime_status_test/timelimit_max_fail/89ba5f96/stage
timelimit_max_fail/89ba5f96: Writing build script: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/runti
me_status_test/timelimit_max_fail/89ba5f96/timelimit_max_fail_build.sh
runtime_test/e33c9b88: Creating test directory: /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex4/ru
ntime_test/e33c9b88
runtime_test/e33c9b88: Creating the stage directory: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/e
x4/runtime_test/e33c9b88/stage
runtime_test/e33c9b88: Writing build script: /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex4/runti
me_test/e33c9b88/runtime_test_build.sh
runtime_test_pass/3d56580c: Creating test directory: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/e
x4/runtime_test_pass/3d56580c
runtime_test_pass/3d56580c: Creating the stage directory: /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/ex4/runtime_test_pass/3d56580c/stage
runtime_test_pass/3d56580c: Writing build script: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex4/
runtime_test_pass/3d56580c/runtime_test_pass_build.sh
runtime_test_fail/5b271976: Creating test directory: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/e
x4/runtime_test_fail/5b271976
runtime_test_fail/5b271976: Creating the stage directory: /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/ex4/runtime_test_fail/5b271976/stage
runtime_test_fail/5b271976: Writing build script: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex4/
runtime_test_fail/5b271976/runtime_test_fail_build.sh
bash_login_shebang/7f7af01e: Creating test directory: /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/
shebang/bash_login_shebang/7f7af01e
bash_login_shebang/7f7af01e: Creating the stage directory: /home/docs/checkouts/
readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.
bash/shebang/bash_login_shebang/7f7af01e/stage
bash_login_shebang/7f7af01e: Writing build script: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/she
bang/bash_login_shebang/7f7af01e/bash_login_shebang_build.sh
bash_nonlogin_shebang/2e4715ec: Creating test directory: /home/docs/checkouts/re
adthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.ba
sh/shebang/bash_nonlogin_shebang/2e4715ec
bash_nonlogin_shebang/2e4715ec: Creating the stage directory: /home/docs/checkou
ts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loc
al.bash/shebang/bash_nonlogin_shebang/2e4715ec/stage
bash_nonlogin_shebang/2e4715ec: Writing build script: /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/
shebang/bash_nonlogin_shebang/2e4715ec/bash_nonlogin_shebang_build.sh
always_pass/39be397f: Creating test directory: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/explicit_
state/always_pass/39be397f
always_pass/39be397f: Creating the stage directory: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/expl
icit_state/always_pass/39be397f/stage
always_pass/39be397f: Writing build script: /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/explicit_sta
te/always_pass/39be397f/always_pass_build.sh
always_fail/f6ecf622: Creating test directory: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/explicit_
state/always_fail/f6ecf622
always_fail/f6ecf622: Creating the stage directory: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/expl
icit_state/always_fail/f6ecf622/stage
always_fail/f6ecf622: Writing build script: /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/explicit_sta
te/always_fail/f6ecf622/always_fail_build.sh
test_fail_returncode_match/2b16af99: Creating test directory: /home/docs/checkou
ts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loc
al.sh/explicit_state/test_fail_returncode_match/2b16af99
test_fail_returncode_match/2b16af99: Creating the stage directory: /home/docs/ch
eckouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generi
c.local.sh/explicit_state/test_fail_returncode_match/2b16af99/stage
test_fail_returncode_match/2b16af99: Writing build script: /home/docs/checkouts/
readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.
sh/explicit_state/test_fail_returncode_match/2b16af99/test_fail_returncode_match
_build.sh
test_pass_returncode_mismatch/2b9778e7: Creating test directory: /home/docs/chec
kouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.
local.sh/explicit_state/test_pass_returncode_mismatch/2b9778e7
test_pass_returncode_mismatch/2b9778e7: Creating the stage directory: /home/docs
/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/gen
eric.local.sh/explicit_state/test_pass_returncode_mismatch/2b9778e7/stage
test_pass_returncode_mismatch/2b9778e7: Writing build script: /home/docs/checkou
ts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loc
al.sh/explicit_state/test_pass_returncode_mismatch/2b9778e7/test_pass_returncode
_mismatch_build.sh
_bin_sh_shell/39d88224: Creating test directory: /home/docs/checkouts/readthedoc
s.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/shell_e
xamples/_bin_sh_shell/39d88224
_bin_sh_shell/39d88224: Creating the stage directory: /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/sh
ell_examples/_bin_sh_shell/39d88224/stage
_bin_sh_shell/39d88224: Writing build script: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/shell_exam
ples/_bin_sh_shell/39d88224/_bin_sh_shell_build.sh
_bin_bash_shell/acb32dfb: Creating test directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/she
ll_examples/_bin_bash_shell/acb32dfb
_bin_bash_shell/acb32dfb: Creating the stage directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/shell_examples/_bin_bash_shell/acb32dfb/stage
_bin_bash_shell/acb32dfb: Writing build script: /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/shell_
examples/_bin_bash_shell/acb32dfb/_bin_bash_shell_build.sh
bash_shell/cec8b8e0: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/shell_ex
amples/bash_shell/cec8b8e0
bash_shell/cec8b8e0: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/she
ll_examples/bash_shell/cec8b8e0/stage
bash_shell/cec8b8e0: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/shell_examp
les/bash_shell/cec8b8e0/bash_shell_build.sh
sh_shell/ab74c2b5: Creating test directory: /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/shell_exampl
es/sh_shell/ab74c2b5
sh_shell/ab74c2b5: Creating the stage directory: /home/docs/checkouts/readthedoc
s.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/shell_e
xamples/sh_shell/ab74c2b5/stage
sh_shell/ab74c2b5: Writing build script: /home/docs/checkouts/readthedocs.org/us
er_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/shell_examples/
sh_shell/ab74c2b5/sh_shell_build.sh
shell_options/ea9efe74: Creating test directory: /home/docs/checkouts/readthedoc
s.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/shell_e
xamples/shell_options/ea9efe74
shell_options/ea9efe74: Creating the stage directory: /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/sh
ell_examples/shell_options/ea9efe74/stage
shell_options/ea9efe74: Writing build script: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/shell_exam
ples/shell_options/ea9efe74/shell_options_build.sh
metric_regex_example/038042f0: Creating test directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/
metrics_regex/metric_regex_example/038042f0
metric_regex_example/038042f0: Creating the stage directory: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.sh/metrics_regex/metric_regex_example/038042f0/stage
metric_regex_example/038042f0: Writing build script: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.sh/met
rics_regex/metric_regex_example/038042f0/metric_regex_example_build.sh
sleep/d52c22f1: Creating test directory: /home/docs/checkouts/readthedocs.org/us
er_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/sleep/sleep/d
52c22f1
sleep/d52c22f1: Creating the stage directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/sleep/sl
eep/d52c22f1/stage
sleep/d52c22f1: Writing build script: /home/docs/checkouts/readthedocs.org/user_
builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/sleep/sleep/d52c
22f1/sleep_build.sh
hello_world/71cb79ae: Creating test directory: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/hello_w
orld/hello_world/71cb79ae
hello_world/71cb79ae: Creating the stage directory: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/he
llo_world/hello_world/71cb79ae/stage
hello_world/71cb79ae: Writing build script: /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/hello_worl
d/hello_world/71cb79ae/hello_world_build.sh
bash_env_variables/0dff6038: Creating test directory: /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/
environment/bash_env_variables/0dff6038
bash_env_variables/0dff6038: Creating the stage directory: /home/docs/checkouts/
readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.
bash/environment/bash_env_variables/0dff6038/stage
bash_env_variables/0dff6038: Writing build script: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/env
ironment/bash_env_variables/0dff6038/bash_env_variables_build.sh
csh_env_declaration/c0cc8cf0: Creating test directory: /home/docs/checkouts/read
thedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/
environment/csh_env_declaration/c0cc8cf0
csh_env_declaration/c0cc8cf0: Creating the stage directory: /home/docs/checkouts
/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local
.csh/environment/csh_env_declaration/c0cc8cf0/stage
csh_env_declaration/c0cc8cf0: Writing build script: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/env
ironment/csh_env_declaration/c0cc8cf0/csh_env_declaration_build.sh
tcsh_env_declaration/eb4b0848: Creating test directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh
/environment/tcsh_env_declaration/eb4b0848
tcsh_env_declaration/eb4b0848: Creating the stage directory: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.csh/environment/tcsh_env_declaration/eb4b0848/stage
tcsh_env_declaration/eb4b0848: Writing build script: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.csh/en
vironment/tcsh_env_declaration/eb4b0848/tcsh_env_declaration_build.sh
selinux_disable/005a1d5c: Creating test directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/sel
inux/selinux_disable/005a1d5c
selinux_disable/005a1d5c: Creating the stage directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/selinux/selinux_disable/005a1d5c/stage
selinux_disable/005a1d5c: Writing build script: /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/selinu
x/selinux_disable/005a1d5c/selinux_disable_build.sh
executor_regex_script_schema/6718eee4: Creating test directory: /home/docs/check
outs/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.l
ocal.bash/executor_regex_script/executor_regex_script_schema/6718eee4
executor_regex_script_schema/6718eee4: Creating the stage directory: /home/docs/
checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/gene
ric.local.bash/executor_regex_script/executor_regex_script_schema/6718eee4/stage
executor_regex_script_schema/6718eee4: Writing build script: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.bash/executor_regex_script/executor_regex_script_schema/6718eee4/executor_rege
x_script_schema_build.sh
executor_regex_script_schema/83bb99e6: Creating test directory: /home/docs/check
outs/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.l
ocal.sh/executor_regex_script/executor_regex_script_schema/83bb99e6
executor_regex_script_schema/83bb99e6: Creating the stage directory: /home/docs/
checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/gene
ric.local.sh/executor_regex_script/executor_regex_script_schema/83bb99e6/stage
executor_regex_script_schema/83bb99e6: Writing build script: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.sh/executor_regex_script/executor_regex_script_schema/83bb99e6/executor_regex_
script_schema_build.sh
executors_vars_env_declaration/146980f4: Creating test directory: /home/docs/che
ckouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic
.local.bash/multiple_executors/executors_vars_env_declaration/146980f4
executors_vars_env_declaration/146980f4: Creating the stage directory: /home/doc
s/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/ge
neric.local.bash/multiple_executors/executors_vars_env_declaration/146980f4/stag
e
executors_vars_env_declaration/146980f4: Writing build script: /home/docs/checko
uts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.lo
cal.bash/multiple_executors/executors_vars_env_declaration/146980f4/executors_va
rs_env_declaration_build.sh
executors_vars_env_declaration/4aca8533: Creating test directory: /home/docs/che
ckouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic
.local.sh/multiple_executors/executors_vars_env_declaration/4aca8533
executors_vars_env_declaration/4aca8533: Creating the stage directory: /home/doc
s/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/ge
neric.local.sh/multiple_executors/executors_vars_env_declaration/4aca8533/stage
executors_vars_env_declaration/4aca8533: Writing build script: /home/docs/checko
uts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.lo
cal.sh/multiple_executors/executors_vars_env_declaration/4aca8533/executors_vars
_env_declaration_build.sh
executors_sbatch_declaration/8676c5c3: Creating test directory: /home/docs/check
outs/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.l
ocal.bash/executor_scheduler/executors_sbatch_declaration/8676c5c3
executors_sbatch_declaration/8676c5c3: Creating the stage directory: /home/docs/
checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/gene
ric.local.bash/executor_scheduler/executors_sbatch_declaration/8676c5c3/stage
executors_sbatch_declaration/8676c5c3: Writing build script: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.bash/executor_scheduler/executors_sbatch_declaration/8676c5c3/executors_sbatch
_declaration_build.sh
executors_sbatch_declaration/e294b6df: Creating test directory: /home/docs/check
outs/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.l
ocal.sh/executor_scheduler/executors_sbatch_declaration/e294b6df
executors_sbatch_declaration/e294b6df: Creating the stage directory: /home/docs/
checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/gene
ric.local.sh/executor_scheduler/executors_sbatch_declaration/e294b6df/stage
executors_sbatch_declaration/e294b6df: Writing build script: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.sh/executor_scheduler/executors_sbatch_declaration/e294b6df/executors_sbatch_d
eclaration_build.sh
add_numbers/0cdaf318: Creating test directory: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/add_num
bers/add_numbers/0cdaf318
add_numbers/0cdaf318: Creating the stage directory: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ad
d_numbers/add_numbers/0cdaf318/stage
add_numbers/0cdaf318: Writing build script: /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/add_number
s/add_numbers/0cdaf318/add_numbers_build.sh
pass_test/43b872cf: Creating test directory: /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex3/pass_
test/43b872cf
pass_test/43b872cf: Creating the stage directory: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex3/
pass_test/43b872cf/stage
pass_test/43b872cf: Writing build script: /home/docs/checkouts/readthedocs.org/u
ser_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex3/pass_tes
t/43b872cf/pass_test_build.sh
fail_test/37c70330: Creating test directory: /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex3/fail_
test/37c70330
fail_test/37c70330: Creating the stage directory: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex3/
fail_test/37c70330/stage
fail_test/37c70330: Writing build script: /home/docs/checkouts/readthedocs.org/u
ser_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex3/fail_tes
t/37c70330/fail_test_build.sh
pass_and_fail_test/e6d232ba: Creating test directory: /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/
ex3/pass_and_fail_test/e6d232ba
pass_and_fail_test/e6d232ba: Creating the stage directory: /home/docs/checkouts/
readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.
bash/ex3/pass_and_fail_test/e6d232ba/stage
pass_and_fail_test/e6d232ba: Writing build script: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex3
/pass_and_fail_test/e6d232ba/pass_and_fail_test_build.sh
final_test/1f605508: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex3/fina
l_test/1f605508
final_test/1f605508: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex3
/final_test/1f605508/stage
final_test/1f605508: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/ex3/final_t
est/1f605508/final_test_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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 21:00:06                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -t python --executor-type local     │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  2
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14… ║
║  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/python-hello.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/python-shell.yml: VALID
Total builder objects created: 2
Total compiler builder: 0
Total script builder: 2
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ python_hello/5 │ generic.local. │ None     │ Hello World    │ /home/docs/che │
│ 91d0856        │ bash           │          │ python         │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/python-hell │
│                │                │          │                │ o.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ circle_area/ab │ generic.local. │ None     │ Calculate      │ /home/docs/che │
│ 29f7b5         │ bash           │          │ circle of area │ ckouts/readthe │
│                │                │          │ given a radius │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/python-shel │
│                │                │          │                │ l.yml          │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
python_hello/591d0856: Creating test directory: /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python
-hello/python_hello/591d0856
python_hello/591d0856: Creating the stage directory: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/p
ython-hello/python_hello/591d0856/stage
python_hello/591d0856: Writing build script: /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-he
llo/python_hello/591d0856/python_hello_build.sh
circle_area/ab29f7b5: Creating test directory: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-
shell/circle_area/ab29f7b5
circle_area/ab29f7b5: Creating the stage directory: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/py
thon-shell/circle_area/ab29f7b5/stage
circle_area/ab29f7b5: Writing build script: /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-she
ll/circle_area/ab29f7b5/circle_area_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
circle_area/ab29f7b5 does not have any dependencies adding test to queue
python_hello/591d0856 does not have any dependencies adding test to queue
circle_area/ab29f7b5: Running Test via command: bash --norc --noprofile -eo 
pipefail circle_area_build.sh
python_hello/591d0856: Running Test via command: bash --norc --noprofile -eo 
pipefail python_hello_build.sh
python_hello/591d0856: Test completed in 0.105734 seconds
circle_area/ab29f7b5: Test completed in 0.105897 seconds
circle_area/ab29f7b5: Test completed with returncode: 0
python_hello/591d0856: Test completed with returncode: 0
circle_area/ab29f7b5: Writing output file -  /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-sh
ell/circle_area/ab29f7b5/circle_area.out
python_hello/591d0856: Writing output file -  /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-h
ello/python_hello/591d0856/python_hello.out
python_hello/591d0856: Writing error file - /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-hel
lo/python_hello/591d0856/python_hello.err
circle_area/ab29f7b5: Writing error file - /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-shel
l/circle_area/ab29f7b5/circle_area.err
In this iteration we are going to run the following tests: [circle_area/ab29f7b5, python_hello/591d0856]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ Checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ Builder      ┃ executor     ┃ status ┃ Runtime)      ┃ ReturnCode ┃ Runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ python_hello │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.105734 │
│ /591d0856    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ circle_area/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.105897 │
│ ab29f7b5     │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/buildt
est/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest__l8yohyc.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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 21:00:07                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -t python --executor-type batch     │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  2
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  2
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                            Buildspecs By Tag=python                            
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14… ║
║  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
circle_area/4cd46da4 is excluded since its not using batch executor
python_hello/773e488d is excluded since its not using batch executor
Valid Buildspecs: 2
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/python-shell.yml: VALID
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/python-hello.yml: VALID
                            Buildspecs Filtered out                             
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Buildspecs                                                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… │
└──────────────────────────────────────────────────────────────────────────────┘

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/v0.14.0/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

Discover Buildspecs

Now, let’s discuss how buildtest discovers buildspecs since there are several ways to build buildspecs.

The buildspec search resolution is described as follows:

  • If file or directory specified by -b option doesn’t exist we exit immediately.

  • If buildspec path is a directory, traverse directory recursively to find all .yml extensions

  • If buildspec path is a file, check if file extension is not .yml, exit immediately

  • If user specifies --tags or --executor we search in buildspec cache to discover buildspecs.

Shown below is a diagram on how buildtest discovers buildspecs. The user can build buildspecs by --buildspec, –tags, or –executor which will discover the buildspecs. You can exclude buildspecs using --exclude option which is processed after discovering buildspecs. The excluded buildspecs are removed from list if found and final list of buildspecs is processed.

../_images/DiscoverBuildspecs.jpg

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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 21:00:08                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -b tutorials/vars.yml --stage=parse │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  1
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/vars.yml: VALID
Total builder objects created: 1
Total compiler builder: 0
Total script builder: 1
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ variables_bash │ generic.local. │ None     │ Declare shell  │ /home/docs/che │
│ /4d6a1884      │ bash           │          │ variables in   │ ckouts/readthe │
│                │                │          │ bash           │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/vars.yml    │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘

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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 21:00:08                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -b tutorials/vars.yml --stage=build │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  1
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/vars.yml: VALID
Total builder objects created: 1
Total compiler builder: 0
Total script builder: 1
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ variables_bash │ generic.local. │ None     │ Declare shell  │ /home/docs/che │
│ /cb4036ab      │ bash           │          │ variables in   │ ckouts/readthe │
│                │                │          │ bash           │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/vars.yml    │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/cb4036ab: Creating test directory: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars
/variables_bash/cb4036ab
variables_bash/cb4036ab: Creating the stage directory: /home/docs/checkouts/read
thedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash
/vars/variables_bash/cb4036ab/stage
variables_bash/cb4036ab: Writing build script: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/va
riables_bash/cb4036ab/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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 21:00:09                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -b                                  │
│ tutorials/invalid_buildspec_section.yml                                      │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  1
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 0
Invalid Buildspecs: 1
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/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/v0.14.0/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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 21:00:09                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -b tutorials/invalid_executor.yml   │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  1
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 0
Invalid Buildspecs: 1
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/invalid_executor.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/v0.14.0/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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 21:00:09                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -b tutorials/python-shell.yml       │
│ --rebuild=3                                                                  │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  1
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/python-shell.yml: VALID
Total builder objects created: 3
Total compiler builder: 0
Total script builder: 3
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ circle_area/09 │ generic.local. │ None     │ Calculate      │ /home/docs/che │
│ 6cdcb3         │ bash           │          │ circle of area │ ckouts/readthe │
│                │                │          │ given a radius │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/python-shel │
│                │                │          │                │ l.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ circle_area/6a │ generic.local. │ None     │ Calculate      │ /home/docs/che │
│ 9e8df8         │ bash           │          │ circle of area │ ckouts/readthe │
│                │                │          │ given a radius │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/python-shel │
│                │                │          │                │ l.yml          │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ circle_area/97 │ generic.local. │ None     │ Calculate      │ /home/docs/che │
│ 3b8111         │ bash           │          │ circle of area │ ckouts/readthe │
│                │                │          │ given a radius │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/python-shel │
│                │                │          │                │ l.yml          │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
circle_area/096cdcb3: Creating test directory: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-
shell/circle_area/096cdcb3
circle_area/096cdcb3: Creating the stage directory: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/py
thon-shell/circle_area/096cdcb3/stage
circle_area/096cdcb3: Writing build script: /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-she
ll/circle_area/096cdcb3/circle_area_build.sh
circle_area/6a9e8df8: Creating test directory: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-
shell/circle_area/6a9e8df8
circle_area/6a9e8df8: Creating the stage directory: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/py
thon-shell/circle_area/6a9e8df8/stage
circle_area/6a9e8df8: Writing build script: /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-she
ll/circle_area/6a9e8df8/circle_area_build.sh
circle_area/973b8111: Creating test directory: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-
shell/circle_area/973b8111
circle_area/973b8111: Creating the stage directory: /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/py
thon-shell/circle_area/973b8111/stage
circle_area/973b8111: Writing build script: /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-she
ll/circle_area/973b8111/circle_area_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
circle_area/096cdcb3 does not have any dependencies adding test to queue
circle_area/6a9e8df8 does not have any dependencies adding test to queue
circle_area/973b8111 does not have any dependencies adding test to queue
circle_area/6a9e8df8: Running Test via command: bash --norc --noprofile -eo 
pipefail circle_area_build.sh
circle_area/096cdcb3: Running Test via command: bash --norc --noprofile -eo 
pipefail circle_area_build.sh
circle_area/096cdcb3: Test completed in 0.12613 seconds
circle_area/096cdcb3: Test completed with returncode: 0
circle_area/096cdcb3: Writing output file -  /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-sh
ell/circle_area/096cdcb3/circle_area.out
circle_area/6a9e8df8: Test completed in 0.129233 seconds
circle_area/6a9e8df8: Test completed with returncode: 0
circle_area/096cdcb3: Writing error file - /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-shel
l/circle_area/096cdcb3/circle_area.err
circle_area/6a9e8df8: Writing output file -  /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-sh
ell/circle_area/6a9e8df8/circle_area.out
circle_area/6a9e8df8: Writing error file - /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-shel
l/circle_area/6a9e8df8/circle_area.err
circle_area/973b8111: Running Test via command: bash --norc --noprofile -eo 
pipefail circle_area_build.sh
circle_area/973b8111: Test completed in 0.049463 seconds
circle_area/973b8111: Test completed with returncode: 0
circle_area/973b8111: Writing output file -  /home/docs/checkouts/readthedocs.or
g/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-sh
ell/circle_area/973b8111/circle_area.out
circle_area/973b8111: Writing error file - /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/python-shel
l/circle_area/973b8111/circle_area.err
In this iteration we are going to run the following tests: [circle_area/096cdcb3, circle_area/6a9e8df8, circle_area/973b8111]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ Checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ Builder      ┃ executor     ┃ status ┃ Runtime)      ┃ ReturnCode ┃ Runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ circle_area/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.12613  │
│ 096cdcb3     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ circle_area/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.049463 │
│ 973b8111     │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ circle_area/ │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.129233 │
│ 6a9e8df8     │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/buildt
est/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest_c9b1w9ov.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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 21:00:10                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -t fail --rebuild 2                 │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  1
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
                             Buildspecs By Tag=fail                             
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║  /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/pass_returncode.yml: VALID
Total builder objects created: 8
Total compiler builder: 0
Total script builder: 8
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ exit1_fail/bd0 │ generic.local. │ None     │ exit 1 by      │ /home/docs/che │
│ dfbd2          │ bash           │          │ default is     │ ckouts/readthe │
│                │                │          │ FAIL           │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ exit1_pass/7ce │ generic.local. │ None     │ report exit 1  │ /home/docs/che │
│ 7c5d7          │ bash           │          │ as PASS        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ returncode_lis │ generic.local. │ None     │ exit 2 failed  │ /home/docs/che │
│ t_mismatch/567 │ bash           │          │ since it       │ ckouts/readthe │
│ dff49          │                │          │ failed to      │ docs.org/user_ │
│                │                │          │ match          │ builds/buildte │
│                │                │          │ returncode 1   │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ returncode_int │ generic.local. │ None     │ exit 128       │ /home/docs/che │
│ _match/2295476 │ bash           │          │ matches        │ ckouts/readthe │
│ 5              │                │          │ returncode 128 │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ exit1_fail/971 │ generic.local. │ None     │ exit 1 by      │ /home/docs/che │
│ 7bcb0          │ bash           │          │ default is     │ ckouts/readthe │
│                │                │          │ FAIL           │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ exit1_pass/c6b │ generic.local. │ None     │ report exit 1  │ /home/docs/che │
│ 7938f          │ bash           │          │ as PASS        │ ckouts/readthe │
│                │                │          │                │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ returncode_lis │ generic.local. │ None     │ exit 2 failed  │ /home/docs/che │
│ t_mismatch/a56 │ bash           │          │ since it       │ ckouts/readthe │
│ 1d57c          │                │          │ failed to      │ docs.org/user_ │
│                │                │          │ match          │ builds/buildte │
│                │                │          │ returncode 1   │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
├────────────────┼────────────────┼──────────┼────────────────┼────────────────┤
│ returncode_int │ generic.local. │ None     │ exit 128       │ /home/docs/che │
│ _match/bf5a972 │ bash           │          │ matches        │ ckouts/readthe │
│ 1              │                │          │ returncode 128 │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/pass_return │
│                │                │          │                │ code.yml       │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
exit1_fail/bd0dfbd2: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_ret
urncode/exit1_fail/bd0dfbd2
exit1_fail/bd0dfbd2: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pas
s_returncode/exit1_fail/bd0dfbd2/stage
exit1_fail/bd0dfbd2: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_return
code/exit1_fail/bd0dfbd2/exit1_fail_build.sh
exit1_pass/7ce7c5d7: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_ret
urncode/exit1_pass/7ce7c5d7
exit1_pass/7ce7c5d7: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pas
s_returncode/exit1_pass/7ce7c5d7/stage
exit1_pass/7ce7c5d7: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_return
code/exit1_pass/7ce7c5d7/exit1_pass_build.sh
returncode_list_mismatch/567dff49: Creating test directory: /home/docs/checkouts
/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local
.bash/pass_returncode/returncode_list_mismatch/567dff49
returncode_list_mismatch/567dff49: Creating the stage directory: /home/docs/chec
kouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.
local.bash/pass_returncode/returncode_list_mismatch/567dff49/stage
returncode_list_mismatch/567dff49: Writing build script: /home/docs/checkouts/re
adthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.ba
sh/pass_returncode/returncode_list_mismatch/567dff49/returncode_list_mismatch_bu
ild.sh
returncode_int_match/22954765: Creating test directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/pass_returncode/returncode_int_match/22954765
returncode_int_match/22954765: Creating the stage directory: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.bash/pass_returncode/returncode_int_match/22954765/stage
returncode_int_match/22954765: Writing build script: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/p
ass_returncode/returncode_int_match/22954765/returncode_int_match_build.sh
exit1_fail/9717bcb0: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_ret
urncode/exit1_fail/9717bcb0
exit1_fail/9717bcb0: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pas
s_returncode/exit1_fail/9717bcb0/stage
exit1_fail/9717bcb0: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_return
code/exit1_fail/9717bcb0/exit1_fail_build.sh
exit1_pass/c6b7938f: Creating test directory: /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_ret
urncode/exit1_pass/c6b7938f
exit1_pass/c6b7938f: Creating the stage directory: /home/docs/checkouts/readthed
ocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pas
s_returncode/exit1_pass/c6b7938f/stage
exit1_pass/c6b7938f: Writing build script: /home/docs/checkouts/readthedocs.org/
user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_return
code/exit1_pass/c6b7938f/exit1_pass_build.sh
returncode_list_mismatch/a561d57c: Creating test directory: /home/docs/checkouts
/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local
.bash/pass_returncode/returncode_list_mismatch/a561d57c
returncode_list_mismatch/a561d57c: Creating the stage directory: /home/docs/chec
kouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.
local.bash/pass_returncode/returncode_list_mismatch/a561d57c/stage
returncode_list_mismatch/a561d57c: Writing build script: /home/docs/checkouts/re
adthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.ba
sh/pass_returncode/returncode_list_mismatch/a561d57c/returncode_list_mismatch_bu
ild.sh
returncode_int_match/bf5a9721: Creating test directory: /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/pass_returncode/returncode_int_match/bf5a9721
returncode_int_match/bf5a9721: Creating the stage directory: /home/docs/checkout
s/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.loca
l.bash/pass_returncode/returncode_int_match/bf5a9721/stage
returncode_int_match/bf5a9721: Writing build script: /home/docs/checkouts/readth
edocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/p
ass_returncode/returncode_int_match/bf5a9721/returncode_int_match_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
exit1_fail/9717bcb0 does not have any dependencies adding test to queue
returncode_list_mismatch/567dff49 does not have any dependencies adding test to 
queue
exit1_pass/c6b7938f does not have any dependencies adding test to queue
exit1_pass/7ce7c5d7 does not have any dependencies adding test to queue
returncode_int_match/bf5a9721 does not have any dependencies adding test to 
queue
exit1_fail/bd0dfbd2 does not have any dependencies adding test to queue
returncode_int_match/22954765 does not have any dependencies adding test to 
queue
returncode_list_mismatch/a561d57c does not have any dependencies adding test to 
queue
exit1_pass/c6b7938f: Running Test via command: bash --norc --noprofile -eo 
pipefail exit1_pass_build.sh
exit1_fail/9717bcb0: Running Test via command: bash --norc --noprofile -eo 
pipefail exit1_fail_build.sh
exit1_pass/c6b7938f: Test completed in 0.026627 seconds
exit1_fail/9717bcb0: Test completed in 0.023559 seconds
exit1_fail/9717bcb0: Test completed with returncode: 1
exit1_pass/c6b7938f: Test completed with returncode: 1
exit1_fail/9717bcb0: Writing output file -  /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_retur
ncode/exit1_fail/9717bcb0/exit1_fail.out
exit1_pass/c6b7938f: Writing output file -  /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_retur
ncode/exit1_pass/c6b7938f/exit1_pass.out
exit1_fail/9717bcb0: Writing error file - /home/docs/checkouts/readthedocs.org/u
ser_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_returnc
ode/exit1_fail/9717bcb0/exit1_fail.err
exit1_pass/c6b7938f: Writing error file - /home/docs/checkouts/readthedocs.org/u
ser_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_returnc
ode/exit1_pass/c6b7938f/exit1_pass.err
exit1_pass/c6b7938f: Checking returncode - 1 is matched in list [1]
returncode_list_mismatch/567dff49: Running Test via command: bash --norc 
--noprofile -eo pipefail returncode_list_mismatch_build.sh
returncode_int_match/bf5a9721: Running Test via command: bash --norc --noprofile
-eo pipefail returncode_int_match_build.sh
returncode_list_mismatch/567dff49: Test completed in 0.016076 seconds
returncode_list_mismatch/567dff49: Test completed with returncode: 2
returncode_list_mismatch/567dff49: Writing output file -  /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/pass_returncode/returncode_list_mismatch/567dff49/returncode_list_mismatch.o
ut
returncode_list_mismatch/567dff49: Writing error file - /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/pass_returncode/returncode_list_mismatch/567dff49/returncode_list_mismatch.err
returncode_list_mismatch/567dff49: Checking returncode - 2 is matched in list 
[1, 3]
returncode_int_match/bf5a9721: Test completed in 0.019859 seconds
returncode_int_match/bf5a9721: Test completed with returncode: 128
returncode_int_match/bf5a9721: Writing output file -  /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/
pass_returncode/returncode_int_match/bf5a9721/returncode_int_match.out
returncode_int_match/bf5a9721: Writing error file - /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pa
ss_returncode/returncode_int_match/bf5a9721/returncode_int_match.err
returncode_int_match/bf5a9721: Checking returncode - 128 is matched in list 
[128]
exit1_pass/7ce7c5d7: Running Test via command: bash --norc --noprofile -eo 
pipefail exit1_pass_build.sh
exit1_fail/bd0dfbd2: Running Test via command: bash --norc --noprofile -eo 
pipefail exit1_fail_build.sh
exit1_pass/7ce7c5d7: Test completed in 0.029596 seconds
exit1_pass/7ce7c5d7: Test completed with returncode: 1
exit1_pass/7ce7c5d7: Writing output file -  /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_retur
ncode/exit1_pass/7ce7c5d7/exit1_pass.out
exit1_pass/7ce7c5d7: Writing error file - /home/docs/checkouts/readthedocs.org/u
ser_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_returnc
ode/exit1_pass/7ce7c5d7/exit1_pass.err
exit1_fail/bd0dfbd2: Test completed in 0.023572 seconds
exit1_pass/7ce7c5d7: Checking returncode - 1 is matched in list [1]
exit1_fail/bd0dfbd2: Test completed with returncode: 1
exit1_fail/bd0dfbd2: Writing output file -  /home/docs/checkouts/readthedocs.org
/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_retur
ncode/exit1_fail/bd0dfbd2/exit1_fail.out
exit1_fail/bd0dfbd2: Writing error file - /home/docs/checkouts/readthedocs.org/u
ser_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pass_returnc
ode/exit1_fail/bd0dfbd2/exit1_fail.err
returncode_int_match/22954765: Running Test via command: bash --norc --noprofile
-eo pipefail returncode_int_match_build.sh
returncode_list_mismatch/a561d57c: Running Test via command: bash --norc 
--noprofile -eo pipefail returncode_list_mismatch_build.sh
returncode_int_match/22954765: Test completed in 0.030993 seconds
returncode_int_match/22954765: Test completed with returncode: 128
returncode_int_match/22954765: Writing output file -  /home/docs/checkouts/readt
hedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/
pass_returncode/returncode_int_match/22954765/returncode_int_match.out
returncode_int_match/22954765: Writing error file - /home/docs/checkouts/readthe
docs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/pa
ss_returncode/returncode_int_match/22954765/returncode_int_match.err
returncode_list_mismatch/a561d57c: Test completed in 0.027576 seconds
returncode_int_match/22954765: Checking returncode - 128 is matched in list 
[128]
returncode_list_mismatch/a561d57c: Test completed with returncode: 2
returncode_list_mismatch/a561d57c: Writing output file -  /home/docs/checkouts/r
eadthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.b
ash/pass_returncode/returncode_list_mismatch/a561d57c/returncode_list_mismatch.o
ut
returncode_list_mismatch/a561d57c: Writing error file - /home/docs/checkouts/rea
dthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bas
h/pass_returncode/returncode_list_mismatch/a561d57c/returncode_list_mismatch.err
returncode_list_mismatch/a561d57c: Checking returncode - 2 is matched in list 
[1, 3]
In this iteration we are going to run the following tests: [exit1_pass/c6b7938f, exit1_fail/9717bcb0, returncode_list_mismatch/567dff49, returncode_int_match/bf5a9721, exit1_pass/7ce7c5d7, exit1_fail/bd0dfbd2, returncode_int_match/22954765, returncode_list_mismatch/a561d57c]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ Checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ Builder      ┃ executor     ┃ status ┃ Runtime)      ┃ ReturnCode ┃ Runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ exit1_pass/c │ generic.loc… │ PASS   │ True False    │ 1          │ 0.026627 │
│ 6b7938f      │              │        │ False         │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_fail/9 │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.023559 │
│ 717bcb0      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_pass/7 │ generic.loc… │ PASS   │ True False    │ 1          │ 0.029596 │
│ ce7c5d7      │              │        │ False         │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_i │ generic.loc… │ PASS   │ True False    │ 128        │ 0.019859 │
│ nt_match/bf5 │              │        │ False         │            │          │
│ a9721        │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ exit1_fail/b │ generic.loc… │ FAIL   │ N/A N/A N/A   │ 1          │ 0.023572 │
│ d0dfbd2      │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_i │ generic.loc… │ PASS   │ True False    │ 128        │ 0.030993 │
│ nt_match/229 │              │        │ False         │            │          │
│ 54765        │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_l │ generic.loc… │ FAIL   │ False False   │ 2          │ 0.027576 │
│ ist_mismatch │              │        │ False         │            │          │
│ /a561d57c    │              │        │               │            │          │
├──────────────┼──────────────┼────────┼───────────────┼────────────┼──────────┤
│ returncode_l │ generic.loc… │ FAIL   │ False False   │ 2          │ 0.016076 │
│ ist_mismatch │              │        │ False         │            │          │
│ /567dff49    │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/buildt
est/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest_cpgzat93.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/pass_returncode.yml --rebuild 51
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0 │
│ /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 │ │
│ │                   0x7f191f8db210>                                        │ │
│ │        __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.12/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/v0.14.0 │
│ /buildtest/main.py:140 in main                                               │
│                                                                              │
│   137 │   │   │   │   modulepurge=args.module_purge,                         │
│   138 │   │   │   │   unload_modules=args.unload_modules,                    │
│   139 │   │   │   │   rerun=args.rerun,                                      │
│ ❱ 140 │   │   │   │   executor_type=args.executor_type,                      │
│   141 │   │   │   )                                                          │
│   142 │   │   │   cmd.build()                                                │
│   143                                                                        │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │               args = Namespace(account=None,                             │ │
│ │                      buildspec=['tutorials/pass_returncode.yml'],        │ │
│ │                      configfile=None, debug=False,                       │ │
│ │                      disable_executor_check=True, exclude=None,          │ │
│ │                      executor=None, executor_type=None, filter=None,     │ │
│ │                      helpfilter=False, keep_stage_dir=False,             │ │
│ │                      lastlog=False, maxpendtime=None,                    │ │
│ │                      module_purge=False, modules=None, no_color=False,   │ │
│ │                      nodes=None, pollinterval=None, procs=None,          │ │
│ │                      rebuild=51, report=None, rerun=False, retry=1,      │ │
│ │                      stage=None, subcommands='build', tags=None,         │ │
│ │                      testdir=None, unload_modules=None)                  │ │
│ │        config_file = None                                                │ │
│ │      configuration = <buildtest.config.SiteConfiguration object at       │ │
│ │                      0x7f191d8a1a50>                                     │ │
│ │              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         │ │
│ │                      0x7f191d8a1e10>                                     │ │
│ │ validate_executors = True                                                │ │
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
│                                                                              │
│ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0 │
│ /buildtest/cli/build.py:552 in __init__                                      │
│                                                                              │
│    549 │   │   │                                                             │
│    550 │   │   │   if rebuild > 50:                                          │
│    551 │   │   │   │   raise BuildTestError(                                 │
│ ❱  552 │   │   │   │   │   f"--rebuild {rebuild} exceeds maximum rebuild lim │
│    553 │   │   │   │   )                                                     │
│    554 │   │                                                                 │
│    555 │   │   self.keep_stage_dir = keep_stage_dir                          │
│                                                                              │
│ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
│ │            account = None                                                │ │
│ │         buildspecs = ['tutorials/pass_returncode.yml']                   │ │
│ │   buildtest_system = <buildtest.system.BuildTestSystem object at         │ │
│ │                      0x7f191d8a1e10>                                     │ │
│ │      configuration = <buildtest.config.SiteConfiguration object at       │ │
│ │                      0x7f191d8a1a50>                                     │ │
│ │ exclude_buildspecs = None                                                │ │
│ │      executor_type = None                                                │ │
│ │          executors = None                                                │ │
│ │  filter_buildspecs = None                                                │ │
│ │         helpfilter = False                                               │ │
│ │     keep_stage_dir = False                                               │ │
│ │        maxpendtime = None                                                │ │
│ │        modulepurge = False                                               │ │
│ │            modules = None                                                │ │
│ │           numnodes = None                                                │ │
│ │           numprocs = None                                                │ │
│ │      poll_interval = None                                                │ │
│ │            rebuild = 51                                                  │ │
│ │        report_file = None                                                │ │
│ │              rerun = False                                               │ │
│ │              retry = 1                                                   │ │
│ │               self = <buildtest.cli.build.BuildTest object at            │ │
│ │                      0x7f191d847090>                                     │ │
│ │              stage = None                                                │ │
│ │               tags = None                                                │ │
│ │            testdir = 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 summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 21:00:12                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build -b tutorials/vars.yml               │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  1
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/vars.yml: VALID
Total builder objects created: 1
Total compiler builder: 0
Total script builder: 1
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ variables_bash │ generic.local. │ None     │ Declare shell  │ /home/docs/che │
│ /815edcf8      │ bash           │          │ variables in   │ ckouts/readthe │
│                │                │          │ bash           │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/vars.yml    │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/815edcf8: Creating test directory: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars
/variables_bash/815edcf8
variables_bash/815edcf8: Creating the stage directory: /home/docs/checkouts/read
thedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash
/vars/variables_bash/815edcf8/stage
variables_bash/815edcf8: Writing build script: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/va
riables_bash/815edcf8/variables_bash_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/815edcf8 does not have any dependencies adding test to queue
variables_bash/815edcf8: Running Test via command: bash --norc --noprofile -eo 
pipefail variables_bash_build.sh
variables_bash/815edcf8: Test completed in 0.012766 seconds
variables_bash/815edcf8: Test completed with returncode: 0
variables_bash/815edcf8: Writing output file -  /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/v
ariables_bash/815edcf8/variables_bash.out
variables_bash/815edcf8: Writing error file - /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/var
iables_bash/815edcf8/variables_bash.err
In this iteration we are going to run the following tests: [variables_bash/815edcf8]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ Checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ Builder      ┃ executor     ┃ status ┃ Runtime)      ┃ ReturnCode ┃ Runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ variables_ba │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.012766 │
│ sh/815edcf8  │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/buildt
est/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest_qzrceyrd.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
Reading content of rerun file /home/docs/checkouts/readthedocs.org/user_builds/b
uildtest/checkouts/v0.14.0/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 21:00:13                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build --rerun                             │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  1
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/vars.yml: VALID
Total builder objects created: 1
Total compiler builder: 0
Total script builder: 1
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ variables_bash │ generic.local. │ None     │ Declare shell  │ /home/docs/che │
│ /d5722b14      │ bash           │          │ variables in   │ ckouts/readthe │
│                │                │          │ bash           │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/vars.yml    │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/d5722b14: Creating test directory: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars
/variables_bash/d5722b14
variables_bash/d5722b14: Creating the stage directory: /home/docs/checkouts/read
thedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash
/vars/variables_bash/d5722b14/stage
variables_bash/d5722b14: Writing build script: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/va
riables_bash/d5722b14/variables_bash_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/d5722b14 does not have any dependencies adding test to queue
variables_bash/d5722b14: Running Test via command: bash --norc --noprofile -eo 
pipefail variables_bash_build.sh
variables_bash/d5722b14: Test completed in 0.012702 seconds
variables_bash/d5722b14: Test completed with returncode: 0
variables_bash/d5722b14: Writing output file -  /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/v
ariables_bash/d5722b14/variables_bash.out
variables_bash/d5722b14: Writing error file - /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/var
iables_bash/d5722b14/variables_bash.err
In this iteration we are going to run the following tests: [variables_bash/d5722b14]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ Checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ Builder      ┃ executor     ┃ status ┃ Runtime)      ┃ ReturnCode ┃ Runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ variables_ba │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.012702 │
│ sh/d5722b14  │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/buildt
est/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest_ymo8cdni.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
Reading content of rerun file /home/docs/checkouts/readthedocs.org/user_builds/b
uildtest/checkouts/v0.14.0/var/rerun.json all other options will be ignored.
╭───────────────────────────── buildtest summary ──────────────────────────────╮
│                                                                              │
│ User:               docs                                                     │
│ Hostname:           build-16409578-project-280831-buildtest                  │
│ Platform:           Linux                                                    │
│ Current Time:       2022/03/18 21:00:13                                      │
│ buildtest path:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest                                           │
│ buildtest version:  0.14.0                                                   │
│ python path:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/envs/v0.14.0/bin/python3                                                  │
│ python version:     3.7.12                                                   │
│ Configuration File: /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/buildtest/settings/config.yml                           │
│ Test Directory:     /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/tests                                               │
│ Report File:        /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/var/report.json                                         │
│ Command:            /home/docs/checkouts/readthedocs.org/user_builds/buildte │
│ st/checkouts/v0.14.0/bin/buildtest build --rerun -t python --stage=build     │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
───────────────────────────  Discovering Buildspecs ────────────────────────────
Discovered Buildspecs:  1
Excluded Buildspecs:  0
Detected Buildspecs after exclusion:  1
                             Discovered buildspecs                              
╔══════════════════════════════════════════════════════════════════════════════╗
║ Buildspecs                                                                   ║
╟──────────────────────────────────────────────────────────────────────────────╢
║ /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.… ║
╚══════════════════════════════════════════════════════════════════════════════╝
────────────────────────────── Parsing Buildspecs ──────────────────────────────
Valid Buildspecs: 1
Invalid Buildspecs: 0
/home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/tut
orials/vars.yml: VALID
Total builder objects created: 1
Total compiler builder: 0
Total script builder: 1
Total spack builder: 0
                             Script Builder Details                             
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Builder        ┃ Executor       ┃ Compiler ┃ description    ┃ buildspecs     ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ variables_bash │ generic.local. │ None     │ Declare shell  │ /home/docs/che │
│ /510a33c3      │ bash           │          │ variables in   │ ckouts/readthe │
│                │                │          │ bash           │ docs.org/user_ │
│                │                │          │                │ builds/buildte │
│                │                │          │                │ st/checkouts/v │
│                │                │          │                │ 0.14.0/tutoria │
│                │                │          │                │ ls/vars.yml    │
└────────────────┴────────────────┴──────────┴────────────────┴────────────────┘
──────────────────────────────── Building Test ─────────────────────────────────
variables_bash/510a33c3: Creating test directory: /home/docs/checkouts/readthedo
cs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars
/variables_bash/510a33c3
variables_bash/510a33c3: Creating the stage directory: /home/docs/checkouts/read
thedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash
/vars/variables_bash/510a33c3/stage
variables_bash/510a33c3: Writing build script: /home/docs/checkouts/readthedocs.
org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/va
riables_bash/510a33c3/variables_bash_build.sh
──────────────────────────────── Running Tests ─────────────────────────────────
Spawning 2 processes for processing builders
───────────────────────────────── Iteration 1 ──────────────────────────────────
variables_bash/510a33c3 does not have any dependencies adding test to queue
variables_bash/510a33c3: Running Test via command: bash --norc --noprofile -eo 
pipefail variables_bash_build.sh
variables_bash/510a33c3: Test completed in 0.012788 seconds
variables_bash/510a33c3: Test completed with returncode: 0
variables_bash/510a33c3: Writing output file -  /home/docs/checkouts/readthedocs
.org/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/v
ariables_bash/510a33c3/variables_bash.out
variables_bash/510a33c3: Writing error file - /home/docs/checkouts/readthedocs.o
rg/user_builds/buildtest/checkouts/v0.14.0/var/tests/generic.local.bash/vars/var
iables_bash/510a33c3/variables_bash.err
In this iteration we are going to run the following tests: [variables_bash/510a33c3]
                                  Test Summary                                  
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓
┃              ┃              ┃        ┃ Checks        ┃            ┃          ┃
┃              ┃              ┃        ┃ (ReturnCode,  ┃            ┃          ┃
┃              ┃              ┃        ┃ Regex,        ┃            ┃          ┃
┃ Builder      ┃ executor     ┃ status ┃ Runtime)      ┃ ReturnCode ┃ Runtime  ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩
│ variables_ba │ generic.loc… │ PASS   │ N/A N/A N/A   │ 0          │ 0.012788 │
│ sh/510a33c3  │              │        │               │            │          │
└──────────────┴──────────────┴────────┴───────────────┴────────────┴──────────┘



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/buildt
est/checkouts/v0.14.0/var/report.json
Writing Logfile to: /home/docs/checkouts/readthedocs.org/user_builds/buildtest/checkouts/v0.14.0/var/logs/buildtest_omw1ifp3.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?.

Keeping Stage Directory

buildtest will create setup the test environment in the stage directory where test will be executed. Once test is complete, buildtest will remove the stage directory. If you want to preserve the stage directory you can use buildtest build --keep-stage-dir, this is only useful if you want to run the test manually

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