Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Str decorator_list FunctionDef arguments args defaults vararg kwarg body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Raise Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str BinOpMod Str NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Str orelse Return Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg body If NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Return BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad UnaryOpNot Call AttributeLoad NameLoad attr ListLoad Str Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Raise Call AttributeLoad NameLoad attr keyword Str keyword NameLoad If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Str Str Str Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore TupleLoad Num Num If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Slice Num NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str Dict Str Str NameLoad NameLoad orelse Assign NameStore AttributeLoad NameLoad attr TryExcept body Expr Call NameLoad ListLoad Str Str NameLoad Str keyword Call AttributeLoad NameLoad attr Expr Call NameLoad ListLoad AttributeLoad NameLoad attr Str Str Str Str Str Str keyword Call AttributeLoad NameLoad attr Expr Call NameLoad ListLoad AttributeLoad NameLoad attr Str Str Str Str keyword Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body If Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Raise Call NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Str Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr TryExcept body Expr Call NameLoad NameLoad keyword Call AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Raise Call NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Return BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str TryExcept body Expr Call AttributeLoad NameLoad attr ListLoad Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Raise decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr body TryExcept body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr For NameStore TupleLoad ListLoad Str Str Str ListLoad Str Str body Expr Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad NameLoad attr Str If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call NameLoad Str orelse Expr Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore Str If NameLoad body Assign NameStore Str Assign NameStore Str orelse If NameLoad body If CompareEq NameLoad Str body Pass orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str NameLoad orelse If NameLoad body Assign NameStore NameLoad orelse If NameLoad body Assign NameStore BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad Num body Expr Str If BoolOpAnd NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad If CompareNotEq NameLoad Num body Assign NameStore BinOpMod Str NameLoad Assign NameStore BinOpMod Str Dict Str Str Str Str AttributeLoad NameLoad attr NameLoad NameLoad BoolOpOr NameLoad AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore ListLoad AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr Index Num Assign NameStore Call AttributeLoad NameLoad attr Str Return Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A N/A os N/A shutil N/A subprocess N/A sys N/A tempfile oslo_utils encodeutils rally.common costilius rally.common.i18n _ rally.common.io subunit_v2 rally.common logging rally consts rally exceptions rally.verification.tempest config N/A TEMPEST_SOURCE https://git.openstack.org/openstack/tempest N/A LOG N/A N/A logging getLogger __name__ TempestSetupFailure N/A N/A exceptions RallyException N/A N/A msg_fmt N/A _ Unable to setup Tempest: %(message)s N/A check_output N/A N/A N/A args kwargs N/A N/A N/A kwargs N/A stderr N/A subprocess STDOUT N/A N/A N/A output N/A N/A costilius sp_check_output args kwargs N/A N/A N/A N/A subprocess CalledProcessError N/A e N/A N/A N/A N/A LOG error N/A Failed cmd: '%s' N/A e cmd N/A N/A N/A LOG error N/A Error output: '%s' N/A N/A encodeutils safe_decode N/A e output N/A N/A N/A N/A LOG debug N/A subprocess output: '%s' N/A N/A encodeutils safe_decode output N/A output N/A Tempest N/A object N/A N/A base_repo_dir N/A N/A N/A os path join N/A N/A N/A os path expanduser ~ .rally/tempest/base __init__ N/A N/A self deployment verification tempest_config source system_wide N/A None None None False N/A N/A N/A self tempest_source N/A source TEMPEST_SOURCE N/A N/A self deployment deployment N/A N/A self _path N/A N/A N/A os path join N/A N/A N/A os path expanduser ~ .rally/tempest N/A for-deployment-%s deployment N/A N/A self config_file N/A tempest_config N/A N/A self path tempest.conf N/A N/A self log_file_raw N/A N/A self path subunit.stream N/A N/A self verification verification N/A N/A self _env None N/A N/A self _base_repo None N/A N/A self _system_wide system_wide N/A _generate_env N/A N/A self N/A N/A N/A env N/A N/A N/A os environ copy N/A N/A env N/A TEMPEST_CONFIG_DIR N/A N/A N/A os path dirname N/A self config_file N/A N/A env N/A TEMPEST_CONFIG N/A N/A N/A os path basename N/A self config_file N/A N/A env N/A OS_TEST_PATH N/A N/A self path tempest/test_discover N/A N/A N/A LOG debug N/A Generated environ: %s env N/A N/A self _env env N/A venv_wrapper N/A N/A self N/A N/A N/A N/A self _system_wide N/A N/A N/A N/A N/A N/A self path tools/with_venv.sh N/A property env N/A N/A self N/A N/A N/A N/A N/A self _env N/A N/A N/A N/A self _generate_env N/A N/A self _env N/A property path N/A N/A self N/A inner_path N/A N/A inner_path N/A N/A N/A N/A N/A os path join N/A self _path inner_path N/A N/A self _path N/A _is_git_repo N/A N/A directory N/A N/A N/A N/A open N/A os devnull w devnull N/A N/A N/A N/A N/A N/A os path isdir directory N/A N/A N/A subprocess call N/A git status stdout devnull stderr N/A subprocess STDOUT cwd N/A N/A N/A os path abspath directory N/A staticmethod _move_contents_to_dir N/A N/A base directory N/A N/A N/A Moves contents of directory :base into directory :directory

        :param base: source directory to move files from
        :param directory: directory to move files to
         N/A filename N/A N/A os listdir base N/A N/A source N/A N/A N/A os path join base filename N/A N/A N/A LOG debug N/A N/A Moving file {source} to {dest} format source source dest directory N/A N/A N/A shutil move source N/A N/A N/A os path join directory filename N/A staticmethod base_repo N/A N/A self N/A N/A N/A Get directory to clone tempest to

        old:
            _ rally/tempest
            |_base -> clone from source to here
            |_for-deployment-<UUID1> -> copy from relevant tempest base
            |_for-deployment-<UUID2> -> copy from relevant tempest base

        new:
            _ rally/tempest
            |_base
            ||_ tempest_base-<rand suffix specific for source> -> clone
            ||        from source to here
            ||_ tempest_base-<rand suffix 2>
            |_for-deployment-<UUID1> -> copy from relevant tempest base
            |_for-deployment-<UUID2> -> copy from relevant tempest base

         N/A N/A N/A N/A os path exists N/A Tempest base_repo_dir N/A N/A N/A N/A self _is_git_repo N/A Tempest base_repo_dir N/A N/A directory N/A N/A tempfile mkdtemp prefix N/A N/A N/A os path join N/A Tempest base_repo_dir tempest_base- N/A N/A N/A LOG debug N/A Upgrading Tempest directory tree: Moving Tempest base dir %s into subdirectory %s N/A N/A Tempest base_repo_dir directory N/A N/A N/A self _move_contents_to_dir N/A Tempest base_repo_dir directory N/A N/A N/A self _base_repo N/A N/A repos N/A d N/A d N/A N/A os listdir N/A Tempest base_repo_dir N/A N/A N/A self _is_git_repo d N/A N/A self tempest_source N/A N/A self _get_remote_origin d N/A N/A N/A len repos 1 N/A N/A N/A N/A exceptions MultipleMatchesFound needle git directory haystack repos N/A repos N/A N/A N/A self _base_repo N/A N/A repos pop N/A N/A N/A N/A os makedirs N/A Tempest base_repo_dir N/A N/A N/A self _base_repo N/A N/A N/A self _base_repo N/A N/A tempfile mkdtemp prefix N/A N/A N/A os path join N/A N/A N/A os path abspath N/A Tempest base_repo_dir tempest_base- N/A N/A self _base_repo N/A property _get_remote_origin N/A N/A directory N/A N/A N/A out N/A check_output N/A git config --get remote.origin.url cwd N/A N/A N/A os path abspath directory N/A N/A N/A out strip N/A staticmethod _install_venv N/A N/A self N/A N/A N/A path_to_venv N/A N/A self path .venv N/A N/A N/A N/A N/A os path isdir path_to_venv N/A N/A N/A N/A LOG debug No virtual environment for Tempest found. N/A N/A N/A LOG info N/A _ Installing the virtual environment for Tempest. N/A N/A N/A LOG debug N/A Virtual environment directory: %s path_to_venv N/A required_vers N/A 2 7 N/A N/A N/A N/A sys version_info N/A 2 required_vers N/A N/A python_interpreter N/A N/A costilius get_interpreter required_vers N/A N/A python_interpreter N/A N/A N/A N/A exceptions IncompatiblePythonVersion version N/A sys version required_version required_vers N/A N/A N/A LOG info N/A N/A _ Tempest requires Python %(required)s, '%(found)s' was found in your system and it will be used for installing virtual environment. N/A required found required_vers python_interpreter N/A N/A python_interpreter N/A sys executable N/A N/A N/A N/A check_output N/A virtualenv -p python_interpreter .venv cwd N/A N/A self path N/A N/A check_output N/A N/A self venv_wrapper pip install -r requirements.txt -r test-requirements.txt cwd N/A N/A self path N/A N/A check_output N/A N/A self venv_wrapper pip install -e ./ cwd N/A N/A self path N/A N/A N/A N/A subprocess CalledProcessError N/A N/A N/A N/A N/A os path exists N/A N/A self path .venv N/A N/A N/A N/A shutil rmtree N/A N/A self path .venv N/A N/A TempestSetupFailure N/A _ failed to install virtualenv N/A is_configured N/A N/A self N/A N/A N/A N/A N/A N/A os path isfile N/A self config_file N/A generate_config_file N/A N/A self override N/A False N/A N/A Generate configuration file of Tempest for current deployment.

        :param override: Whether or not to override existing Tempest
                         config file
         N/A N/A N/A N/A N/A self is_configured override N/A N/A N/A override N/A N/A N/A N/A LOG info N/A _ Tempest is not configured. N/A N/A N/A LOG info N/A _ Starting: Creating configuration file for Tempest. N/A N/A N/A N/A N/A config TempestConfig N/A self deployment generate N/A self config_file N/A N/A N/A LOG info N/A _ Completed: Creating configuration file for Tempest. N/A N/A N/A N/A LOG info Tempest is already configured. N/A _initialize_testr N/A N/A self N/A N/A N/A N/A N/A N/A N/A os path isdir N/A N/A self path .testrepository N/A N/A N/A N/A LOG debug Initialization of 'testr'. N/A cmd N/A testr init N/A N/A self venv_wrapper N/A N/A N/A N/A cmd insert 0 N/A self venv_wrapper N/A N/A N/A N/A check_output cmd cwd N/A N/A self path N/A N/A N/A N/A N/A subprocess CalledProcessError OSError N/A N/A N/A N/A N/A os path exists N/A N/A self path .testrepository N/A N/A N/A N/A shutil rmtree N/A N/A self path .testrepository N/A N/A TempestSetupFailure N/A _ Failed to initialize 'testr' N/A is_installed N/A N/A self N/A N/A N/A N/A self _system_wide N/A N/A N/A N/A N/A os path exists N/A N/A self path .testrepository N/A N/A N/A N/A N/A os path exists N/A N/A self path .venv N/A N/A N/A os path exists N/A N/A self path .testrepository N/A _clone N/A N/A self N/A N/A N/A N/A N/A LOG info N/A _ Please, wait while Tempest is being cloned. N/A N/A N/A N/A N/A subprocess check_call N/A git clone N/A self tempest_source N/A self base_repo N/A N/A N/A N/A subprocess CalledProcessError N/A N/A N/A N/A N/A os path exists N/A self base_repo N/A N/A N/A N/A shutil rmtree N/A self base_repo N/A N/A install N/A N/A self N/A N/A N/A Creates local Tempest repo and virtualenv for deployment. N/A N/A N/A N/A self is_installed N/A N/A N/A N/A N/A N/A N/A N/A os path exists N/A N/A self path N/A N/A N/A N/A N/A self _is_git_repo N/A self base_repo N/A N/A N/A N/A self _clone N/A N/A N/A shutil copytree N/A self base_repo N/A N/A self path N/A cmd N/A N/A git checkout master N/A git pull N/A N/A N/A N/A subprocess check_call cmd cwd N/A N/A self path tempest N/A N/A N/A self _system_wide N/A N/A N/A N/A self _install_venv N/A N/A N/A self _initialize_testr N/A N/A N/A N/A subprocess CalledProcessError N/A e N/A N/A N/A N/A self uninstall N/A N/A TempestSetupFailure N/A failed cmd: '%s' N/A e cmd N/A N/A N/A N/A LOG info N/A _ Tempest has been successfully installed! N/A N/A N/A N/A LOG info N/A _ Tempest is already installed. N/A uninstall N/A N/A self N/A N/A N/A Removes local Tempest repo and virtualenv for deployment

         Checks that local repo exists first.
         N/A N/A N/A N/A os path exists N/A N/A self path N/A N/A N/A N/A shutil rmtree N/A N/A self path N/A _prepare_and_run N/A N/A self set_name regex tests_file concur failing N/A N/A N/A N/A N/A N/A self is_configured N/A N/A N/A N/A self generate_config_file N/A testr_args N/A failing N/A N/A testr_args --failing N/A set_name re-run-failed N/A N/A set_name N/A N/A N/A set_name full N/A N/A N/A N/A N/A set_name N/A consts TempestTestsSets N/A N/A testr_args set_name N/A N/A N/A set_name N/A consts TempestTestsAPI N/A N/A testr_args N/A tempest.api.%s set_name N/A N/A regex N/A N/A testr_args regex N/A N/A tests_file N/A N/A testr_args N/A --load-list %s N/A N/A N/A os path abspath tests_file N/A N/A N/A N/A self verification start_verifying set_name N/A N/A N/A N/A N/A self run testr_args concur concur N/A N/A N/A N/A subprocess CalledProcessError N/A N/A N/A N/A LOG info N/A _ Test run has been finished with errors. Check logs for details. N/A N/A N/A logging log_verification_wrapper N/A LOG info N/A _ Run verification. run N/A N/A self testr_args log_file tempest_conf concur N/A None None 0 N/A N/A Run Tempest.

        :param testr_args: Arguments which will be passed to testr
        :param log_file: Path to a file for raw subunit stream logs.
                         If not specified, the value from "self.log_file_raw"
                         will be used as the path to the file
        :param tempest_conf: User specified Tempest config file location
        :param concur: How many processes to use to run Tempest tests.
                       The default value (0) auto-detects CPU count
         N/A N/A tempest_conf N/A N/A N/A os path isfile tempest_conf N/A N/A N/A self config_file tempest_conf N/A N/A N/A LOG info N/A N/A _ Tempest config file: %s N/A self config_file N/A concur_args N/A --concurrency %d concur N/A N/A concur 1 N/A N/A concur_args N/A --parallel %s concur_args N/A test_cmd N/A %(venv)s testr run --subunit %(concur_args)s %(testr_args)s | tee %(log_file)s | %(venv)s subunit-trace -f -n N/A venv concur_args testr_args log_file N/A self venv_wrapper concur_args testr_args N/A log_file N/A self log_file_raw N/A N/A N/A config TempestResourcesContext N/A self deployment N/A self verification N/A self config_file N/A N/A N/A N/A LOG debug N/A Test(s) started by the command: %s test_cmd N/A N/A N/A subprocess check_call test_cmd cwd N/A N/A self path env N/A self env shell True N/A discover_tests N/A N/A self pattern N/A N/A N/A Get a list of discovered tests.

        :param pattern: Test name pattern which can be used to match
         N/A cmd N/A N/A self venv_wrapper testr list-tests pattern N/A raw_results N/A N/A N/A N/A N/A subprocess Popen cmd cwd N/A N/A self path env N/A self env stdout N/A subprocess PIPE communicate N/A 0 N/A index N/A N/A raw_results find tempest. N/A N/A N/A N/A raw_results N/A index split N/A parse_results N/A N/A self log_file expected_failures N/A None None N/A N/A Parse subunit raw log file. N/A log_file_raw N/A log_file N/A self log_file_raw N/A N/A N/A N/A os path isfile log_file_raw N/A N/A N/A N/A subunit_v2 parse_results_file log_file_raw expected_failures N/A N/A N/A N/A LOG error JSON-log file not found. N/A None N/A _save_results N/A N/A self log_file expected_failures N/A None None N/A N/A results N/A N/A self parse_results log_file expected_failures N/A N/A results N/A self verification N/A N/A N/A N/A N/A self verification finish_verification total N/A results total test_cases N/A results tests N/A N/A N/A N/A N/A self verification set_failed N/A N/A N/A logging log_verification_wrapper N/A LOG info N/A _ Saving verification results. verify N/A N/A self set_name regex tests_file expected_failures concur failing N/A N/A N/A N/A N/A self _prepare_and_run set_name regex tests_file concur failing N/A N/A N/A self _save_results expected_failures expected_failures N/A import_results N/A N/A self set_name log_file N/A N/A N/A log_file N/A N/A N/A N/A N/A self verification start_verifying set_name N/A N/A N/A self _save_results log_file N/A N/A N/A N/A LOG error No log file to import results was specified. N/A N/A