- 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 10 次提交
-
-
由 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>
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Currently, the only way to pass parameters to Avocado is by using the variants layer, that is, one of the existing varianter plugin implementations. This was based on earlier design decisions, that we're trying to fix without breaking expectation and compatibility. While it'd makes sense to support parameters created by the varianter layer itself, together with non-varianter parameters, it seems that we can start by adding support for one or the other being used at a time. This commit does exactly that: add support for a method of passing parameters via the command line for all tests in a job, without having to resort to the varianter. When the varianter is used, it takes precedence and the core test parameter passing support is ignored. This should solve a number of use cases that require one-time executions of tests with different parameters, especially executions during test development and debugging. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Cleber Rosa 提交于
The lv_utils functional tests, which usually don't run because they require privileged execution, revealed a number of broken expectations when it comes to bytes and text handling. Let's fix both the module and the test. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Cleber Rosa 提交于
When running privileged, MixInMntDir requires the "mixed in class" to adhere to some expectations, including having a `path` attribute, and unmounting the filesystem on `close()`. It looks like this wasn't properly tested because of the seldom (if any) privileged executions. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 01 10月, 2018 3 次提交
-
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Srikanth Aithal 提交于
Currently on rhel based systems, if the name given for provides is not part of package name itself, provides method return none. We would have to handle situations where name is present in filenames, this commit adds functionality of searching packages based on filenames as well. Signed-off-by: NSrikanth Aithal <sraithal@linux.vnet.ibm.com>
-
由 Cleber Rosa 提交于
And reusing them in two different locations. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 30 9月, 2018 4 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Usually verbose variable names improve readability, but here, they're used only once, and the docstring is quite clear. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Instead of nested conditionals, let's flatten the branching, as all possible conditions cause a method exit either by returning or by raising an exception. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Out into a utility method. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 29 9月, 2018 4 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Caio Carrara 提交于
This change fix some spelling errors and add to the list os ignoring words some new cases Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 28 9月, 2018 4 次提交
-
-
由 Cleber Rosa 提交于
This implements a connection wrapper around SSH, and requires the OpenSSH client tools installed. It uses a master connection for a number of reasons, including but not limited to being able to distinguish between connection failures and command execution failures. Most of the command execution results are accurate and similar to users of `avocado.utils.process.run()`: the exit status is preserved for the local user inspection. The stdout and stderr, time taken to execute the command (including the remote part) is also available. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Caio Carrara 提交于
This change focus mostly on increasing tests for VmImageHtmlParser and ImageProviderBase. During the tests implementation some improvements were detected: the process of feed a html parser run both for get an image version and image url was duplicated so it was unified in a single method. Besides that the process of get a best version for an image was put on a specific method so each provider can override it if required. Today the default rule for a best version is based on calling max() function on found versions. However we can't assume it's the default for every provider. As far as we know, for a possible OpenSuse provider in future this rule will not be valid. Reference: https://trello.com/c/vtM1SPpJSigned-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Cleber Rosa 提交于
This reverts commit e6c3dad8. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-