aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI
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-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-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 Kosonen1-0/+29
Change-Id: I80c8b27e041ec5089b816b8515cbc8fa1e8b9eea Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 9922669c3dd92d43c6e387c8077255153c35b71e)
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-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-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 Richomme3-6/+6
Change-Id: I22f7ff3841d7fca637e400d92926d2e1b1755371 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 59063638116508f7ce4f7612def938bb9eb0e938)
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-19Add mention to apache 2 license in Functest files and remove unused filesMorgan Richomme3-1/+18
Change-Id: Iaf67792ad61351d0573c8d92e5d78f5f7a6e86ff Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit cc27777f84ea018cc2c0487a4fc3ff0c3b6d358f)
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-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-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-15Change novaclient usagejose.lausuch3-6/+6
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.lausuch1-2/+1
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)
2016-01-13Remove arg.repo_path in run_rally_cert.pyjose.lausuch1-6/+8
It is not needed as we have an env variable which points to the repositories directories Change-Id: I4c07e6a28a9e31a2794d74182436545fe6561a92 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit ce427331a1d220a061abcd1dbd6caac9dff9afee)
2016-01-13Place config_functest.yaml outside the functest repojose.lausuch3-3/+3
If config_functest.yaml is given it will be placed in: /home/opnfv/functest/conf/config_functest.yaml If not given: copy default from repo to that location Change-Id: I816bf5ccf8e0a5b8ebde2a0ab924657533f49127 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 00b51ffe114702ce207aa7ba2e40f01984c0c57c)
2016-01-12Add cinderv2 and ceilometer to default users for Apexjose.lausuch1-1/+1
Change-Id: I923a2f2dfc8b9e6c68cf2c03edde4f4e38ba23b4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit ef47efad50bb9c194d553c12c87ef93bf66f30c8)
2016-01-12Fixes netcat for multiple platformsTim Rozet1-1/+1
netcat package on LF POD1 missing -z arg. This update allows for netcat to be used when platforms are missing it. Change-Id: I09fb9986520018a92a1c9147a2948ae5029bb3e3 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 83cb89a2cd3b95acab7f616533653493354138c1)
2016-01-12Rally test case troubleshootingJuha Kosonen10-52/+138
Minor changes to some of the failed scenarios in rally_cert. JIRA: FUNCTEST-110 Change-Id: I25d1a80d295bea0004a3bf5f42161080c44091e9 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 236f391ce99bc5e1d4a56ec5ea65705895bf39d9)
2016-01-12Cleanup functionality improvedViktor Tikkanen1-15/+29
1. All the existing external networks will be preserved. 2. Forced deleting is used for volumes with wrong status. 3. Added forced removing of hanging ports in case of network:router_interface ownership. Change-Id: Ibd51b98d6bf2a5d82f16f070003128e3200f99ed Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com> (cherry picked from commit 5380c97d53cf7f198e75e9cd5531e758edbc76ff)
2016-01-12typo it should be services not service.Narinder Gupta1-1/+1
Change-Id: Ic7de0ec5c2df326f37037bd426fe76d7239af0d0 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com> (cherry picked from commit fd69160809d4ccee7259236aab23d9900b0d65ba)
2016-01-12added the quantum_nova user as well for joid.Narinder Gupta1-1/+1
Change-Id: Ida57e3a4c75348aeb08dcdc24b77ee93a8c86d0d Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com> (cherry picked from commit 9dabeff1bbb1028cfd406cc6ac1eba27147331d9)
2016-01-12Merge "Fix path of os_defaults.yaml" into stable/brahmaputrajose.lausuch1-1/+1
2016-01-12Add joid defaults to clean openstackjose.lausuch1-3/+3
Change-Id: I97ad2cb262c6b25ad45736f63f1b4395eb127307 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 59893169a259776563b16544d4b6f2e96e479171)
2016-01-12Fix path of os_defaults.yamljose.lausuch1-1/+1
Change-Id: I6ac3df334fab3b973ce840a3fcb9ff700f1a18e5 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit c516da5ea4640116d40631924f5e2ec6cbc05863)
2016-01-11Searching for shared private networksViktor Tikkanen1-3/+10
Tempest suite assumes that there is at least one shared private network in the system. get_private_net() returns now first found shared private network (instead of first found private network). Change-Id: I892abcacff2c0349dd42444a632f71c6a14a0861 Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com> (cherry picked from commit 378c1baeecdd66ea8c74f1046e2e54297d9f204d)
2016-01-11Merge "Add ext network for joid" into stable/brahmaputraMorgan Richomme1-1/+1
2016-01-11Add ext network for joidMorgan Richomme1-1/+1
JIRA: FUNCTEST-87 Change-Id: Ia23eb3d695c40d11c9e082ac5ebcb5bb0affd4b8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit cc6e1a2d22b0509e8342571ceea437800537f8a1)
2016-01-11Add check of external network before running any testjose.lausuch1-0/+17
Change-Id: I3ab58d924a8e53f2e6375c1c7fa77361d91b5efb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit a9c1ee74864e30ae7c4e09923460ac943da2be80)
2016-01-11Add 'service' tenant to os_defaults for apexjose.lausuch1-1/+1
Change-Id: I4241ac5b010057f848943001e06421bc301057de Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 164b670493ccd8e1d024072f2e6cd93b2952f4fe)
2016-01-11Move openstack defaults to a yaml filejose.lausuch2-8/+46
Change-Id: I52a9304dff987f33265c47ba5510f9f96afe0a5a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 367f8f2ab9fccbd9ce0566598ef00cad745a296a)
2016-01-04Configuring non-admin credentials for tempestViktor Tikkanen1-0/+90
Since some test cases from tempest suite require non-admin credentials, a new project and a new user with non-admin role were added to the configuration. JIRA: FUNCTEST-72 Change-Id: I573bc18292b5885bd354f4af16f7f70a7178540d Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
2015-12-30Support for customized tempest case listViktor Tikkanen2-107/+109
Newer release (0.1.2) of Rally has introduced some syntax changes (e.g. "--set" option for test set selection), so run_tempest.py is updated according to them. Custom test case list is taken into use instead of smoke test set. The list itself is updated (rally didn't recognize test cases with 'gate' definition). JIRA: FUNCTEST-72 Change-Id: I5e178f90f66fda7cb8099ddb4f82b93af3148c79 Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
2015-12-29Merge "Refactor run_rally-cert.py"Jose Lausuch1-29/+17
2015-12-28Support for removing hanging portsViktor Tikkanen1-41/+41
Sometimes we have situations when all the routers are deleted but there are still ports with network:router_gateway device owner. Such ports can be deleted only after clearing the device owner information. update_neutron_port() function is added into functest_utils.py and taken into use in clean_openstack.py. Change-Id: I1c9ba2ac499edecec99849b5e895be0248ffd84f Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
2015-12-28Refactor run_rally-cert.pyJuha Kosonen1-29/+17
Changed run_rally-cert.py to utilize image creation/deletion functions of functest_utils. Removed cleanup function too as this is done in general cleanup. JIRA: FUNCTEST-109 Change-Id: I20cde1b664e0c25bd4ce0b25dc86dff817fba7f3 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2015-12-24Fix: do not remove network/router created by functest preparationgrakiss1-2/+2
Change-Id: I08bc4b2228162b2b064e5f90b2e5c29994ab77c8 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2015-12-22Use repos_dir env variable in all Functest scriptsjose.lausuch3-16/+25
JIRA: FUNCTEST-90 This way, we remove the 'functest repo' input parameter on the python scripts call and we make it simpler using the available repos_dir env variable which points to /home/opnfv/repos Change-Id: I7d74bf1bc8d89f8f14397fcb9dafc22ee1482f84 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-22Add more compass defaults to clean_openstackjose.lausuch1-2/+2
Change-Id: I5a2f95ee0502c61eb96ec8b52d2a5631517a62d0 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-22Wait for floatingips to be released in clean_openstack scriptjose.lausuch1-0/+10
Change-Id: I4d4a6866aa93d05729f625f4dffc1138cecffb16 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-22Change ping command by netcat to check OpenStack endpointjose.lausuch1-13/+35
Also, verify public and admin endpoints Change-Id: Ifdb121ca0d04cf8be10eb3d7d0c08c41b034e87f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-22Remove hardcoded IP in check_osjose.lausuch1-1/+0
Change-Id: Iafe378dd2ac9d062837b936bf833d537f994041c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-21Merge "Move 'wait for instances to be terminated' after deleting them when ↵jose.lausuch1-14/+13
cleaning openstack"
2015-12-21Script to check the basic OpenStack servicesjose.lausuch1-0/+53
JIRA: FUNCTEST-118 Change-Id: I92372bc098c48e406e69a91c4d754e8c1e4388a6 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-21Move 'wait for instances to be terminated' after deleting them when cleaning ↵jose.lausuch1-14/+13
openstack Change-Id: I0efc8a151357d15003bb3953874b5d4d0f5803dc Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>