buildtest.executors.container

Module Contents

Classes

ContainerExecutor

The LocalExecutor class is responsible for running tests locally for

class buildtest.executors.container.ContainerExecutor(name, settings, site_configs, timeout=None, account=None, maxpendtime=None)[source]

Bases: buildtest.executors.local.LocalExecutor

The LocalExecutor class is responsible for running tests locally for bash, sh, csh and python shell. The LocalExecutor runs the tests and gathers the output and error results and writes to file.

Initiate a base executor, meaning we provide a name (also held by the BuildExecutor base that holds it) and the loaded dictionary of config opts to parse.

Parameters:
  • name (str) – name of executor

  • setting (dict) – setting for a given executor defined in configuration file

  • site_configs (buildtest.config.SiteConfiguration) – Instance of SiteConfiguration class

  • timeout (str, optional) – Test timeout in number of seconds

  • maxpendtime (int, optional) – Maximum Pending Time until job is cancelled. The default is 1 day (86400s)

  • account (str, optional) – Account to use for job submission

  • maxpendtime – Maximum Pending Time until job is cancelled. The default is 1 day (86400s)

type = 'container'