- 30 11月, 2018 2 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
As we don't need to support Python < 2.7 anymore. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 28 11月, 2018 3 次提交
-
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Cleber Rosa 提交于
A gzip file doesn't have all the "archive" properties that a tarfile or zipfile has, but still, it could be useful to wrap in the archive module. At this point, support is being added to allow for files compressed with gzip, to be acknowledged as valid in avocado.utils.is_archive() and transparently handled with avocado.util.uncompress(). The goal of this implementation is to allow for gzip files, which are compressed tarbals, to be properly handled at uncompress() time. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 27 11月, 2018 4 次提交
-
-
由 Lukáš Doktor 提交于
The PYTHON variable evaluation changed recently resulting in different than default PYTHON variable in some plugins resulting "make link" in setting Avocado under different python than the linked plugin (eg. Avocado-vt). Let's make sure we use the same python by passing PYTHON="$(PYTHON)". Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Cleber Rosa 提交于
The newly released pylint version 2.2.0, changed its default behavior (enabled) the following checks: * :unnecessary-pass (W0107): *Unnecessary pass statement* Used when a "pass" statement that can be avoided is encountered. * :unused-import (W0611): *Unused %s* Used when an imported module or variable is not used. Let's apply fixes to those checks, and at the same time, pin the pylint versions so that our CI environment is more stable (code that test our code -- pylint -- doesn't change, while our code changes). For Python 2, the latest release was 1.9.3, so let's use that. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 22 11月, 2018 3 次提交
-
-
由 Lukáš Doktor 提交于
Python3 only allows seek from the beginning of the file when the file is opened in text mode. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
On python3 divisions are converted to float automatically, but floats can't be supplied to seek. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
When attaching only partial log file we already calculate the "size = max_size / 2", therefor it does not make sense to divide it twice (it actually results in even shorter attached logs. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 20 11月, 2018 4 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Cleber Rosa 提交于
On some environments, we can not count on the reference count and automatic cleanup of that instance, and consequently, the left over temporary directory constitutes a failure. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 19 11月, 2018 1 次提交
-
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
- 17 11月, 2018 2 次提交
-
-
由 Cleber Rosa 提交于
The Makefile is used mostly on development related work flows, and has up to know stick to Python 2 by default. I think it's time to flip the switch, and look for a Python 3 binary by default. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 15 11月, 2018 1 次提交
-
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
- 14 11月, 2018 2 次提交
-
-
由 Brian J. Murrell 提交于
When a test is interrupted, there is no reason it should get only 1 second to do it's cleanup when we otherwise give a test 10 seconds to clean up if it just dies. Fixes: 2908 Signed-off-by: NBrian J. Murrell <brian@interlinx.bc.ca>
-
由 Cleber Rosa 提交于
The correct name of the exception is TestAbortError, and not TestAbortedError. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 06 11月, 2018 1 次提交
-
-
由 Caio Carrara 提交于
The current utils kernel module has no tests. Recently it was added a fix[1] to the process of kernel url building. To keep this process without future regressions, this change adds a proper test for it. It's important to note that a new internal method was added to the KernelBuild class to make easier to test it. Indirectly it's an improvement of download method that now is shorter and more explicit. [1] - commit c84ac6baSigned-off-by: NCaio Carrara <ccarrara@redhat.com>
-
- 05 11月, 2018 1 次提交
-
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
- 31 10月, 2018 2 次提交
-
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 lolyu 提交于
1. rewrite MtabLock, as a proxy class for filelock.FileLock. 2. update related unit test. Signed-off-by: Nlolyu <lolyu@redhat.com>
-
- 25 10月, 2018 1 次提交
-
-
由 Praveen K Pandey 提交于
not passed while kernel download avocado error out as TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' when url not passed it uses default else try to use custome url as base url Reported-by: Nlolyu <lolyu@redhat.com> Signed-off-by: NPraveen K Pandey <praveen@linux.vnet.ibm.com>
-
- 09 10月, 2018 1 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 08 10月, 2018 2 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 06 10月, 2018 1 次提交
-
-
由 Lukáš Doktor 提交于
The 98442498 added fail-reason to UI, but for some tests this could be multiple lines of explanation, which does not really fit in the UI purpose. Let's limit the maximum size to 255 chars (this number is not important, it just have to be sensible) and avoid '\n' in the output. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 05 10月, 2018 4 次提交
-
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Lukáš Doktor 提交于
This reverts commit 8cc9be2a. This reverts commit 8cc9be2a, bringing back the commit 55f420f7 "optional_plugins: Use simple "copy" in "loader_yaml" for args" as the fingerprint is finally static and there should not be any CI failures anymore. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
This reverts commit 7e30455a, bringing back the commit e6c3dad8 "optional_plugins: Use simple "copy" in "loader_yaml" for args" as the fingerprint is finally static and there should not be any CI failures anymore. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The fingerprint must be static across executions, but TreeEnvironment is simple unsorted dictionary. Let's sort it on demand (usually only for fingerprint). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 04 10月, 2018 1 次提交
-
-
由 Caio Carrara 提交于
This change adds a functional version of OpenSUSE vmimage provider. Because of some specific aspects of OpenSUSE versioning this provider version works properly with most recent known versions (42.3, 42.2. 42.1 and 15.0) and should work properly with future versions as well (15+). This provider version also don't work with Tumbleweed (rolling release) versions, only with Leap versions. Because for tests it's better to change one thing at time, the rolling release is not a version supported right now. Reference: https://trello.com/c/i2TSbT3MSigned-off-by: NCaio Carrara <ccarrara@redhat.com>
-
- 03 10月, 2018 1 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 02 10月, 2018 3 次提交
-
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-