utils/run_pylint.py: Fix exception with disable-msg-cat option.

This patch fixes an exception with the disable-msg-cat command line
option on older versions of Pylint. The command line option expects just
one letter and not an entire string.

Tested that it fixes the Pylint 0.19 crash on Ubuntu 10.04. The
disable-msg-cat option is no longer available with Pylint 0.21.1 on
Ubuntu 10.10.

There's a bug report and some history at
https://bugzilla.redhat.com/show_bug.cgi?id=500272.

Signed-off-by: Vinson Lee <vlee@twitter.com>
virt.scripts.ntttcp.au3: Fixing script permission

So pylint will stop complaining.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
utils/run_pylint.py: Do not stop Pylint after checking first file.

pylint.lint.Run calls sys.exit when the function completes. Starting
with Pylint 0.20.0, Run can take an additional argument to not exit.
This will allow run_pylint.py to continue checking other files.

Signed-off-by: Vinson Lee <vlee@twitter.com>
virt: Add RHEL 5.8 definition

Signed-off-by: Chris Evich <cevich@redhat.com>
libvirt.virsh_uri: Fixes to the virsh_uri libvirt test

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
common_lib.base_utils: Replace is_alive with isAlive.

threading.is_alive is only available starting with Python 2.6.

Fixes asynctest on Centos 5.7 (Python 2.4.3).

Signed-off-by: Vinson Lee <vlee@twitter.com>
virt: replace is_alive with isAlive as commit d03dd090

Check the whole autotest repo by grep, fix rest problem.

threading.is_alive is only available starting with Python 2.6.

Signed-off-by: Amos Kong <akong@redhat.com>
client.fio: Update fio from 1.16.5 to 2.0.5

Since 1.16.5 version of fio can't be compiled on Fedora16 and
RHEL6 boxes, update this fio package to 2.0.5.

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
virt.tests.netstress_kill_guest: Workaround udev writing to serial

On some Linux guests such as RHEL 6.2, it's common that when
the succession of rmmods and modprobes happen, udev, SELinux
and other platform software write messages directly to the
serial, confusing aexpect. So let's write some code to
work around this peculiarity, being more robust in handling
these situations.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.tests.ethtool: Improving logging and fixing loop execution

Make sure we go through all tests available and record the failures.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
client tests: Introduce libvirt_tck wrapper

    This is an autotest wrapper based on the released
    TCK version 0.1.0.

     *Sys-Virt-TCK-v0.1.0.tar.gz  libvirt-tck tarball
     *control
     *default.cfg
     *ks.cfg
     *libvirt_tck.py
     *testcase.cfg

Signed-off-by: Guannan Ren <gren@redhat.com>
tests.cgroup: Fix cfg parameters

This patch solves the problem with smp parameter.
* cpu_cfs_util - test creates the first VM instead of preprocess
* cpu_share - 'cgroup_use_max_smp' cfg parameter let test calculate smp
* cpuset_cpus - when cpusets is defined it calculates smp from it. Otherwise
                user can force test to set smp by cgroup_use_half_smp.
                When nothing is specified it tries to run on current VM(s).

Signed-off-by: Lukas Doktor <ldoktor@redhat.com>
client.tests.cpu_hotplug: Fix test execution and parsing

As it was, the cpu_hotplug test was executing the lhcs
suite main entry point and checking its return value.
However, the suite was not well structured, and it will
return 0 even if the subtests failed.

So worked on the suite itself and created a patch
that makes it comply with the rules stablished by
the testsuite author:

http://cpansearch.perl.org/src/BRYCE/Test-Parser-1.3/lib/Test/Parser/LHCS.pm

Also, made the autotest wrapper to parse correctly
the test suite output. Now it should execute and
actually report failures during the test execution.

Some of the testcases were disabled, since they
describe a behavior in the userspace program sar
that I can't reproduce with any sar available in
Fedora or RHEL 5-6 to date, and one of the testcases
does require a linux kernel tree for kernel
compilation.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>