contrib/virt/control.template: Fix location of site config file

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
contrib/virt/control.template: Fix location of site config file - take 2

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
client.utils: Adds possibility to close descriptors before start process.

When autotest process don't close descriptors of stdin pipe before
child process is started then child process never die because
stdin pipe stays open by child process.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
Merge pull request #820 from jzupka/fix-stdin-fd

client.utils: Adds possibility to close descriptors before start process...
utils/unittest_suite_nose.py: Fixes

Fix a bug on unittest skipping unittests. Also, let
us know when a test was skipped and allow it to
be run unmodified on an autotest checkout.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Fix unittest runs under nose test suite

The nose test suite is the preferred one going forward,
so let's fix the unittest bugs found, so we finally
have a clean travis run.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
travis.yml: Run all short unittests

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
.travis.yml: Don't install autotest when running unittests

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
.travis.yml: Install simplejson and MySQL bindings

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #821 from autotest/unittests

Unittests
client.shared.utils: Pylint/pep8 fixes

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
client.shared.utils: Avoid possible AsyncJob freeze

When AsyncJob process ignores SIGTERM, or custom kill function doesn't
kill the process properly, autotest hangs for infinity. This patch adds
additional kill -9 in case the process still lives after another
TIMEOUT time after kill_func execution.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
Merge pull request #822 from ldoktor/framework

client.shared.utils: Avoid possible AsyncJob freeze
.travis.yml: Add pylint to autotest jobs

Also, disable checking out submodules.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
client/tools: Remove deprecated tool cd_hash.py

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
setup.py: Supress bogus E0611 pylint complaints

There's a mismatch between the version used in pylint
checks and the one used to actually install autotest,
so let's supress those complaints.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
client.net.net_utils: Supress pylint E0202 complaint

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
contrib.modelviz: Suppress bogus pylint E0202 complaint

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
contrib.virt.site_job: Supress bogus pylint E0611 complaint

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
utils.external_packages: Supress bogus pylint E0611 complaint

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