aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-06-27Remove Tempest repo and use the one created by Refstackjose.lausuch3-5/+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-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 "Take OpenStack's constraints into account"Jose Lausuch3-4/+9
2017-06-26Merge "Define logger as Feature instance attribute"Jose Lausuch2-4/+37
2017-06-26Merge "Install opera via python package"Jose Lausuch3-6/+1
2017-06-26Merge "Install OPNFV sdnvpn via python package"Jose Lausuch3-10/+1
2017-06-26Merge "Stop personalizing the common Dockerfile"Jose Lausuch2-18/+2
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-26Take OpenStack's constraints into accountCédric Ollivier3-4/+9
upper-constraints.txt contains a pinned list of the entire set of transitive requirements for OpenStack [1]. We will add OPNFV's constraints as well for OPNFV projects and their requirements when they are ready. [1] https://specs.openstack.org/openstack/openstack-specs/specs/requirements-management.html Change-Id: I2e23584f957e4de191341800d24c8b2776ef9143 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.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-23Merge "Revert rally version to 0.8.1"Serena Feng2-2/+2
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-22Merge "Clone tempest repository in the Docker image"Jose Lausuch3-1/+3
2017-06-22Revert rally version to 0.8.1Linda Wang2-2/+2
1. Now rally version 0.9.1 is installed via "bash install_rally.sh --yes", cause the default RALLY_GIT_BRANCH is master. Then some rally related tests will fail as rally tests have not been updated in functest 2. rally version 0.8.1 can be installed via --branch 0.8.1 Change-Id: I04003134f070a1a35db2c02f2209e77365be592f Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-21Clone tempest repository in the Docker imagejose.lausuch3-1/+3
Rally needs to have a copy of the Tempest repository in order to install the verifier. Otherwise, rally will clone it automatically anyway. This also uplifts the tempest version to 15.0.0 which targets Ocata deployments according to [1] [1]: https://releases.openstack.org/ocata/ Change-Id: I30e922a261a4ab1875d48c4754df09426b5f67e4 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-21Install opera via python packageCédric Ollivier3-6/+1
It should be noted that the other OPNFV projects cannot currently be installed via python packages for many reasons (e.g. binaries not included, no setup.py...). Change-Id: Iaf1c960471b2dd8916eb1a49cb46f50b7dfb9b88 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-21Install OPNFV sdnvpn via python packagejose.lausuch3-10/+1
Change-Id: Ibcaef4eb8658bfe7d1900a8cd6a7b48740524526 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-21Stop personalizing the common DockerfileCédric Ollivier2-18/+2
Any personal config can be applied to another Dockerfile which inherits from this one. Change-Id: Ifb77c0d5821c2b40f2f3e1d6adee6f83d0cd0b29 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-21Merge "Use directly OpenStack project packages"Jose Lausuch3-42/+22
2017-06-21Merge "Change barometer module to load"Jose Lausuch10-79/+8
2017-06-21Merge "Remove all references to /home/opnfv/repos/functest"Jose Lausuch25-163/+138
2017-06-20Use directly OpenStack project packagesCédric Ollivier3-42/+22
It stops cloning via git for the next OpenStack projects: - networking-bgpvpn - rally - tempest - kingbird - refstack-client It should be noted that refstack_client's setup_env is not designed to run in Alpine. Change-Id: I00d17912cad39a0c872d317317e98a78ca9ded2c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-20Change barometer module to loadJose Lausuch10-79/+8
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-20Merge "Promote Linda Wang as a committer"Jose Lausuch1-1/+1
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-19Clean requirements.txtCédric Ollivier1-11/+5
It removes all requirements which are not detected by pipreqs [1] except: - robotframework-httplibrary - robotframework-requests==0.4.7 - robotframework-sshlibrary==2.1.3 They seem indirectly required for the next ODL suites: old_netvirt and fds. It also defines pbr as requirement and orders dnspython3 conditions. [1] https://github.com/bndr/pipreqs Change-Id: Idcd01296e5a5862ff8528dc083468b5c4905c9f9 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-15Merge "Update Suite details pushed to DB"Morgan Richomme2-6/+13
2017-06-14Merge "Update (test-)requirements.txt"Jose Lausuch3-46/+40
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 boucher12-581/+594