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 8457ee9280 Add galera tests
- Add tests on galera deployment, galera node reboot, shutdown,
poweroff, cold reboot, cluster shutdown
- Add test on scale up and down galera
- Galera checkers will be added after merging patch
https://review.openstack.org/#/c/399999/8/service/files/galera_checker.py

Change-Id: I31e1fe214e558497bcec7661f9e204ee645a56c1
2016-12-07 16:38:38 +02:00
Artem Panchenko 39dbbf5f56 Fix PEP8 errors (E305)
Since flake8 3.2.0 is released [0] it also checks
E305 rule: 2 blank lines are expected after class
or function definition.

[0] http://flake8.pycqa.org/en/latest/release-notes/3.2.0.html

Change-Id: I0f4074efefefbd0b510b841625be18ea2f14bded
2016-11-15 19:13:06 +02:00
ydehtiarov 4429dbcc1a ccp fetch tests
- ccp fetch testcases
- git-ssh service mock fixture(instantiate docker container running git ssh server)
- ccpmanager fetch updated to support yaml config
- ccpmanager fetch return execution result
- ccp manager fetch ignore exit code and return to upper layer
- updated scenarious for using yaml file
- git-ssh-server teardown added
- openstack images origin added into settings
- usage of show_step fixture added

Change-Id: Ife76165b9c1bf335dad4ae89dff4bfe6d2bc3e40
2016-10-11 18:39:58 +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
Dennis Dmitriev 833867c846 Add 'hardware' snapshot with 'clean' environment
'hardware' snapshot will be reverted only if no 'revert_snapshot'
mark specified for test or if the specified in the mark snapshot
name not found in the environment.

If 'hardware' snapshot exists in the environment, then it won't
be created/overwritten with next test run.

Change-Id: I1c4837d7b7903c0234ff4f12763cda882289bce1
2016-09-22 12:28:09 +00:00
Dennis Dmitriev 3002cff1b6 Scale up k8s cluster using fuel-ccp-installer
Change-Id: I9a16bafe003a71702ac6f1742acee99df6f29164
2016-09-07 17:38:03 +03:00
Dennis Dmitriev 0d72509ce4 Store config when snapshots are taken and restore it with revert
Now 'underlay', 'k8scluster' or 'ccpcluster' can restore
a snapshot if the snapshot name was specified in the
pytest.mark.revert_snapshot(name=<str>).

Snapshot is reverted *only* if:
  - name of the snapshot matches the name of the snapshot that
    is created by fixture:
    * 'underlay' fixture reverts only 'underlay' snapshot
    * 'k8scluster' reverts only 'k8s_deployed' snapshot
    * 'ccpcluster' reverts only 'ccp_deployed' snapshot
  - snapshot actualy exists at the moment

If fixture made changes to the environment, it takes a snapshot
and stores current config to a file 'config_<snapshot_name>.ini'

Other changes:

- Removed 'initial' snapshot. It doesn't makes sense because
  matches to the environment state 'never powered on yet'
- Add 'underlay' snapshot instead of 'initial', that stands for
  ready Underlay layer (operation systems are provisioned and
  configured)
- Move hardware.start() from 'hardware' fixture to 'underlay'
- Use for tests @pytest.mark.revert_snapshot with more suitable
  snapshot names

Change-Id: I15ac734736563e3e40cd850adc49e1b4a070ae20
2016-09-01 18:29:25 +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