summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-07-11Add openssh-client in coreCédric Ollivier1-1/+1
It's required by snaps ansible tests. Change-Id: Iebd4c7b8de8637a18dd40040749b9a1a0781fff2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-10Define CMD in smoke and healthcheck containersCédric Ollivier2-0/+2
Change-Id: I083f8e96fc30bc1793f8c43ff2c155f1c889ae19 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-10Download Functest's upper-constraints.txtCédric Ollivier7-71/+28
It also removes all temporarily files [1] and reuses OPENSTACK_TAG and BRANCH args. [1] https://gerrit.opnfv.org/gerrit/37077 Change-Id: Id87ffdf14ccb1a34f117241c882423adf79f44c5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-10Add upper-constraints.txt for FunctestCédric Ollivier12-41/+106
It completes OpenStack's upper-constraints.txt by adding Functest's requirements. This file is temporarily duplicated to allow building the containers. It will be removed via a next patch when this patch is merged. openbaton-cli could be updated (e.g. 3.2.8). Change-Id: I26de2d22f9e8973c5a58c3cc5129142fa628e57a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-10Add lesser containers based on AlpineCédric Ollivier6-0/+213
It splits the full container into: - functest-core - functest-healthcheck - functest-smoke Smoke suite is currently partial and will be completed later (it may require updates in third party projects). Features, components and vnf suites will be integrated in other patchsets. Change-Id: I635a7fd84cac583c28bb1c82bc6cc9107a39f7ea Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-08Stop redefining $HOMECédric Ollivier3-11/+5
Then .rally is located in the real home directory. Change-Id: I3e261d34a41a4105aef8fc0a996df501d638c030 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-08Get rid of install_rally.shCédric Ollivier2-6/+6
It simply creates the required db. Change-Id: I48fb017f3ebfcdbd5de898b185c1933228bfef16 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-07Inherit packages when creating /src/tempest/.venvCédric Ollivier2-8/+2
It simply calls the --system-site-packages option as all requirements are already installed and then saves space. Change-Id: Ibb37e54bcbbb8bd9b84e6d43a694ab685b561db1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-06Stop using tempest version in DockerfileCédric Ollivier2-2/+2
The sed instruction is enhanced to automatically copy the version written in the OpenStack's upper-constraints.txt. Change-Id: Icbfde6fb097b1eaf880184c4f63de11854bfdb47 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-06Remove setup_env for refstack in DockerfileLinda Wang3-11/+13
It creates a symlink for .tempest required by refstack, and then install the requirements of tempest into a virtualenv which should be located in the dir .tempest/.venv. Now refstack_client is located in /src like tempest to avoid a link in /usr/local/lib/python2.7/dist-packages. JIRA: FUNCTEST-846 Change-Id: I99cedd00daaac57f85532ef41b91da20dec3dcb8 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-06Move rally and tempest to requirements.txtCédric Ollivier4-4/+6
As rally and tempest are called when preparing env, they are considered as dependencies. It also modifies on-the-fly upper-contraints.txt to allow cloning the git repository. Change-Id: I72e809d4cf15f9f2539a74fce1c6eb444d8c3b47 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-06Fix logger name in vping_base.pyCédric Ollivier1-1/+1
It conforms with logging.ini which requires qualnames. Change-Id: Ic2f849009c31a3a7bc406fc44c4917d19ccf2424 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-06Add a default value to protect add_images.shCédric Ollivier1-0/+2
It sets a default value to the optional env var: FUNCTEST_IMAGES_DIR Change-Id: Ib78af2aaee27470ad10b0979a68c09963091cbb6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-06Set repo_tempest to /src/tempestCédric Ollivier3-3/+3
It also calls pip install via the right src value to prevent from changing the working dir when building Ubuntu or Alpine containers. Change-Id: I236524ca270f4173e0636bee60a0f136d77ac07a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-05Merge "bugfix: vping support not_hugepage_configured pod"valentin boucher1-1/+1
2017-07-05Merge "Enable refstack work on https without SSL checks"valentin boucher3-13/+32
2017-07-05Merge "Enable cloudify_ims"valentin boucher1-2/+2
2017-07-05Enable cloudify_imsMorgan Richomme1-2/+2
- set VNF test cases as daily cases - remove enabled: False only for cloudify_ims - precise default generic scenrio (run only on basic scenario first) Vnf and cloudify_ims leveraging vnf are ready for merge [1] [1]: https://gerrit.opnfv.org/gerrit/#/c/36315/ Change-Id: I95ae89358e940ef5e9b8ceabc37588bbcfccfc6c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-07-05Merge "Clone tempest before installing the package"Jose Lausuch3-14/+17
2017-07-05Enable refstack work on https without SSL checksLinda Wang3-13/+32
When refstack is run in https environment, SSL checks will be skipped if no cacert file is provided. JIRA: FUNCTEST-828 Change-Id: Ib44582b4f2f508c7a255a1510dbdc33110fe0f14 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-05Convert files to Unix formatCédric Ollivier2-360/+360
It fixes "[cloudify_ims] Support Cloudify 4.0" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/36315/ Change-Id: I70d04e781d7034f37783764ae5e8b399d62bb793 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-05Merge "[cloudify_ims] Support Cloudify 4.0"Cedric Ollivier14-1534/+873
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>