pymtt
 All Classes Namespaces Files Functions Variables Groups
Utilities

Plugins used by the MTT framework. More...

Plugins used by the MTT framework.

Compilers

Identify the type and version of compilers in-use

Copy

Copy a comma separated list of files, directories, and links

Parameters
srcThe name of the file, directory, or link to be copied
preserve_symlinksPreserve symlinks found inside directories

Copytree

Copy a directory tree from source to the same relative loation under the MTT scratch directory

Parameters
srcThe top directory of the tree to be copied
preserve_symlinksPreserve symlinks instead of copying the contents
preserve_directoryCopies directory instead of contents

ElkLogger

Log results to *.elog files with JSON entries to be later consumed by Elastic Stack (ELK) Uses pymtt.py options: elk_head, elk_id, elk_testcycle, elk_testcase, elk_debug, elk_chown, elk_maxsize, elk_nostdout, elk_nostderr

–elk_testcase specifies which testcase to log results as when using elk-friendly ouput. Also set through environment variable MTT_ELK_TESTCASE –elk_testcycle specifies which testcycle to log results as when using elk-friendly output. Also set through environment variable MTT_ELK_TESTCYCLE –elk_id specifies which execution id to log results as when using elk-friendly output. Also set through environment variable MTT_ELK_ID –elk_head specifies which location to log <caseid>_<elk_id>.elog files for elk_friendly output. Also set through environment variable MTT_ELK_HEAD –elk_chown specifies a max number of lines to log for stdout and stderr in elk-friendly output. Also set through environment variable MTT_ELK_CHOWN –elk_nostdout specifies whether to include stdout in elk-friendly output. Also set through environment variable MTT_ELK_NOSTDOUT –elk_nostderr specifies whether to include stderr in elk-friendly output. Also set through environment variable MTT_ELK_NOSTDERR –elk_debug specifies whether to output everything logged to *.elog files to the screen as extra verbose output. Also set through environment variable MTT_ELK_DEBUG –elk_hide_execmd comma delimited list of plugins and/or sections to hide execmd output from. Also set through environment variable MTT_ELK_HIDE_EXECMD. Use "Default" to hide execmd output when no plugin is specified.

Environ

Set environment variables

ExecuteCmd

Execute a command and capture its stdout and stderr

Logger

Log results and provide debug output when directed

ModuleCmd

Load/Unload an environmental module

MPIVersion

Identify the name and version of MPI in-use

Watchdog

Generate and exception after a given amount of time

Parameters
timeoutTime in seconds before generating exception