aboutsummaryrefslogtreecommitdiffstats
path: root/testcases
AgeCommit message (Collapse)AuthorFilesLines
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
2016-06-01Check correctly argumentsCédric Ollivier1-3/+7
It fixes argument parsing and verifies all mandatory arguments are provided. It also prevents UnboundLocalError exceptions. Change-Id: Iec3403533b312c95dd453236ccadb1fe495d61cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-01Add criteria in testcases.yaml and Test classjose.lausuch1-5/+6
JIRA: FUNCTEST-257 Added example of usage in vping_ssh Change-Id: Iac143b811db163f0f86682b0688948c20843ede5 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-06-01bug fix: pb when pushing bgpvpn results when no failedMorgan Richomme1-5/+11
failed field is empty (not equal to 0) JIRA: FUNCTEST-234 Change-Id: Ic243e1e23615d585a735266d9012fc4c52d67ba3 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-01Merge "Add Apex based security scan code"Morgan Richomme8-328/+464
2016-05-31Write login correctlyCédric Ollivier1-1/+1
Change-Id: I1806fb7ac3d276065badd8537f84339c18a1856e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-05-31Add Apex based security scan codelukehinds8-328/+464
JIRA: FUNCTEST-169 Performs a SCAP based security scan of all overcloud nodes, followed by report download to functest dashboard Change-Id: I9058227e19c0877e5f8913931febdd667a908cdd Signed-off-by: lukehinds <lukehinds@gmail.com>
2016-05-31Remove unused CI_DEBUGCédric Ollivier1-1/+0
Change-Id: I78028dd7694f90f7cf81fc58f48b8afb713b5e12 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-05-30Bugfix: can not find tempest.logSerenaFeng1-24/+21
JIRA: FUNCTEST-269 Remove dependency on CI_DEBUG and use subprocess.call to redirect stdout to tempest.log in any case. Change-Id: Ibac68bec7f98007d24def25fd609051b5c528fc7 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-27Merge "bug fix: if all tests passed failed could be empty"Morgan Richomme1-4/+6
2016-05-27bug fix: if all tests passed failed could be emptyMorgan Richomme1-4/+6
consider failed only if regex match JIRA: FUNCTEST-234 Change-Id: Ie9d29c7bc1eb2f051600d689133b47bf276bc856 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>