summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-01-29Add scenario name to Rally result messageJuha Kosonen1-2/+2
Change-Id: I1eb6604c9ad658b65cc47c8d7d0f47717078a9fe Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit c269353e4027a2f8d690fc4a03315ebc93301ba7)
2016-01-29Changed to use $(repos_dir) and removed #Stuart Mackie1-1/+1
Change-Id: I6e4004aad2d55309b520647eee59608ee7fa66d7 Signed-off-by: Stuart Mackie <wsmackie@juniper.net> (cherry picked from commit abfd2e7b94e4028e8ac032a5282f648b9dac08ec)
2016-01-29Update docMorgan Richomme3-1058/+863
Change-Id: I415f090e38fa382e0c768758b4b82dd3a7c9294f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 7c5cfcf8085174066c35cfc39c4b6745a5819ecd)
2016-01-28Small typos fixes in functest_utils.pyjose.lausuch1-6/+7
Change-Id: I9fdb1efe11ce62c460f380ba1087ed9fc83611ef Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 87880013c9030fdacf477c0b977a8e06f9afbbdf)
2016-01-28Change to logger.error when there is an error in clean_openstackjose.lausuch1-13/+14
Change-Id: I753ded0cbbd9982dfa81ff734ae1f1fdeea6f268 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 899f54d9123f6cdc349807dc7fc17fdbc58d2394)
2016-01-28Refactor functest_utils.pyJuha Kosonen1-23/+24
The order of volume type related functions and the error handling changed to conform general approach used in functest_utils.py. Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 09f1b2201aaee2c3deee5936c819089bcc86692b) Change-Id: I1461380ae0c579e5557bf4bfec4ec68f2766ee40
2016-01-28change for get joid onos iplanqinglong2-3/+22
(cherry picked from commit 03ec0a88e72ed6c2fdc2995d0c93d2c61f847ae3) Change-Id: Ic6d420d855615ddf53de707c19771fffaba47bbf
2016-01-28Follow change in joid use SDN_CONTROLLER_IP env var instead of ODL_CONTROLLER_IPMorgan Richomme1-1/+1
Change-Id: I298cfdfe880c52a18580eb607294cf4c7f353e71 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 73f040dd4998cadfbaa7b0706a441ae6ce6f6ffc)
2016-01-28Merge "Fix promise test output" into stable/brahmaputrajose.lausuch1-2/+3
2016-01-28Reduce Rally outputjose.lausuch1-7/+18
This patch intends to reduce the output of Rally test, showing only the important information of the tests, which is the scenario name and the table with results. Showing the scenario json/yaml is unnecessary since it is already in the repo. Change-Id: Iff0ba3fed17212bb4a695c4155747c8aaf683da3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit b0365d10fda5018721d012602077dddda948a6d9)
2016-01-28Volume type management moved from run_tests.sh to run_rally-cert.pyJuha Kosonen3-2/+59
Change-Id: I80c8b27e041ec5089b816b8515cbc8fa1e8b9eea Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 9922669c3dd92d43c6e387c8077255153c35b71e)
2016-01-27Fix promise test outputjose.lausuch1-2/+3
Change-Id: I12bda2e9953228bd0db1810a8a06bfe2e1644ac8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 9c6eeae44d8e82fb7af2111784474628ec839a46)
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-27typo fix on odlMorgan Richomme1-1/+1
Change-Id: If761b7c38f38d3f2c691eab36b797ca7ce7ccb49 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 39724bcf9aef79aa8136863bd07a701b8df14489)
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 Richomme8-6/+180
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.lausuch3-11/+20
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-26Add missing directories env variables in common.shjose.lausuch1-0/+3
Change-Id: I600af261bed89e7fd90687ca44100318722aa91d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 3eb953d20bbecf56fb91a24d5c1fba7f56a606c3)
2016-01-26Fix typo in requirements.pipjose.lausuch1-1/+1
Change-Id: I59c5514730c5b86723e777f9e2a8d49233e22512 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 4173e2539cbf50f1385a1ce131b6a4af1b5ef29f)
2016-01-26Use paramiko library to SSH and SCP the instances in vPing2jose.lausuch3-28/+60
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-26Use rally cert scriptjose.lausuch1-1/+1
Change-Id: Ia550e3ca7742db596dd3817841ed31a101adef27 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 4753bf597ebc953c4a381990f570e78dc542bbf0)
2016-01-26bugfix: syntax errormeimei1-1/+2
Change-Id: Ic068cd162e49abe4ce3ce0f184c224b65bfcfb6c Signed-off-by: meimei <meimei@huawei.com>
2016-01-25Adding BGPVPN and VPNSERVICE testcasesNikolas Hermanns3-51/+56
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.lausuch6-6/+250
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-22bug fix: when running manually a test, get stuck in echoMorgan Richomme1-1/+0
Change-Id: I0fd6c514b913a709289cabe44fed01a7ce5e953e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 996177900a5114ac48ce9f149773c0ada1efe8c2)
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-22Added --no-clean option for run_tests.shViktor Tikkanen2-6/+16
Previously all the OpenStack resources (networks, VMs etc.) created by user were deleted after executing tempest, vims and rally test cases with run_tests.sh script. New --no-clean option can be used for preserving resources created by user so that the tests can be run also in setups with deployed stacks. Change-Id: I8c9505acf955c54b2b837d8ca916dc729c97bbca Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com> (cherry picked from commit dce18f616c5c0bf019f72c68c872570f26d2978b)
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 Richomme3-4/+151
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)