functest.git
8 years agobugfix: get admin role on joid installer 29/6129/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>
(cherry picked from commit e1d0769008da2904ae12d1ca0020ef3f09336439)

8 years agoMerge "Add ext network for joid" into stable/brahmaputra
Morgan Richomme [Mon, 11 Jan 2016 10:10:52 +0000 (10:10 +0000)]
Merge "Add ext network for joid" into stable/brahmaputra

8 years agoAdd ext network for joid 21/6121/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>
(cherry picked from commit cc6e1a2d22b0509e8342571ceea437800537f8a1)

8 years agoAdd check of external network before running any test 17/6117/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>
(cherry picked from commit a9c1ee74864e30ae7c4e09923460ac943da2be80)

8 years agoAdd 'service' tenant to os_defaults for apex 11/6111/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>
(cherry picked from commit 164b670493ccd8e1d024072f2e6cd93b2952f4fe)

8 years agoMove openstack defaults to a yaml file 99/6099/1
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>
(cherry picked from commit 367f8f2ab9fccbd9ce0566598ef00cad745a296a)

8 years agoMerge "add .gitignore" into stable/brahmaputra
Morgan Richomme [Fri, 8 Jan 2016 14:09:21 +0000 (14:09 +0000)]
Merge "add .gitignore" into stable/brahmaputra

8 years agoadd .gitignore 29/5929/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>
(cherry picked from commit 974c24951481a2ae611c74769018bc92bfb6ad8a)

8 years agoUser and installation guide 27/5927/1
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>
(cherry picked from commit 4ac82304df1130bb6414186c2ff034f69f906d5a)

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>
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 05/4205/1
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 81/4181/1
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 23/4123/7
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 75/4075/3
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 89/4089/3
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 25/4025/1
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>
8 years agoAdd support of joid, apex and compass when running odl 73/3973/1
Morgan Richomme [Fri, 4 Dec 2015 16:21:18 +0000 (17:21 +0100)]
Add support of joid, apex and compass when running odl

probably to be refactored soon but used to test jenkins jobs

Change-Id: Iacc78f3cc2655ce2a0baf2fa0f256f5f07d1c7bd
JIRA: FUNCTEST-83

8 years agoMerge "Add functions to retrieve POD name in Functest"
Morgan Richomme [Mon, 30 Nov 2015 17:26:26 +0000 (17:26 +0000)]
Merge "Add functions to retrieve POD name in Functest"

8 years agoAdd functions to retrieve POD name in Functest 39/3739/4
Morgan Richomme [Mon, 30 Nov 2015 08:39:54 +0000 (09:39 +0100)]
Add functions to retrieve POD name in Functest

JIRA: FUNCTEST-108

Change-Id: I3453933e12cd7af9b06f50b327873f7516609566
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoAdd cinder python client library to Docker container 47/3747/1
jose.lausuch [Mon, 30 Nov 2015 13:22:30 +0000 (14:22 +0100)]
Add cinder python client library to Docker container

JIRA: FUNCTEST-73

Change-Id: Id6e0a71f913855b37e07176d334da5b1f63c86bc
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdded customized tempest test case list 97/3697/1
Viktor Tikkanen [Fri, 27 Nov 2015 12:30:20 +0000 (14:30 +0200)]
Added customized tempest test case list

This list is based on tempest own smoke test case suit and
extended by selected test cases defined by DefCore Committee
(https://wiki.openstack.org/wiki/Governance/DefCoreCommittee).

The list can be applied e.g. with following command:
rally verify start --tests-file <path>

Change-Id: Iaeb218a7dbb0f51f2f838bfa262439d12b09689c
Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
8 years agoClean Functest repo, dashboard fully migrated to Releng 87/3687/1
Morgan Richomme [Fri, 27 Nov 2015 08:41:01 +0000 (09:41 +0100)]
Clean Functest repo, dashboard fully migrated to Releng

JIRA: RELENG-7

Change-Id: Iddbed5922097a54ba0d56ce59b8ab93264e90603
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoDon't check for env variables if openstack credentials are given 25/3625/1
jose.lausuch [Wed, 25 Nov 2015 16:34:52 +0000 (17:34 +0100)]
Don't check for env variables if openstack credentials are given

JIRA: FUNCTEST-100

Change-Id: Ibef44cf00ec2a2b0ff5bfe21465918ff86bfc589
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agouse joid rather juju 21/3621/1
Morgan Richomme [Wed, 25 Nov 2015 15:48:40 +0000 (16:48 +0100)]
use joid rather juju

to be cinsistent with other installers

JIRA: FUNCTEST-86

Change-Id: I1b15d32736896ddbaee265fd6366be1587cbebab
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoRally 'module' parameter not needed any more 07/3607/1
jose.lausuch [Wed, 25 Nov 2015 11:59:34 +0000 (12:59 +0100)]
Rally 'module' parameter not needed any more

JIRA: FUNCTEST-63

Change-Id: Idcbab6186e16b850b5e2feef54ebc10746afa858
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRefactoring of committers 05/3605/1
Morgan Richomme [Wed, 25 Nov 2015 10:39:59 +0000 (11:39 +0100)]
Refactoring of committers

HP guys and Metaswitch member step down

JIRA: FUNCTEST-0

Change-Id: I18f64a25eddec41cc315691c4c6454a4af5aa810
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoUse only Rally as tescase name 03/3603/1
Morgan Richomme [Wed, 25 Nov 2015 10:12:19 +0000 (11:12 +0100)]
Use only Rally as tescase name

do not use Rally-module to simplify dashboard management. Module is always mentioned in the case names

JIRA: FUNCTEST-63

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