summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-11-24Extracted all global parameters into functest_constants.pyhelenyao51-967/+1254
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-24Merge "Conform SDNVPN test case to TestCaseBase"Jose Lausuch3-5/+84
2016-11-24Merge "bugfix: correct test report status"Jose Lausuch1-1/+1
2016-11-24bugfix: correct test report statusSerenaFeng1-1/+1
reporting status of the test result should be checked based on execution result not push_to_db result Change-Id: I6f550f8243ba021108ce899cbebe98f3ff45c0e1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-11-23Adapt check_os to OpenStack Newtonjose.lausuch1-1/+6
When printing the identity catalog using openstack catalog show identity, after the Fuel uplift, we noticed that it prints the line admin: http://192.168.0.2:35357/v2.0 Before it was adminURL: http://192.168.0.2:35357/v2.0 Change-Id: I6efc996040c6ff945c67b0f346bbad7f0a723428 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-23Conform SDNVPN test case to TestCaseBasejose.lausuch3-5/+84
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 "solve failure testcases are not pushed to testDB problem"Morgan Richomme2-1/+2
2016-11-23Merge "Adapt vping testcases to the new template"Morgan Richomme10-565/+561
2016-11-23Adapt vping testcases to the new templateSerenaFeng10-565/+561
JIRA: FUNCTEST-540 Change-Id: I05f3704e3fc38e21d7d6484f4d7f53f030d5c34b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-11-23Merge "bugfix: domino test can not be executed"Jose Lausuch2-4/+2
2016-11-23solve failure testcases are not pushed to testDB problemSerenaFeng2-1/+2
In the new framework, only success testcases will be pushed to testDB, a failure testcases will not be pushed to testDB, which is not correct Modify it with only skipped testcases will not be pushed to testDB Change-Id: Ie3cb06ef0d0f75a7ab0b540d2f9f79d4b56746e6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-11-22Merge "Fix path for Promise testcase call"Jose Lausuch1-1/+1
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-22Fix path for Tacker installationjose.lausuch1-1/+1
After the migration of the SFC code into the SFC repo, there is a problem with the path when building the docker image Step 60 : RUN /bin/bash -c ". /home/opnfv/repos/functest/functest/opnfv_tests/features/sfc/tacker_client_install.sh" https://build.opnfv.org/ci/view/functest/job/functest-docker-build-push-master/766/console Change-Id: I4ec53e657f49e63dc477b408b6c47b3be0f9281b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-22Switch SFC call to sfc repositoryjose.lausuch16-1224/+2
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 executedSerenaFeng2-4/+2
fix args is type Namespace problem Change-Id: I4e3786d86bd9fca6697c900f60f4c0f357dcb2bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-11-22Create directory and empty files for the new openstack utilsjose.lausuch5-0/+35
JIRA: FUNCTEST-575 Change-Id: I8a21c3c8d5a652cc421d719790dd7ac262fa9369 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-21Merge "Adapt Domino to Test Abstraction"Morgan Richomme5-65/+63
2016-11-18Merge "Update Promise repository"Jose Lausuch1-2/+2
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 Richomme5-65/+63
JIRA: FUNCTEST-547 Change-Id: Iaeb1bb3e6f4529343eacc2f5ceda6d61ca6d96f7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-18Update Promise repositoryjose.lausuch1-2/+2
Promise code and test cases had been maintained in GitHub. Due to the decision to mirror OPNFV Gerrit to GitHub, the Promise GitHub (https://github.com/opnfv/promise) was overwritten by the content in Gerrit (which is outdated). Change-Id: Id03a24d56fb60c144c93ea3e65caf9718d8d4784 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-16Merge "Remove Harcoded version for ruby (vIMS)"Morgan Richomme1-1/+1
2016-11-16Merge "Wrap the Functest and install it as module by pip."Morgan Richomme2-25/+30
2016-11-16Merge "Add script to enable Docker Remote API by updating Docker Daemon ↵Morgan Richomme2-0/+158
configuration"
2016-11-15Remove Harcoded version for ruby (vIMS)Morgan Richomme1-1/+1
JIRA: FUNCTEST-541 Change-Id: I8a7bc4bee07a0b2fb2c90fab941fb9c1bbc7cd3f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-14Installing SNAPS library to Docker image.spisarski1-0/+4
Change-Id: I01b68fb0f64e4672195b8cf19675b734a22c57b9 Signed-off-by: spisarski <s.pisarski@cablelabs.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-14Merge "Update OpenStack python clients to Newton version"Jose Lausuch1-4/+4
2016-11-13Wrap the Functest and install it as module by pip.helenyao2-25/+30
JIRA: FUNCTEST-538 1. PYTHONPATH is removed. 2. Functest will be installed by pip. 3. Dockerfile is updated accordingly. Change-Id: Ie4eed9df045b121e2688dcb34c25779db775f104 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-11-11Downgrade keystone client only for SFC testcasejose.lausuch1-0/+2
Since 1.7.4 is not the right one for the rest of the test cases but it is the only version that works for tacker, downgrade it first and upgrade it later. Change-Id: I46be38a36726d9605a7a507a7ebd09d599f79ee3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-11Update OpenStack python clients to Newton versionjose.lausuch1-4/+4
JIRA: FUNCTEST-537 https://wiki.opnfv.org/display/functest/OpenStack+python+clients Change-Id: I498aefde33fc60596dd147260bf20c6787746aee Signed-off-by: jose.lausuch <jose.lausuch@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-11Fix path in CLI after directory restructurejose.lausuch2-4/+4
Change-Id: If71f3eb77371274b5215f274a77d5aa9976744fa Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-11Merge "Remove kingbird installation"Jose Lausuch1-1/+1
2016-11-10Add script to enable Docker Remote API by updating Docker Daemon configurationhelenyao2-0/+158
JIRA: FUNCTEST-520 This script will be used once the docker slicing decide is made. Currently, the script has been tested on Ubuntu 14.04 and 16.04 and CentOS 7.2. A document about how to enable TLS is included when taking security into account. Change-Id: I4e5e58ed68d75528bf8497aba118f9dbb51dddad Signed-off-by: helenyao <yaohelan@huawei.com>
2016-11-10Fix path for vping_ssh after refactorjose.lausuch1-1/+2
Change-Id: I0ac1ec73314b674550b220e579d39ecb4818623d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-10Bug fix: fix path in run_tests.pyMorgan Richomme1-1/+1
JIRA: FUNCTEST-525 Change-Id: I78488e04015d28b6ae8d902b252d966920e9b929 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-10Make the healthcheck sleep time configurablecristinapauna2-1/+3
The healthcheck test has a 1 min sleep that gives time to the odl flows to get programmed. This time depends on the config, and it was noticed that on bgpvpn scenarios on arm more than one minute is needed for the config to be properly set. This patch makes the waiting time configurable, so it can be overriden it when ran on arm or on varios scenarios. Change-Id: Iebef892137ca3926e5732c910a358c15a32b5bef Signed-off-by: cristinapauna <cristina.pauna@enea.com>
2016-11-10Phase out sfc_colorado1 from the CIGeorge Paraskevopoulos2-597/+1
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-10Merge "Update onos scenarios in the release notes for Colorado 2.0"Jose Lausuch1-11/+5
2016-11-10Merge "change path for python ci files"Morgan Richomme15-6/+9
2016-11-10change path for python ci filesMorgan Richomme15-6/+9
JIRA: FUNCTEST-525 Change-Id: I6b09eaec55e42a3ee1474b21bc7ed87a71118e60 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
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-10Fix path issue in Docker fileMorgan Richomme1-2/+2
JIRA: FUNCTEST-525 Change-Id: Icdb2cb2e5b134143f5eddbad7b265d84671fb892 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-10Remove kingbird installationjose.lausuch1-1/+1
This is a quick hack to make docker build work in CI. Kingbird is used by multisite, but the test case is empty. The installation of the requirements overlap with what we already install in requirements.pip and makes the build fail. It can be enabled once we resolve the dependencies across different projects. JIRA: FUNCTEST-523 Change-Id: I9194a7ae7a5887ee80eb392890dd304837760b66 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-09Repo structure modificationMorgan Richomme123-64/+71
- 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>
2016-11-08Merge "Update rally version"Jose Lausuch1-1/+1