- 08 2月, 2017 1 次提交
-
-
由 Lukáš Doktor 提交于
On broken/unresponsive machines it might happen that some of the sysinfo commands don't finish. This allows setting "commands_timeout" in [sysinfo.collect] section to prevent hangs. Note this is not for all sysinfo collection, only for the commands execution, which is currently the issue. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 07 2月, 2017 2 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Xu Tian 提交于
increase read buffer size to avoid deadlock caused by blocked pipe. Signed-off-by: NXu Tian <xutian@redhat.com>
-
- 06 2月, 2017 12 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
We're not checking if the there's an owner for the STDOUT when displaying the runner connection information. This makes command lines that output, say, xunit to the STDOUT, to become corrupted with a "LOGIN: " (or similar) line. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Now that Python 2.6 is not supported anymore, we can not officially support EL6 as a platform for RPM packages. Let's drop all special requirements for that platform. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The unittest standard library on Python 2.7 an later has everything that the unittest2 backport is supposed to have. Let's then drop all the conditional imports of unittest2 and stick with unittest. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The main reason for supporting Python 2.6 was the EL6 distros. Although they are still important, our users are running a combination of Avocado LTS and Avocado-VT. That allows us to drop support for Python 2.6 on master (and further Avocado releases). Also, with Python 2.6 being dropped as a supported platform, the version of the stevedore library can be simplified. Let's reflect that on both setup.py and requirements*.txt. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The libvirt Python bindings are very very hard to install from source. On Travis, let's rely on pre-built versions from official distro packages. This has not been an issue so far because of the conditional treatment given on `avocado/core/virt.py`. When the import fails, `VIRT_CAPABLE` was set to `False`. The goal of this change is twofold: 1) Enable the dependency on Travis so that the tests from `selftests/unit/test_vm.py` are run. 2) Prepare for the split of the runner packages, in which there will be no conditionals of the libvirt import, since the installation of the package should mean that the dependencies are also fulfilled. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
There has been intermitent errors on this specific test while running on Travis. We should not let this impact our work, so until we identify the cause of the failure, let's skip this test *on Travis* only. This test will still be run as part of `make check-full`. There's also a Trello card to not let us forget about this test. Reference: https://trello.com/c/yXtgDRjkSigned-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Naresh Bannoth 提交于
added some code to fetch some more info from vpd Signed-off-by: NNaresh Bannoth <nbannoth@in.ibm.com>
-
- 04 2月, 2017 4 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The SIMPLE test used here contains SHELL code, so it doesn't make sense to name with a .py extension. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Amador Pahim 提交于
Avocado does not support self.skip() to be called from inside a test. This is a design decision that users have to comply with. On the other hand, users keep requesting alternative ways to skip tests. This patch creates the decorators skip, skipIf and skipUnless to be used in test functions. Corresponding exceptions will be raised in those cases. Reference: https://trello.com/c/JK5Z5dqlSigned-off-by: NAmador Pahim <apahim@redhat.com>
-
- 03 2月, 2017 7 次提交
-
-
由 Lukáš Doktor 提交于
It happened couple of times that running our selftests produced a new entries in the default results directory. Let's use this optional check to avoid such issue. To enable this check one has to set "AVOCADO_RESULTSDIR_CHECK" env variable. This check is enabled in travis as I do not expect travis to run avocado tests while running the selfcheck, unlike on developer computers. Note the check is rather simple and only assumes the default results directory. For selfcheck I think it's enough. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
This PR adjusts our tests to avoid producing results in the default results directory (usually caused by instantiating Job or Test without a results dir). One of the tests still produces test results as it is essential for the test execution, but it goes through the produced tests and removes the base directory. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
So far we only executed the first argument, but we might want to execute complex cmdlines instead just one command. Let's use $* instead of $1. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
There's one functional test that is missing "--sysinfo=off". I happened to find this because lspci on my system hangs when running under X. That test would timeout at the sysinfo collection. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
The pystache package should only be a requirement for the HTML result plugin, not for the base avocado package. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 02 2月, 2017 4 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 mengalong 提交于
When we use args:--mux-yaml or --multiplex if the yaml file not existing it will show more detail error messages Reference: https://trello.com/c/hYCrS1oI/900-improve-yaml-to-mux-error-messagesSigned-off-by: Nmengalong <alongmeng@gmail.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: selftests: exclude E722 from pep8 check
-
由 Amador Pahim 提交于
pep8 v2.3.0 introduced the check for bare except clause (E722). Until now, we don't explicitly disable the pep8 check we don't want because inspect has a default exclude list (E501, E265, W601 and E402). Let's make explicit the exclude list for the checks we don't want in our selftests, adding to the list the new E722 check. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 01 2月, 2017 2 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
The "make link" feature goes through subdirs trying to either use `setup.py` or `Makefile` to install all plugins. The problem is that even when `Makefile` is present it might not support `make link` target which results in failure. This patch instead of failure in this case just lists "FAIL" followed by the module name. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 26 1月, 2017 1 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 25 1月, 2017 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
contrib: Add script which helps bisecting avocado execution Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
-
由 Lukáš Doktor 提交于
This makes sure we setup and clean the environment before/after the executed check. It comes from simple script I have been using for ages and finally I took the time to add colors and some UI to allow running on unstable environment. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 20 1月, 2017 1 次提交
-
-
由 Narasimhan V 提交于
Added '-' to regex which searches for pv name from the output of 'pvs' command. Signed-off-by: NNarasimhan V <sim@linux.vnet.ibm.com>
-
- 18 1月, 2017 1 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 17 1月, 2017 3 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Spelling fixes for the 45th release [v4] Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
-
由 Cleber Rosa 提交于
This is a collection of docstring, literal string and the spelling ignore list fixes for the 45th release. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-