Commit Graph

56 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
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
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 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
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
Jenkins 3be04d12ce Merge "Add calico_node_image_tag usage in k8s settings" 2016-10-25 13:54:32 +00:00
Artem Panchenko d29e11bff8 Add possibility to enable network policy via Calico
Change-Id: Idb951f22b3ece46d7eee26af79af82070c752f4c
2016-10-24 12:15:10 +03:00
Jenkins 3c1e93b349 Merge "Add rest of repos to don't miss them in the future" 2016-10-12 14:38:40 +00:00
Jenkins 78050f479b Merge "CCP fetch yaml default intialization fix" 2016-10-12 13:39:37 +00:00
ydehtiarov b3d4103688 CCP fetch yaml default intialization fix
default fetch config moved into appropriate include file

Change-Id: Icc00d17ca99f1c14cd3fcc21b0bb655a9a5afcfa
2016-10-12 16:24:40 +03:00
Jenkins 12a24fb332 Merge "ccp fetch tests" 2016-10-12 10:05:50 +00: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
Artur Zarzycki 04d2f8d1d7 Add rest of repos to don't miss them in the future
Change-Id: I0c944d7e8d470ed17bdc5fd394529e3ee302f24e
2016-10-11 11:04:38 +02:00
Egor Kotko 0f5302b5ff Precommit test change:
- add revert from custom name snapshot
- add possibility pull images from
external registry

Change-Id: Ib4b4dd600335c4468ebe961af4d296783ac5c5ab
2016-10-11 11:00:01 +02:00
tatyana-leontovich d81278c33b Revert "Set latest tag as default"
This reverts commit 44772da748.

Change-Id: I068497f02992a5ce0094adc9ccc3ac7b4f5e936f
2016-10-06 09:36:42 +00:00
Tatyana Leontovich 44772da748 Set latest tag as default
Change-Id: I5011990f7e2bd904800ab87688c0b2b77b6f27be
2016-10-05 20:31:03 +03:00
Jenkins 9a36dd7188 Merge "Remove deprecated deploy config parameter" 2016-10-05 16:42:12 +00:00
Dmitry Tyzhnenko 55520fd90e Remove deprecated deploy config parameter
Change-Id: Ib7464b4ddaca0ab53b348869ccf07bb578fee91d
Closes-bug: #1630499
2016-10-05 18:53:01 +03:00
Dmitry Tyzhnenko ff8ad95621 Add KARGO_TIMEOUT setting
Change-Id: Id630ff8fef3efc298effedf2ac9d98efdfe0eeda
2016-10-04 11:29:26 +00:00
Jenkins 5b040b416e Merge "Newton/Ocacta support" 2016-10-04 09:30:38 +00:00
Artem Panchenko 61c3ad0227 Add an ability to turn on/off custom Calico CNI
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
2016-10-03 15:37:28 +03:00
Jenkins 472522c33d Merge "AppController linear test improvements." 2016-10-03 09:17:03 +00:00
Dmitry Tyzhnenko 2c5354eb44 Newton/Ocacta support
Change-Id: I77a1dae59336434ca83ef96a6f78422939869a02
2016-09-29 10:59:28 +00:00
Dmitry Tyzhnenko f5166ebed6 Use upstream 1.4.0 hyperkube
Change-Id: I18111e569adcb698c9e92d8fdaade55701dc8783
2016-09-28 13:06:06 +03:00
Sergey Lebedev f4944b186a Add calico_node_image_tag usage in k8s settings
Via CALICO_NODE_IMAGE_TAG environment variable

Change-Id: Ib041f9165b0b88850968c224fec1251d9348990e
2016-09-27 11:03:33 +03:00
Artem Panchenko 47c83cf4e8 Don't override 'ipip' option for installer by default
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
2016-09-26 15:06:16 +03:00
Sergey Lebedev a842e5afdb AppController linear test improvements.
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
2016-09-26 13:58:11 +03:00
Artem Panchenko 49359a3617 Use local DNS server for kubernetes by default
Change-Id: I2e16b1b86b020f10ee25dea47443751c49770ad4
2016-09-21 11:43:35 +03:00
Jenkins 9fda441c8f Merge "Add pre_commit tests for neutron" 2016-09-20 18:20:55 +00:00
Tatyana Leontovich d824939403 Add pre_commit tests for neutron
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
2016-09-20 14:58:26 +03:00
Egor Kotko 179c00242f Delete use_stderr parameter
Change-Id: I406c029f44634b82ec74b58d04ce57f3007d05d8
Closes-bug: #1625582
2016-09-20 13:17:11 +02:00
Artem Panchenko 368c492612 Switch netchecker test to use docker images
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
2016-09-19 23:11:44 +03:00
Sergey Lebedev 2b72da562d Fix "NAMESERVERS" environment variable usage in tests.
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
2016-09-19 10:42:48 +00:00
Jenkins eb08681a89 Merge "LVM plugin for k8s basic test" 2016-09-16 16:41:12 +00:00
Sergey Lebedev 0e023bcd21 LVM plugin for k8s basic test
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
2016-09-16 14:56:28 +03:00
Dmitry Tyzhnenko 316fa360e4 Migrate to cpp conf file
Change-Id: I93d160db9ccb220f18a5d5737ba2b873209180e0
2016-09-16 10:14:22 +00:00
Jenkins 104784cc7a Merge "Add possibility to specify custom Calico artifacts" 2016-09-14 16:40:43 +00:00
Artem Panchenko 098bcb3a30 Add possibility to specify custom Calico artifacts
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
2016-09-14 17:07:50 +03:00
Sergey Lebedev 9748cca200 Basic test of appcontroller
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
2016-09-13 16:17:57 +03:00
Artem Panchenko fe0518443e Add test for k8s network checker
Created new system test for the mcp-netchecker-server
and mcp-netchecker-agent projects.

Change-Id: I9ba91e78ae1f39d874560ec43374b4354adeb563
2016-09-09 11:52:30 +03:00
Jenkins 3b20f63587 Merge "Add heat test" 2016-09-08 12:47:28 +00:00
Jenkins f403538acc Merge "Add test for nova service" 2016-09-08 12:47:01 +00:00
Tatyana Leontovich 66dd707206 Add heat test
Test covers:
* update service sources
* build images
* deploy openstack
* run tempest api orchestration tests

Change-Id: I2bc423b194bf3fbc6aa78a55474d2ef4f8690ec7
2016-09-08 15:33:34 +03:00
Tatyana Leontovich 30853bc708 Add test for nova service
Also change test_deploy to use latest fixtures changes

Change-Id: I36f41954d122b3f1e1c1ed68778e6c404a32abe0
2016-09-08 15:32:39 +03:00
Yuriy Taraday de1f637ddd Switch to YAML config since oslo.config won't work anymore
As fuel-ccp has already switched to YAML config, we should fix it here
too.

Change-Id: I2b00f690bdfbc27fc364bc25df278fe4a922d1dc
2016-09-08 12:30:16 +03:00
Dmitry Tyzhnenko 135bdd34cc Pre commit test for keystone
Change-Id: I0a430e8288b88334ca1de5738c101078a869c04e
2016-09-05 15:29:33 +00:00