functest-xtesting.git
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
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
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...
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
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
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
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
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
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.
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.
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
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
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
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
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
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
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
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 .........
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 ..
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
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
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
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
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
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
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
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'
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
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
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
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
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
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
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
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
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
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
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'
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
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
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
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
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
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
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
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
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
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
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
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
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.
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.
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
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
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
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
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.
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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>
8 years agoMerge "Add test dependencies in Functest config files to know if the tescase/test...
Jose Lausuch [Thu, 10 Dec 2015 16:50:16 +0000 (16:50 +0000)]
Merge "Add test dependencies in Functest config files to know if the tescase/test suite can be run (or not)"

8 years agoAdd gsutil python module in the docker image
jose.lausuch [Thu, 10 Dec 2015 16:33:11 +0000 (17:33 +0100)]
Add gsutil python module in the docker image

Change-Id: Ic92ff6cfd14a6a7d35cc3fae8aff54b90761a32a
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd WORKDIR in Dockerfile
jose.lausuch [Thu, 10 Dec 2015 11:23:11 +0000 (12:23 +0100)]
Add WORKDIR in Dockerfile

Change-Id: I5c063e1448184382ff2faefb7e34482c63482021
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoCreate a common network for functest for all the tests
jose.lausuch [Wed, 9 Dec 2015 11:07:40 +0000 (12:07 +0100)]
Create a common network for functest for all the tests

Some installers provide a private network by default,
if that is the case, it will not create another one.
This is needed for Rally/Tempest to work.

Removed from vPing test case, since it will use that network as well.

Change-Id: Iaff8a9e18026fe5aba31e567a4a8d5faf4a0bb6b
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd test dependencies in Functest config files
Morgan Richomme [Tue, 8 Dec 2015 15:29:36 +0000 (16:29 +0100)]
Add test dependencies in Functest config files
to know if the tescase/test suite can be run (or not)

JIRA: RELENG-69

Change-Id: I54e92a0a0b89fe64f6cd07f05b66859278ed84a8
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoAdd ssh 700 rights to the .ssh directory in the docker image
jose.lausuch [Tue, 8 Dec 2015 16:17:10 +0000 (17:17 +0100)]
Add ssh 700 rights to the .ssh directory in the docker image

Change-Id: Id941c48134c64e8985ec342f60eb82d6bf276ba1
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agocondensing python code in utils check_credentials
Dan Radez [Mon, 7 Dec 2015 19:04:55 +0000 (14:04 -0500)]
condensing python code in utils check_credentials

comment said:
TODO: there must be a short way to do this
doing if os.environ["something"] == "" throws an error

This does the same thing removing the try catches using conditionals and list functions

Change-Id: I614e0aa49ab62aeeb738bdd36ef55452d585d8fb
Signed-off-by: Dan Radez <dradez@redhat.com>