functest.git
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>
9 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

9 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"

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 years agoMerge "Bugfix: test payload value"
boucherv [Mon, 2 Nov 2015 07:40:55 +0000 (07:40 +0000)]
Merge "Bugfix: test payload value"

9 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>
9 years agoMerge "Updated vIMS result format"
Morgan Richomme [Fri, 30 Oct 2015 10:11:52 +0000 (10:11 +0000)]
Merge "Updated vIMS result format"

9 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>
9 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>
9 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"

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 years agoMerge "ODL script bugfixes"
jose.lausuch [Wed, 28 Oct 2015 16:36:54 +0000 (16:36 +0000)]
Merge "ODL script bugfixes"

9 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>
9 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>
9 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>
9 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>
9 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"

9 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"

9 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"

9 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"

9 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>
9 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>
9 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>
9 years agoMerge "Refactor Functest docker container"
jose.lausuch [Wed, 21 Oct 2015 11:54:51 +0000 (11:54 +0000)]
Merge "Refactor Functest docker container"

9 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>
9 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"

9 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>
9 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>
9 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>
9 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>
9 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>
9 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"

9 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>
9 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"

9 years agoMerge "refactor run-rally and integrate API to push results into DB heavier refactori...
Morgan Richomme [Mon, 19 Oct 2015 10:06:52 +0000 (10:06 +0000)]
Merge "refactor run-rally and integrate API to push results into DB heavier refactoring due to new verison of Rally will probably needed"

9 years agoCreate run_tempest out of run_rally 09/2309/6
jose.lausuch [Wed, 7 Oct 2015 16:33:47 +0000 (18:33 +0200)]
Create run_tempest out of run_rally

JIRA: FUNCTEST-37

Change-Id: If87c66f0905b8577b6ebccff7a61d6d6eced6da9
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
9 years agorefactor run-rally and integrate API to push results into DB 31/2531/4
Morgan Richomme [Wed, 14 Oct 2015 15:50:51 +0000 (17:50 +0200)]
refactor run-rally and integrate API to push results into DB
heavier refactoring due to new verison of Rally will probably needed

JIRA: FUNCTEST-55

Change-Id: Ia9976fa4fe55618cf7f85f9d6a2d0b660497b624
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoBugfix: Add default DNS on subnet 95/2595/1
boucherv [Fri, 16 Oct 2015 13:14:22 +0000 (15:14 +0200)]
Bugfix: Add default DNS on subnet

JIRA: FUNCTEST-38

Change-Id: I6c2d217d665fd6a702bcb10efd4933c01a7b3ca4
Signed-off-by: boucherv <valentin.boucher@orange.com>
9 years agoMerge "Move the configuration from test scripts to config_functest.yaml"
Morgan Richomme [Fri, 16 Oct 2015 11:54:44 +0000 (11:54 +0000)]
Merge "Move the configuration from test scripts to config_functest.yaml"

9 years agoMove the configuration from test scripts to config_functest.yaml 85/2585/2
lanqinglong [Fri, 16 Oct 2015 08:49:08 +0000 (16:49 +0800)]
Move the configuration from test scripts to config_functest.yaml

JIRA:FUNCTEST-77

The configuration is in onos test files
Get them out, put in config_functest.yaml

Change-Id: I3f7b868b61a7e66596f7c0cc232c5b045d77aecb
Signed-off-by: lanqinglong <lanqinglong@huawei.com>
9 years agoBugfix: venv path 83/2583/2
boucherv [Fri, 16 Oct 2015 07:23:57 +0000 (09:23 +0200)]
Bugfix: venv path

JIRA: FUNCTEST-38

Change-Id: Ia5b6b9584fcac65c956bbc8a1a17155950b535b9
Signed-off-by: boucherv <valentin.boucher@orange.com>
9 years agoBugfix: venv path 55/2555/2
boucherv [Thu, 15 Oct 2015 07:31:41 +0000 (09:31 +0200)]
Bugfix: venv path

JIRA: FUwNCTEST-38

Change-Id: I13c1b584dd39ec678e7e8e6b6a7cb48105f42335
Signed-off-by: boucherv <valentin.boucher@orange.com>
9 years agoMerge "Write a simple adapter in functest project to run TESTON"
Morgan Richomme [Thu, 15 Oct 2015 06:34:55 +0000 (06:34 +0000)]
Merge "Write a simple adapter in functest project to run TESTON"

9 years agointergrate the basic function senario and testcases in TESTON 93/2493/2
lanqinglong [Tue, 13 Oct 2015 13:02:11 +0000 (21:02 +0800)]
intergrate the basic function senario and testcases in TESTON

JIRA:FUNCTEST-47

include tests:
Northbound test
Ovsdb test

Change-Id: Icd5bc2da117cc5c2f7196a0f06fa8934fd8e022f
Signed-off-by: lanqinglong <lanqinglong@huawei.com>
9 years agoFix version number return 99/2499/1
Morgan Richomme [Tue, 13 Oct 2015 15:44:49 +0000 (17:44 +0200)]
Fix version number return

JIRA: FUNCTEST-36

Change-Id: Icc4927abc5993535effd58658c3166b59afec93c
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoforget to clean push function in vPing 95/2495/1
Morgan Richomme [Tue, 13 Oct 2015 14:50:33 +0000 (16:50 +0200)]
forget to clean push function in vPing

JIRA: FUNCTEST-36

Change-Id: I081cc04093bcc090748ccb5560b77559b328167f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoadd functions in utils and fix vPing 47/2447/2
Morgan Richomme [Mon, 12 Oct 2015 15:45:29 +0000 (17:45 +0200)]
add functions in utils and fix vPing

JIRA: FUNCTEST-36

Change-Id: I5bf315117edc25a6f92b3c4cc873e7626aaff5e0
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoWrite a simple adapter in functest project to run TESTON 65/2465/2
lanqinglong [Tue, 13 Oct 2015 01:32:17 +0000 (09:32 +0800)]
Write a simple adapter in functest project to run TESTON

JIRA:FUNCTEST-46

Add Env function: replace onos file
Add log folder

Change-Id: Ice2679ccf00258dfb206ab252590ec586b1d2c9d
Signed-off-by: lanqinglong <lanqinglong@huawei.com>
9 years agoremove chitti.nimmagadda@ericsson.com fro committer list 25/2425/2
Morgan Richomme [Mon, 12 Oct 2015 08:07:21 +0000 (10:07 +0200)]
remove chitti.nimmagadda@ericsson.com fro committer list

agrrement received by mail 10/09

JIRA: FUNCTEST-0

Change-Id: I1b1372792809e90da1ca58b3e47a13d97f832e62
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoMerge "Use new client script to run onos test"
Morgan Richomme [Mon, 12 Oct 2015 08:09:22 +0000 (08:09 +0000)]
Merge "Use new client script to run onos test"

9 years agoUse new client script to run onos test 85/2385/3
lanqinglong [Fri, 9 Oct 2015 13:19:49 +0000 (21:19 +0800)]
Use new client script to run onos test

JIRA:FUNCTEST-61
Add client.py
modify some scripts

Change-Id: Icc562ec5211dfea664f89086d259cc7fc011e3a4
Signed-off-by: lanqinglong <lanqinglong@huawei.com>
9 years agoBugfix: urllib-->urllib2. 77/2377/1
jose.lausuch [Fri, 9 Oct 2015 10:04:09 +0000 (12:04 +0200)]
Bugfix: urllib-->urllib2.

If there is no internet, it will not throw an error,
but it will quit as expected with a proper message.

Change-Id: I133d932d4713b6bb6f452736c71b38ce5c5a6310
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
9 years agoCreate demo.sh cloned from start.sh to run Functest demos 47/2347/1
jose.lausuch [Thu, 8 Oct 2015 13:51:32 +0000 (15:51 +0200)]
Create demo.sh cloned from start.sh to run Functest demos
without executing the full Rally bench suites.

Change-Id: I309fde7bb8ffea6bdb80164059ab40275ca7a8ff
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
9 years agoAdd small checks to avoid possible 'No such file or directory' 29/2329/2
jose.lausuch [Thu, 8 Oct 2015 08:14:37 +0000 (10:14 +0200)]
Add small checks to avoid possible 'No such file or directory'
errors in the Docker automation procedure

JIRA: FUNCTEST-29

Change-Id: Ib8629d9c0f64a046cdbec27cb1bdced3e49c72bb
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
9 years agoMerge "Bigfix : function "download_and_add_image_on_glance""
boucherv [Thu, 8 Oct 2015 07:43:50 +0000 (07:43 +0000)]
Merge "Bigfix : function "download_and_add_image_on_glance""

9 years agoBigfix : function "download_and_add_image_on_glance" 25/2325/1
boucherv [Thu, 8 Oct 2015 07:26:36 +0000 (09:26 +0200)]
Bigfix : function "download_and_add_image_on_glance"

JIRA: FUNCTEST-38

Change-Id: I40bbc1f825d7cd5e24a37b0acd5a02b7ace6263c
Signed-off-by: boucherv <valentin.boucher@orange.com>
9 years agoMerge "update of the INFO file"
Morgan Richomme [Wed, 7 Oct 2015 15:56:55 +0000 (15:56 +0000)]
Merge "update of the INFO file"

9 years agoFix rally installation path in config yaml file 05/2305/1
jose.lausuch [Wed, 7 Oct 2015 15:50:39 +0000 (17:50 +0200)]
Fix rally installation path in config yaml file

JIRA: FUNCTEST-29

Change-Id: Id34570b9795e8447e05408364621abe2740ed457
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
9 years agoupdate of the INFO file 85/2285/2
Morgan Richomme [Wed, 7 Oct 2015 10:13:57 +0000 (12:13 +0200)]
update of the INFO file

JIRA: FUNCTEST-0

Change-Id: I3963f30b991f9eac2d9ee4a905bb63934e5a3696
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoAdd 2 libraries for Rally to the Functest Dockerfile 91/2291/1
jose.lausuch [Wed, 7 Oct 2015 12:46:50 +0000 (14:46 +0200)]
Add 2 libraries for Rally to the Functest Dockerfile

JIRA: FUNCTEST-29

Change-Id: Ie610d982c79bb115edd0d33c75ab3de27d607422
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
9 years agoMerge "Dockerfile for Functest"
jose.lausuch [Wed, 7 Oct 2015 09:15:36 +0000 (09:15 +0000)]
Merge "Dockerfile for Functest"

9 years agoDockerfile for Functest 43/2143/17
jose.lausuch [Wed, 30 Sep 2015 13:29:04 +0000 (15:29 +0200)]
Dockerfile for Functest

Includes also:
  - script to trigger Functest automatically within the container
  - common requirements file to install python modules
  - added new parameters in the config_functest.yaml
  - other small adjustements
JIRA: FUNCTEST-29

Change-Id: I230631e43e5f7e14938b35903ecec1b17db0f88a
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>