- 16 11月, 2015 1 次提交
-
-
由 Lukáš Doktor 提交于
The test_status is handled in TestRunner.run_test quite chaotically. This patch extracts test-related communication into a separate class, and provides simple abstraction, making it simpler to extend it of other messages. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 12 11月, 2015 6 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
The current probe is not identifying the version numbers for CentOS 7.X. Let's use a more relaxed regexp to fix that problem. Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
-
由 Lucas Meneghel Rodrigues 提交于
It turns out we forgot to state fabric dependencies in the debian package. Let's fix that problem. Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
-
由 Lucas Meneghel Rodrigues 提交于
Let's remove an artifact from old times. The current process APIs should handle stdout and stderr just fine. Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add the gdebi-core dependency that our ubuntu users might need to if they are going to use the avocado software manager library. Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
-
由 Lucas Meneghel Rodrigues 提交于
It turns out that apt doesn't really handle local installs graciously as dnf/yum, but thankfully there is a program named gdebi, shipped in Debian and Ubuntu, that would let us do that. Use it when available (we can make gdebi a dependency for the avocado debian package to ensure it'll always be there). Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
-
由 Lucas Meneghel Rodrigues 提交于
Fix the command used to check package status (there was a missing space there) and the logic for checking installation (verify OK string in the entire command output). Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
-
- 11 11月, 2015 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
process.py: CmdError class backward compatibility fix
-
由 svirt 提交于
In the newer CmdError class implementation the __init__() doesn't have anymore the third non-mandatory argument "additional_text". But still in the different parts of the source code the CmdError is used with the third argument. If there is no special reason behind deleting the "additional_text" then I would suggest to keep for having the backward compatibility. (for example got argument amount errors while running particular libvirt tests which had to raise a CmdError exception)
-
- 10 11月, 2015 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
avocado/core/virt.py: avoid crashing when trying to detect VM IP address
-
由 Cleber Rosa 提交于
The current code assumes that libvirt will always return information about the VM in a given format, and also assumes that the VM will have a NIC, which may not be the case. This adds better checks if the conditions are not met, skipping the IP detection feature, instead of crashing. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 05 11月, 2015 4 次提交
-
-
由 Cleber Rosa 提交于
Signed-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>
-
由 Cleber Rosa 提交于
Together with the asset files, we'll now host the RPM repos at a couple of OpenShift instances, named after the Avocado Project. The two main repo files are located at: * https://repos-avocadoproject.rhcloud.com/static/avocado-fedora.repo * https://repos-avocadoproject.rhcloud.com/static/avocado-el.repo And they point to the same base URL for individual repositories. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 04 11月, 2015 5 次提交
-
-
由 Cleber Rosa 提交于
-
由 Cleber Rosa 提交于
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
-
由 Lucas Meneghel Rodrigues 提交于
With recent refactorings of the loading code, some of the logic became unreachable (and irrelevant to avocado). Let's remove the unreachable code. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lookkas@gmail.com>
-
- 03 11月, 2015 17 次提交
-
-
由 Cleber Rosa 提交于
-
由 Cleber Rosa 提交于
To sync with the latest changes in Avocado. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The path in logdir has to be turned into a safe-path. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
This function can be used in other parts of this project (eg. remote). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
this was removed from the "Log remaining buffer on exit" fix, but it's in-deed necessary (bfr is filled in a loop). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Cleber Rosa 提交于
-
由 Cleber Rosa 提交于
-
由 Lukáš Doktor 提交于
The SubProcess logs output only when it finishes with '\n' to avoid partial outputs. Anyway we have to print the remaining buffer on exit, otherwise we miss the unterminated output (eg on "echo -n") Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
When the user provides url, which is not directory, this piece of code tries to discover it as usual. When this fails it splits the command using "shlex.split" and checks whether the first argument is executable. If so it it reports it as a simple test. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Currently SimpleTest escapes the test command. External runner used a workaround to be able to override the command with it's custom one. Instead of this hack we can simply expect user to supply command already escaped so it can be simply executed. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
We base our log-dir on test name, which can contain various characters including '/', causing multiple directories being created instead of one log directory. This patch modifies the `self.logdir` to use '_' instead '/'. Note this approach is not safe on windows so in the future we might implement a `utils` function to make filenames "safe". (similarly to django, which uses whitelist) Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
We have a nice mechanism to notify user about job failures, let's use it instead of custom sys.exit(). Additionally add '\n' before the first message on exception, because quite often there are already some characters written. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
When the process handling test fails before it puts the early_status, avocado hangs for ever (or test-timeout). This patch raises an exception in case the process died and the queue is still empty. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
In case of uncaught exception exception store the exception info and notify the user about the fatal crash, instead of default traceback. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 02 11月, 2015 2 次提交
-
-
由 Cleber Rosa 提交于
-
由 Cleber Rosa 提交于
Since the job log result directory will not exit, let's not create the utility link "latest" to it. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 01 11月, 2015 1 次提交
-
-
由 Lukáš Doktor 提交于
Test loader: replace list_tests parameter name for a better description
-