summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-12-09Merge "Added test cases for running the Python Tests included with SNAPS."Morgan Richomme10-2/+243
2016-12-08Added test cases for running the Python Tests included with SNAPS.spisarski11-3/+244
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-08Update the logic to support both Newton and Mitakahelenyao1-3/+23
JIRA: FUNCTEST-645 RC file is quite different between Newton and Mitaka. The change is to support both version. Change-Id: I846e8bc4b4c8b7caf4bcb26c8453e1fc5d1cc0f4 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-07Revert commits that handle tacker objectsRomanos Skiadas2-174/+0
These break CI in deployments where tacker is not present. Revert them for now and reintroduce them later in a way that will work for cases where tacker is not there. Revert "Tacker objects in openstack clean" This reverts commit 510a71f74ef5f47c28995f93b461cf361a18aa74. Revert "Tacker objects in openstack snapshot" This reverts commit c2f950adc4391d312f84da016e7443758506cf8c. Change-Id: If6c470302a7be6363844eed212d25afd6e57dbc9 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-07Merge "Get rid of easy_install in unit test"Morgan Richomme1-7/+3
2016-12-07Get rid of easy_install in unit testhelenyao1-7/+3
JIRA: FUNCTEST-638 Pip is a better alternative to Easy Install for installing Python packages. There is no need to install easy_install. Change-Id: I3dee17a800d11907c7f0942bff251a93675978bb Signed-off-by: helenyao <yaohelan@huawei.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-06Merge "test-requirements.txt is added for unit test."Morgan Richomme4-5/+27
2016-12-06Merge "Concatenate the RUN commands"Morgan Richomme1-14/+15
2016-12-06Merge "Sort multi-line arguments alphanumerically"Morgan Richomme1-13/+13
2016-12-06Merge "Tacker objects in openstack snapshot"Morgan Richomme1-0/+53
2016-12-06Merge "Tacker objects in openstack clean"Morgan Richomme1-0/+121
2016-12-05test-requirements.txt is added for unit test.helenyao4-5/+27
JIRA: FUNCTEST-639 Some requirement packages are only needed by unit test and there is no need to include them in requirement.txt. This is the main reason to create a test-requirements.txt to hold all packages required by unit test. Change-Id: Iefa9f54b57666d30044ec174adfeb22d63b6b139 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-05Merge "Fix Pep8 issues related to \"Morgan Richomme13-333/+331
2016-12-05Tacker objects in openstack cleanGeorge Paraskevopoulos1-0/+121
Add VNFD, VNF, SFC and SFC classifiers cleaning capabilities DEPENDS ON: https://gerrit.opnfv.org/gerrit/#/c/25485/ https://gerrit.opnfv.org/gerrit/#/c/25475/ Change-Id: I1405ed69a9dfac5d3dba7f16019288afdf65d0ff Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-12-05Tacker objects in openstack snapshotGeorge Paraskevopoulos1-0/+53
Add VNFD, VNF, SFC and SFC classifier snapshoting capabilities DEPENDS ON: https://gerrit.opnfv.org/gerrit/#/c/25485/ Change-Id: Ic89ab5be348cbe0cca2180c43352cfa4dac0f327 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-12-05Fix Pep8 issues related to \Morgan Richomme13-333/+331
JIRA: FUNCTEST-630 Change-Id: I2b6d3bec67c6fe290fb2ad795a54a2dd2e3c7a0b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-05Fix typo in openstack_tackerGeorge Paraskevopoulos1-1/+1
Changed function stub: -def list_sfc_clasifiers(tacker_client, verbose=False): +def list_sfc_classifiers(tacker_client, verbose=False): Change-Id: I552231aff6c21a769366e8d41c20d64f1da374b4 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-12-05Concatenate the RUN commandshelenyao1-14/+15
JIRA: FUNCTEST-636 Whenever running RUN command, a new image layer is created. It would be recommended to group commands into groups to decrease layers. Change-Id: Iae9287b2a7fd11705b5f25807fab652afa0ccb74 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-05Sort multi-line arguments alphanumericallyhelenyao1-13/+13
JIRA: FUNCTEST-637 Whenever possible, ease later changes by sorting multi-line arguments alphanumerically. This will help you avoid duplication of packages and make the list much easier to update. Change-Id: I85eae3a7019f5f2f30abf7a3f44896017acae9b7 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-02Rename TestCasesBase into TestcaseBasehelenyao12-73/+74
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 "Update release notes with arm results"Morgan Richomme1-9/+9
2016-12-02Merge "remove functest_repo from TestBase, move it to vPingBase"Morgan Richomme2-2/+2
2016-12-02Update release notes with arm resultscristinapauna1-9/+9
Change-Id: I961839f5baf399377f19c9b6e008b1d43af2e921 Signed-off-by: cristinapauna <cristina.pauna@enea.com>
2016-12-02Merge "Allow unit testing w/o internet connectivity"Morgan Richomme1-6/+21
2016-12-02remove functest_repo from TestBase, move it to vPingBaseMorgan Richomme2-2/+2
Change-Id: I6e9ebc7280b24ced9b62bfa4fa38b08128febb42 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-12-02Merge "Revert "solve failure testcases are not pushed to testDB problem""Morgan Richomme2-5/+3
2016-12-01Merge "Remove Notion of SKIP in test cases"Morgan Richomme3-41/+20
2016-11-30Revert "solve failure testcases are not pushed to testDB problem"Morgan Richomme2-5/+3
This reverts commit a41264c46d583a68d48de041663213752dc62bf3. Change-Id: Id62c5342fffb5d75672127d9765d4cc882e3f4df Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-30Merge "Fix tacker util script"Jose Lausuch1-9/+46
2016-11-30Remove Notion of SKIP in test casesMorgan Richomme3-41/+20
JIRA: FUNCTEST-541 Change-Id: Ie71ba9c02e54a1ff05974ef89075b3ad7cf6f930 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-30Allow unit testing w/o internet connectivityCédric Ollivier1-6/+21
urllib2.urlopen() is now patched when testing the internet connectivity helper. Change-Id: I4ddf1dd8f494fe282735e1051986a0b5dd1a040f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-11-29bug fix: bad ping.sh path after refactoringMorgan Richomme1-2/+2
JIRA: FUNCTEST-626 Change-Id: Iaab7de65ae197939f1ef715826ba5a2b2423c205 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-29Fix tacker util scriptGeorge Paraskevopoulos1-9/+46
Bug fixes for the tacker utilities script + a new function to wait for a VNF to come up Change-Id: Ia358c4b9dc43b60d0fd6ba4b18d2e7fd63f05a99 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-11-28Merge "Lifted requirements.pip one level up to meet the basic structure of ↵Morgan Richomme3-5/+3
OpenStack project."
2016-11-28Merge "Bugfix: fix the wrong script path for healthcheck."Morgan Richomme1-1/+1
2016-11-25Bugfix: fix the wrong path for vping_sshhelenyao1-1/+1
JIRA: FUNCTEST-624 Change-Id: Idbd04eb4c09a3bae29f12e43b019ad095ce2cf7b Signed-off-by: helenyao <yaohelan@huawei.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-25Lifted requirements.pip one level up to meet the basic structure of ↵helenyao3-5/+3
OpenStack project. JIRA: FUNCTEST-609 1. Lifted the requirements.pip 2. Renamed it to requirements.txt 3. Updated the areas that are affected Change-Id: If294f07fb5450f3ae6133fd46dc169b9bab451de 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-25Add suffix '_DIR' to some constants that point to directoriesjose.lausuch4-20/+23
JIRA: FUNCTEST-533 Change-Id: Iea2ca0709f6e53201056f9145fa6020216c31f56 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-25file/dir renaming for consistencyMorgan Richomme73-66/+66
JIRA: FUNCTEST-579 Change-Id: Iaa545db70bfb76770df0a3d17871e29ce518ff2d Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-25Adapt Parser test case to the new templateSerenaFeng5-44/+50
JIRA: FUNCTEST-565 Change-Id: If702831438fac97c28a1a35b1a91b81feb8397bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-11-25Merge "Consider criteria as exit condition in odl test"Morgan Richomme2-5/+12
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-24Consider criteria as exit condition in odl testMorgan Richomme2-5/+12
JIRA: FUNCTEST-621 Change-Id: Ic9dd73861d84e3dbfb3e6611ffc9e5e2c09fcaed Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
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>