functest.git
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 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>
8 years ago[functest] modify functest prepare scripts to adapt compass 75/3375/2
meimei [Wed, 18 Nov 2015 06:00:40 +0000 (22:00 -0800)]
[functest] modify functest prepare scripts to adapt compass

JIRA: COMPASS-157

Change-Id: I81f1f41ff7a10e9bcea1cb46b9dc2e2f8e169bae
Signed-off-by: meimei <meimei@huawei.com>
8 years agoBugfix: cloudify deployment error 39/3239/1
boucherv [Thu, 12 Nov 2015 07:33:21 +0000 (08:33 +0100)]
Bugfix: cloudify deployment error

Change-Id: I9e97cc3f5f17de53f2c027a71c1bf9adba9054ee
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoAdd possibility to give Openstack creds file to the docker container 73/3073/2
jose.lausuch [Thu, 5 Nov 2015 14:29:06 +0000 (15:29 +0100)]
Add possibility to give Openstack creds file to the docker container

If the file is given through a docker volume, it will not use
fetch_os_creds.sh, it will source it directly.

Usage:
 Add the following to the docker command line:
    -v $(pwd)/<your_local_creds_file>:/home/opnfv/functest/conf/openstack.creds

Change-Id: I24c20378c940aaa1d9f93d5e6c57b3243b50aab5
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoadd load of functest-img-rally for vm and cinder tests 83/2983/1
Morgan Richomme [Mon, 2 Nov 2015 17:36:47 +0000 (18:36 +0100)]
add load of functest-img-rally for vm and cinder tests

JIRA: FUNCTEST-94

Change-Id: I959c29eda12709896fdf9c3c4fcd9760b6dfa19b
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "Bugfix: test payload value"
boucherv [Mon, 2 Nov 2015 07:40:55 +0000 (07:40 +0000)]
Merge "Bugfix: test payload value"

8 years agoBugfix: test payload value 57/2957/1
boucherv [Fri, 30 Oct 2015 15:08:19 +0000 (16:08 +0100)]
Bugfix: test payload value

JIRA: FUNCTEST-38

Change-Id: I4ca4b6b1075c96b0450eed79f44404dc70f35ad1
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoMerge "Updated vIMS result format"
Morgan Richomme [Fri, 30 Oct 2015 10:11:52 +0000 (10:11 +0000)]
Merge "Updated vIMS result format"

8 years agoUpdated vIMS result format 53/2953/1
boucherv [Fri, 30 Oct 2015 10:06:24 +0000 (11:06 +0100)]
Updated vIMS result format

JIRA: FUNCTEST-38

Change-Id: I0b3633d4b377ca3b9824719d517ae35b20b4e1bf
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoChange default order of tests 49/2949/1
jose.lausuch [Fri, 30 Oct 2015 09:29:00 +0000 (10:29 +0100)]
Change default order of tests

Change-Id: I342b999f4a81e5568e01f6ebd7456dcf7048218e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Fix so that given config_functest.yaml is copied to functest repo dir"
Morgan Richomme [Thu, 29 Oct 2015 16:55:28 +0000 (16:55 +0000)]
Merge "Fix so that given config_functest.yaml is copied to functest repo dir"

8 years agoFix so that given config_functest.yaml is copied to functest repo dir 17/2917/2
jose.lausuch [Thu, 29 Oct 2015 16:41:21 +0000 (17:41 +0100)]
Fix so that given config_functest.yaml is copied to functest repo dir

Change-Id: I985d7d7c1d1cba17e5ebc76514a82a15f682b26f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd vIMS test-case in run_tests script 15/2915/2
boucherv [Thu, 29 Oct 2015 16:14:07 +0000 (17:14 +0100)]
Add vIMS test-case in run_tests script

JIRA: FUNCTEST-38

Change-Id: I3e4b640f094286a9b4b8debbbae4700c12c0fdc6
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoAdded functionnal test and push result to db 13/2913/3
boucherv [Thu, 29 Oct 2015 15:40:11 +0000 (16:40 +0100)]
Added functionnal test and push result to db

JIRA: FUNCTEST-38

Change-Id: I96db1d5b90016183928e00603a03801d548287ee
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoFix error when deleting the network in vPing test. 07/2907/3
jose.lausuch [Thu, 29 Oct 2015 13:38:40 +0000 (14:38 +0100)]
Fix error when deleting the network in vPing test.

JIRA: FUNCTEST-93

Change-Id: I9472c1183eea86b0c018059aa17b76bd2932ad8e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoSmall correction of the --test flag in run_test.sh 03/2903/1
jose.lausuch [Thu, 29 Oct 2015 10:25:55 +0000 (11:25 +0100)]
Small correction of the --test flag in run_test.sh

Add the option to allow -t|--test|--tests

Change-Id: I2ad63f2b23235fe28596fef908a1c9d6991201a2
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMove creation of glance image to vPing 95/2895/3
jose.lausuch [Wed, 28 Oct 2015 23:13:00 +0000 (00:13 +0100)]
Move creation of glance image to vPing

Since we only need the glance image in Vping test case,
we create it in the vping script, and not in
config_functest.py

JIRA: FUNCTEST-74

Change-Id: I906ba94344d836bc7835a3dcf478933ff622bd54
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoReversed: Added reset to rally commit ID in prepare_env.sh 89/2889/1
jose.lausuch [Wed, 28 Oct 2015 16:46:08 +0000 (17:46 +0100)]
Reversed: Added reset to rally commit ID in prepare_env.sh

I did not realized it was correct, however there was a small bug.
The rally repo git reset command is done after the if-else clause.

Change-Id: Ia6f61ae3a3d09a5148cfbea7c47cf317fd949c11
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "ODL script bugfixes"
jose.lausuch [Wed, 28 Oct 2015 16:36:54 +0000 (16:36 +0000)]
Merge "ODL script bugfixes"

8 years agoAdded reset to rally commit ID in prepare_env.sh 85/2885/2
jose.lausuch [Wed, 28 Oct 2015 15:41:17 +0000 (16:41 +0100)]
Added reset to rally commit ID in prepare_env.sh

Change-Id: I0d662409bfde353c8efd2fa3fd8cacf9c849428b
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoODL script bugfixes 83/2883/3
jose.lausuch [Wed, 28 Oct 2015 15:20:05 +0000 (16:20 +0100)]
ODL script bugfixes

- misspelled word bugfix, old-->odl
- integration directory removed

JIRA: FUNCTEST-91

Change-Id: If97cccee446ac834133b51a9880684fa2ced6c07
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoPGP network problems Fix 81/2881/1
jose.lausuch [Wed, 28 Oct 2015 15:06:59 +0000 (16:06 +0100)]
PGP network problems Fix

Change-Id: Ib4ab60ef8305f74eeb63454461d7587751598680
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agovIMS test integration and move "push_results_to_db" method 65/2865/3
boucherv [Wed, 28 Oct 2015 09:07:04 +0000 (10:07 +0100)]
vIMS test integration and move "push_results_to_db" method

Move "push_results_to_db" method to functest_util
Updated some files for clearwater vIMS functional testing

Change-Id: I21628b063470963e4e4425a0f89fefa33494e40d
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoMerge "Move git clone of ODL tests repo to Dockefile"
jose.lausuch [Tue, 27 Oct 2015 12:36:30 +0000 (12:36 +0000)]
Merge "Move git clone of ODL tests repo to Dockefile"

8 years agoMerge "Include cirros image in the docker container"
Morgan Richomme [Mon, 26 Oct 2015 09:45:25 +0000 (09:45 +0000)]
Merge "Include cirros image in the docker container"

8 years agoMerge "Add possibility to run specific set of tests"
Morgan Richomme [Mon, 26 Oct 2015 09:45:04 +0000 (09:45 +0000)]
Merge "Add possibility to run specific set of tests"

8 years agoMerge "Change duration to integer seconds in tempest results"
Morgan Richomme [Mon, 26 Oct 2015 08:14:14 +0000 (08:14 +0000)]
Merge "Change duration to integer seconds in tempest results"

8 years agoMove git clone of ODL tests repo to Dockefile 41/2741/1
jose.lausuch [Fri, 23 Oct 2015 10:44:52 +0000 (12:44 +0200)]
Move git clone of ODL tests repo to Dockefile

JIRA: FUNCTEST-80

Change-Id: I39a0928f7a8c74d1cbb6db47b30e2cf2f9ae4ca1
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoInclude cirros image in the docker container 15/2715/1
jose.lausuch [Thu, 22 Oct 2015 13:00:27 +0000 (15:00 +0200)]
Include cirros image in the docker container

JIRA: FUNCTEST-73

Change-Id: Ie2ddaac3dbdbdad09832094fe31264abe4ba8118
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd possibility to run specific set of tests 03/2703/4
jose.lausuch [Wed, 21 Oct 2015 16:22:46 +0000 (18:22 +0200)]
Add possibility to run specific set of tests

JIRA: FUNCTEST-29

Change-Id: I20f1556911866cc7922cff9923ef7d01a95355ad
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Refactor Functest docker container"
jose.lausuch [Wed, 21 Oct 2015 11:54:51 +0000 (11:54 +0000)]
Merge "Refactor Functest docker container"

8 years agoRefactor Functest docker container 85/2685/5
jose.lausuch [Wed, 21 Oct 2015 09:06:43 +0000 (11:06 +0200)]
Refactor Functest docker container

1. start.sh has been splitted into 2 scripts:
     - prepare_env.sh : installs functest environment
                        without running any test
     - run_tests.sh : run the Functest tests

2. Add possibility to give the config_functest.yaml
   in the docker run command. So far, it has always
   been used the default in the repo.

3. Possible to give the repos the branch and commit ID
   to be checkout/reset to. This allows versioning control
   for the repos

4. Added -x permissions to shell scripts

JIRA: FUNCTEST-29

Change-Id: If4b779f5baa37531603955db3681e24a5e08251a
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Remove start.sh in the dockerfile since it is splitted by 2 scripts"
jose.lausuch [Wed, 21 Oct 2015 10:58:07 +0000 (10:58 +0000)]
Merge "Remove start.sh in the dockerfile since it is splitted by 2 scripts"

8 years agoRemove start.sh in the dockerfile since it is splitted by 2 scripts 59/2659/2
jose.lausuch [Tue, 20 Oct 2015 09:37:48 +0000 (11:37 +0200)]
Remove start.sh in the dockerfile since it is splitted by 2 scripts

See https://gerrit.opnfv.org/gerrit/#/c/2685/ for details:
The files to be executed will be:
    prepare_env.sh
    run_tests.sh

JIRA: FUNCTEST-29

Change-Id: Idca630ff6bc2716e47cca66450dba7b8cb6d5dcf
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRemoved ODL create_env from config_functest.py 87/2687/1
jose.lausuch [Wed, 21 Oct 2015 09:53:31 +0000 (11:53 +0200)]
Removed ODL create_env from config_functest.py

Since create_env script in ODL suite is not longer needed for ODL tests
because we have the libraries already installed in the docker
container, this is not needed any more.

Change-Id: I33a23c3acc0d931f6560f7b3a1d2054e5d277025
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoChange duration to integer seconds in tempest results 65/2665/2
jose.lausuch [Tue, 20 Oct 2015 15:02:41 +0000 (17:02 +0200)]
Change duration to integer seconds in tempest results

JIRA: FUNCTEST-37

Change-Id: I4de4f8564598bbb8e47ff5e8062c696cf06ac55e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoset nb test run and failure tests as int 41/2641/1
Morgan Richomme [Mon, 19 Oct 2015 15:46:30 +0000 (17:46 +0200)]
set nb test run and failure tests as int

JIRA: FUNCTEST-37

Change-Id: Ic540eab88c86422af1b68b4ead74f9456d18fa25
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agochange expected response to 404 29/2629/1
Peter Bandzi [Mon, 19 Oct 2015 14:15:47 +0000 (16:15 +0200)]
change expected response to 404

HTTP response 404 means not found which should indicate
that requested entity was not found.
And this is what we want after delete.

JIRA: FUNCTEST-79

Change-Id: I7dc501dfe3581e5549b002abe1018add88fe8d83
Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
8 years agoMerge "ODL test suite requirements.pip moved to general requirements"
Morgan Richomme [Mon, 19 Oct 2015 12:43:06 +0000 (12:43 +0000)]
Merge "ODL test suite requirements.pip moved to general requirements"

8 years agoODL test suite requirements.pip moved to general requirements 07/2307/2
jose.lausuch [Wed, 7 Oct 2015 16:28:41 +0000 (18:28 +0200)]
ODL test suite requirements.pip moved to general requirements

create_env script removed. Modules already installed in the docker image

Change-Id: Ied166532b47f0f3b6189251776c984df9cf3570d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Create run_tempest out of run_rally"
jose.lausuch [Mon, 19 Oct 2015 10:08:50 +0000 (10:08 +0000)]
Merge "Create run_tempest out of run_rally"