aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-07-05Clone tempest before installing the packageCédric Ollivier3-14/+17
Rally and refstack require a tempest working dir. It now clones the offical repository before running setup.py develop. 14.0 is selected to conform with OpenStack upper-constraints.txt. Dockerfile downloads the official OpenStack upper-constraints.txt to remove the condition about tempest which forbids cloning it. Change-Id: I8410570d660b07a1ecfc48fab93022f72acdaac7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-05bugfix: vping support not_hugepage_configured podSerenaFeng1-1/+1
this bug was fixed in https://gerrit.opnfv.org/gerrit/#/c/35181/ but was reverted in https://gerrit.opnfv.org/gerrit/#/c/35671/ Change-Id: I5cbbd61ac196dc39c073ffc69254d987e4807130 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-05Merge "Update the link to firewall_block_image.img"Serena Feng1-1/+3
2017-07-04Fix environment variables in Dockerfilejose.lausuch2-12/+8
After merging [1], there were some hardcoded values pointint to ~/repos/functest. [1] https://gerrit.opnfv.org/gerrit/#/c/36827/ Change-Id: Icd912ca8ab6226cbdb0cc4f8b6f77572ea43ae06 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-04Cleanup Tempest blacklist for Euphratesjose.lausuch1-62/+0
This list hasn't been updated in Danube. The idea is to clean it up and allow all the test cases to be run. If bugs are detected in Euphrates and there is an upstream bug report, the affected tests can be added again here. Change-Id: I44c8b4e8ae78dee7f13f761b6f7f6d8c09b2d0b0 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-04Sync thirdparty-requirements.txtCédric Ollivier1-2/+2
It fixes the condition about the tempest version [1]. [1] https://git.openstack.org/cgit/openstack/requirements/plain/global-requirements.txt?h=stable/ocata Change-Id: Iaa1f58aec1f58b372ff6280b1f1e4a5422986a55 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-04Fix upper-constraints.txt urlCédric Ollivier3-3/+3
Change-Id: I44f7b476d56bcd7cdac4ba0e5c85717bd41f7e45 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-04Update the link to firewall_block_image.imgLinda Wang1-1/+3
As the link http://205.177.226.237:9999/onosfw/firewall_block_image.img has been deprecated, now the valid link is updated, aiming at running the testcase onos_sfc. JIRA: FUNCTEST-820 Change-Id: Id848e3ab92c3b0fb47e3c755d203844dd94d8408 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-04Merge "Remove the former link /home/opnfv/repos/functest"Cedric Ollivier5-13/+4
2017-07-04Merge "Update cli commands to call console scripts"Cedric Ollivier6-49/+13
2017-07-04Merge "Apply restrictive file permissions"Cedric Ollivier11-40/+12
2017-07-03[cloudify_ims] Support Cloudify 4.0boucherv14-1534/+873
- Delete all shell commands to use cloudify python lib - Cloudify Manager installation with a packaged image - SNAPS integration - Adapt test_vnf unit tests - Initiate test cloudify_ims unit tests (to be completed) JIRA: FUNCTEST-838 Change-Id: Ia4b499d4155e6af5d37d6d5cf4310a5a9693c7ce Signed-off-by: boucherv <valentin.boucher@orange.com> Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-07-03Merge "Energy monitoring SDK update."Jose Lausuch3-13/+133
2017-07-03Merge "Stop modifying unix perm in cloudify_ims"Jose Lausuch1-5/+1
2017-07-03Merge "Fix unix permissions in docs/com"Jose Lausuch16-0/+0
2017-07-03Merge "Remove useless files in docs/com"Jose Lausuch2-13/+0
2017-07-02Merge "Fix typos in docs"Morgan Richomme3-25/+25
2017-07-02Remove the former link /home/opnfv/repos/functestCédric Ollivier5-13/+4
All operations required have been applied [1]. All documentations are updated as well to close the topic. It should be noted that runfunctest.rst must be hugely updated because all $PS1 are wrong. [1] https://gerrit.opnfv.org/gerrit/#/q/project:functest+branch:master+topic:dockerfile JIRA: FUNCTEST-836 Change-Id: I26658be109fd785d068389816be4260cff823705 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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-07-01Fix typos in docsMartin Kulhavy3-25/+25
Fixed multiple typos and minor spelling errors found in the documentation. Change-Id: I102e3b7d3d421042dbef66f261e2183b0dfe24a8 Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
2017-07-01Energy monitoring SDK update.Benoit HERARD3-13/+133
add get_current scenario in EnergyRecorder class enable_recording decorator change: If a recording session was existing at startup, restart it at the end, else stop recording Change-Id: I91524824acb60275e0329452b7d7df2346d7884f Signed-off-by: Benoit HERARD <benoit.herard@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>