aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/features
AgeCommit message (Collapse)AuthorFilesLines
2017-03-22Make SFC test a python call to main()jose.lausuch1-2/+4
Instead of python -> bash -> python, call the SFC test using the execute() method that is inherited from FeatureBase and it's a bash call by default. With this change, we call the SFC test using main() of run_tests.py of SFC repo and will have real time output. Change-Id: I6d59821e603c88697a82b95c5626c5b703c11026 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-03-22Merge "bugfix: fail to push odl-sfc test result to TestDB"Morgan Richomme1-1/+1
2017-03-22bugfix: fail to push odl-sfc test result to TestDBSerenaFeng1-1/+1
'functest-odl-sfc"' will appear as [functest-odl-sfc"], tailing with ", it is not defined in TestDB. led to failure pushing Change-Id: I43966236e25578aed12952710b22ba99e244cf56 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-21Change execute bitsCédric Ollivier6-0/+0
It applies the rules proposed by "Improve unix permissions fixes" [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/31171/ Change-Id: If5142befb74165a982f9281e8770289b303d483d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-03-09Revert "Change barometer target log file"Morgan Richomme1-4/+1
This reverts commit 044de9eb0c74fb2ef9cb34b6487bf0536412058d. Change-Id: I9179f4b5ce866456e8ec85cb8a730a5d7f2af16e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-09Change barometer target log fileMorgan Richomme1-2/+2
Change-Id: Id903683b12366c5a2f486c8b7d7ce6977d4448e0 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-03Bugfix: make security_scan authorizedLinda Wang1-2/+2
JIRA: FUNCTEST-732 "OS_AUTH_URL" in the file "stackrc" in undercloud is needed when trying to obtain controller and compute nodes of openstack. Thus, when running the security_scan.py, source stackrc is needed. This patch will make security_scan work in CI until the patch in securityscanning repo is merged: https://gerrit.opnfv.org/gerrit/#/c/29705/ Change-Id: I379c3a71522973887d1ea698ab1df761354e6c36 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-02-22Merge "Integrate BAROMETER feature test case"Jose Lausuch1-0/+28
2017-02-21Integrate BAROMETER feature test casejose.lausuch1-0/+28
Also, add a executor method in VNFBase to allow re-write it for some cases where the feature is another python script instead of shell script. Change-Id: Id734553dffe32fdc9a0befc3f4c0e29e5d56fc61 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-16Bugfix: update from security_scan to securityscanningLinda Wang1-1/+1
JIRA: FUNCTEST-731 Security_scan results failed to be pushed to DB due to that in testapi the project is named as securityscanning. Change-Id: I2e0b21a41058bdcbefd1b62b0984d488d54341bb Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-02-15Integration of NETREADY test casejose.lausuch1-0/+22
Change-Id: I523a05e0f0fbf5971ab7d10a177d793bcff60421 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-14Merge "delete useless file multisite.py"Jose Lausuch1-22/+0
2017-02-09delete useless file multisite.pySerenaFeng1-22/+0
Change-Id: Iee13f283280610a98847c4560ed58163d01f6e8e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-08Logic to trigger Security Scan projecthelenyao1-0/+24
1. Removed the calling from exec_test.sh 2. Used FeatureBase instead 3. Removed the legacy security scan code Change-Id: I1984ec951973f337f275e50543b277cd90d9a202 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-02-02Adapt Promise to new frameworkMorgan Richomme1-244/+16
JIRA: FUNCTEST-549 Change-Id: I01018bc10f5b1717af217457018a5d56f86d60cd Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-01-31Adapt doctor test case to the FeatureBase frameworkh-hayashi1-73/+8
JIRA: FUNCTEST-545 1. Modification of “doctor.py” to adapt Feature Base framework. deletion of detail("timestart and duration , status). 2. Deletion of definition of doctor’s repo directory in “functest_const.py" Change-Id: I81d944dc64a81346cbf465c452111f11474ea83c Signed-off-by: Hideyasu Hayashi <hideyasu.hayashi@okinawaopenlabs.org>
2017-01-24Bugfix: fix the error of no sh fileLinda Wang1-1/+1
Three shell scripts (dmz.sh, smtp_ingress.sh and reserved_subnet.sh) are needed when executing "run.sh" where relative path of the three scripts is specified. Those three shell scripts are also located in /home/opnfv/copper/tests, so it is necessary to change to this dir before executing "run.sh". JIRA: FUNCTEST-691 Change-Id: I8571e3403d31e9eede8c4eab79b49f721199cdf9 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-01-18Bugfix: fix the execution way in copperLinda Wang1-1/+1
JIRA: FUNCTEST-691 Change-Id: I35371133619fb2cc6b42f3b0bd49c4473058d353 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-01-11Bugfix: fix the wrong path in copperLinda Wang1-1/+1
JIRA: FUNCTEST-691 Change-Id: Iad8d5aa14642b3b3bf673faf032c7f3ba9dc28d8 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2016-12-22Refactor domino using FeatureBase and new constants providerSerenaFeng1-59/+6
JIRA: FUNCTEST-673 Change-Id: I153fd5ca68deffa6fd140e62f438cf6ee5404f98 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-21Adapt SDNVPN tests using Featurebasejose.lausuch1-63/+7
Change-Id: I8be4bb72ba1d3b7eb2ba6e1edccf61d4186e07c6 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-21Refactor test run related modules using new constants providerSerenaFeng1-2/+2
JIRA: FUNCTEST-673 Change-Id: Ia37fb5a08c8fbc4a8acb666565ea887f9ae48b83 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-15Fix file permissionsCédric Ollivier1-0/+0
It has been fixed by calling [1] [1] find ${FUNCTEST_REPO_DIR} -name "*.py" \ -not -path "*tests/unit*" |xargs grep __main__ \ |cut -d\: -f 1 |xargs chmod -c 755 && find ${FUNCTEST_REPO_DIR} -name "*.sh" \ |xargs grep \#\! |cut -d\: -f 1 |xargs chmod -c 755 Change-Id: I654d9221179e60ea45d1db83157c4a9aa9497b69 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-12-14Merge "Conform SFC test case to FeatureBase"Morgan Richomme1-0/+20
2016-12-14Adapt Copper to Abstraction frameworkMorgan Richomme1-65/+7
JIRA: FUNCTEST-546 Change-Id: I775a7274883127cc627197fda37ae8e9043b59e2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-13Conform SFC test case to FeatureBasejose.lausuch1-0/+20
JIRA: FUNCTEST-550 Change-Id: I46853d1ba943a54b39b760c34c29c2b4c3b43d63 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-05Fix Pep8 issues related to \Morgan Richomme1-4/+2
JIRA: FUNCTEST-630 Change-Id: I2b6d3bec67c6fe290fb2ad795a54a2dd2e3c7a0b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-02Rename TestCasesBase into TestcaseBasehelenyao2-8/+9
JIRA: FUNCTEST-628 1. rename the TestCasesBase into TestcaseBase 2. updated the module name to testcase_base.py Change-Id: Ic6b5d8209098c136613a2419c3790668fdbd493e Signed-off-by: helenyao <yaohelan@huawei.com>
2016-11-30Remove Notion of SKIP in test casesMorgan Richomme2-29/+20
JIRA: FUNCTEST-541 Change-Id: Ie71ba9c02e54a1ff05974ef89075b3ad7cf6f930 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-25Add suffix '_DIR' to some constants that point to directoriesjose.lausuch2-8/+9
JIRA: FUNCTEST-533 Change-Id: Iea2ca0709f6e53201056f9145fa6020216c31f56 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-25file/dir renaming for consistencyMorgan Richomme2-6/+6
JIRA: FUNCTEST-579 Change-Id: Iaa545db70bfb76770df0a3d17871e29ce518ff2d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-24Extracted all global parameters into functest_constants.pyhelenyao5-77/+73
JIRA: FUNCTEST-533 1. Extracted all global variables into functest_constants.py and updated all affected areas accordingly 2. Used os.path.join to replace '/' to come up with the path for better cross-platform support and improve the path accuracy 3. Removed unused variables 4. Updated the hardcoded path in Dockerfile by using variable reference 5. Removed "/" ending from all path variables 6. Updated the unit test Change-Id: Ib30a81d1f0c83fbaef042d63c187c27bd18301bb Signed-off-by: helenyao <yaohelan@huawei.com>
2016-11-23Conform SDNVPN test case to TestCaseBasejose.lausuch1-0/+80
JIRA: FUNCTEST-553 We need to remove the push_to_db of the overall result in run_tests.py in sdnvpn repo. Change-Id: I761d9b3ddd0972bfbf1155424615aeb1c9202ad9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-23Merge "bugfix: domino test can not be executed"Jose Lausuch1-1/+2
2016-11-22Fix path for Promise testcase calljose.lausuch1-1/+1
Change-Id: I2fdb7cc029395c9091831878ee034195be0138ff Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-22Switch SFC call to sfc repositoryjose.lausuch14-1220/+0
The SFC testcase code has been moved from Functest to SFC repo. 1) Add SFC repo in the Docker image 2) Change call in exec_tests 3) Remove code from Functest Change-Id: Ie6705d047b04646942d89215e992f46f8c4e58db Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-22bugfix: domino test can not be executedSerenaFeng1-1/+2
fix args is type Namespace problem Change-Id: I4e3786d86bd9fca6697c900f60f4c0f357dcb2bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-11-21Merge "Adapt Domino to Test Abstraction"Morgan Richomme2-61/+56
2016-11-18Create ovs log artifact on odl-sfc failGeorge Paraskevopoulos1-13/+17
Move the ovs logs from failed tests in functest artifacts Change-Id: Icb537684ee2aa40d9bd182ba67a028e72496efa4 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-11-18Adapt Domino to Test AbstractionMorgan Richomme2-61/+56
JIRA: FUNCTEST-547 Change-Id: Iaeb1bb3e6f4529343eacc2f5ceda6d61ca6d96f7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-14Bug fix odl-sfcManuel Buil1-9/+14
I was not taking into account the case where the returned list is empty Change-Id: I533ea8fbc286cb564dccec06750cd1a8bbcf52f9 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-11-11Bug fix in odl-sfcManuel Buil1-1/+1
The function that measures the time it takes to update OVS had a bug Change-Id: I1e480759c0c20197dd412f3400ea50921764d991 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-11-10Phase out sfc_colorado1 from the CIGeorge Paraskevopoulos1-596/+0
Now that the upstream ODL Netvirt & SFC communities have resolved the blocking issues for the OPNFV SFC is a good time to phase out the workaround testcase we had for C1 and use the original again Change-Id: Ifcc66612a21821d684b336129059da500068e67c Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-11-10Merge "Fix paths in SFC testcase configuration"Jose Lausuch2-5/+5
2016-11-10Feature to know the time it takes to update OVSManuel Buil2-0/+60
ODL takes too much time to update the classification rules and we would like to measure it to use it as a proof point that it is not acceptable. This feature allows to measure it. Change-Id: I00ade7e4aee7c9c81843077104727b98ad9bfea3 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-11-10Fix paths in SFC testcase configurationGeorge Paraskevopoulos2-5/+5
Change-Id: I9ff272065d8609bd40e02289c2013efd917aed9c Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-11-09Repo structure modificationMorgan Richomme20-0/+2284
- create functest subdirectory - rename unit tests - adapt path in exec and config files JIRA: FUNCTEST-525 Change-Id: Ifd5c6edfb5bda1b09f82848e2269ad5fbeb84d0a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>