aboutsummaryrefslogtreecommitdiffstats
path: root/testcases
AgeCommit message (Collapse)AuthorFilesLines
2016-01-27Bugfix print arguments in functest_utils.pyjose.lausuch1-3/+4
Change-Id: I54c94ad43a88732840c0cf915bae42a0cf476e90 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit fd0e23740a75ef749a75431defba50520d79215a)
2016-01-27Print json result file of Promise testcasejose.lausuch1-6/+18
JIRA: FUNCTEST-68 Change-Id: Ib89e84b7f4d6f3cfe990655c941705af1da24bfb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 5c705a0c56af8d622edafa1e99e9806ba627754e)
2016-01-27Remove possible message "No handlers could be found for logger paramiko"jose.lausuch1-0/+1
Change-Id: Ib6324b96489551cd88eb1639cb61d38bff898638 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 438a29faf556a9dcc2a304180ce77a32cc748e35)
2016-01-27Option to redirect stderr output to a file for Tempest testjose.lausuch1-1/+19
The output when we run Tempest from CI is too long if there are many tests failing. This patch intends to show only the test cases that passed/failed within a table. If troubleshooting is needed, it will be a log file with all the stderr in it. Change-Id: If5b0f35463a3dae06a0c177de4dc473bfc4687c5 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 9be6519eca39111295b89e9b3b0d853f95126a72)
2016-01-27Refactor functest_utils.py scriptjose.lausuch1-287/+380
JIRA: FUNCTEST-129 Change-Id: Id5202b1830f7efa77fdb8023d4eeb93775168d29 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit b3b50bef3d0ee76decca7810fbccdbac13ab892c)
2016-01-27FUNCTEST-128CNlukai1-1/+1
Modify the ssh output match Change-Id: Ic21823781aa77bdc216dac4c048cd04884516a53 Signed-off-by: CNlukai <lukai1@huawei.com> (cherry picked from commit 77e92f96dd56659d14d496d86d3814ea69fb2b3d)
2016-01-27Merge "bug fix bad var affection when running ODL" into stable/brahmaputraMorgan Richomme1-1/+1
2016-01-27FUNCTEST-127CNlukai2-17/+22
FIx the condition judgment of vping Change-Id: I58abace66fb73e0531affc651194473718dfacd5 Signed-off-by: CNlukai <lukai1@huawei.com> (cherry picked from commit ecc77fad440a63627755e7ff042a98f34f3e9b75)
2016-01-27bug fix bad var affection when running ODLMorgan Richomme1-1/+1
Change-Id: I106f01928a2df71d5a46dad2087d767eb5bdf3d2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 5423e53c8c88fcdd62197671ac7e101bb952c783)
2016-01-26Add timeout in paramiko ssh commandjose.lausuch1-6/+6
Change-Id: I7ef30c08a2335400a79b8a7baf91a27e5eea02e1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit a43fac229e1be8c6af2c72a4be9d9c1c95614d21)
2016-01-26Add bgpvpn and odl_vpnservice in config_yamlMorgan Richomme1-2/+2
Change-Id: I36f875efbb7a39b5b62937cb19c0e854a3a1e15c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 7e6dc039febd23ce7a4b2a27e5b8477ebf4d0a91)
2016-01-26Add more OS defaults for Fuel 8.0jose.lausuch1-2/+2
Change-Id: I6f569a4fd66020a699702733303ec55c6aeab15d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 683f459c4e6be7d984b857f6c5c2df7e6c2eae8d)
2016-01-26Patch ODL scenario to support joid (different keystone and neutron API IP)Morgan Richomme7-4/+173
JIRA: FUNCTEST-124 Change-Id: I84834fcb78e652f3b39696f0e17bf54cb5804559 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 1a40722cd446af5416029dc0f3b371a835fa444c)
2016-01-26Add function for Promise libraries pre-installjose.lausuch1-8/+19
Change-Id: I149f87b9edc40435d32e493f771f58de46e2757f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit c08fa5882b111a65ebcf121b66d5107d481b66fd)
2016-01-26Merge "Replace 'No vPing detected' by a better understandable message" into ↵Morgan Richomme2-6/+4
stable/brahmaputra
2016-01-26Allow executing ODL test as many times as wanted on the same envjose.lausuch1-5/+6
Since the script add some lines to the file called __init__.robot every time it executes, the next execution will add it again which is unnecessary and it will fail. This checks if those lines are already present and does nothing if so. Change-Id: If4c2e10bcfcac0b7fde38ff213ea4ade4b83e4f1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 680847c24a64a3f015b308b7c3fc6c9271b945a2)
2016-01-26Replace 'No vPing detected' by a better understandable messagejose.lausuch2-6/+4
Some people got confused about that message although the test succeded Change-Id: I9bdbb5545f06e85805f29b3dfca6156da86c3ffb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit c208b3c1104fc210d73eabf6361efbd3ea62e265)
2016-01-26Add whitespace in the vPing2 commandjose.lausuch1-1/+1
Change-Id: I5bf8eb21e5b09238e1281a1cd292444e9cb2df05 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit f4a91d2805ead7991616d7cebdaa607d15f6f60d)
2016-01-26Use paramiko library to SSH and SCP the instances in vPing2jose.lausuch2-27/+58
Change-Id: I584c24fee5eae072c6885967170e5aded5fce172 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit e4b116d2054966e158ac647eea332aba8b84b89f)
2016-01-26Remove vPing_userdata and vIMS from onos scenarioMorgan Richomme1-0/+2
Change-Id: I8e9a8ccf78ae02f94840e440f36ebe7be1245dbb Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 1b0826f0134ad1863453b3e416600818d4b84e12)
2016-01-26Add copy of packages.json to the features path before running npm installjose.lausuch1-8/+10
Also, replace REPO_PATH by FUNCTEST_REPO Change-Id: Ic7a552669888acf5ed9466c4f664fd3b3066eb74 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit e481d1b7ee6b89f9cdbdc3035805a43f4387e346)
2016-01-25Adding BGPVPN and VPNSERVICE testcasesNikolas Hermanns2-23/+7
This commit add the testcases to the testcase filter and makes them run able from run_test.sh Change-Id: I489687f4f011e77da63e3630b0e70f957b3343c5 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> (cherry picked from commit ea4c222b385c93442a8d3cb4c5cf8747c21efdad)
2016-01-25Add support for Promise test casesjose.lausuch4-5/+246
JIRA: FUNCTEST-68 Change-Id: I80f8e587e53c7242f8bfa666f2ac450e73c8294f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 76b49b8c1eefcebe69d798157cb7742152a57155)
2016-01-25test db migrationMorgan Richomme1-1/+1
Change-Id: Ic1e5de85aac621e7c270869c9e5418e18c581d7a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit e485cabfc05ad7b91d93ee866e5d656773ab273b)
2016-01-25FIX: args of push_result_to_db changed from git_version to versiongrakiss1-2/+3
Change-Id: I00411286d19a8e8c3f659cff8e2f6ce6f8a0ccf9 Signed-off-by: grakiss <grakiss.wanglei@huawei.com> (cherry picked from commit ad7a7a66e37a4cd31f46b2c753e7124ff16766ec)
2016-01-22Removed unnecessary references to public subnet cidrJuha Kosonen2-4/+0
Change-Id: I9961fcdd9fca6ae98f4c1b38c7eae119447132e4 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit b8a2d3f517a2c599b603da491229527278b0e87d)
2016-01-22Put scenario in version field on the Test DB (rather that git indication)Morgan Richomme6-13/+27
Change-Id: I22f7ff3841d7fca637e400d92926d2e1b1755371 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 59063638116508f7ce4f7612def938bb9eb0e938)
2016-01-22Merge "modify onos functest to suit joid CI" into stable/brahmaputraMorgan Richomme1-2/+1
2016-01-22modify onos functest to suit joid CIlanqinglong1-2/+1
Change-Id: Ib73d80e06042c849f8f627b252b28c2fb95a283d (cherry picked from commit cc0375241d59e2c010e6c9e04040187478dc5533)
2016-01-22Push ODL results to DBMorgan Richomme1-0/+143
JIRA: FUNCTEST-57 Change-Id: I8e998382aff0cc60e82338c27d234abe6be5c505 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 3883923445f5d11e2939865e08438f10f18bc6a9)
2016-01-21Add control to redirect rally stderrJuha Kosonen2-4/+17
By default rally stderr output is suppressed. Option --verbose enables the output by redirecting it to stdout. Change-Id: I2fd372b2a5cd70095969ef926bc9675dde4f98f6 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit c2fcca7373e4b65d4eec221e020bc49c9e443a70)
2016-01-21Add default admin_floating for Fuel 8.0jose.lausuch1-2/+2
Change-Id: I43640cde64ccf5975195f2d5c71c8fc5634b4503 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit c8cb5e92172f78aa75bd36362f3644322165436d)
2016-01-20Check if rally image already exist and don't create it again if sojose.lausuch2-39/+38
Change-Id: Ib872b7c21449fe4dc9c4331401fbfbff86140f68 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 2a9268e11cbac21a0952dee6831d28cd06dc70d7)
2016-01-20Detect if userdata is not supported by nova in vPing-userdata testjose.lausuch1-6/+19
Also, reduce the number of output messages from every second to every 10 sec Change-Id: Iadaf94991c2d3361460fb34bc8d8910dcc599af6 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 8544a1146370356bed7ccd85ad63fb4b652d1281)
2016-01-20create 2 vPing scenario:vping and vping-userdataMorgan Richomme2-8/+9
the new vping scenario does not use the userdata/cloudinit functions JIRA: FUNCTEST-3 Change-Id: Ia535a50a9cfd50d520b87c2dd9195747a61b0f1f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 4475765f05a24e14f1d90db28941ff5ba5ca1be7)
2016-01-20Added vPing2 using SCP and SSH instead of nova userdatajose.lausuch3-0/+573
Change-Id: I194f88a4d213e5ad2225241420a9254878f4f7f4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 625dde8e972f2586e986a46225ce87ebd3823b79)
2016-01-19Modify ONOS CI runninglanqinglong1-13/+120
Change-Id: I4b662b494c6c488d8643ec459a949b781ba3374a Signed-off-by: lanqinglong <lanqinglong@huawei.com> (cherry picked from commit 16e9bf66c5737e725a09064783599eb94e215095)
2016-01-19Add mention to apache 2 license in Functest files and remove unused filesMorgan Richomme13-32/+73
Change-Id: Iaf67792ad61351d0573c8d92e5d78f5f7a6e86ff Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit cc27777f84ea018cc2c0487a4fc3ff0c3b6d358f)
2016-01-19Ensure nameserver ip worksboucherv1-1/+5
Change-Id: I380b69bcfa79873fbde3412ab994f9c34c4b9ac2 Signed-off-by: boucherv <valentin.boucher@orange.com> (cherry picked from commit 4dc35c36e80521b0fe0ca6ab528d2c4e062b2a12)
2016-01-19Remove rally stderr output from rally-certjose.lausuch1-2/+11
Change-Id: I2a5bb72989639059f082eedfb4abe8d582bef35c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 79a23744af12da7163e3a142dd44f60d46cbfd41)
2016-01-19Remove all the unnecessary Rally outputjose.lausuch1-3/+10
Change-Id: Ic6c719afadae56723ba515eaf9ad5e29be57c129 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 29d9df125f30f0fbfd20da687be89603de2b84e1)
2016-01-19bug fix: duration time not initialized in case of VPing error (timeout)Morgan Richomme1-7/+11
JIRA: FUNCTEST-3 Change-Id: I115bf46f341e742970a911bb049a99ca8bb7aa70 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 537911794f3f1c9e7a10bb38fe379b2a68a950e6)
2016-01-19Bugfix Missing "$" in front of some variablesjose.lausuch1-3/+3
Change-Id: I1192ee4cf692861509777c9c13f917ff58dc8660 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 36a3d6d9de841ec459a4edc7890d5aeb2fe46024)
2016-01-18Prepare integration of ovnoMorgan Richomme1-1/+4
JIRA: FUNCTEST-125 Change-Id: I9d13509ea91f3a5359aa4c16f9eccb8719279346 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 77718c073d682f4330b751c67f76b05e08c26b03)
2016-01-18Add 'neutron' default user for joidjose.lausuch1-1/+1
Change-Id: I60bf62f1df40acdfeea6ed72cf1823725c763b38 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 322dd6a16cc1b77d8ccd49f0d19781e455ef6bfb)
2016-01-18Print openstack defaults before running clean_openstack.pyjose.lausuch1-0/+22
Change-Id: Ifc3ce69074d5c264ab252aaadb2877c823901b76 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit dc566ec04b7af4c35be6c8a41271367cb1dd621b)
2016-01-18Add --debug flag to first clean_functest.pyjose.lausuch1-1/+1
This way we see if we remove something we shouldn't Change-Id: Iab14abcc72bbdf656a75ad79722c70c3c3b3aece Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 015b75f204c0f8e093487cf4241b77368426f7f1)
2016-01-15bugfix: update cinder quota strange spaceboucherv2-2/+2
Change-Id: I984be5267a3492c4d3b5922a982aed0ad94e7c5b Signed-off-by: boucherv <valentin.boucher@orange.com> (cherry picked from commit f4aa5fbebff139543acb891d9d38c9f8fa864cda)
2016-01-15Change novaclient usagejose.lausuch4-8/+8
Avoid having this warning: UserWarning: 'novaclient.v2.client.Client' is not designed to be initialized directly. Change-Id: I1a9154d97be14007bcb988a5ccd630eadf2e8a5f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit eb12e95f822c70566cb417e5b5d85a65df14b79c)
2016-01-15Remove extra output if CI_DEBUG is falsejose.lausuch2-5/+10
This way we have a nicer view in Jenkins when preparing Functest Change-Id: Ie0df3aa8b07ac2fd726d11b1ab01a7291d4c2c5e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 973c722f929eb3652d19a15911404f31a9f66216)