aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci
AgeCommit message (Collapse)AuthorFilesLines
2017-08-17API proposal for functestLinda Wang2-1/+7
1. Propose a basic framework for API 2. And these functions have been realized: 1) Show environment 2) Prepare Environment 3) Show credentials 4) List all testcases 5) Show a testcase 6) List all tiers 7) Show a tier 8) List all testcases within given tier JIRA: FUNCTEST-843 Change-Id: Ib961446708077b56465eda0052f6d38806b62594 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-17Merge "Switch to blocking: false for ODL testcase"Cedric Ollivier1-1/+1
2017-08-17Switch to blocking: false for ODL testcaseNikolas Hermanns1-1/+1
ODL basic suite doesn't support Keystone v3 [1] and then the related testcase should not block the testing till it's fixed. [1] https://jira.opnfv.org/browse/FUNCTEST-862 Change-Id: Ib9c92c5ff37ab720bdfc311df834f18bac39daa7 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-08-16Merge "Remove copper refs"Cedric Ollivier1-17/+0
2017-08-16Merge "Remove netready refs"Cedric Ollivier1-17/+0
2017-08-16Revert "Enable parser project"Cedric Ollivier1-0/+1
This reverts commit 39e2116d5ff360dae7159f5557caa2b2a46c48b2. Change-Id: I7c0b63b22c5cf6e9fa2ee1f182abad96a3931098 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-12Remove copper refsCédric Ollivier1-17/+0
Copper withdrew from E release (see comments in [1]). [1] https://gerrit.opnfv.org/gerrit/#/c/38851/ Change-Id: I1af463f5d60a6099592c1005ce27d3ca0c40cbbf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-12Remove netready refsCédric Ollivier1-17/+0
Netready withdrew from E release [1] [1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-August/017453.html Change-Id: I456b91e0bb454a4205df98d0e96032302d3b20a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-10Integrate the netready packageCédric Ollivier2-2/+1
It also adds the related testcases in functest-features. Change-Id: I584da9d890622c1bdd2ace0b12b4be37250fda56 Depends-On: I3842e6828f60972cb1df0bc15f849cd08badd895 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-10Integrate the promise packageCédric Ollivier1-1/+1
Change-Id: I128bfa62b9ccd8e53683def329e8470693c2e556 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-10Merge "Add copper and domino in functest-features"Cedric Ollivier2-4/+2
2017-08-10Merge "Add functest-features based on Alpine"Cedric Ollivier1-2/+2
2017-08-10Merge "Add all ODL testcases in functest-smoke"Cedric Ollivier2-7/+8
2017-08-09Merge "Configure AARCH64 image settings for UEFI"Linda Wang1-8/+6
2017-08-08Merge "update/improve orchestra_ims"Morgan Richomme1-2/+2
2017-08-08Configure AARCH64 image settings for UEFIDelia Popescu1-8/+6
Configure one parted AARCH64 Cirros image settings for AAVMF(UEFI) Change-Id: I28ca1ead06c1153e2483c163af9da8e70736ac1c Signed-off-by: Delia Popescu <delia.popescu@enea.com> JIRA: ARMBAND-279
2017-08-07Add copper and domino in functest-featuresCédric Ollivier2-4/+2
Change-Id: I6f7a35b84c9b7f8cde88998f545b30cc200c8ff1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-02Add functest-features based on AlpineCédric Ollivier1-2/+2
It integrates the next testcases: - bgpvpn - security_scan - functest-odl-sfc - barometercollectd It also modifies several cmds in the former testcases.yaml to ensure backward compatibility. Depends-On: I75aaf950f7b072c142fa9894cef7ef7f057adac3 Depends-On: I50219cad42bf0e085c2edf2e1abe149c2e057a99 Change-Id: Idf3d6b4a769edd1a5401748886e0ed64d4f5f281 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-02Add all ODL testcases in functest-smokeCédric Ollivier2-7/+8
It clones the related git repositories in /src and adapts the former Dockerfiles too. Change-Id: Ied5016f8cd5ed49f4e29bae5aa4413fad2477637 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-28update/improve orchestra_imsMichael Pauls1-2/+2
-enable orchestra_ims testcase -update orchestra_ims according to restructed vnf base class -SNAPS integration -improve code based on pylint suggestions -add unit tests (to be completed) Change-Id: Id12f645c76096376b8a867bf36d7bbb69bac58e7 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
2017-07-25Enable parser projectshangxdy1-1/+0
Enable parser project in functest Change-Id: I9bbf5dc5904f53d1a0a640726fbf57b2b702bdfe Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-07-18Add AARCH64 images back to Functestdeliamadalina1-1/+16
aarch64 path files is reupdated with aarch64 cirros images Functest is now able to run on aarch64 too, using the appropriate images JIRA: ARMBAND-279 Change-Id: I05de0cb8315a33322225a6caedaa64a5a4833e4e Signed-off-by: Delia Popescu <delia.popescu@enea.com> Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
2017-07-13Remove add_images.shjose.lausuch1-10/+34
The Docker images should not host any OS image. They shall be pre-downloaded and mounted as a docker volume to the functest container. Also, add scenario argument to skip images that are not needed for the scenario Change-Id: I652ec32b177ddea73c8a253359e873f13bf0c950 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-12Merge "Switch to check_deployment instead of check_os.sh"Morgan Richomme2-156/+5
2017-07-12Switch to check_deployment instead of check_os.shjose.lausuch2-156/+5
Change-Id: Idcc67643f813068c3cd06f4c0dfd3289bb7df138 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-12Merge "New python script to check openstack deployment"valentin boucher1-0/+163
2017-07-11Add decorators in testcases for energy recording.Benoit HERARD1-1/+1
Test cases are: - rally (sanity and full) - refstack - cloudify_ims - vping_ssh It also fix a bug on "energy_recording" decorator of energy module. Change-Id: I625c214552ad1b89eaf7e196e706d7c69b37da33 Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
2017-07-11New python script to check openstack deploymentjose.lausuch1-0/+163
This is a crucial part of functest env prepare. The former check_os.sh is missing some error control and is sometimes trying to connect to an empty endpoint if the sed/awk commands were wrong. This python script is more robust in that sense. You can see an example of execution in [1]. [1] http://paste.openstack.org/raw/614852/ Change-Id: I622befa13b58d2d31a08d307befb12a2be28fe4d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-08Stop redefining $HOMECédric Ollivier1-1/+1
Then .rally is located in the real home directory. Change-Id: I3e261d34a41a4105aef8fc0a996df501d638c030 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-06Set repo_tempest to /src/tempestCédric Ollivier1-1/+1
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 "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-04Merge "Apply restrictive file permissions"Cedric Ollivier3-7/+0
2017-07-02Apply restrictive file permissionsCédric Ollivier3-7/+0
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-01Energy monitoring SDK update.Benoit HERARD1-1/+1
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 Ollivier2-3/+2
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 Ollivier2-5/+12
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-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-29Merge "SNAPS tests now support offline testing."Jose Lausuch3-20/+13
2017-06-29Merge "Fix refstack_defcore"Jose Lausuch1-1/+0
2017-06-28Leverage on parser python packages in DockerfileCédric Ollivier1-1/+0
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 Wang1-1/+0
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-27SNAPS tests now support offline testing.spisarski3-20/+13
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-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 "Add sfc in thirdparty-requirements.txt"Jose Lausuch1-1/+0
2017-06-27Merge "Remove obsolete repos in functest/ci/config_functest.yaml"Jose Lausuch1-4/+0
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-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