summaryrefslogtreecommitdiffstats
path: root/testcases
AgeCommit message (Collapse)AuthorFilesLines
2016-07-05Fix doctor test return checkCarlos Goncalves1-1/+1
utils.functest_utils.execute_command returns 0 if no error Change-Id: Iedc36b50521cf281a7b8da351cde9e1c8f9468bd Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-07-05Fix incorrect path for createfiles.py and amended hiera pathLuke Hinds1-2/+3
JIRA: FUNCTEST-350 Change-Id: I29cdd2e6783fb659a673346d3033b1b2e7b3461b Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-07-05Merge "Add interface to run sfc functests."Morgan Richomme1-6/+70
2016-07-04Merge "Delete robotframework files hosted by ODL"Morgan Richomme3-153/+0
2016-07-04Add example script creating an instancejose.lausuch1-0/+136
This is to be used by feature projects or newcomers to functest. SFC or BGPVPN test cases can be based on this one. The script creates an instance and assigns a floating IP to it. Change-Id: If35495631031187bfb5382ba8c0a8884dfaa3d7f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> Depends-On: Ie10d55872bc8c5a404b0d0156ee49a9d94482008
2016-07-04Delete robotframework files hosted by ODLCédric Ollivier3-153/+0
All the modifications done on 010__networks.robot, 020__subnets.robot and 030__ports.robot have been backported to ODL [1]. These files can be safely removed as both repos are now synchronized. [1] https://git.opendaylight.org/gerrit/#/c/40948/ Change-Id: I3e027e41042a25924b9edd0034eddbd895a248fb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-04Add interface to run sfc functests.wuwb19891-6/+70
Varified only in fuel. Prerequisite: no floating ip exists. Change-Id: If6ef4c395992ba1544559b47c5c97f7cd5ce004c Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-07-03Merge "ONOS sfc scripts"Jose Lausuch3-0/+1043
2016-07-01ONOS sfc scriptsAntonySilvester3-0/+1043
Change-Id: Id314d64cffc3e25b7c3f47e9ff158f79360417e0 Signed-off-by: AntonySilvester <antonysilvester@gmail.com>
2016-06-29bug fix: use FAIL/PASS as criteria for vping_userdata and rally_sanityMorgan Richomme2-4/+4
Change-Id: Iadccae118bb2dc557bb590175c65022c1ed70605 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-28Switch to ODL_SYSTEM_IP and OPENSTACK varsCédric Ollivier8-23/+14
It follows the last updates of ODL's robotframework files [1]. Useless Set Suite Variable calls are also removed. [1] https://git.opendaylight.org/gerrit/#/c/36569/ Change-Id: I98ec20ded7978cd56e6de6b62bce04b8c6ba1e9a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-28Change step 4 to step 3 in healtcheckjose.lausuch1-1/+1
Change-Id: I4b506f942d7435b8d67e710f3e00a0886cdf6cd5 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-06-24Merge "bug fix: duplicate start_date var with different type"valentin boucher1-2/+2
2016-06-24bug fix: duplicate start_date var with different typeMorgan Richomme1-2/+2
mix between the var and its display value leads to problem when pushing the results to the DB Change-Id: I582785f38f35add1251b58491843b4f3f20a3ff8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-22modify onos tests' link to support onos 1.6wuwb19892-8/+8
Change-Id: Ice9b19a1d569b4084921961ec0a3a9d961923521 Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-06-20bugfix: name format and testcase start timeboucherv1-7/+7
Change-Id: I8929ccc69c09dc70eee92695eab1ebfa77dcf283 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-06-20Merge "change cloudify cli version from 3.3 to 3.3.1"Morgan Richomme1-1/+1
2016-06-17Check resources exist before testing deleteCédric Ollivier3-7/+37
It checks if network, subnet or port exists before calling the delete operation. It also replaces NetID by NETID to conform robotframework best practices. Change-Id: Ie13f41e2b29c0a0cbfba3115dd8189a805fcf056 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-17change cloudify cli version from 3.3 to 3.3.1boucherv1-1/+1
Change-Id: Ied464d22ba1947f359f6af9584c56908e101f1b7 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-06-16Align test names in DB and config fileMorgan Richomme7-12/+22
JIRA: FUNCTEST-304 Change-Id: I98d3155beb1c5e49eda84b443df603c2630b4823 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-16Merge "Fixed auth url in v2.Password"Jose Lausuch1-3/+4
2016-06-16Fixed auth url in v2.PasswordLuke Hinds1-3/+4
Completes "Added use of OS_AUTH_URL to security_scan and exec_test.sh" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/15633/ Change-Id: I756c10091c3e7fe9e7c8978e2747582bb0f4d281 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-16bugfix: import moduleboucherv1-2/+2
Change-Id: I233ea8bc8df52ae9192ce4963e18f2389caa920c Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-06-15Added use of OS_AUTH_URL to security_scan and exec_test.shLuke Hinds1-3/+10
JIRA: FUNCTEST-315 Change-Id: I1f8ac20cd93ce25548dbf47d62fc6a076d347d62 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-15Merge "Try/except ODL push to DB until ODL tests are refactored"Morgan Richomme1-23/+20
2016-06-15Add documentation to conform to odlreport2db.pyCédric Ollivier1-0/+3
It completes "Add reachability testcase for ODL" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/15509/ Change-Id: I9273f1c636ccfc1b192a69f7af04e6a5c1731bec Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-15Try/except ODL push to DB until ODL tests are refactoredMorgan Richomme1-23/+20
Change-Id: I7919c69655ce43831d5269afc1d86bf2c929bb8f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-15Replace deprecated keywordsCédric Ollivier6-21/+21
It replaces get by get request, post by post request and delete by delete request. Change-Id: I6bfa6d8d53a1ec54416e3b8b2678e01f54bf7811 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-14Remove unused librairies in robot filesCédric Ollivier6-26/+5
Change-Id: Ifade280e02354b20869d54b15ba89838d2857640 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-14Merge "Add reachability testcase for ODL"Morgan Richomme1-0/+27
2016-06-14Enable security scanningLuke Hinds1-2/+2
Change-Id: Ib179ee6b2fcc7cf6c9ac522fdb83755ecbb99f52 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-14Add reachability testcase for ODLCédric Ollivier1-0/+27
It simply gets the complete lists of networks, subnets and ports. Change-Id: I529c381996ee45f0b11f5fa24844f25c2f8f4a93 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-14Reduce rally run script log outputJuha Kosonen1-1/+1
Log scenario specific tables only in debug mode. JIRA: FUNCTEST-312 Change-Id: Iacfdfb8156b1d5e9bc0a85abc1d6a10d6cac032e Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-06-13SSH key key type select improvements and jump host renameLuke Hinds5-32/+46
JIRA: FUNCTEST-310 Change-Id: I7adca57febfe8e6861d22de18858c6afd97b5199 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-13Remove unnecessary defaults from rally task fileJuha Kosonen2-12/+1
Parameters used in test scenarios are defined and correctly set by run script. No need to hardcode defaults in task file. JIRA: FUNCTEST-311 Change-Id: Ic7decfc5144c40a50cd32862eb4aed263930a78e Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-06-13Remove external server references on Rally scenariosJuha Kosonen2-19/+8
Use url derived from OS_AUTH_URL on a scenario making http request and checking the response. This way successful test execution does not require internet connection nor rely on external servers functionality. JIRA: FUNCTEST-201 Change-Id: Ic11f8f5c32d015624bdec1db07d8bb49f7b77bc8 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2016-06-13Creating Glance image for Tempest suitevitikkan1-0/+30
If not yet existing, Cirros-0.3.4 image is created before running Tempest test suite. Source file for the image is included into opnfv/functest Docker container. JIRA: FUNCTEST-195 Change-Id: I980193c4207c1301ca4e3b6e850b4056e6aa0130 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-06-13Fix flake8 violationsMorgan Richomme3-8/+3
Change-Id: I911eab6d4c0cdcfcf4d75f03e91c528d3388876c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-13bug fix: end_time var does not exist to calculate durationMorgan Richomme1-1/+1
Change-Id: If73b6fbf022a837e4cb0190ab8074d18017ca57b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-09Fixes and Docker Specific Attributes on security_scanLuke Hinds5-66/+95
JIRA: FUNCTEST-306 Fixed Incorrect logging format Added Key Download Added Docker Specifics discovered during tests Change-Id: I0c275c77a1eeb5911afb472bd0cb9c8020ae5879 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-09Fix vPing success criteria evaluation bugfixjose.lausuch1-8/+5
Switching back to the odl approach. Need more discussions to see how to evaluate the result from testcases.yaml Change-Id: Iaa866db3010d35bd2cc427190dfe64db6b732a93 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-06-08Merge "Fixes incorrect parenthesis format & adds ft_logger import"Morgan Richomme2-23/+27
2016-06-08Fixes incorrect parenthesis format & adds ft_logger importLuke Hinds2-27/+28
JIRA: FUNCTEST-302 Change-Id: Id83077a1b1376f726ea8abd4a97e5b705c22f9cc Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-08Adapt functest testcase to APi refactoringMorgan Richomme10-208/+176
JIRA: FUNCTEST-303 Change-Id: Ia276d9ca6e8d62b496c3b5f81561b14b02c43fd7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-08Added paramiko.util.log_to_fileLuke Hinds1-4/+3
JIRA: FUNCTEST-301 Change-Id: I489653d4e47232c5bf51bbae54d2a89c7ac780b6 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-07Use current ODL Integration/Test repoDaniel Farrell2-5/+5
ODL Integration used to contain system testing, Karaf distribution building and packaging/delivery logic. It was split into three projects in August 2015: Int/Test, Int/Distribution and Int/Packaging. https://wiki.opendaylight.org/view/Archive_Proposals/Integration The integration.git repo Functest was cloning is the old one, containing all three projects. It hasn't been updated since the split. The new integration-test.git repo is the current version of ODL's system test code. This change also clones ODL from its official Gerrit, instead of its GitHub mirror. Change-Id: I6b38b1fedada504411ca0e0639355339f373084c Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
2016-06-02Replace subnet by portCédric Ollivier6-61/+61
It also fixes several upper case letters and formats *delete*.robot Change-Id: I071be39860dd33296a067e4f3d0188d36e9b9660 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-02Rename Robot Framework sources to *.robotCédric Ollivier3-0/+0
It avoids mixing robot and txt suffixes in the same directory. Change-Id: Ia2288cc9ad7dc86fc9a4cea2c6ca7a08a7dd3e3c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-02Merge "Add criteria in testcases.yaml and Test class"Morgan Richomme1-5/+6
2016-06-01Merge "Check correctly arguments"Morgan Richomme1-3/+7