functest.git
8 years agoMerge "Rally test case troubleshooting"
Morgan Richomme [Tue, 12 Jan 2016 14:10:27 +0000 (14:10 +0000)]
Merge "Rally test case troubleshooting"

8 years agoRally test case troubleshooting 49/6349/1
Juha Kosonen [Tue, 12 Jan 2016 13:15:45 +0000 (13:15 +0000)]
Rally test case troubleshooting

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>
8 years agoCleanup functionality improved 25/6325/1
Viktor Tikkanen [Tue, 12 Jan 2016 11:37:41 +0000 (13:37 +0200)]
Cleanup functionality improved

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>
8 years agoMerge "Add timeout for cloudify-manager deployment"
boucherv [Tue, 12 Jan 2016 10:55:01 +0000 (10:55 +0000)]
Merge "Add timeout for cloudify-manager deployment"

8 years agoMerge "Prepare Promise integration in Functest"
Morgan Richomme [Tue, 12 Jan 2016 09:58:49 +0000 (09:58 +0000)]
Merge "Prepare Promise integration in Functest"

8 years agoPrepare Promise integration in Functest 87/6187/2
Morgan Richomme [Mon, 11 Jan 2016 15:45:00 +0000 (16:45 +0100)]
Prepare Promise integration in Functest

JIRA: FUNCTEST-68

Change-Id: I9dd3e49cf7cbcec932fb08af359c6e4784818155
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoAdd timeout for cloudify-manager deployment 15/6315/1
boucherv [Tue, 12 Jan 2016 09:51:42 +0000 (10:51 +0100)]
Add timeout for cloudify-manager deployment

FUNCTEST-122

Change-Id: I837b286fa83eb0b6d18749d1070198ed6b653ba1
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoMerge "make doctor tester available in functest docker image"
Morgan Richomme [Tue, 12 Jan 2016 09:49:53 +0000 (09:49 +0000)]
Merge "make doctor tester available in functest docker image"

8 years agoUpdate rally version to 0.2.0 03/6303/1
jose.lausuch [Tue, 12 Jan 2016 09:08:00 +0000 (10:08 +0100)]
Update rally version to 0.2.0

Change-Id: I279e9dce35b9b92796407c383a3f4bb7c1bfec45
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agomake doctor tester available in functest docker image 53/5753/2
Ryota MIBU [Thu, 7 Jan 2016 08:39:45 +0000 (17:39 +0900)]
make doctor tester available in functest docker image

Change-Id: Icde0cb5fc25769f2fd029ae6bb93ea2cb5e42295
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
8 years agoAdd mechanism to check whether the test can be run or not according to the scenario... 95/5995/2
Morgan Richomme [Sat, 9 Jan 2016 08:17:45 +0000 (09:17 +0100)]
Add mechanism to check whether the test can be run or not according to the scenario/controller

JIRA: FUNCTEST-119

Change-Id: Ida658760484140ff59f7198dbbf4d5620450ff27
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "Prepare onos integration in Functest"
Morgan Richomme [Mon, 11 Jan 2016 13:35:41 +0000 (13:35 +0000)]
Merge "Prepare onos integration in Functest"

8 years agoPrepare onos integration in Functest 39/5939/3
Morgan Richomme [Fri, 8 Jan 2016 14:27:00 +0000 (15:27 +0100)]
Prepare onos integration in Functest

JIRA: FUNCTEST-50

Change-Id: I50c7db5a05dd5aa78321ba77fab3902232ea4f36
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agobugfix: get admin role on joid installer 27/6127/1
boucherv [Mon, 11 Jan 2016 10:33:18 +0000 (11:33 +0100)]
bugfix: get admin role on joid installer

Change-Id: I8d6227441ca824cb7cf910e8615d4e7b5cf816c6
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoAdd ext network for joid 19/6119/1
Morgan Richomme [Mon, 11 Jan 2016 09:58:51 +0000 (10:58 +0100)]
Add ext network for joid

JIRA: FUNCTEST-87

Change-Id: Ia23eb3d695c40d11c9e082ac5ebcb5bb0affd4b8
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoAdd check of external network before running any test 15/6115/1
jose.lausuch [Mon, 11 Jan 2016 09:52:10 +0000 (10:52 +0100)]
Add check of external network before running any test

Change-Id: I3ab58d924a8e53f2e6375c1c7fa77361d91b5efb
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd 'service' tenant to os_defaults for apex 97/6097/1
jose.lausuch [Mon, 11 Jan 2016 08:23:53 +0000 (09:23 +0100)]
Add 'service' tenant to os_defaults for apex

Change-Id: I4241ac5b010057f848943001e06421bc301057de
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agotypo it should be services not service. 67/5967/1
Narinder Gupta [Fri, 8 Jan 2016 20:19:51 +0000 (14:19 -0600)]
typo it should be services not service.

Change-Id: Ic7de0ec5c2df326f37037bd426fe76d7239af0d0
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
8 years agoadded the quantum_nova user as well for joid. 63/5963/1
Narinder Gupta [Fri, 8 Jan 2016 17:21:17 +0000 (11:21 -0600)]
added the quantum_nova user as well for joid.

Change-Id: Ida57e3a4c75348aeb08dcdc24b77ee93a8c86d0d
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
8 years agoMerge "User and installation guide"
Morgan Richomme [Fri, 8 Jan 2016 13:37:45 +0000 (13:37 +0000)]
Merge "User and installation guide"

8 years agoUser and installation guide 93/4693/8
Morgan Richomme [Wed, 16 Dec 2015 17:03:11 +0000 (18:03 +0100)]
User and installation guide

JIRA: FUNCTEST-88

Change-Id: Ie5875c9b0f53de8dc38ead94f4de8370ad8f45cf
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "add .gitignore"
Morgan Richomme [Fri, 8 Jan 2016 09:40:35 +0000 (09:40 +0000)]
Merge "add .gitignore"

8 years agoAdd joid defaults to clean openstack 17/5817/2
jose.lausuch [Thu, 7 Jan 2016 16:54:35 +0000 (17:54 +0100)]
Add joid defaults to clean openstack

Change-Id: I97ad2cb262c6b25ad45736f63f1b4395eb127307
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoadd .gitignore 23/5823/1
Ryota MIBU [Fri, 8 Jan 2016 00:25:14 +0000 (09:25 +0900)]
add .gitignore

Change-Id: I0f9163ed89cdf0fd5e29a2eea50b503a8e576d0b
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
8 years agoFix path of os_defaults.yaml 71/5771/1
jose.lausuch [Thu, 7 Jan 2016 11:24:43 +0000 (12:24 +0100)]
Fix path of os_defaults.yaml

Change-Id: I6ac3df334fab3b973ce840a3fcb9ff700f1a18e5
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoSearching for shared private networks 61/5761/1
Viktor Tikkanen [Thu, 7 Jan 2016 09:59:02 +0000 (11:59 +0200)]
Searching for shared private networks

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>
8 years agoMove openstack defaults to a yaml file 11/5211/3
jose.lausuch [Thu, 24 Dec 2015 16:51:58 +0000 (17:51 +0100)]
Move openstack defaults to a yaml file

Change-Id: I52a9304dff987f33265c47ba5510f9f96afe0a5a
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoBugfix: cfy teardown -f 73/5673/1
boucherv [Wed, 6 Jan 2016 16:09:51 +0000 (17:09 +0100)]
Bugfix: cfy teardown -f

Change-Id: I8ced2251ad4cd1cb07c856ea79faf8458d051b33
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoMerge "Using shared private network"
Morgan Richomme [Wed, 6 Jan 2016 07:30:24 +0000 (07:30 +0000)]
Merge "Using shared private network"

8 years agoBugfix: indent ......... 93/5593/2
boucherv [Tue, 5 Jan 2016 16:19:28 +0000 (17:19 +0100)]
Bugfix: indent .........

Change-Id: I347b4d4709e0924394598f2990bfef8349adf597
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoBugfix: logger .. 85/5585/1
boucherv [Tue, 5 Jan 2016 14:07:14 +0000 (15:07 +0100)]
Bugfix: logger ..

Change-Id: I2333f53e5574214130d8b37c2e8b35fd03494b61
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agobugfix: indentation error 75/5575/1
boucherv [Tue, 5 Jan 2016 12:17:46 +0000 (13:17 +0100)]
bugfix: indentation error

Change-Id: If83d818055c636304458ebdf316768fb357f925c
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoEnsure no ssh key file already exists before launch cloudify deployment 67/5567/1
boucherv [Tue, 5 Jan 2016 10:43:09 +0000 (11:43 +0100)]
Ensure no ssh key file already exists before launch cloudify deployment

JIRA: FUNCTEST-115

Change-Id: Icef3da22f8cd4a528bd466d955037a9f37864f9b
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoUsing shared private network 49/5549/1
Viktor Tikkanen [Tue, 5 Jan 2016 05:31:56 +0000 (07:31 +0200)]
Using shared private network

Number of tempest test cases search for shared private networks
and use value of fixed_network_name parameter from tempest.conf
file in case when multiple shared networks are found.

Private network created by functest is updated to be "shared".
Added routine for network updating into functest_utils.py. Note
that currently used OpenDaylight release (Lithium) doesn't
support shared private networks so network updating will fail
(this is however not a fatal error).

Change-Id: I5a9a0f950b3ef61b6ebfda1af4345460134cc0e3
Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
8 years agoBugfix : Ensure that ruby libraries was installed before running vims test-case 11/5511/1
boucherv [Mon, 4 Jan 2016 16:26:19 +0000 (17:26 +0100)]
Bugfix : Ensure that ruby libraries was installed before running vims test-case

Change-Id: I59d5a4aa1969a1b937e00fd491c4f07e00862687
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoEnsure that ruby libraries was installed before running vims test-case 67/5467/1
boucherv [Mon, 4 Jan 2016 10:36:18 +0000 (11:36 +0100)]
Ensure that ruby libraries was installed before running vims test-case

Change-Id: Ice896c37fc28e01f260cd617ee4c38d323607bb5
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoConfiguring non-admin credentials for tempest 53/5453/1
Viktor Tikkanen [Mon, 4 Jan 2016 08:21:33 +0000 (10:21 +0200)]
Configuring non-admin credentials for tempest

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>
8 years agoGive the right repo path for vIMS to send report 13/5413/2
grakiss [Fri, 1 Jan 2016 02:12:02 +0000 (10:12 +0800)]
Give the right repo path for vIMS to send report

Change-Id: I03c0fe24fce661f29869b92652b8ffebd0258c7c
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
8 years agoUpdate cinder volume quota for new tenant 'vIMS' 77/5377/4
grakiss [Thu, 31 Dec 2015 01:31:31 +0000 (09:31 +0800)]
Update cinder volume quota for new tenant 'vIMS'

Change-Id: I26aad4f3989c89a62f66add85e0d88b7fd274425
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
8 years agoMerge "Support for customized tempest case list"
Morgan Richomme [Sun, 3 Jan 2016 08:40:31 +0000 (08:40 +0000)]
Merge "Support for customized tempest case list"

8 years agoSupport for customized tempest case list 67/5367/1
Viktor Tikkanen [Wed, 30 Dec 2015 08:00:13 +0000 (10:00 +0200)]
Support for customized tempest case list

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>
8 years agoMerge "Update orchestrator (cloudify) version from 3.2 to 3.3"
boucherv [Wed, 30 Dec 2015 08:08:33 +0000 (08:08 +0000)]
Merge "Update orchestrator (cloudify) version from 3.2 to 3.3"

8 years agoMerge "Refactor run_rally-cert.py"
Jose Lausuch [Tue, 29 Dec 2015 17:42:28 +0000 (17:42 +0000)]
Merge "Refactor run_rally-cert.py"

8 years agoMerge "Update rally to lastest release 0.1.2"
jose.lausuch [Tue, 29 Dec 2015 17:11:31 +0000 (17:11 +0000)]
Merge "Update rally to lastest release 0.1.2"

8 years agoMerge "Support for removing hanging ports"
Jose Lausuch [Tue, 29 Dec 2015 17:04:32 +0000 (17:04 +0000)]
Merge "Support for removing hanging ports"

8 years agoAdd ruby 1.9.1 installation in docker image 13/5313/1
jose.lausuch [Mon, 28 Dec 2015 14:54:07 +0000 (15:54 +0100)]
Add ruby 1.9.1 installation in docker image

JIRA: FUNCTEST-120

Change-Id: I4540fcb59e1367102c3c8cb5387048ebfda80af7
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoSupport for removing hanging ports 07/5307/1
Viktor Tikkanen [Mon, 28 Dec 2015 12:06:45 +0000 (14:06 +0200)]
Support for removing hanging ports

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>
8 years agoRefactor run_rally-cert.py 61/5061/3
Juha Kosonen [Tue, 22 Dec 2015 10:36:21 +0000 (10:36 +0000)]
Refactor run_rally-cert.py

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>
8 years agoUpdate orchestrator (cloudify) version from 3.2 to 3.3 99/5199/4
boucherv [Thu, 24 Dec 2015 13:57:50 +0000 (14:57 +0100)]
Update orchestrator (cloudify) version from 3.2 to 3.3

FUNCTEST-121

Change-Id: I05de60dae213e2f2b3ba272917dc70ca03e5fe90
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoUpdate rally to lastest release 0.1.2 15/5215/1
jose.lausuch [Thu, 24 Dec 2015 17:20:51 +0000 (18:20 +0100)]
Update rally to lastest release 0.1.2

Change-Id: Ib9fa237a3501a07d481ddc9bb60ea17bdeeae434
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFix timeout in vPing when booting a VM 13/5213/2
jose.lausuch [Thu, 24 Dec 2015 17:16:26 +0000 (18:16 +0100)]
Fix timeout in vPing when booting a VM

Change-Id: I9ee487dd5e142d2e92a92b0ba4ccc80b1a4cd063
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFix: do not remove network/router created by functest preparation 79/5079/2
grakiss [Tue, 22 Dec 2015 12:28:57 +0000 (20:28 +0800)]
Fix: do not remove network/router created by functest preparation

Change-Id: I08bc4b2228162b2b064e5f90b2e5c29994ab77c8
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
8 years agoMerge "Add 'rvm use system;' to Dockerfile for vIMS"
valentin boucher [Wed, 23 Dec 2015 15:55:33 +0000 (15:55 +0000)]
Merge "Add 'rvm use system;' to Dockerfile for vIMS"

8 years agoAdd 'check if file exists' when creating the glance image 33/5133/1
jose.lausuch [Wed, 23 Dec 2015 11:14:41 +0000 (12:14 +0100)]
Add 'check if file exists' when creating the glance image

Change-Id: I2f61d130ac49ca0cc6bdde6b3da209ec37f24452
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd 'rvm use system;' to Dockerfile for vIMS 31/5131/2
jose.lausuch [Wed, 23 Dec 2015 11:09:25 +0000 (12:09 +0100)]
Add 'rvm use system;' to Dockerfile for vIMS

JIRA: FUNCTEST-120

Also changed the order of the image command

Change-Id: Iecd4025929b93f64356a79cf45df1d1eca257a36
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFix bug 'unrecognized arguments: start' 97/5097/1
jose.lausuch [Tue, 22 Dec 2015 18:27:20 +0000 (19:27 +0100)]
Fix bug 'unrecognized arguments: start'

Change-Id: Ie29f1cdcfc84a0f3c2e2cf9e386d3ca0b36c45c3
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Use repos_dir env variable in all Functest scripts"
jose.lausuch [Tue, 22 Dec 2015 17:09:06 +0000 (17:09 +0000)]
Merge "Use repos_dir env variable in all Functest scripts"

8 years agoMove check_os call to prepare_env.sh 95/5095/1
jose.lausuch [Tue, 22 Dec 2015 16:22:49 +0000 (17:22 +0100)]
Move check_os call to prepare_env.sh

Change-Id: Ifcc9ef24975f83f6c0ee021c76cc056f383f3f5e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoUse repos_dir env variable in all Functest scripts 83/5083/2
jose.lausuch [Tue, 22 Dec 2015 15:14:00 +0000 (16:14 +0100)]
Use repos_dir env variable in all Functest scripts

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>
8 years agoAdd more compass defaults to clean_openstack 77/5077/1
jose.lausuch [Tue, 22 Dec 2015 12:30:13 +0000 (13:30 +0100)]
Add more compass defaults to clean_openstack

Change-Id: I5a2f95ee0502c61eb96ec8b52d2a5631517a62d0
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoWait for floatingips to be released in clean_openstack script 63/5063/1
jose.lausuch [Tue, 22 Dec 2015 10:51:55 +0000 (11:51 +0100)]
Wait for floatingips to be released in clean_openstack script

Change-Id: I4d4a6866aa93d05729f625f4dffc1138cecffb16
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoChange ping command by netcat to check OpenStack endpoint 55/5055/2
jose.lausuch [Tue, 22 Dec 2015 09:26:42 +0000 (10:26 +0100)]
Change ping command by netcat to check OpenStack endpoint

Also, verify public and admin endpoints

Change-Id: Ifdb121ca0d04cf8be10eb3d7d0c08c41b034e87f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRemove hardcoded IP in check_os 43/5043/1
jose.lausuch [Tue, 22 Dec 2015 08:40:56 +0000 (09:40 +0100)]
Remove hardcoded IP in check_os

Change-Id: Iafe378dd2ac9d062837b936bf833d537f994041c
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Move 'wait for instances to be terminated' after deleting them when cleaning...
jose.lausuch [Mon, 21 Dec 2015 19:17:52 +0000 (19:17 +0000)]
Merge "Move 'wait for instances to be terminated' after deleting them when cleaning openstack"

8 years agoScript to check the basic OpenStack services 55/4955/4
jose.lausuch [Mon, 21 Dec 2015 14:34:26 +0000 (15:34 +0100)]
Script to check the basic OpenStack services

JIRA: FUNCTEST-118

Change-Id: I92372bc098c48e406e69a91c4d754e8c1e4388a6
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agobugfix: vIMS blueprint branch 35/4935/1
boucherv [Mon, 21 Dec 2015 09:21:33 +0000 (10:21 +0100)]
bugfix: vIMS blueprint branch

Change-Id: Ie82f5b4f3293160bf0541a099dca1c749823bebe
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoMove 'wait for instances to be terminated' after deleting them when cleaning openstack 33/4933/1
jose.lausuch [Mon, 21 Dec 2015 09:05:32 +0000 (10:05 +0100)]
Move 'wait for instances to be terminated' after deleting them when cleaning openstack

Change-Id: I0efc8a151357d15003bb3953874b5d4d0f5803dc
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Parameterize Rally scenarios"
Morgan Richomme [Sat, 19 Dec 2015 08:38:21 +0000 (08:38 +0000)]
Merge "Parameterize Rally scenarios"

8 years agoAdd cinder check to support NoneType object 91/4891/1
jose.lausuch [Fri, 18 Dec 2015 17:31:48 +0000 (18:31 +0100)]
Add cinder check to support NoneType object

Change-Id: Ic8606479b8f5ea28cd8884414a6f4a3b76685107
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Fix the call to the ODL test."
jose.lausuch [Fri, 18 Dec 2015 17:23:47 +0000 (17:23 +0000)]
Merge "Fix the call to the ODL test."

8 years agoParameterize Rally scenarios 85/4885/1
Juha Kosonen [Fri, 18 Dec 2015 15:47:53 +0000 (15:47 +0000)]
Parameterize Rally scenarios

Applied argument manipulation approach from rally/certification.

JIRA: FUNCTEST-109

Change-Id: Ia6f08f1a7e7566c883cf7c616d32b7e0ca26b1f9
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
8 years agoAdd more defaults to clean_openstack script 73/4873/1
jose.lausuch [Fri, 18 Dec 2015 14:01:48 +0000 (15:01 +0100)]
Add more defaults to clean_openstack script

Change-Id: Iefc43e919aa461a849bc81b953533dfc291b8a85
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFix the call to the ODL test. 51/4851/1
jose.lausuch [Fri, 18 Dec 2015 10:36:25 +0000 (11:36 +0100)]
Fix the call to the ODL test.

TODO: specific parameters for each installer

Change-Id: I5c0a88261c70319f7bf89c2ff28d55f740e443d2
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdding more robust check to delete a port in clean_openstack. 43/4843/2
jose.lausuch [Fri, 18 Dec 2015 09:09:22 +0000 (10:09 +0100)]
Adding more robust check to delete a port in clean_openstack.

Change-Id: I87ec537cde0b8ef8fd8d11aa327e93087f2125c4
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFix bug clean_openstack if the function return a None 25/4825/2
meimei [Fri, 18 Dec 2015 06:25:38 +0000 (14:25 +0800)]
Fix bug clean_openstack if the function return a None

Change-Id: Ia9257742193526f4293ffc26e05d5590493d5a4f
Signed-off-by: meimei <meimei@huawei.com>
8 years agofix bug of cleaning the openstack env, the tenant"service" cannot be deleted 17/4817/1
meimei [Fri, 18 Dec 2015 05:31:15 +0000 (13:31 +0800)]
fix bug of cleaning the openstack env, the tenant"service" cannot be deleted

Signed-off-by: meimei <meimei@huawei.com>
Change-Id: I351ee985027b26686aa2cd9eddc52daed3e37a0f

8 years agoAdd debug information for ports in clean_openstack 07/4807/2
jose.lausuch [Thu, 17 Dec 2015 18:39:33 +0000 (19:39 +0100)]
Add debug information for ports in clean_openstack

Change-Id: I3e7788c36971b132ab685dd55600a449aa1d5128
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoChange print statement to logger.debug for the separator in clean_openstack 01/4801/1
jose.lausuch [Thu, 17 Dec 2015 14:34:21 +0000 (15:34 +0100)]
Change print statement to logger.debug for the separator in clean_openstack

Change-Id: I947c11d6d9e0fedf14c9250832137ed2aa699d0e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFix bug clean_openstack if there are no users and tenants. 97/4797/1
jose.lausuch [Thu, 17 Dec 2015 14:00:17 +0000 (15:00 +0100)]
Fix bug clean_openstack if there are no users and tenants.

Change-Id: If750bfa3d9a090e8554d62b49907ac6d873d18e4
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFix bug clean_openstack if there are no networks. 89/4789/1
jose.lausuch [Thu, 17 Dec 2015 12:54:34 +0000 (13:54 +0100)]
Fix bug clean_openstack if there are no networks.

Change-Id: I0acbfb68142f138d1f866bf40d708bf762de2e1b
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd path to credentials env variable in Docker file 75/4775/1
jose.lausuch [Thu, 17 Dec 2015 10:20:50 +0000 (11:20 +0100)]
Add path to credentials env variable in Docker file

To make faster troubleshooting

Change-Id: I5ae8fa7db3a7d61f8dbc56b33cb5248f0b5e5daf
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Add clean_openstack script call in clean functest environment"
Morgan Richomme [Thu, 17 Dec 2015 08:37:52 +0000 (08:37 +0000)]
Merge "Add clean_openstack script call in clean functest environment"

8 years agoMerge "Update rally commit to version 0.1.1"
Morgan Richomme [Thu, 17 Dec 2015 08:37:28 +0000 (08:37 +0000)]
Merge "Update rally commit to version 0.1.1"

8 years agoAdd clean_openstack script call in clean functest environment 07/4707/2
jose.lausuch [Wed, 16 Dec 2015 22:44:58 +0000 (23:44 +0100)]
Add clean_openstack script call in clean functest environment

Reason: sometimes, if you run functest, it creates openstack stuff
and fails, when you run it the second time it can fail if
it tries to create the same openstack stuff

Change-Id: I1825a02918f188c409398d2b6b95843d7fdd5993
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoUpdate rally commit to version 0.1.1 05/4705/1
jose.lausuch [Wed, 16 Dec 2015 22:32:07 +0000 (23:32 +0100)]
Update rally commit to version 0.1.1

Hopefully, release 0.1.2 will be released before Brahmaputra
Both contain lot of bugfixes

Change-Id: I4b18c81ef7235d880c10e56310c82f8b64e3e363
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFix run_rally.py to create image using glance python client 01/4701/2
jose.lausuch [Wed, 16 Dec 2015 21:31:19 +0000 (22:31 +0100)]
Fix run_rally.py to create image using glance python client

Change-Id: Ia617abcfe6d04995d10e446f070df22a6f11cca5
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoCreation of image using python glance client instead of CLI 89/4689/2
jose.lausuch [Wed, 16 Dec 2015 16:01:24 +0000 (17:01 +0100)]
Creation of image using python glance client instead of CLI

Change-Id: I2d86701a0857976d9cdeddf7a807ae9ae7ab4912
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd openstack cleanup after running the tests 75/4675/1
jose.lausuch [Wed, 16 Dec 2015 14:53:43 +0000 (15:53 +0100)]
Add openstack cleanup after running the tests

JIRA: FUNCTEST-76

Change-Id: I1ab6366582c74f4eb1d3453cef155b85c757aa1b
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "OpenStack cleanup script"
Morgan Richomme [Wed, 16 Dec 2015 11:24:45 +0000 (11:24 +0000)]
Merge "OpenStack cleanup script"

8 years agoMerge "Add template for BGPVPN test case in run_tests.sh"
jose.lausuch [Tue, 15 Dec 2015 08:47:59 +0000 (08:47 +0000)]
Merge "Add template for BGPVPN test case in run_tests.sh"

8 years agoAdd template for BGPVPN test case in run_tests.sh 41/4441/3
jose.lausuch [Mon, 14 Dec 2015 13:44:18 +0000 (14:44 +0100)]
Add template for BGPVPN test case in run_tests.sh

JIRA: FUNCTEST-99

Change-Id: I2c7da6b7e79906de1eb43804b8441821e16500cc
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd a flag to push the results to the DB optionaly 55/4455/1
jose.lausuch [Mon, 14 Dec 2015 15:41:24 +0000 (16:41 +0100)]
Add a flag to push the results to the DB optionaly

By default, it will NOT push, only if specified by -r
The parameter must be taken from a Jenkins job set to TRUE

JIRA: FUNCTEST-84

Change-Id: Iee3b293e90b052b88de2d4f1d337f5ec5e3b3941
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoOpenStack cleanup script 45/2345/22
jose.lausuch [Thu, 8 Oct 2015 13:34:02 +0000 (15:34 +0200)]
OpenStack cleanup script

This is needed in case any test case doesn't clean what it creates in openstack.
(This has been happening sometimes for Tempest, for example)

This script will remove:
- nova instances
- glance images
- cinder volumes
- networks/subnets/ports
- routers
- floating ips
- security groups
- users and tenants (not admin)

It won't remove the defaults.

Change-Id: Ie09a5ad481fc3d1b92f124362aea6906665a1629
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdding BGPVPN repository to the Docker image and scripts 25/4425/2
jose.lausuch [Mon, 14 Dec 2015 10:09:54 +0000 (11:09 +0100)]
Adding BGPVPN repository to the Docker image and scripts

JIRA: FUNCTEST-99

Change-Id: Iaf97241291ba233e1c9597b2274adad81e3ffb01
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRun tempest from docker using run_tempest 69/4369/1
Morgan Richomme [Fri, 11 Dec 2015 16:01:40 +0000 (17:01 +0100)]
Run tempest from docker using run_tempest

Change-Id: I8eabcba8de2319fd7e5f24f057a8a752bfce3cd7
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoFirst upload of Functest Doc for Brahmaputra 45/4345/2
Morgan Richomme [Fri, 11 Dec 2015 14:06:07 +0000 (15:06 +0100)]
First upload of Functest Doc for Brahmaputra

Installation and user Guide

JIRA: FUNCTEST-112, FUNCTEST-113

Change-Id: I8c0210684187be3102e7b4ad82f59082faeca470
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoRemove gsutil python module in the docker image 65/4365/1
jose.lausuch [Fri, 11 Dec 2015 15:46:50 +0000 (16:46 +0100)]
Remove gsutil python module in the docker image

It is not used since it will be used only in the jumphost
to push things to the artifact repository

Change-Id: Idabc6e68b44ee87310a3875b834fc92508a1d511
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agofix path bug add / in cofig file for rally res dir 19/4319/1
Morgan Richomme [Fri, 11 Dec 2015 08:39:01 +0000 (09:39 +0100)]
fix path bug add / in cofig file for rally res dir

Change-Id: I7b78eeec1dd038dd10e588ede1b36589f9cd775f

8 years agofix path for rally result 15/4215/1
Morgan Richomme [Thu, 10 Dec 2015 17:31:36 +0000 (18:31 +0100)]
fix path for rally result

Change-Id: Ic686bb41b927072b47e20afe480da6d8119053fc
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agofiw path bug for run_rally 11/4211/1
Morgan Richomme [Thu, 10 Dec 2015 16:57:47 +0000 (17:57 +0100)]
fiw path bug for run_rally
remove HOME as path are now absolute path in docker file

Change-Id: I5d211c8e72ac744aa04c17064365f5f8b1178f95
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>