- Add client to work with rabbit cluster: create queue,
message publishing, check cluster state
- Add failover tests for rabbit nodes
Change-Id: Ifde0aac45a43460d9af15442381bf0843bfe072e
Since we deploy and run netchecker applications
by tests for Calico, disable its deployment in
kargo.
Change-Id: I2946e8db3aa63c49ddd8ed03287a16b9619c3141
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
Make it possible to define 'calicoctl_image_tag' value from
tests by exporting CALICOCTL_IMAGE_TAG variable.
Change-Id: I499b5288b39f504352f9c25a4cdef35b9c8522cc
* 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
The option 'use_hyperkube_cni' for kargo can't be
changed via CUSTOM_YAML: the fact is always overridden
by ansible and the value depends on k8s version.
Added an ability to set another kargo variable from
tests - 'overwrite_hyperkube_cni', see
2b6866484e
Change-Id: I8d817d6be852e85cbe857d3963bef1ad00a24469
Test should use default value of 'ipip' setting for the
deployment script, unless it's explicitly set from tests
or exported to environment variables.
Also since at the moment 'ipip' is disabled for all
existing tests, we need to add a separate test for
deploying Calico with tunnels. Scenario:
1. Enable 'ipip' in the settings
2. Install k8s.
3. Check Calico IPIP tunnels exist
4. Basic check of running containers on nodes.
5. Create nginx pod.
6. Check created pod is reached
7. Delete pod.
Change-Id: I4d1e2417b3f4b27e7ca15afebdc3de4bef63a177
Now checking creation_timestamp of each k8s object to check if objects
are created linearly.
Add show_step fixture usage into code.
Change-Id: I765223811ad1fdbf0b7ed9fbc15e501e28a61580
Test coevrs:
* deploy k8s
* install ccp
* update neutron service
* build images
* deploy openstack
* install rally
* run tempest.api.network tests
* assert that there is no failures in tempest result
* store test result into logs directory
Change-Id: Ie26c1c39f04714bdf339e6f36cc906af68dd3413
Add a few improvements to the test for the netchecker:
* do not build Docker images manually, take ready
artifacts from the registry;
* remove redundant sleeps and netcheker-server restart;
* fix minor typos and wrong copy-paste.
Change-Id: I3a9cbbb670689e5e389e71ce12c0e1b591f5e5d3
1. Delete "nameservers" from kube_settings in test_stacklight.py
2. Delete "nameservers" from kube_settings in test_appcontroller.py
3. Delete appropriate variable NAMESERVERS in settings.py
4. Use yaml.safe_dump instead of yaml.dump while dumping custom_yaml
Change-Id: I46937d29330079aae5b8350414a5cb9731997817
We have plugin for LVM usage in k8s, this patch adds basic test using
this plugin.
This test creates an environment (which should have extra storage),
installs required software to use LVM on nodes, uploads a plugin to
each node and then creates nginx pod using this plugin to create its
storage.
Sample command to run test:
ENV_NAME="lvm_usage"\
CONF_PATH=fuel_ccp_tests/templates/default-with-storage.yaml\
IMAGE_PATH=/path/to/image LVM_PLUGIN_PATH=/path/to/plugin/binary\
DEPLOY_SCRIPT=/path/to/fuel-ccp-installer/utils/jenkins/kargo_deploy.sh\
py.test -s fuel_ccp_tests/tests/system/test_k8s_lvm_plugin_usage.py
Change-Id: I0a31324e445902774f35b6cf2af1d9d43e74f53e
Make it possible to set custom repo/version/url for
Calico artifacts. But do not override defaults from
fuel-ccp-installer or kargo if environment variables
are not set.
Change-Id: I2b8a151844006ad7392e5312a1cd2d5d3037d6a3
This patch adds basic test for AppController that was provided by
developers.
Test case:
1. Get AppController source on master node
2. Create AppController in k8s
3. Wait until pod with AppController is Running
4. Wait until required thirdparty resources are created
5. Create dependencies from test
6. Create definitions from test
7. Run AppController to create defined resources
8. Check if resources are created in expected order
This test could be run without environment creation via oslo.config:
TESTS_CONFIGS="/path/to/config.ini"
Sample run of this test (${fuel_ccp_installer} is path to
fuel-ccp-installer repo):
KARGO_COMMIT="kubednsrc"\
AC_COMMIT="simple-test-case"\
TESTS_CONFIGS="/path/to/config.ini"
py.test -k ac_linear_test
Change-Id: If2970f8f25d9d42c519a4a4e307b47548b882cee
Test covers:
* update service sources
* build images
* deploy openstack
* run tempest api orchestration tests
Change-Id: I2bc423b194bf3fbc6aa78a55474d2ef4f8690ec7