1. Drop empty fuelweb_test/helpers/exceptions.py
2. Drop unused anymore fuelweb_test/helpers/http.py
3. Drop execute_throw_remote, run_in_remote, run_on_remote_get_results,
execute_remote_cmd.
4. Drop unused private deserializers from SSHManager
5. Fix misprint in deprecation message
Change-Id: I56a220e49f44a4f22b2b3499acf022fef923b323
1) Need to use fuel-devops >=3.0.0
2) Need to use centos_master.yaml devops template
3) export CENTOS_MASTER=True environment variable
4) provide path to CENTOS_CLOUD_IMAGE_PATH, FUEL_RELEASE_PATH and
EXTRA_DEB_REPOS
Change-Id: I1542c2238abc364713f02e4bca6ec7646883bf78
Closes-Bug: #1592419
The problem is that after third reboot nodes are going
into maintenance mode and became unavailable for further
testing. We need disable UMM feature to prevent such behaviour.
Change-Id: I1cce936201872f47d13e3c482e23e1ba4cfc24b2
Closes-Bug: #1588877
Split code across several files
Move file changes parsing actions to content_parser.py
Add 'BaseGerritClient' class
Move specific actions related to requesting data from the server
from 'FuelLibraryModulesProvider' class to GerritClient class
Add 'TemplateMap' class to gerrit_info_provider.py
Clean 'FuelLibraryModulesProvider' class pulling unrelated stuff out
Add rules.py with parsing rules
Add new handling rules for osnailyfacter/{manifests,templates}
Add new handling rules for openstack_tasks/{manifests,examples,lib/facter}
Remove gathering modules from dependent/related reviews
Register new files in doc/helpers.rst
Change-Id: I7480ac712ff6a8467ec0ddff3779f4f2dba716ce
Related-Bug: #1583045
We need user-defined exception in execute_on_remote to
catch it in failover tests. Base Exception isn't suitable
as it mask all other exception types
Change-Id: Ic48d73c2fabcf32eed8b57db047d60307e8ce63a
Closes-Bug: #1552692
Replace by direct imports, where it possible:
base_test_case as base_test_data -> base_test_case
ostf_test_mapping as map_ostf -> ostf_test_mapping
settings as conf -> settings
Delete test_by_tempest and conf_tempest, as redundant.
Closes-bug: #1549266
Closes-bug: #1549289
Change-Id: I1ac15a43131ec75dd0b74e8eb252adc1b2c94021
fuel-devops 2.9.16 has been released, and updated on jenkins slave. Also python-ironicclient has been installed.
This reverts commit 87a7bca7ee.
Change-Id: I072370299a16a02f98a79402a1c9c3efa379275e
We do not have ironicclient in venv - so test will fail all the tests. So revert it until CI team updates venvs on all the Jenkins slaves
This reverts commit 689b7c409d.
Related-Bug: #1534986
Change-Id: I3157d128788e609b0805fae6a80ab8f8dbdca99c
1. SingletonMeta -> modified to allow handling multiple classes and moved to metaclasses too.
2. @logwrap : process asserts too
Changes reason:
@logwrap was changed during test debug (was assert in wrapped function
and stacktrace was not enough for reason understand) and moved out of
test changest due to not mandatory for this test.
Pros: Now assert, raised in wrapped function is recorded in log with
details.
SingletonMeta: was changed as "nice to have" during work on plugin
helpers. Later plugin helpers was moved out of SshManager, and all code
changes was moved to this changeset.
Pros: Single way for handling the same tasks in different places.
Previously SshManager used Metaclass, which could not be reused for
more, than one class and Environment used __new__ directly written
in class code.
Related-Bug: #1518979
Related-Bug: #1519050
Change-Id: I798302879400747909229cc208f97a669f25bbf3
Add calls to the native devops ntp functions.
Remove nested classes with ntp support from fuel-qa
Rebased
Closes-Bug: 1523537
Change-Id: If7da2bed456109018bb8c53e704f7c6c26eb4561
- Create Singletone to use it as metaclass in ssh_manager.
Singleton provides us posibility of having only one instance of class.
- Create SSHManagaer, wich will manage SSH connections by itself.
Almost SSHClient methods was duplicated in SSHManager.
Now it used so:
SSHManager().method(node_ip, *parameters)
We will not get back SSHClient, we will just say 'Do IT on NODE with this PARAM'
e.g SSHManager().execute_on_remote('127.0.0.1', 'bash_command')
- Use ssh_manager in cli_cluster_deletion test
Change-Id: I307d7d71e814b67d20cc0b4648cf6a7dac4a7829
Closes-Bug: #1503210
def get_pacemaker_nodes_attributes(cibadmin_status_xml)
Adding possibility to parse 'cibadmin --query --scope status'.
Function return nested dictionary with node-fqdn and attribute name as keys.
def get_pcs_nodes(pcs_status_xml)
Adding possibility to parse 'pcs status xml'.
and return nested dictionary with node-fqdn and attribute name as keys.
They will be used in test for pacemaker resources when disk is full
Change-Id: Ieabef9eca1eff79ac504ae6df1e1a1409ed276ff
Closes-Bug: #1507721
Related-Bug: #1500446
- Use the local Ubuntu mirror to speed building the Ubuntu
bootstrap image,
- Move replace_repos modules to a separate module.
Change-Id: I263752884a7b629a76f5ce7cb3e921390c11af90
Closes-Bug:#1487498
This patch implements ability to system
tests work with new SSL feature.
Writed new module SSL includes functions
for certificates generating and changing
SSL cluster configuration.
Also add fix to the cli test, because
this test uses different way to deploy
cluster and if so different way to
enable/disable SSL.
Change-Id: I857ed750f6f2bd0edfbe4f3bda3f8fbe5faede99
Closes-Bug: 1482216
Closes-Bug: 1486511
Closes-Bug: 1488097
I have added a auto-generated documentation. It is done with
Sphinx library. Sphinx uses reStructuredText as its markup language
and docstrings as a source for automated documentation.
According to https://www.python.org/dev/peps/pep-0257/
I used a """ for quotes in docstrings and made
"""Docstring."""-looking one-liners and correct indentation
for multiple-liners.
Based on https://github.com/kennethreitz/requests
I moved Makefile, requirements.txt and conf.py to /doc folder.
Also I decided to make fuel-qa documentation
similar to https://docs.python.org/2/tutorial/index.html
with single table of contents.
I have added empty __init__.py files to be able to produce
documentation.
I have added sys_test.log to .gitigonre because it has
been generated at the documentation build.
To make it faster and non-conflicting I added some banal
class descriptions in order to get them in auto-generated documentation.
I decided not to fight with warnings and poor docstring descriptions
I added to make documentation less conflicting and for a faster review.
Docstring improvements and detailed code description are left for later.
For the same reasons I decied not to add docstrings to all methods.
At a places where I made poor docstrings I have added a
TODO documentation.
Change-Id: I7701a9a3429abbf62b13ec5a31972298c0be5201
Related-Bug: #1321682