Commit Graph

9 Commits

Author SHA1 Message Date
Andreas Jaeger 9e22aa5af0 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: I7b6da23a9ca05fb94f9f14e0f304cce596c469e8
2019-12-18 09:55:16 +01:00
asledzinskiy ca1ad32f20 Add tests to check rabbit cluster
- Add client to work with rabbit cluster: create queue,
message publishing, check cluster state
- Add failover tests for rabbit nodes

Change-Id: Ifde0aac45a43460d9af15442381bf0843bfe072e
2016-12-22 13:39:08 +02:00
Dennis Dmitriev a736489db9 Revert only the latest snapshot that matches the test requirements
- add pytest marks 'revert_snapshot' to all required fixtures instead
  of reverting the snapshots inside them
- add get_top_fixtures_marks() that extracts all the marks
  'revert_snapshot' from the test and it's fixtures, order the marks
  in the same way as the fixtures depends on each other,
- in the fixture 'revert_snapshot' try to find the most suitable
  snapshot for reverting, from latest to earliest.
- mark 'revert_snapshot' removed from system tests which use fixtures
  with the same mark (for example, 'k8s_deployed' mark removed from
  system tests where the fixture 'k8scluster' is used as a top fixture)

Change-Id: Iad9e56d96d870aa4204ba23e76a5b4df01d4385b
Co-Authored-By: Dmitry Tyzhnenko <dtyzhnenko@mirantis.com>
2016-11-18 12:38:23 +02:00
Dennis Dmitriev 6854c4f447 Add YamlEditor from fuel-qa repo
YamlEditor is a simple way to manipulate YAML content
in the files stored on the localhost or on the remote host.

- YamlEditor moved from fuel-qa/fuelweb-test/helpers/utils.py
- add possibility to work with multi-document YAMLs (variable
  document_id sets the current document to edit)
- add 'multi_constructor' and 'representer' to work with YAMLs
  that are using different tags (for example "!include") without
  parsing these tags.

Examples:

// Local YAML file
with underlay.yaml_editor('/path/to/file') as editor:
    editor.content[key] = "value"

// Remote YAML file on k8s host
with underlay.yaml_editor('/path/to/file',
                          host=config.k8s.kube_host) as editor:
    editor.content[key] = "value"

Change-Id: I4741197125c508a90dac5c8df93381a040542a4a
2016-10-12 09:51:49 +03:00
Jenkins 52ddfb73e3 Test logging aggregation
- to run this test, the following env variable should be exported:
  export STACKLIGHT_ENABLE=true
- os manager
- os deployed fixture
- os deployed with stacklight fixture
- assertion messages added
- moved to component folder
- list of files switched from ls to find
- elastic client return None if not items found
- show_step applied to all scenarios

Change-Id: I4ded419730889761ffa102a23e97d655a07d20fa
2016-09-30 17:42:52 +03:00
Artem Panchenko 0266c5a858 Add connection timeout to the nechecker requests
Sometimes tests hang while performing requests to the
netchecker. To prevent that 5 seconds connection timeout
is added. Also @retry decorator is used for re-trying
connection if it fails.

Change-Id: Iea90a04fc713304fb98807488021be9971273280
2016-09-22 10:47:39 +00:00
asledzinskiy 6f07259b04 Add test with 2 OS clusters
- Add test where we deploy 2 OS clusters and
check that vms can be created

Change-Id: I699adac11a3d3507236626aa95da15f3002d0720
2016-09-21 12:16:23 +03:00
ydehtiarov 8a8e408d25 Add ccp show dependency tests
- Add ccp show-dep component tests
    - Add ccp show-dep error code tests
    - Add string helpers for simpler command execution result processing

Change-Id: I84d3329060f225e91c2e5ace3ebbdf441824e794
2016-09-07 13:09:32 +03:00
Dennis Dmitriev b36041e4ce Move tests into a ./tests folder
- K8sClient moved from ./models to ./managers
- all YAMLs placed to ./tests/fixtures/templates
- all tests placed to ./tests/ into separated folders depending
  on tests types
- ssh_manager removed from helpers (unused)
- main folder 'mcp_tests' renamed to 'fuel_ccp_tests'
- conftest.py moved to the ./tests/system and ./tests/component
  folder because of failed unit tests (we use fixtures with
  autouse=True which fail unit tests).
- empty conftest.py added to the root of fuel_ccp_tests module
  to get unit tests passed

Change-Id: I25671dd7d6f3ee294a4e4146f9f2c2ba4d9b2d06
2016-08-24 18:36:25 +00:00