Commit Graph

25 Commits

Author SHA1 Message Date
Andreas Jaeger 08db3ad05f Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: I37b6a82c9c3c3893bb4b9b6a4c4b5a83a6d8193c
2019-12-18 09:50:01 +01:00
Alexey Stepanov fee216eb0d Drop heslpers as announced previously
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
2016-09-01 08:11:04 +00:00
Jenkins 02a6eb2184 Merge "Disable UMM before nodes repetitive restart" 2016-07-12 07:31:29 +00:00
Artem Grechanichenko 60246f9cd9 Add option to setup centos master node in get_ready_setup method
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
2016-06-30 15:01:53 +03:00
Maksym Strukov 5809bb6208 Disable UMM before nodes repetitive restart
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
2016-06-22 11:29:11 +03:00
Andrey Lavrentyev b3d498520d Refactor gerrit client
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
2016-06-02 15:42:40 +03:00
Maksym Strukov a08f609dfc Make zero errors in verify-fuel-qa-docs gerrit job
Change-Id: I20a1c99aeab5563d88cc632c99e0fada5a8659e3
Partial-Bug: #1571742
2016-04-18 20:00:29 +03:00
Maksym Strukov 0143a79467 Use user-defined exception in execute_on_remote
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
2016-03-04 16:26:56 +02:00
Alexey Stepanov a41b7a9eff Repclace import ... as ... by direct imports
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
2016-02-29 11:03:22 +03:00
Jenkins dc907a27e5 Merge "Revert "Revert "Introduce deployment test for Ironic""" 2016-01-22 15:08:05 +00:00
Vasyl Saienko e918673387 Revert "Revert "Introduce deployment test for Ironic""
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
2016-01-21 16:44:14 +02:00
tatyana-leontovich 87a7bca7ee Revert "Introduce deployment test for Ironic"
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
2016-01-16 20:17:56 +00:00
Alexey Stepanov fec8282ec4 Minor refactor
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
2016-01-15 11:57:32 +00:00
vsaienko 689b7c409d Introduce deployment test for Ironic
Depends-On: I15dbde05327d45f96894a9fa31e2e685cfef1033
Related-Bug: #1524773
Change-Id: Ife957ca0fcb3780b228a0bcafbd7cf5d5985a2b3
2016-01-14 10:49:02 +02:00
Alexander Kurenyshev 03159d5cfb Clean up ntp-related fuel-qa helpers
Add calls to the native devops ntp functions.
Remove nested classes with ntp support from fuel-qa

Rebased
Closes-Bug: 1523537

Change-Id: If7da2bed456109018bb8c53e704f7c6c26eb4561
2016-01-12 19:09:26 +03:00
vgorin 3cb2275954 Introduction of new method of SSH connection
- 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
2015-12-15 22:32:09 +03:00
eprohoda 81f8178906 Misprints in English words
Fix misprints in class, method names, comments, etc.

Closes-Bug: #1516044
Change-Id: I9ed73165a06976bc1bfa8630615527fc97dd9fda
2015-11-24 14:57:42 +02:00
Artem Grechanichenko 87abc7b6a2 Getting pacemaker node attribures and node status as dict.
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
2015-10-20 22:57:49 +03:00
Dennis Dmitriev 00dde4b1ba Replace Ubuntu mirror in /etc/fuel/astute.yaml to local mirror
- 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
2015-09-04 18:06:59 +03:00
Alexander Kurenyshev 303641841b Add SSL support to the Fuel-QA tests
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
2015-08-31 16:59:12 +03:00
Dennis Dmitriev dfb6354b3c Refactor nova-network cases to neutron
- use neutron in tests migrate_vm_backed_with_ceph and
  check_ceph_partitions_after_reboot
- add primitives for requesting OVS database
- add showing "steps" from docstring into test cases
- refactor fuel master backup/restore helper methods

Change-Id: I0c9727eb7f2f4067f615386790b12fb0220c548c
Closes-Bug:#1484155
Closes-Bug:#1483767
Related-Bug:#1485954
2015-08-21 16:41:20 +03:00
Jenkins 8a67935fb8 Merge "Add system tests for security scans" 2015-08-20 13:20:44 +00:00
Dennis Dmitriev 3fc4cb20f5 Add missing docs to ./doc files
Change-Id: I3929d21944949d16d07443c7e9009525b0e118df
Related-Bug:#1486760
2015-08-20 01:22:34 +03:00
Dmitry Kalashnik 07909b9d5e Add system tests for security scans
Test types:
  * Fuel master Credentialed Patch Audit
  * Fuel master Advanced Web Services tests
  * Ubuntu controller Credentialed Patch Audit

Implements: blueprint security-scanning-nessus
Change-Id: I953b8bfb989becc264a9d6be3f66cf9d60f8842f
2015-08-19 15:21:23 +03:00
Alexandr Kostrikov e317c2d6d2 doc: Added an initial Sphinx documentation
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
2015-05-07 17:42:38 +03:00