aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci
AgeCommit message (Collapse)AuthorFilesLines
2016-12-13rename openstack to componentsMorgan Richomme1-1/+1
to be in line with testing group agreed categories https://wiki.opnfv.org/display/testing Change-Id: Ibad08afe1ad37c244e1cf5f845f14a73bddfd63f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-13CI-Build-Fix: Move the connection check to smokehelenyao1-18/+18
JIRA: FUNCTEST-648 The run_test.py first searches for tier, if no name is matched, it will continue to search for testcase. That said, for 'functest testcase run healthcheck', it will run all testcases under 'healthchech' tier. The connection check blocked the CI build. Change-Id: I4e14cb0f269175803d027756d5581fd1867b3147 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-12Move api_check test in smoke categoryMorgan Richomme1-18/+18
Healthcheck tests are used for gating and MUST not include negative tests Change-Id: Ie3a6715506cbbb9a5a9e5b455f648699600bd584 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-09Merge "abstract umbrella part to make integration code simpler"Serena Feng1-1/+1
2016-12-09Merge "Added test cases for running the Python Tests included with SNAPS."Morgan Richomme2-0/+61
2016-12-08Added test cases for running the Python Tests included with SNAPS.spisarski3-1/+62
JIRA: FUNCTEST-570 The three new tests are: 1. healthcheck/connecton_check - Retrieves different OpenStack clients and may exercise a query function 2. healthcheck/api_check - Exercises many of the OpenStack APIs by performing basic CRUD operations 3. smoke/snaps_smoke - Creates VMs and some optionally test SSH into floating IPs Removed configured exernal network name and replaced it with a dynamic lookup. Fixed typo in run_tests.py Change-Id: Icb87a77c7cdd99dd9aa3a66bcc5a25b4b5935fef Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2016-12-07Bugfix: fix the wrong class namehelenyao1-1/+1
JIRA: FUNCTEST-642 Fix the bug of patch: https://gerrit.opnfv.org/gerrit/#/c/25391/5/functest/ci/run_tests.py Change-Id: Iad2f1be32bdf0c391a40cd845ed2ca52ce8856f6 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-07abstract umbrella part to make integration code simplerSerenaFeng1-2/+2
implement an abstract class Umbrella, and take parser for instance JIRA: FUNCTEST-618 Change-Id: Iadf71ad49abd901b9659cb71135fc902a3b616d1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-05Fix Pep8 issues related to \Morgan Richomme2-4/+3
JIRA: FUNCTEST-630 Change-Id: I2b6d3bec67c6fe290fb2ad795a54a2dd2e3c7a0b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-02Rename TestCasesBase into TestcaseBasehelenyao2-3/+3
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-12-02Merge "Revert "solve failure testcases are not pushed to testDB problem""Morgan Richomme1-4/+3
2016-11-30Revert "solve failure testcases are not pushed to testDB problem"Morgan Richomme1-4/+3
This reverts commit a41264c46d583a68d48de041663213752dc62bf3. Change-Id: Id62c5342fffb5d75672127d9765d4cc882e3f4df Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-30Remove Notion of SKIP in test casesMorgan Richomme1-12/+0
JIRA: FUNCTEST-541 Change-Id: Ie71ba9c02e54a1ff05974ef89075b3ad7cf6f930 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-25Bugfix: fix the wrong script path for healthcheck.helenyao1-1/+1
JIRA: FUNCTEST-623 Change-Id: I9e37b25c989ce01d93920be372b3dc9845a3b0ae Signed-off-by: helenyao <yaohelan@huawei.com>
2016-11-25Merge smoke and sdn_controllers into smokeMorgan Richomme1-12/+4
1 category = min test suites to validate a scenario (feature excluded) Change-Id: I8ed2d2175dbdb13c1e762fdfc3f3280551d853f2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-25file/dir renaming for consistencyMorgan Richomme3-25/+25
JIRA: FUNCTEST-579 Change-Id: Iaa545db70bfb76770df0a3d17871e29ce518ff2d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-25Adapt Parser test case to the new templateSerenaFeng2-4/+3
JIRA: FUNCTEST-565 Change-Id: If702831438fac97c28a1a35b1a91b81feb8397bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-11-24Fix bug repos_dir -> REPOS_DIRjose.lausuch1-2/+2
JIRA: FUNCTEST-533 Change-Id: Ie98089c54326b255ffd7c6cad81abf29ad52f4a2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-24Extracted all global parameters into functest_constants.pyhelenyao11-343/+369
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 Lausuch2-5/+4
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.lausuch2-5/+4
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 Richomme1-1/+1
2016-11-23Merge "Adapt vping testcases to the new template"Morgan Richomme2-6/+6
2016-11-23Adapt vping testcases to the new templateSerenaFeng2-6/+6
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 Lausuch1-3/+0
2016-11-23solve failure testcases are not pushed to testDB problemSerenaFeng1-1/+1
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-22Switch SFC call to sfc repositoryjose.lausuch1-4/+1
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-3/+0
fix args is type Namespace problem Change-Id: I4e3786d86bd9fca6697c900f60f4c0f357dcb2bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-11-18Adapt Domino to Test AbstractionMorgan Richomme1-0/+3
JIRA: FUNCTEST-547 Change-Id: Iaeb1bb3e6f4529343eacc2f5ceda6d61ca6d96f7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.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-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 configurablecristinapauna1-0/+1
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 Paraskevopoulos1-1/+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-10change path for python ci filesMorgan Richomme11-0/+1771
JIRA: FUNCTEST-525 Change-Id: I6b09eaec55e42a3ee1474b21bc7ed87a71118e60 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>