- 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>
-
- 27 9月, 2018 7 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 lolyu 提交于
The result in get_submodules contains duplicates, which result from no check of visited in DFS. Solved by using ordered_list_unique from data_structures to del duplicates before returning from each recursion. Signed-off-by: Nlolyu <lolyu@redhat.com>
-
由 Sitong Liu 提交于
Fix issue: re.search(r"Loaded: loaded", output) failed | TypeError: cannot use a string pattern on a bytes-like object Signed-off-by: NSitong Liu <siliu@redhat.com>
-
由 Caio Carrara 提交于
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>
-
- 26 9月, 2018 3 次提交
-
-
由 Lukáš Doktor 提交于
This allows us to detect when someone imports avocado multiple times with different names. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 lolyu 提交于
_log_calls uses func_code and func_name, which are not supported in python3. Signed-off-by: Nlolyu <lolyu@redhat.com>
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
- 25 9月, 2018 13 次提交
-
-
由 Caio Carrara 提交于
This change makes possible to call kill_process_tree() function with pid of sudo enabled processes and it also makes possible handle timeout of subprocesses called with sudo=True. Both cases now use a new function created in process module to return the user owner id of a pid (get_owner_id). For the case of subprocesses run with sudo=True it was necessary adjust the send_signal() method of SubProcess class so it can send the signal for sudo process child. Reference: https://trello.com/c/ROPWdFFrSigned-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Lukáš Doktor 提交于
Currently there is a typo and a bug. Let's fix the typo, add selftest to document the current behavior and deal with the bug (should detect 4 classes) later. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
This allows a public key to be set as an authorized key for the default user, and consequently, the matching private key to be used for authentication. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
If the username is "root", let's also allow it to be used for network based logins such as SSH. When this is set to True (the default), any attempt to connect via SSH will result in a message similar to: "Please login as user root rather than user root". Which only makes sense for when another user is configured. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Because other authentication mechanisms may be used, it makes sense to allow for username *only* configuration. 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>
-
由 Caio Carrara 提交于
Seems that is important have a default way to get a process owner id in process utils module. This function will be useful soon when we have to deal with timeout of sudo enabled processes. Reference: https://trello.com/c/ROPWdFFrSigned-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Cleber Rosa 提交于
To non-parallel execution script. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Caio Carrara 提交于
There was a functional test on avocado that depended on html plugin. This change moves this test to proper plugin instead of run the test only if the plugin is available during test execution. Reference: https://trello.com/c/EVggIZzjSigned-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 24 9月, 2018 2 次提交
-
-
由 Caio Carrara 提交于
There was a functional test on avocado that depended on remote plugin. This change moves this test to proper plugin instead of run the test only if the plugin is available during test execution. Reference: https://trello.com/c/NPEUj0wZSigned-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
- 22 9月, 2018 7 次提交
-
-
由 Cleber Rosa 提交于
Similar to the approach taken on the previous commits, let's unwind apply_using and improve its docstrings. This also new tests for this specific unit of code, and a functional test. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The function where this utility method lives is really big and complex. Let's break it down for the sake of code readability, while adding better docstrings. I've timed the performance changes caused by this, and on most trials they presented similar performance. This also adds new tests for this specific unit of code. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The function where this utility method lives is really big and complex. Let's break it down for the sake of code readability, while adding better docstrings. I've timed the performance changes caused by this, and on most trials they presented similar performance. This also adds new tests for this specific unit of code. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The action is the same, only the condition changes, so let's use a membership test for the type of the control tag. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The function where this utility method lives is really big and complex. Let's break it down for the sake of code readability, while adding better docstrings. At the same time, this allows us to write tests for those smaller units. I've timed the performance changes caused by this, and on all trials they presented slightly better (but overall insignifcant) improvements. This is just mentioned to assert that there are no performance downsides to this change. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
由 Cleber Rosa 提交于
The changes in this commit are causing intermittent failures in our CI environment under Python 3.x. This reverts commit 55f420f7. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-