aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-07-02Update cli commands to call console scriptsCédric Ollivier6-49/+13
Change-Id: I401879d7ec713b5307817da8b001838c35d9d731 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-02Apply restrictive file permissionsCédric Ollivier11-40/+12
It conforms with [1] by creating a new venv which checks the unix permissions. As jjobs call Functest console scripts [2], all perms can be 644. Dockerfiles are updated as well. [1] https://security.openstack.org/guidelines/dg_apply-restrictive-file-permissions.html [2] https://gerrit.opnfv.org/gerrit/#/c/36805/ Depends-On: I9209e6efa1b493e24135402a46df72aaa14115d1 Change-Id: I31bc7f12b775928845e23b6b40288b0a50b87219 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-02Stop modifying unix perm in cloudify_imsCédric Ollivier1-5/+1
It should be noted that several mockey patches should have been added in the related unit tests. Change-Id: I04bf003bc6beed1580c5d052c588f6f4ac23f768 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-02Fix unix permissions in docs/comCédric Ollivier16-0/+0
It applies restrictive file permissions [1]. [1] https://security.openstack.org/guidelines/dg_apply-restrictive-file-permissions.html Change-Id: I2b86eaeb44afca999e485308b250004181e103b2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-02Remove useless files in docs/comCédric Ollivier2-13/+0
Change-Id: Id4aa3080d2be75bc8fa188136b191034724c357e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-30Define download_images.sh and check_os.sh as scriptsCédric Ollivier7-272/+6
It also updates all python scripts which call check_os.sh. The former healthcheck.sh is removed. No shell script must be executable in git. Change-Id: If4e8deb50ebd635a9091e3bb79ef61c07b9660dc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-30Define console_scriptsCédric Ollivier11-45/+32
Only prepare_env.py and run_tests.py remain executable to avoid breaking the gate. As soon as the jenkins jobs are updated to run them from $PATH, tox will be updated to protect against chmod a+x py files. Dockerfile will be simplified as well. Change-Id: Iac1a7ceb6b344e800177226ea39919826f6d3735 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-30Fix unix permissionsCédric Ollivier2-0/+0
Tox will be updated to forbid chmod +ax py files. Change-Id: I85d4b4a64ec7f3151ab2f24ad09bd7c1144ebe18 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-30Update securityscanning section in testcases.yamlCédric Ollivier1-1/+1
It follows the next updates of the securityscanning package: - Define config.ini as data_file [1] - Define security_scan console script [2] [1] https://gerrit.opnfv.org/gerrit/36635 [2] https://gerrit.opnfv.org/gerrit/36771 Depends-On: I54ffa61f4bcd366c185596056b49e492c88cc78b Change-Id: I342c00392bb68aad704a89060841eac665e91bdb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-30Merge "Added unit tests for vping."Jose Lausuch3-99/+212
2017-06-30Define ODL console_scriptCédric Ollivier4-36/+41
main() is excluded from coverage as it usually parses argv. It also renames ODLTests main() to run_suites() not to exclude this method. Change-Id: I3109a65166b21d93e3e376912a32d364931a7ba5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-29Merge "SNAPS tests now support offline testing."Jose Lausuch8-46/+26
2017-06-29Remove networking-bgpvpn from Functest requirementsjose.lausuch1-2/+1
SDNVPN team will take care of installing the module themselves See https://gerrit.opnfv.org/gerrit/#/c/36505/ Change-Id: Ida38c8324e155906bcd18b12a418e7a62e55e3f0 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-29Remove BGPVPN utils in Functestjose.lausuch2-90/+0
These util functions should be under control of the SDNVPN project. After [1] and [2] it is safe to remove them in Functest [1] https://gerrit.opnfv.org/gerrit/#/c/36655/ [2] https://gerrit.opnfv.org/gerrit/#/c/36505/ Change-Id: I2f6596cd60678bb0c50adb9b4bc0d59545c3fb0a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-29Merge "Fix refstack_defcore"Jose Lausuch5-39/+11
2017-06-28Get install_rally.sh from git.openstack.orgCédric Ollivier2-2/+2
Change-Id: I99a87e2399c1be79dabc9109e10665fc9ef8bee2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-28Switch to official tosca-parser and heat-translatorCédric Ollivier1-2/+2
They replace the python packages located in parser which don't meet OpenStack's upper constraints [1]. It completes [2] which simply keeps the wrong logic of parser/tests/parser_install.sh. [1] https://build.opnfv.org/ci/job/functest-docker-build-push-master/1170/console [2] https://gerrit.opnfv.org/gerrit/#/c/36653/ Change-Id: If108b8d1fad08237b8a57d82bf5601f4d6ecf64e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-28Leverage on parser python packages in DockerfileCédric Ollivier4-5/+2
It also stops calling parser_install.sh. This file is replaced by the 2 new requirements in docker/thirdparty-requirements.txt: - tosca-parser - heat-translator Change-Id: Ic9dcdd81df9800fc8e559a07f9c100a20bea2290 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-28Update paths in functest/ci/testcases.yamlCédric Ollivier1-3/+3
It follows the changes switching to python packages. It shall be noted that several cmds could be enhanced. Change-Id: I8cf3595d1e8044b650deb4ec733bf973c0bf1b3f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-28Fix refstack_defcoreLinda Wang5-39/+11
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-27Added unit tests for vping.spisarski3-100/+213
Also removed some instance variables and unnecessary methods. JIRA: FUNCTEST-813 Change-Id: I13895674a9fd3de16c6a19410661440c5380c2f8 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-06-27SNAPS tests now support offline testing.spisarski8-46/+26
Images by type (cirros, centos, ubuntu) can now have the download URL be overridden, told to leverage a local file, or have custom configuration when using the snaps.openstack.tests.openstack_tests.py image settings helper functions. JIRA: FUNCTEST-809 Change-Id: I790094a7a26eb5a55f53d6e875c658dc5e7ac2f9 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
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 Lausuch4-7/+3
2017-06-27Merge "Add securityscanning in thirdparty-requirements.txt"Jose Lausuch3-2/+1
2017-06-27Merge "Remove obsolete repos in functest/ci/config_functest.yaml"Jose Lausuch4-6/+3
2017-06-27Add sfc in thirdparty-requirements.txtCédric Ollivier4-7/+3
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.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-26Add securityscanning in thirdparty-requirements.txtCédric Ollivier3-2/+1
Now it can be installed via python package [1] and then be listed in thirdparty-requirements.txt. [1] https://gerrit.opnfv.org/gerrit/#/c/36437/ Change-Id: Ib9489de1f46993fa9fe35485fa95baf003d44974 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-26Remove obsolete repos in functest/ci/config_functest.yamlCédric Ollivier4-6/+3
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 "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>