summaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/libraries
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-01-21Merge "Add control to redirect rally stderr"Morgan Richomme2-4/+17
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>
2016-01-21Merge "Add default admin_floating for Fuel 8.0"Morgan Richomme1-2/+2
2016-01-20Add default admin_floating for Fuel 8.0jose.lausuch1-2/+2
Change-Id: I43640cde64ccf5975195f2d5c71c8fc5634b4503 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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>
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>
2016-01-19Remove rally stderr output from rally-certjose.lausuch1-2/+11
Change-Id: I2a5bb72989639059f082eedfb4abe8d582bef35c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-19Merge "Remove all the unnecessary Rally output"Morgan Richomme1-3/+10
2016-01-18Bugfix Missing "$" in front of some variablesjose.lausuch1-3/+3
Change-Id: I1192ee4cf692861509777c9c13f917ff58dc8660 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-18Remove all the unnecessary Rally outputjose.lausuch1-3/+10
Change-Id: Ic6c719afadae56723ba515eaf9ad5e29be57c129 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-18Add 'neutron' default user for joidjose.lausuch1-1/+1
Change-Id: I60bf62f1df40acdfeea6ed72cf1823725c763b38 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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>
2016-01-15Merge "Change novaclient usage"Morgan Richomme3-6/+6
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>
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>
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>
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>
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>
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>
2016-01-12Merge "Rally test case troubleshooting"Morgan Richomme1-8/+23
2016-01-12Rally test case troubleshootingJuha Kosonen1-8/+23
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>
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>
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>
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>
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>
2016-01-08typo it should be services not service.Narinder Gupta1-1/+1
Change-Id: Ic7de0ec5c2df326f37037bd426fe76d7239af0d0 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-01-08added the quantum_nova user as well for joid.Narinder Gupta1-1/+1
Change-Id: Ida57e3a4c75348aeb08dcdc24b77ee93a8c86d0d Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-01-08Add joid defaults to clean openstackjose.lausuch1-3/+3
Change-Id: I97ad2cb262c6b25ad45736f63f1b4395eb127307 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-07Fix path of os_defaults.yamljose.lausuch1-1/+1
Change-Id: I6ac3df334fab3b973ce840a3fcb9ff700f1a18e5 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-07Searching 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>
2016-01-07Move openstack defaults to a yaml filejose.lausuch2-8/+46
Change-Id: I52a9304dff987f33265c47ba5510f9f96afe0a5a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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 Tikkanen1-2/+4
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>
2015-12-19Merge "Parameterize Rally scenarios"Morgan Richomme1-0/+301
2015-12-18Add cinder check to support NoneType objectjose.lausuch1-1/+1
Change-Id: Ic8606479b8f5ea28cd8884414a6f4a3b76685107 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-18Parameterize Rally scenariosJuha Kosonen1-0/+301
Applied argument manipulation approach from rally/certification. JIRA: FUNCTEST-109 Change-Id: Ia6f08f1a7e7566c883cf7c616d32b7e0ca26b1f9 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2015-12-18Add more defaults to clean_openstack scriptjose.lausuch1-1/+2
Change-Id: Iefc43e919aa461a849bc81b953533dfc291b8a85 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>