- 31 7月, 2015 11 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The type `list` is mapped to our internal functions by default, although often it should mean the builtin list type. Change the docstring to builtin.list to avoid those warnings. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
On multiple places we modify the sys.path to make avocado work from sources. Instead of `append` we should `insert` the path as when running from avocado sources directory, we want to use the modules from here, rather than from installed version. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
There are interdependencies in our requirements. They need to be applied in the right order, otherwise it fails. Help users by providing make target to install the requirements correctly. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The sysinfo.post collects "/var/log/messages" by default. This can fail when not running as superuser. Adjust the unittests to handle booth variants. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Some packages from requirements-travis were not included in requirements-selftests. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
requirements-selftests: Update dependencies
-
由 Lucas Meneghel Rodrigues 提交于
avocado.core.multiplexer: Assign tag to match multiplex variant
-
由 Lucas Meneghel Rodrigues 提交于
We're bringing new code, and with it, new deps. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Cleber Rosa 提交于
-
- 30 7月, 2015 19 次提交
-
-
由 Lukáš Doktor 提交于
"avocado multiplex" and "avocado run" should share the same variant numbers. This patch forces multiplexer to set the tag when generating multiple variants. This way the tag is always set accordingly to the variant. When multiple tests of the same name are executed, the first argument is the multiplexed variant number and additional `.$num` is added to generate unique name. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
virt-test: Remove aexpect, since it was refactored and moved to a stand alone repository. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Let's force removing existing destination files. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
After testing the use of those APIs, I realized that having the entire stdout/err of the commands executed was pretty overkill and potentially confusing, so I've turn on the flag verbose=False for certain process.system and process.run calls. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
That's a utility library for accessing the contents of iso9660 CD/DVD image files. Such operations are useful to get files from Operating System installation media, for example. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add the possibility of using caching in the get_file API -> If the dst already exists, we can compare its file hash (SHA1, MD5, among others) with an expected hash. If the hashes match, don't try to retrieve the src again, just return. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add utility functions to list and get information about the CPUs present in a testing machine. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
This library adds utility functions for linux kernel modules. The functionality covers listing, loading and removing loadable modules. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
This is a utility module to handle cloning and updating git repos. It's useful to retrieve testing code from git, as well as components under test as well. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add a utility function useful to sanitize strings before they are passed to terminals. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add a utility function useful for interactive download programs (it shows a progress bar on the terminal, great for users to get a better understanding of where the download process stands). Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add avocado.utils.output, a library with utility functions for user friendly display of information. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
This library is used to control the linux boxes init systems, (sysvinit vs systemd). It's useful for some tests to be able to stop/start services, so that we transplanted it from autotest. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Revert "avocado.core.multiplexer: Assign tag to match multiplex variant"
-
由 Lucas Meneghel Rodrigues 提交于
This reverts commit 913ab2ab. Turns out that change appends inconditionally the tags to tests, even the ones not using the multiplexing system. We need to revert and figure a better solution.
-
由 Lucas Meneghel Rodrigues 提交于
avocado.core.multiplexer: Assign tag to match multiplex variant
-
由 Lukáš Doktor 提交于
avocado.core.runner: Do better Ctrl+C handling
-
由 Lucas Meneghel Rodrigues 提交于
avocado: Two UI improvements
-
- 29 7月, 2015 7 次提交
-
-
由 Lukáš Doktor 提交于
"avocado multiplex" and "avocado run" should share the same variant numbers. This patch forces multiplexer to set the tag when generating multiple variants. This way the tag is always set accordingly to the variant. When multiple tests of the same name are executed, the first argument is the multiplexed variant number and additional `.$num` is added to generate unique name. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
When the user disconnects from the GDB, test resumes and it might take quite a long time. This patch notifies user that avocado is aware of him leaving the GDB session and of resuming the test execution. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The test log compounds of "avocado.test" and the "$ROOT" logger. We must follow the same when displaying --show-job-log. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Due to successive refactors in the test runner mechanism, we did not notice that our Ctrl+C handling during job execution went south. This patch fixes it by moving the interruption handling to a place where we can actually break free from the test looping. I also made the interrupt messages cleaner, while keeping them informative. The behavior "don't kill test subprocesses unless the user really wants it" was also kept. You can test this by running the multiplex test (large collection of tests): $ scripts/avocado run examples/tests/multiplextest.py --multiplex examples/tests/multiplextest.py.data/multiplextest.yaml JOB ID : 783b06e69da4bbc964709748c12f014b65ef5b52 JOB LOG : /home/lmr/avocado/job-results/job-2015-07-29T02.05-783b06e/job.log JOB HTML : /home/lmr/avocado/job-results/job-2015-07-29T02.05-783b06e/html/results.html TESTS : 1440 (1/1440) examples/tests/multiplextest.py:MultiplexTest.test: PASS (0.00 s) ... (16/1440) examples/tests/multiplextest.py:MultiplexTest.test.15: PASS (0.00 s) (17/1440) examples/tests/multiplextest.py:MultiplexTest.test.16: ^C Interrupt requested. Waiting 3 seconds for test to finish (ignoring new Ctrl+C until then) RESULTS : PASS 16 | ERROR 0 | FAIL 0 | SKIP 1424 | WARN 0 | INTERRUPT 0 TIME : 0.12 s Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
[V2] avocado: Shorter app output
-
由 Lucas Meneghel Rodrigues 提交于
avocado.utils.astring: Improve the tabular_output
-
由 Lukáš Doktor 提交于
This patch doesn't generate the trailing whitespaces rather then removing them from the output afterwards, which was potentially dangerous as the line might start with the whitespace and got displaced. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 28 7月, 2015 3 次提交
-
-
由 Cleber Rosa 提交于
-
由 Lucas Meneghel Rodrigues 提交于
Instead of putting outputs on separate lines, condensate test results summary into a single line. The new output looks like: $ avocado run passtest JOB ID : f2f5060440bd57cba646c1f223ec8c40d03f539b JOB LOG : /home/user/avocado/job-results/job-2015-07-27T17.13-f2f5060/job.log JOB HTML : /home/user/avocado/job-results/job-2015-07-27T17.13-f2f5060/html/results.html TESTS : 1 (1/1) passtest.py:PassTest.test: PASS (0.00 s) RESULTS : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 TIME : 0.00 s We updated a few unittests in order to not depend on the looks of the human output anymore, since unless we are specifically testing for human output behavior, the unittests should use machine readable output. Also, the documentation was updated to reflect the new output layout. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Use the new iter_tabular_output generator in the avocado listing related commands, since displaying each line of the iterator is already what we want in the avocado listing commands. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-