aboutsummaryrefslogtreecommitdiffstats
path: root/functest
AgeCommit message (Collapse)AuthorFilesLines
2017-06-28Fix refstack_defcoreLinda Wang3-39/+9
As refstack-client is reinstalled only by the shell setup_env, the path of .venv and .tempest have been changed. Change-Id: Id50d0c6384295c2448705961942104abbd799b9b Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-28Merge "Remove Rally requests scenario"Jose Lausuch4-27/+1
2017-06-27Remove Rally requests scenarioJuha Kosonen4-27/+1
HttpRequests scenario is not directly related to OpenStack and not supported by Rally in https environment. Change-Id: I2e91d129d82dfaba62eca25e3e4890ff54f52ac6 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-06-27Updated fds testcase criteriajuraj.linkes1-1/+1
Initially, we only executed fds testcase on odl_l2 fdio scenarios. Now we're extending this to all odl fdio scenarios. Change-Id: Ieb2454f02847361fdf3274b11f20a996a916ad90 Signed-off-by: juraj.linkes <jlinkes@cisco.com>
2017-06-27Merge "Increase timeout of Open Baton installation"Jose Lausuch1-2/+2
2017-06-27Merge "Add sfc in thirdparty-requirements.txt"Jose Lausuch1-1/+0
2017-06-27Merge "Remove obsolete repos in functest/ci/config_functest.yaml"Jose Lausuch2-5/+2
2017-06-27Add sfc in thirdparty-requirements.txtCédric Ollivier1-1/+0
Now it can be installed via python package [1] and then be listed in thirdparty-requirements.txt. [1] https://gerrit.opnfv.org/gerrit/#/c/36445/ Change-Id: Iae7482865917e51a96a180b0a987ab0ff26a0190 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-27Increase timeout of Open Baton installationMichael Pauls1-2/+2
Change-Id: Ifdc24a3fc9e2c315b41f9e68bccb88df36252b0c JIRA: ORCHESTRA-14 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
2017-06-27Remove Tempest repo and use the one created by Refstackjose.lausuch1-1/+1
Refstack clones the repo in /home/opnfv/.tempest. Rally can use that repo which is checked out to the REFSTACK_TAG=15.0.0 This way, we avoid having twice the same files. Change-Id: I9b05d29b1c9bdf3d10539b771d0d20abb2b7cc37 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-27Merge "enable doctor-notification test case"Morgan Richomme1-1/+0
2017-06-27Merge "Added unit tests for api_check, health_check, and smoke tests."Jose Lausuch4-16/+183
2017-06-27Merge "Don't display functest report for single test cases"Jose Lausuch1-10/+12
2017-06-27enable doctor-notification test caseRyota MIBU1-1/+0
Change-Id: If2b6b46f3f192f58636c55f3ddc9e80b9e22be3c Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-06-26Fix floating ips issue in openstack_cleanjose.lausuch2-6/+11
floatingips is a list of dictionaries where the attributes are a bit different than in the previous implementation. Change-Id: I8e8429b1819bba35a4a829f274c60b77ab2eea7e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-26Merge "Make rally support https insecure deployment"Jose Lausuch2-7/+12
2017-06-26Fixed problem to vping userdata introducted by SNAPS-OO patch.spisarski1-1/+1
Changed get_vm_inst() to return a domain object forgot to change the call in vping_userdata.py. JIRA: SNAPS-92 Change-Id: I7585dcde483c39fa850e5184686f42bbf2e8f3c5 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-06-26Remove obsolete repos in functest/ci/config_functest.yamlCédric Ollivier2-5/+2
It completes "Use directly OpenStack project packages" [1]. kingbird becomes a dependency. [1] https://gerrit.opnfv.org/gerrit/#/c/36125/ Change-Id: I2cb9e3a2146a2b2bbae89dde9917c5ace70048a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-26Merge "Use glance to list images"Jose Lausuch6-21/+28
2017-06-26Merge "Change floating ips management from nova to neutron"Jose Lausuch5-29/+33
2017-06-26Merge "Enable vping offline"Jose Lausuch1-3/+3
2017-06-26Merge "Define logger as Feature instance attribute"Jose Lausuch2-4/+37
2017-06-26Change floating ips management from nova to neutronjose.lausuch5-29/+33
Nova does not longer support floating ip creation/deletion. This patch moves that logic to neutron client. Change-Id: I2c4146149fe5be534d9c50d78d831b5af1957ad7 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-26Don't display functest report for single test casesjose.lausuch1-10/+12
When executing a single test case, it is not neccessary to show duplicated information about the result of the test case. The functest report only makes sense when running multiple tests. e.g. functest testcase run vping_ssh The report is still showed when doing: functest testcase run all Change-Id: I92d97d6111ecd9484a14c72cf4bb0c2bbe3ae6bf Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-24Make rally support https insecure deploymentLinda Wang2-7/+12
When running in https environment, rally should support insecure deployment if no cacert file is provided. JIRA: FUNCTEST-828 Change-Id: I29b0fc8c2e1b74a1ce08293706cd9f11f975b6d5 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-24Merge "Remove calls to deployment handler in prepare env"Jose Lausuch2-8/+2
2017-06-24Use glance to list imagesLinda Wang6-21/+28
1. Images list is not supported by novaclient 8.0.0 2. It moves images list out of nova and into glance Change-Id: I2a2d40a2ca3a0cf1ebfb55697b3c58af8748a805 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-23Merge "Enable https insecure for functest"Jose Lausuch2-17/+19
2017-06-23Enable vping offlineLinda Wang1-3/+3
Images used are changed to leverage local file. Change-Id: I42a89c8c33054a23e226d22358fe268770986a76 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-22Remove calls to deployment handler in prepare envjose.lausuch2-8/+2
The reason is that some installers have changed the mechanism and the adapters are not valid any more and the method to access the deployment information fails Fuel -> MCP Compass -> Containers This shall be deactivated to avoid errors in CI until the new installer adapters are implememnted. Change-Id: I995b914bf55d5da76f27e715d170dd22e84d677c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-21Fix command in prepare env to execute check_os.shjose.lausuch1-2/+2
[1] introduced a bug when adding "sh" to the call. There is no need to use sh or bash in the command string. [1]: https://gerrit.opnfv.org/gerrit/#/c/36163/ Change-Id: I9ce443721b69945a4a749da0caa6c008cc8ca284 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-21Define logger as Feature instance attributeJose Lausuch2-4/+37
It allows any Feature subclass to print warning messages in console and debug messages in a dedicated file. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ic5b1b1184c16cf50f0baadc3904075d0acdf3c6d Signed-off-by: Jose Lausuch <jose.lausuch@ericsson.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-21Enable https insecure for functestLinda Wang2-17/+19
1. When running in https environment, functest should provide an option to disable server certificate verification. 2. For check_os.sh, the param "--insecure" is passed to openstack cli, e.g.. openstack --insecure server list. JIRA: FUNCTEST-828 Change-Id: Ie2c5b14152c92e87318fcfaf8b234f59275eb6b8 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-20Change barometer module to loadJose Lausuch5-73/+1
As [1] is merged, the way to call the barometer test case is different as it is hosted in Barometer repo instead of Functest. The former files are also simply removed too. baro-tests is no longer a requirement. It is installed as any third party project. [1] https://gerrit.opnfv.org/gerrit/#/c/35927/ Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Iea56b48fa781600eb3a6ac74662ea8a29f556f99 Signed-off-by: Jose Lausuch <jose.lausuch@ericsson.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-20Added unit tests for api_check, health_check, and smoke tests.spisarski4-16/+183
In addition to the creation of the unit tests, this patch simplifies the mocks for connection check as there was an unused annotation. This patch also refactors the building of the test suite from the constructor to the run() method. JIRA: FUNCTEST-813 Change-Id: I7ff5d0389db36141a33ee3a8f76e04b922f8a95f Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-06-20Remove all references to /home/opnfv/repos/functestCédric Ollivier25-163/+138
It also removes relative (and incomplete) references which could be defined in modules instead of this global configuration. Change-Id: Ie20dc3547e49b6224aa8100cd380d37b87ece5a9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-19Stop getting git data from functest dirCédric Ollivier4-57/+0
Functest is no longer a git clone. Change-Id: Ieaceacaa820e9a7a3c64e8c1fbd2a8a9321f234d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-19Remove module references __file__Cédric Ollivier2-4/+6
It allows functest to be run directly from a zip file [1]. [1] https://setuptools.readthedocs.io/en/latest/setuptools.html#setting-the-zip-safe-flag Change-Id: I596a71e8cf2bed6dd79655bd5beeb047876a188c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-14Update Suite details pushed to DBCédric Ollivier2-6/+13
It now reports stats and dumps stream into details. By the way, it fixes a bug when serializing the former details. Change-Id: Idd388708071ca3185e5a07bc7e977f2d9837dc95 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-13Merge "Refactor core VNF class"valentin boucher11-575/+592
2017-06-08Merge "Leverage on pbr (Python Build Reasonableness)"Jose Lausuch1-15/+0
2017-06-07Merge "Configure the param auth_version in tempest.conf"Cedric Ollivier1-0/+5
2017-06-07Bugfix: fix the return valueLinda Wang2-0/+2
openstack_snapshot and openstack_clean should return 0 when they are run successfully. JIRA: FUNCTEST-835 Change-Id: I3fcc24ab985de382e0e59b129cb467d66a9a0de2 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-07Leverage on pbr (Python Build Reasonableness)Cédric Ollivier1-15/+0
pbr can inject requirements into the install_requires, tests_require and/or dependency_links arguments to setup. They were previously falsy unset. It also supports conditional dependencies which can be added to the requirements (e.g. subprocess32; python_version=='2.7'). Then requirements.py3.txt is removed. It also removes functest/cli/setup.py which seems false and obsolete. Dockerfile is updated as well. One temporarily link is created because of several hardcoded paths in Functest. Change-Id: I14b3b25e07fbac490dd1d5ce943ec02c5b11f242 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-07Configure the param auth_version in tempest.confLinda Wang1-0/+5
1. If the auth_url is "https://192.168.31.222:443/identity-admin/v3", the auth_version in tempest.conf is supposed to be "v3", not "id". 2. For rally 0.8.1. it is a bug when obtaining the auth_version, please see [1], which has been fixed in rally master. [1]: https://review.openstack.org/#/c/468599/ Change-Id: Ia7474938a741a0954f17f7c7650544dbc0a28853 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-06Merge "Remove call to fetch_os_creds.sh"Jose Lausuch6-159/+15
2017-06-06Merge "Make tempest user_password more complicated"Jose Lausuch1-1/+1
2017-06-06Merge "Add the copyright header to decorators.py"Jose Lausuch1-0/+7
2017-06-06Merge "Use PrettyTable to show functest env"Jose Lausuch1-14/+13
2017-06-06Remove call to fetch_os_creds.shjose.lausuch6-159/+15
After [1], the openstack credentials are provided to Functest as a volume directly from CI. The same has to be done manually. Functest doesn't need the script fetch_os_creds.sh any longer. [1] https://gerrit.opnfv.org/gerrit/#/c/35199/ Change-Id: I0883ad7b248526cfe9df3fde984345bd41869e82 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>