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
- 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
- Add client to work with rabbit cluster: create queue,
message publishing, check cluster state
- Add failover tests for rabbit nodes
Change-Id: Ifde0aac45a43460d9af15442381bf0843bfe072e
- 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
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
- 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
Since we deploy and run netchecker applications
by tests for Calico, disable its deployment in
kargo.
Change-Id: I2946e8db3aa63c49ddd8ed03287a16b9619c3141
- 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
In case something is wrong with inspecting containers catch DevopsError
instead of failing whole deployment
Change-Id: Ib4888c30c6b1dcae8d6094f769246fac6b41e164
Since we no longer have additional info in the hyperkube image tag
gather this info using docker inspect
Change-Id: I3a68da3c84071f6d093e35e5a56737ce8f6d088c
- 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>
If we leave it as it is we get
TypeError: unsupported operand type(s) for +: 'float' and 'str'
in waiter
Change-Id: I2e764e982373bf5f024f513c327019f8ea9c759a
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
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
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
Make it possible to define 'calicoctl_image_tag' value from
tests by exporting CALICOCTL_IMAGE_TAG variable.
Change-Id: I499b5288b39f504352f9c25a4cdef35b9c8522cc
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
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
* 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