Commit Graph

247 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
ZhanHan 003c86ab4b Modify a spelling error
Change-Id: I5ae4ef60ab5f705b798fe1ac0a868a40c8f6158d
2017-12-20 15:50:08 +08:00
asledzinskiy a8f5e57221 Increase default resources in devops templates
- We suffer from lackness of CPU and RAM during ccp
deployment so default numbers were increased

Change-Id: I751816cbab35963c518b4893b6beae864e237a77
2016-12-29 17:05:47 +02:00
asledzinskiy 89cde94048 Fix deploy-test-vms invocation
- Fix deploy-test-vms.sh invocation adding namespace option

Change-Id: I093508e9f01b5f00442c87b3d2f79c6da00889d8
2016-12-29 12:32:03 +02:00
Jenkins 7469806e69 Merge "Add conformance test" 2016-12-28 16:18:28 +00:00
asledzinskiy a102043b11 Add test with ccp in container
- Add test where ccp is installed as container
and OS is deployed with containerized ccp

Change-Id: Ic6d1884b8330b3ef1e3a214391a5c442306b4fd6
2016-12-28 16:56:26 +02:00
Volodymyr Shypyguzov e1c94fbe0e Add conformance test
Add simple test that runs conformance tests using pre-built image
Requires path to it to be set via E2E_CONFORMANCE_IMAGE env variable

Change-Id: I80d82531d8a80912f007b814c287d96e1e286244
2016-12-28 13:46:36 +02:00
Jenkins 5d3db0e0d4 Merge "Add tests to check rabbit cluster" 2016-12-22 14:03:39 +00:00
asledzinskiy 89c8319b9b Remove custom timeouts in few_os tests
- We have default timeout for deployment bigger than we used
in few_os tests so it's better to stick to default

Change-Id: I58f04ee23a10c32053087832b843372a0a1a5150
2016-12-22 13:52:03 +02: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
Evgeny Sikachev 616b573762 Fixed pep8
Fixed some pep8 nits

Change-Id: Iaad307daab5302b47da898bfa80b3157a8407891
2016-12-20 17:34:13 +04:00
Evgeny Sikachev 990ea5e627 Fix getting ip in shutdown node method
We need to use ip instead name of node

Change-Id: I9885ac6b63f3ddd9c7d0ef022bbf9e0e764f4a88
2016-12-12 17:55:58 +04:00
asledzinskiy a81ceb069c Add debug key to ccp command execution
- Add debug and verbose keys to ccp command execution

Change-Id: I5cb187ec293d54e06ac03f930d0efab89891796b
2016-12-09 13:12:11 +02:00
asledzinskiy 97989e87ae Change build images condition
- Our registry by default is set to local registry so
condition like 'if not settings.registry' doesn't make sense.
Change it condition to compare with local registry address

Change-Id: I7c49be77f6cdee921116df18891809eab618f376
2016-12-08 16:57:23 +02:00
Jenkins 2cc97d84ab Merge "Add galera tests" 2016-12-08 12:51:45 +00:00
Volodymyr Shypyguzov 493dc8b27a Refactor fixtures that check required files and settings
Refactor those fixtures in a more general way, so they can be used in
any test, not only netchecker one.
Just set class variables required_files and required_settings to use them
In that way all required files and settings will be in the test class, and not
in the fixture itself.

Change-Id: I27eb98e46978205f4a4e9769e368d4720e2f8b55
2016-12-07 16:42:43 +02: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
Jenkins b1fb1706d2 Merge "Revert only the latest snapshot that matches the test requirements" 2016-12-05 08:44:27 +00:00
Jenkins cab3213efe Merge "Disable netchecker deployment in Calico tests" 2016-12-02 16:11:28 +00:00
Volodymyr Shypyguzov 534c12eb75 Increase KARGO_TIMEOUT to 3600
Due to some issues on CI increase timeout to one hour

Change-Id: Ida782dd213bba56fff15bbe278ec9b318f94785e
2016-12-02 13:14:21 +02:00
Artem Panchenko b54dbdc3aa Disable netchecker deployment in Calico tests
Since we deploy and run netchecker applications
by tests for Calico, disable its deployment in
kargo.

Change-Id: I2946e8db3aa63c49ddd8ed03287a16b9619c3141
2016-12-02 12:49:50 +02:00
Artem Panchenko de7c9a4fd7 Fix regexp for required images matching
Change-Id: I699bd497734e945791e0abc01cd0a5a739d72551
2016-11-29 16:08:52 +02:00
Jenkins d6f8b580e6 Merge "Temporary fix for ETCDCTL_ENDPOINT" 2016-11-29 12:16:34 +00:00
asledzinskiy 7f559a258f Fix parameters passed to deploy-test-vms.sh
- Neutron fixed network creation was moved to k8s jobs
thus this part was deleted from deploy-test-vms.sh and
there is no need to pass it to script

Change-Id: I347de611e505859b0b9223fb87f96af35c67043b
2016-11-28 18:32:31 +02:00
Artem Grechanichenko a68c71fe9d Temporary fix for ETCDCTL_ENDPOINT
manually exporting ETCDCTL_ENDPOINT before checking
etcd cluster-health

Change-Id: I7dcc32495f94f7246490b8e118368d9c890b074b
2016-11-28 16:54:57 +02:00
Volodymyr Shypyguzov 27e62c6f13 Catch devops error if inspecting containers goes wrong
In case something is wrong with inspecting containers catch DevopsError
instead of failing whole deployment

Change-Id: Ib4888c30c6b1dcae8d6094f769246fac6b41e164
2016-11-24 15:33:50 +00:00
Jenkins bbd10ffddd Merge "Log additional hyperkube info after cluster deployment" 2016-11-18 13:39:05 +00:00
Volodymyr Shypyguzov 401621434e Log additional hyperkube info after cluster deployment
Since we no longer have additional info in the hyperkube image tag
gather this info using docker inspect

Change-Id: I3a68da3c84071f6d093e35e5a56737ce8f6d088c
2016-11-18 13:32:37 +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
Jenkins cc292bdd50 Merge "Add negative tests for checking --to-revision arg for kubectl unroll undo daemonset/<name>" 2016-11-17 18:23:19 +00:00
Jenkins 5652af6485 Merge "Test rollout skipping" 2016-11-17 18:21:05 +00:00
Volodymyr Shypyguzov 457facba03 Explicitly set KARGO_TIMEOUT type to int
If we leave it as it is we get
TypeError: unsupported operand type(s) for +: 'float' and 'str'
in waiter

Change-Id: I2e764e982373bf5f024f513c327019f8ea9c759a
2016-11-17 13:25:19 +02:00
Artem Panchenko 0f25a78987 Use 'calico/cni' image to get CNI binaries (kargo)
Align system tests with recent change to kargo:

https://github.com/kubernetes-incubator/kargo/pull/600

Currently, custom Calico CNI binaries can be taken
from Docker image only, direct download links aren't used
anymore.

Change-Id: Ifafda828a6307d9a81c667c0f830bc65624580af
2016-11-15 19:24:46 +02:00
Artem Panchenko 28b1e600c0 Support new version of Calico (2.0)
With new Golang version of `calicoctl` (v.1.0.0-beta
and older), command line interface was changed.
Modified tests, so both old and new versions are
supported.

Change-Id: Id33089d3b184a04624b99a160467e860fa1e0556
2016-11-15 19:24:46 +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
Artem Panchenko 89d1563e5f Add a possiblity to set 'calicoctl_image_tag'
Make it possible to define 'calicoctl_image_tag' value from
tests by exporting CALICOCTL_IMAGE_TAG variable.

Change-Id: I499b5288b39f504352f9c25a4cdef35b9c8522cc
2016-11-10 17:02:41 +02:00
Volodymyr Shypyguzov 6f7452ee73 Fix resource names for the AppController test
Since dependency and definition resources were renamed to
"dependency.appcontroller.k8s" and "definition.appcontroller.k8s"
accordingly we should change expected names in the test

Change-Id: I9951eeadbd4dc41f0797b444ea12462caec7cba5
2016-11-07 21:01:59 +02:00
Jenkins 4a4dfb537f Merge "Rollback multiple times a daemonset using updateStrategy type: RollingUpdate and --to-revision=0 arg" 2016-11-01 13:31:25 +00:00
Jenkins 2e7445e92b Merge "Rollout multiple times a daemonset using --revision key" 2016-11-01 13:31:17 +00:00
Artem Panchenko 124140caf2 Fix 'required_images_exists' method
Since Docker images names depend on used registry address
(Docker hub or some private one), tests can't just compare
pre-set names with actually deployed images. Use regular
expressions for that.

Change-Id: I4fb9ae3da33d668bd5729ff15cbac0234c7f9485
2016-10-31 17:21:22 +02:00
Artem Panchenko a1ac1910f5 Refactor netchecker and calico tests
* moved methods for netchecker setup/start/stop
   to the helpers;
 * added a possiblity to install netchecker to k8s
   cluster w/o fetching additional repositories;
 * resolved #TODO (work with nodes labes via API).

Change-Id: Ic6a8470ff53d7e95c36240d25d816db3c5a0d89d
2016-10-27 16:39:41 +03:00
Artem Grechanichenko 9704b23fa8 Add negative tests for checking --to-revision arg for kubectl unroll undo daemonset/<name>
Change-Id: I0a25341c71d83337f32f5eb2d1d572c6299afa86
2016-10-27 09:43:08 +00:00
Artem Grechanichenko de0f5deced Test rollout skipping
Change-Id: Iff0eef8115486d98013009d2d35e07a259142f03
2016-10-26 16:33:29 +00:00
Artem Grechanichenko a1f1304fba Rollback multiple times a daemonset using updateStrategy type: RollingUpdate and --to-revision=0 arg
Change-Id: I368ccd75b668457467400052c4307a085da76f0a
2016-10-26 16:26:30 +00:00
Artem Grechanichenko a1246475ff Rollout multiple times a daemonset using --revision key
Change-Id: I3e43a32fd1234df166b421422ee80d8923a92caf
2016-10-26 16:26:14 +00:00
Jenkins 6466a5d08b Merge "Rollout multiple times a daemonset using updateStrategy type: RollingUpdate" 2016-10-26 12:15:36 +00:00
Jenkins d0464e126e Merge "Rollout a daemonset using updateStrategy type: Noop" 2016-10-26 12:15:30 +00:00
Jenkins 0e0fe2f4fd Merge "Rollout a daemonset using updateStrategy type: RollingUpdate" 2016-10-26 12:15:25 +00:00
Jenkins f5ffd8653c Merge "Update a daemonset using updateStrategy type: RollingUpdate" 2016-10-26 12:14:05 +00:00
Jenkins d2864ee630 Merge "Update a daemonset using updateStrategy type: Noop" 2016-10-26 12:13:59 +00:00