- 06 12月, 2018 22 次提交
-
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Lukáš Doktor 提交于
When using the "process.kill_process_tree" it might be useful to wait for all of the pids to die. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Plamen Dimitrov 提交于
Signed-off-by: NPlamen Dimitrov <pdimitrov@pevogam.com>
-
由 Plamen Dimitrov 提交于
Signed-off-by: NPlamen Dimitrov <pdimitrov@pevogam.com>
-
由 Plamen Dimitrov 提交于
In particular, add parameter types, exceptions, and fixes. Also, single line docstrings are recommended to be one liners in terms of quotation as well. Signed-off-by: NPlamen Dimitrov <pdimitrov@pevogam.com>
-
由 Plamen Dimitrov 提交于
Signed-off-by: NPlamen Dimitrov <pdimitrov@pevogam.com>
-
由 Plamen Dimitrov 提交于
lvconvert instructs the kernel to do the LVM volume merge and then polls every fifteen seconds if the conversion finished. Using a ramdisk, the merge is usually done below one second, so we wait 14 seconds for nothing. Signed-off-by: NPlamen Dimitrov <pdimitrov@pevogam.com>
-
由 Cleber Rosa 提交于
Since we're running unittests, let's keep it honest and use the true list of tests for both the parallel and non-parallel checks. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
So that external users can pick and choose which components of the test suite to include. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
It will be useful to choose which tests to put into the suite we'll run. For instance, when running tests in parallel, we pick tests from each of the directories at a time. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Which can be used elsewhere (such as in parallel testing code). Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
There are at least two places in which the same functionality is present. Let's make it a single utility function instead. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
According to the references given below, Travis workers now run on VMs that are sudo capable, and the sudo configuration should now be removed. Reference: https://docs.travis-ci.com/user/reference/overview/ Reference: https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migrationSigned-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
There are a number of backends and requirements for iso9660 tests to run. Let's add those as build requirements to that as many as possible tests and code paths get executed during the checks in the RPM build. With this, two other test cases get executed: Before: - (Python 2): Ran 600 tests in 198.076s OK (skipped=42) - (Python 3): Ran 600 tests in 196.489s OK (skipped=45) After: - (Python 2): Ran 600 tests in 180.514s OK (skipped=40) - (Python 3): Ran 600 tests in 188.545s OK (skipped=43) Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Srikanth Aithal 提交于
Currently RHEL provides function accepts just filename, absolute path of file is not required to be passed. But provides function for Ubuntu expects users to send the absolute path. This commit makes changes to Ubuntu provides code to make it generic. So the consumers just can call provides function with filename. Signed-off-by: NSrikanth Aithal <sraithal@linux.vnet.ibm.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
On a number of situations, sudo is being missed as a parameter for command executions that need to run privileged. Examples include when writing to mountpoint, using a Python interpreter, and when trying to listing open files during a forceful unmount of the disk. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 05 12月, 2018 1 次提交
-
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
- 04 12月, 2018 4 次提交
-
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Cleber Rosa 提交于
Some distros don't create `/bin/python` and only ship with `/bin/python2` or `/bin/python3`. As we are already detecting `python3` let's also look for `python2` explicitly. Also, let's fallback to unversioned `python` if no other is found, as unlikely as it may be. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 03 12月, 2018 1 次提交
-
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
- 02 12月, 2018 3 次提交
-
-
由 Plamen Dimitrov 提交于
Signed-off-by: NPlamen Dimitrov <pdimitrov@pevogam.com>
-
由 Cleber Rosa 提交于
And issue a deprecation warning. It will then be removed in a couple of Avocado releases. Reference: https://trello.com/c/7TBqcAkR/1447-thinlvcreate-deprecate-the-utility-functionSigned-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
To minimize brekage of existing test code. Even though the API may looks better on the last commit, it's better to add the new parameters to the end. That is, force_flag should continue being the third parameter, so users using positional parameters won't be surprised by the order change. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 01 12月, 2018 9 次提交
-
-
由 Plamen Dimitrov 提交于
The thin volume creation can be refactored and created with just a few different function arguments. A similar but a bit more elaborate approach can then be used to take thin rather than regular shapshots from thin or regular logical volumes. Signed-off-by: NPlamen Dimitrov <pdimitrov@pevogam.com>
-
由 Cleber Rosa 提交于
The test names are based on the executable output with '-l', but it should be treated as text, and not as bytes. This fixes issue #2927. Reference: https://github.com/avocado-framework/avocado/issues/2927Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Merlin Mathesius 提交于
to prevent Fedora 30 BuildRoot Policy Scripts from failing the build with "ambiguous python shebang" errors. https://fedoraproject.org/wiki/Changes/Make_ambiguous_python_shebangs_error https://fedoraproject.org/wiki/Packaging:Guidelines#Shebang_linesSigned-off-by: NMerlin Mathesius <mmathesi@redhat.com>
-
由 Plamen Dimitrov 提交于
The fixes initated by d9a13f1d missed all results in the `revert` function and any `stderr` decoding. Signed-off-by: NPlamen Dimitrov <pdimitrov@pevogam.com>
-
由 Plamen Dimitrov 提交于
Thin pools don't have LVPath field which we originally used to detect logical volume. A far better approach to identify the existance of a logical volume is to restrict the large output to logical volumes wihin the group and then match on the more universal Name field. Signed-off-by: NPlamen Dimitrov <pdimitrov@pevogam.com>
-
由 Plamen Dimitrov 提交于
In addition, we unify the naming of both to standard "vg/lv_list". It is true that the "--all" switch has different meaning for each of these functions but we simply default to listing as much as possible in a single list function for each of LV/VG (e.g. the "--all" switch includes internal logical volumes the listing of which won't harm but help the output to be as explicit as possible). Signed-off-by: NPlamen Dimitrov <pdimitrov@pevogam.com>
-