client.shared: Add utils for OpenVSwitch patch

ForAllxx:
  run object method on every object in list

  ForAll[a,b,c].print()

Signed-off-by: Jiří Župka <jzupka@redhat.com>
client.shared.mail_unittest: Fix problem running under py 2.4

It's not possible to access directly email.Message.Message() on
python 2.4. One must import Message from email and then use
Message.Message(). Fix that and get the unittest working on
2.4.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
frontend/setup.py: Install frontend.wsgi

The setup script was skipping frontend.wsgi, let's add
it to the list of files installed.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
client/tools: Removing koji_pkgspec tool

As this is a better suite for the virt tests, since
the main libs to interact with a koji server are there.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
frontend/setup.py: Fix frontend.wsgi rule

It was wrong, my mistake, sorry.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
client: Add utility functions for uptime and cpu stats

Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
client/tools: Remove tapfd_helper script

This tapfd_helper tool is used for virt test, and
depends some virt modules, thus move it to virt-test
repo.

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
client/tools: make_clean - Ensure script works regardless of dir

This is a fix for issue #573.

The make_clean script was originally intended to be run
only from the client/ directory. So let's force the cwd
to be changed to the appropriate dir before trying to clean
the directories. This way it'll work from any directory.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Allow multiple entries for test_dir, separated by commas.

For example:
[COMMON]
...
test_dir=/usr/local/autotest-tests,/usr/local/special-tests

Signed-off-by: Julius Gawlas <julius.gawlas@hp.com>
Fail if specified tests are not in relative path.

If test path is not inside base test dir, the subsequent
test load will fail so instead notify user right away.

Signed-off-by: Julius Gawlas <julius.gawlas@hp.com>
For testware residing in test_dir transfer it to system under test

If test_dir is specified and we find tests there tar them to SUT.

Signed-off-by: Julius Gawlas <julius.gawlas@hp.com>
Use additional dirs specified by test_dir when searching for control file

If test_dir is specified in COMMON section of global_config.ini,
treat it as comma separated list of places where to look for location
of test config file.

Signed-off-by: Julius Gawlas <julius.gawlas@hp.com>
regression.py: always display +/- before significant

We only display +/- before significant if p-value is larger than 0.05,
it's not clear to know if the performance enhances or not.

Signed-off-by: Amos Kong <akong@redhat.com>
unittest_suite: Include xterm-256color to allowed_terms

So we have colored output on Fedora 18.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
check_patch: Don't check run_pylint.py

As making run_pylint.py to check itself was triggering
an infinite recursion loop.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
client: Add cgroup_utils library

Deleted cgroup/cgroup_common.py and moved to cgroup library
modified cgroup.py to adopt the cgroup library changes.
This patchset address the below issue
https://github.com/autotest/autotest/issues/574

Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
Add utility to validate and check changes in configuration files

Signed-off-by: Plamen Dimitrov <plamen.dimitrov@intra2net.com>
client.profilers: Make params to accept arbitrary args

Make all client profilers to accept arbitrary args keyword
dict in addition to existing params. This way we can
generically add parameters to the cartesian config file
and make them being correctly passed to any profiler.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
client.profilers: Add systemtap profiler

This patch adds a systemtap profiler to autotest. Now systemtap
can run during your test, providing useful debug data.

When you use this profiler on virt tests, you should add
    'profilers = systemtap'
and
    'stap_script_file = file_path_systemtap_script'

On your test cfg file. If the 'file_path_systemtap_script' you
assigned is a relative path,the script will try to find the file
under 'test.autodir/profilers/systemtap/scripts'.

Before using this patch make sure you host is support "stap",you can
run  "stap -e 'probe begin { log(\"Support\") exit() }'" to have a
check, if you host not suppor stap,please install systemtap and
related packages.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>