functest.git
8 years agoAdd command to execute the actual tests 09/13609/3
jose.lausuch [Mon, 2 May 2016 17:05:54 +0000 (19:05 +0200)]
Add command to execute the actual tests

JIRA: FUNCTEST-190

Run_tests was generating the tests cases to be executed, but
not actually running them.
This patch also includes a small enhancement to avoid too much
output when showing which tiers to be tested.

Change-Id: Id70cfe44a8263ce7f598386668a33c67a8961b42
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoEnhance output when showing tiers and testcases info 81/13481/2
jose.lausuch [Mon, 2 May 2016 07:01:50 +0000 (09:01 +0200)]
Enhance output when showing tiers and testcases info

JIRA: FUNCTEST-190

Change-Id: I43e26700ee3c92be64d79243c6762a3ccd5d42d3
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoSource the credentials in run_tests.py 87/13487/3
jose.lausuch [Mon, 2 May 2016 09:21:34 +0000 (11:21 +0200)]
Source the credentials in run_tests.py

JIRA: FUNCTEST-227
JIRA: FUNCTEST-190

OpenStack clean was failing due to this.

Change-Id: Ia4dcf084becb532f157c0924baf44bb2441f6379
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFunctest - documentation small corrections 45/13445/1
David Blaisonneau [Fri, 29 Apr 2016 14:58:25 +0000 (16:58 +0200)]
Functest - documentation small corrections

Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
8 years agoMerge "Add a step to enable docker run without sudo"
Morgan Richomme [Fri, 29 Apr 2016 14:45:23 +0000 (14:45 +0000)]
Merge "Add a step to enable docker run without sudo"

8 years agoExecute successive scenarios after task failure 35/13435/1
Juha Kosonen [Fri, 29 Apr 2016 13:23:12 +0000 (13:23 +0000)]
Execute successive scenarios after task failure

Log the result of task validation and proceed executing next rally
scenario when the current task start-up fails.

JIRA: FUNCTEST-230

Change-Id: I5544a9559636f671035578f9cc5cf6f934bcbcd8
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
8 years agoMerge "Create run_test.py using the tier mechanism to run the tests"
jose.lausuch [Fri, 29 Apr 2016 09:20:34 +0000 (09:20 +0000)]
Merge "Create run_test.py using the tier mechanism to run the tests"

8 years agoAdd a step to enable docker run without sudo 19/13419/1
David Blaisonneau [Fri, 29 Apr 2016 08:00:43 +0000 (10:00 +0200)]
Add a step to enable docker run without sudo

Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
8 years agoCreate run_test.py using the tier mechanism to run the tests 75/13375/5
jose.lausuch [Wed, 27 Apr 2016 22:08:26 +0000 (00:08 +0200)]
Create run_test.py using the tier mechanism to run the tests

JIRA: FUNCTEST-227
JIRA: FUNCTEST-190

Change-Id: I5445ad36ec65e62d48c8f5b16352caea2e51e3c9
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Replace all the loggers by the functest logger module"
Morgan Richomme [Wed, 27 Apr 2016 16:15:37 +0000 (16:15 +0000)]
Merge "Replace all the loggers by the functest logger module"

8 years agoMerge "Prepare Brahmaputra 3.0 release"
Morgan Richomme [Wed, 27 Apr 2016 15:59:03 +0000 (15:59 +0000)]
Merge "Prepare Brahmaputra 3.0 release"

8 years agoPrepare Brahmaputra 3.0 release 81/12681/8
Morgan Richomme [Tue, 26 Apr 2016 16:35:16 +0000 (18:35 +0200)]
Prepare Brahmaputra 3.0 release

Change-Id: I12530573ff6cac7764e169225e130d46455ce54f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoReplace all the loggers by the functest logger module 29/12729/2
jose.lausuch [Wed, 27 Apr 2016 14:28:55 +0000 (16:28 +0200)]
Replace all the loggers by the functest logger module

JIRA: FUNCTEST-228

Change-Id: If7a3c8cb08e9fbdf155fc5eff5330f79e5f8d234
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoCreate prepare_env.py from prepare_env.sh and config_functest.py 41/12641/11
jose.lausuch [Mon, 25 Apr 2016 16:08:22 +0000 (18:08 +0200)]
Create prepare_env.py from prepare_env.sh and config_functest.py

JIRA: FUNCTEST-227

Change-Id: I1aa890b9f91ec524c766ba3c460666ed227f2126
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoCorrected path for clean_openstack.py 93/13393/1
vitikkan [Wed, 27 Apr 2016 11:15:08 +0000 (14:15 +0300)]
Corrected path for clean_openstack.py

Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
8 years agoMove functest_utils and openstack_utils to directory /utils 69/12669/1
jose.lausuch [Tue, 26 Apr 2016 11:35:00 +0000 (13:35 +0200)]
Move functest_utils and openstack_utils to directory /utils

JIRA: FUNCTEST-226

Change-Id: I74d09f6322844b25ab45a02156317ae76ab40d8a
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Add Functest Logger centralized Class"
jose.lausuch [Tue, 26 Apr 2016 11:00:28 +0000 (11:00 +0000)]
Merge "Add Functest Logger centralized Class"

8 years agoAdd Functest Logger centralized Class 65/12665/4
jose.lausuch [Tue, 26 Apr 2016 09:50:58 +0000 (11:50 +0200)]
Add Functest Logger centralized Class

JIRA: FUNCTEST-228

This is to be used by all the scripts using logging mechanisms.
Usage:

  import functest_logger as fl
  logger = fl.Logger("<script_name>").getLogger()

  # treat it as a normal logger object, as before:
  logger.info("message to be shown with - INFO - ")
  logger.debug("message to be shown with - DEBUG -")

Change-Id: I94e248523bc9bc148c9d171c978804b5d1865dd9
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoCorrected logging.Formatter parameters 63/12663/1
vitikkan [Tue, 26 Apr 2016 08:23:08 +0000 (11:23 +0300)]
Corrected logging.Formatter parameters

Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
8 years agoMerge "Add untracked files to ignore"
Jose Lausuch [Mon, 25 Apr 2016 13:39:19 +0000 (13:39 +0000)]
Merge "Add untracked files to ignore"

8 years agoCorrected if statement for clean_openstack 35/12635/2
vitikkan [Mon, 25 Apr 2016 11:43:57 +0000 (14:43 +0300)]
Corrected if statement for clean_openstack

Change-Id: I3d8c0cb81dc4906ea989bd36dc8c29bf9f1f6396
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
8 years agoRemove backslashs for line continuation 23/12623/4
Cédric Ollivier [Mon, 25 Apr 2016 07:27:21 +0000 (09:27 +0200)]
Remove backslashs for line continuation

JIRA: FUNCTEST-213

Change-Id: Ia50521cf8fcf60a847aa44fe0ea59b6e64830e92
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 years agoAdd untracked files to ignore 27/12627/1
Cédric Ollivier [Mon, 25 Apr 2016 08:54:11 +0000 (10:54 +0200)]
Add untracked files to ignore

.gitignore also lists pyc, .project and .pydevproject files

Change-Id: Ica9997b54476108f2fcea865e10f3faef831a852
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 years agoAdd tier_handler and tier_builder 79/12579/7
jose.lausuch [Fri, 22 Apr 2016 13:34:49 +0000 (15:34 +0200)]
Add tier_handler and tier_builder

tier_handler: defines the classes for Tier,TestCase and Dependency
tier_builder: reads the testcases.yaml and creates a list of objects
              that will be used later on to execute the tests

JIRA: FUNCTEST-190

Change-Id: Iabef344aff036ad3b525088af59fb21b16b02fc8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoConfigParser is used for tempest.conf updating 21/12621/1
vitikkan [Mon, 25 Apr 2016 07:43:29 +0000 (10:43 +0300)]
ConfigParser is used for tempest.conf updating

Bash commands are replaced with python's ConfigParser routines
for configuration file reading/updating.

Removed updating of ssh_user_regex parameter since it is now
into upstream Rally code.

JIRA: FUNCTEST-198

Change-Id: I95f926948a395993e28e993bf7ea2872d6b5c969
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
8 years agoMerge "Introduce a sanity test mode for Rally test"
Morgan Richomme [Fri, 22 Apr 2016 15:46:31 +0000 (15:46 +0000)]
Merge "Introduce a sanity test mode for Rally test"

8 years agoIntroduce a sanity test mode for Rally test 57/12557/4
Juha Kosonen [Fri, 22 Apr 2016 07:21:29 +0000 (07:21 +0000)]
Introduce a sanity test mode for Rally test

In a sanity test mode the number of iterations is reduced and only
a subset of tests is executed.

JIRA: FUNCTEST-220

Change-Id: I722f12b8cc6df29bfcb81b8798d8d0802b207d94
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
8 years agoFix regex to exclude vPing_ssh and vIMS for scenario dealing with bgpvpn 73/12573/1
Morgan Richomme [Fri, 22 Apr 2016 12:12:24 +0000 (14:12 +0200)]
Fix regex to exclude vPing_ssh and vIMS for scenario dealing with bgpvpn

previous regex was excluding most of the scenario

Change-Id: I7dd9e2b3a844eab232a2b44af382202fca2253ca
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoAffect version field in results for all the testcases 65/12565/12
Morgan Richomme [Fri, 22 Apr 2016 09:18:36 +0000 (11:18 +0200)]
Affect version field in results for all the testcases

Previously version was scenario

JIRA: FUNCTEST-225

Change-Id: Ia86f83dbe98ad5f9dbced60c46e57f58eccba7e9
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoEnable PYTHONPATH env variable inside the container 59/12559/2
jose.lausuch [Fri, 22 Apr 2016 07:44:01 +0000 (09:44 +0200)]
Enable PYTHONPATH env variable inside the container

JIRA: FUNCTEST-224

Change-Id: Ib10dc312a761b06fe36174c5c19a0165f746593e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoprepare_env CI_DEBUG when calling generate_defaults.py 39/12539/1
jose.lausuch [Thu, 21 Apr 2016 11:56:41 +0000 (13:56 +0200)]
prepare_env CI_DEBUG when calling generate_defaults.py

JIRA: FUNCTEST-205

Change-Id: I3887f5ab408667437675e12c9247c7075080f0f8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRemove cleanup from vPing scripts, and use the existing cleanup script 27/12527/2
jose.lausuch [Thu, 21 Apr 2016 08:39:19 +0000 (10:39 +0200)]
Remove cleanup from vPing scripts, and use the existing cleanup script

JIRA: FUNCTEST-215

Change-Id: I1ec494097a9b70de142da9f90136256535af5100
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFix Flake8 Violations in the Functest scripts 85/12485/18
jose.lausuch [Wed, 20 Apr 2016 14:03:44 +0000 (16:03 +0200)]
Fix Flake8 Violations in the Functest scripts

JIRA: FUNCTEST-213

Change-Id: I66c02dd6ff12ffb9798ebe44a4cfe7bfc73e76c3
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd Tier scripts handlers and list of test cases yaml 65/12165/5
jose.lausuch [Mon, 11 Apr 2016 21:27:56 +0000 (23:27 +0200)]
Add Tier scripts handlers and list of test cases yaml

JIRA: FUNCTEST-190

Change-Id: If63034be36e5a7a5d8b3f549444d53fb9ce28b55
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoPrint openstack info only if CI_DEBUG==true 71/12471/1
jose.lausuch [Wed, 20 Apr 2016 08:07:13 +0000 (10:07 +0200)]
Print openstack info only if CI_DEBUG==true

JIRA: FUNCTEST-205

Change-Id: I550d26ba1fddcedf5697dadd38a85148ecef2d44
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRemove RALLY_REPO in config_functest since it is not used 57/12457/1
jose.lausuch [Tue, 19 Apr 2016 22:52:59 +0000 (00:52 +0200)]
Remove RALLY_REPO in config_functest since it is not used

Change-Id: Ifb3b338543b4ce3b961564a6e9cb1e943634af3d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoDockerfile, fix typo in git clone command 55/12455/1
jose.lausuch [Tue, 19 Apr 2016 20:47:55 +0000 (22:47 +0200)]
Dockerfile, fix typo in git clone command

Change-Id: Ic14f81362357d0a653bf174b1ccdc859bd7cea5e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoSmall adaptations in prepare_env,run_tests and common 41/12441/2
jose.lausuch [Tue, 19 Apr 2016 11:13:11 +0000 (13:13 +0200)]
Small adaptations in prepare_env,run_tests and common

Change-Id: I5f31392b04b168247e332bc2ea97efeb733cdf97
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdapt Functest output to the env variable CI_DEBUG 19/12419/4
jose.lausuch [Mon, 18 Apr 2016 14:26:10 +0000 (16:26 +0200)]
Adapt Functest output to the env variable CI_DEBUG

JIRA: FUNCTEST-205

Apply CI_DEBUG environment variable in the call to the scripts

Change-Id: Ia8da993de8a60517b475f763c22ce06e9ce35b3e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Quote missing"
Morgan Richomme [Tue, 19 Apr 2016 09:10:15 +0000 (09:10 +0000)]
Merge "Quote missing"

8 years agoQuote missing 29/12429/2
Tim Rozet [Mon, 18 Apr 2016 18:03:13 +0000 (14:03 -0400)]
Quote missing

The missing " was causing some problems, like the REPOS_DIR variable missing

Previous:
Fixes unset REPOS_DIR var

REPOS_DIR never gets set in the script, and it looks like it should be
/home/opnfv/repos according to what is in the container.  This patch
defaults it to that location.

Change-Id: I739f7df52f4a0f3506fd77d72dfb09a4658f06c0
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Author: Luke Hinds <lhinds@redhat.com> Date: Mon 18 Apr 11:48:27 2016 +0100"
Morgan Richomme [Mon, 18 Apr 2016 15:54:55 +0000 (15:54 +0000)]
Merge "Author: Luke Hinds <lhinds@redhat.com> Date:   Mon 18 Apr 11:48:27 2016 +0100"

8 years agoMerge "Generating test lists for tempest"
Morgan Richomme [Mon, 18 Apr 2016 15:53:57 +0000 (15:53 +0000)]
Merge "Generating test lists for tempest"

8 years agoRemove all the repo handling in prepare_env 17/12417/2
jose.lausuch [Mon, 18 Apr 2016 13:32:51 +0000 (15:32 +0200)]
Remove all the repo handling in prepare_env

JIRA: FUNCTEST-203

Since almost all the repos always pull from master and latest,
this is about saving some time and to avoid needing internet
to pull or checkout the repos. The needed repos content has to be
present in the docker image.

Change-Id: Ia6e1ed2b5d5b2aff8661a38eb64a081cc8016019
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAllow rally to use existing glance image 83/12283/2
Ciprian Barbu [Thu, 14 Apr 2016 12:06:58 +0000 (15:06 +0300)]
Allow rally to use existing glance image

This allows to use a prebuilt glance image without deleting it after the test.
For ARM platforms this is especially helpful because the test image is
three-part and can be created before running any tests.

Change-Id: Ia79f519d10fc9155ab2fb44a3e427ae3bb1ce399
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
8 years agoAuthor: Luke Hinds <lhinds@redhat.com> 11/12411/4
lukehinds [Mon, 18 Apr 2016 10:46:58 +0000 (11:46 +0100)]
Author: Luke Hinds <lhinds@redhat.com>
Date:   Mon 18 Apr 11:48:27 2016 +0100

    JIRA: FUNCTEST-169 Inital commit of security test code

    The following code peforms NFVi based SCAP security scans.
    This code is still pending integration with functest scripts,
    for when flashtest development is complete.

    Amend: Removed pyc file, requirements.txt and fixed flake8

Change-Id: Ie182ae5c21d36218f5c9b389c4b6e63ecbf1d151
Signed-off-by: lukehinds <lukehinds@gmail.com>
8 years agoGenerating test lists for tempest 79/12279/3
vitikkan [Thu, 14 Apr 2016 11:56:32 +0000 (14:56 +0300)]
Generating test lists for tempest

'testr list-tests' command is now used for generating smoke and full
test case lists for tempest.

test_list.txt file is replaced by defcore_req.txt file which contains
latest (2016.01) DefCore test case for possible references.

Partly implements JIRA: FUNCTEST-196

Change-Id: I993aa8a3919b97d50f081725ced686dbe6ffc4b7
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
8 years agoAdd healthcheck test case to test_exec_priority 07/12407/2
jose.lausuch [Mon, 18 Apr 2016 09:38:24 +0000 (11:38 +0200)]
Add healthcheck test case to test_exec_priority

JIRA: FUNCTEST-199

Change-Id: I7ced0a78a93387d94709501fbbaba1c67c93c1cb
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoUpdate python-openstackclient to version 2.3.0 45/12345/1
jose.lausuch [Fri, 15 Apr 2016 13:32:45 +0000 (15:32 +0200)]
Update python-openstackclient to version 2.3.0

Change-Id: Ic9e68ade15e93f76d17db715c5790eaa31b49209
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years ago[BGPVPN] Exclude vims and vping_ssh from testlist 23/12323/3
Nikolas Hermanns [Fri, 15 Apr 2016 09:54:40 +0000 (11:54 +0200)]
[BGPVPN] Exclude vims and vping_ssh from testlist

Since vims and vping_ssh are meant to fail for
bgpvpn scenario we will exclude them
from testlist.

Change-Id: Id9da6fdd3d9a1d7c1fb5c7fb1379c13720af34af

8 years agoMerge "[BGPVPN] Use system wide installation of tempest"
Jose Lausuch [Fri, 15 Apr 2016 11:58:27 +0000 (11:58 +0000)]
Merge "[BGPVPN] Use system wide installation of tempest"

8 years ago[BGPVPN] Use system wide installation of tempest 35/12335/1
Nikolas Hermanns [Fri, 15 Apr 2016 11:19:39 +0000 (13:19 +0200)]
[BGPVPN] Use system wide installation of tempest

Since rally setup tempest system-wide now
we do not integrate with the virtual env
of tempest anymore.

Change-Id: Ia5f132371c4eb0b67ac84bf044b349480195f633

8 years agoRevert "[BGPVPN] Rally create the v-env which is needed" 33/12333/1
Nikolas Hermanns [Fri, 15 Apr 2016 11:53:02 +0000 (11:53 +0000)]
Revert "[BGPVPN] Rally create the v-env which is needed"

This reverts commit 07beceb07f8cf8d6e86d2c188b3ad81688a9827f.

Change-Id: I22c9e3726abee28db3fa311aae8e273e8b353402

8 years ago[BGPVPN] Rally create the v-env which is needed 31/12331/2
Nikolas Hermanns [Fri, 15 Apr 2016 10:42:52 +0000 (12:42 +0200)]
[BGPVPN] Rally create the v-env which is needed

Since we rely on the v-env which is created
by rally we run bgpvpn testcases after rally.

Change-Id: Ie54e3332c9130dc337303855a4b5c36df4e3d1fb

8 years agoAdding Apex able to run BGPVPN tests 17/12317/1
Nikolas Hermanns [Fri, 15 Apr 2016 07:37:03 +0000 (09:37 +0200)]
Adding Apex able to run BGPVPN tests

Change-Id: Ia346f5843fc4a1242c9a60f4dbe07e54c4920f46

8 years agoAdd healthcheck test case to config_functest.yaml 09/12309/2
jose.lausuch [Thu, 14 Apr 2016 21:21:13 +0000 (23:21 +0200)]
Add healthcheck test case to config_functest.yaml

JIRA: FUNCTEST-199

Change-Id: I82fa45eafd078490162e275877673e263479bb8f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoCreate health check test case 63/12263/2
jose.lausuch [Wed, 13 Apr 2016 21:35:29 +0000 (23:35 +0200)]
Create health check test case

JIRA: FUNCTEST-199

Change-Id: Iee40f182cdbe848d0f87619b7dd06fbce34d0440
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "add bash script to config pip and easy_install"
Jose Lausuch [Wed, 13 Apr 2016 07:59:30 +0000 (07:59 +0000)]
Merge "add bash script to config pip and easy_install"

8 years agoLack of Internet connectivity is not treated as fatal 21/12221/2
vitikkan [Wed, 13 Apr 2016 07:05:35 +0000 (10:05 +0300)]
Lack of Internet connectivity is not treated as fatal

Implements partly JIRA: FUNCTEST-195

Change-Id: Iacf9216bb549109e07a6cbc9b68c863f17736df4
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
8 years agoMerge "update of INFO file"
Jose Lausuch [Tue, 12 Apr 2016 08:52:25 +0000 (08:52 +0000)]
Merge "update of INFO file"

8 years agoadd bash script to config pip and easy_install 81/12181/2
SerenaFeng [Fri, 8 Apr 2016 03:34:00 +0000 (23:34 -0400)]
add bash script to config pip and easy_install

JIRA: FUNCTEST-139

Change-Id: Iec0c1d0315ded19286fa2df8478567f4cda194b4
Signed-off-by: SerenaFeng <feng.xiaoewi@zte.com.cn>
8 years agoRemove unused Rally scenarios and run script 77/12177/1
Juha Kosonen [Mon, 11 Apr 2016 14:28:52 +0000 (14:28 +0000)]
Remove unused Rally scenarios and run script

run_rally.py is longer in use, it has been replaced with
run_rally-cert.py already earlier.

JIRA: FUNCTEST-191

Change-Id: I81b5060ed9a30e758afe75321052f120e9cf7389
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
8 years agoMerge "Split functest_utils.py into 2 scripts"
jose.lausuch [Mon, 11 Apr 2016 11:12:18 +0000 (11:12 +0000)]
Merge "Split functest_utils.py into 2 scripts"

8 years ago[BGPVPN] Remove odl-vpnservice test cases 37/12137/1
Nikolas Hermanns [Mon, 11 Apr 2016 10:39:50 +0000 (12:39 +0200)]
[BGPVPN] Remove odl-vpnservice test cases

The odl-vpnservice test cases are meant to be
tested in the mini-net setup. We would need to
change our enviroment under test to include
mini-net to be able to run this tests.

Since this is not wanted we remove the test
cases.

Change-Id: Ic916e1e89d54fea78371bc566d8428141949e412

8 years agoSplit functest_utils.py into 2 scripts 91/11991/2
jose.lausuch [Thu, 7 Apr 2016 12:36:43 +0000 (14:36 +0200)]
Split functest_utils.py into 2 scripts

JIRA: FUNCTEST-186

All the openstack related functions are in openstack_utils.py and
the remaining functions in functest_utils.py
All the scripts are adapted to this structure.

Change-Id: I7f3805779741f0b085985d0d053feb429250b1ea
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years ago[BGPVPN] Bugfix for /etc/tempest/ no there 31/12131/1
Nikolas Hermanns [Mon, 11 Apr 2016 09:35:55 +0000 (11:35 +0200)]
[BGPVPN] Bugfix for /etc/tempest/ no there

Change-Id: I0dbbbf486e97c202eba2b4b38d877a836942759b

8 years agoAllow vping to use existing glance image 93/11893/2
Ciprian Barbu [Wed, 30 Mar 2016 13:49:34 +0000 (16:49 +0300)]
Allow vping to use existing glance image

This allows to use a prebuilt glance image without deleting it after the test.
For ARM platforms this is especially helpful because the test image is
three-part and can be created before running any tests.

Change-Id: I3bc16eab592b9ad629693c402466755b6fa6db8a
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
8 years agoupdate of INFO file 61/11761/1
Morgan Richomme [Fri, 1 Apr 2016 13:03:32 +0000 (15:03 +0200)]
update of INFO file

Change-Id: I3345ac117efa5f1ab51f25c23c0351b67c6bac9a
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agobugfix single quote 59/11759/1
boucherv [Fri, 1 Apr 2016 09:53:40 +0000 (11:53 +0200)]
bugfix single quote

Change-Id: I3391b9a3d0dd84402b7d2b588b9611a8035966d7

8 years agoBugfix result criteria 49/11749/1
boucherv [Fri, 1 Apr 2016 06:52:49 +0000 (08:52 +0200)]
Bugfix result criteria

Change-Id: I5f5f7b88f1b42d2cecd0444339ee117da61ac2a1
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoAdd status when pushing Tempest results 83/11483/1
Morgan Richomme [Tue, 22 Mar 2016 10:41:21 +0000 (11:41 +0100)]
Add status when pushing Tempest results

Change-Id: Ie4ad96d9c580370ae9f451ea440a71cf7a6fb841
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoONOS can now support vPing_userdata testcase, remove the exception in the config... 79/11479/1
Morgan Richomme [Tue, 22 Mar 2016 09:50:59 +0000 (10:50 +0100)]
ONOS can now support vPing_userdata testcase, remove the exception in the config for CI

Change-Id: I80828e431ad879bff0d44d476d6a076520ee8132
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoTry configdrive in vping userdata test case 69/11469/2
carey.xu [Tue, 22 Mar 2016 02:11:28 +0000 (10:11 +0800)]
Try configdrive in vping userdata test case

JIRA: FUNCTEST-158

Change-Id: Ic4205a4a7d125bc2b160403daf5e577d6d29c34f
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
8 years agoimprove status criteria 61/11461/2
boucherv [Mon, 21 Mar 2016 08:32:27 +0000 (09:32 +0100)]
improve status criteria

Change-Id: Icfab7ead860d96cef119cc63e9fccfd9d62c009d
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoFix support for CACERT and set OS_INSECURE=true 19/11419/5
jose.lausuch [Fri, 18 Mar 2016 11:25:33 +0000 (12:25 +0100)]
Fix support for CACERT and set OS_INSECURE=true

JIRA: FUNCTEST-145

Change-Id: If8fce037117d7c7d16d08a558d0675cbfe5f9836
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Revert "Checkout the Latest stable Tempest""
Morgan Richomme [Fri, 18 Mar 2016 13:42:19 +0000 (13:42 +0000)]
Merge "Revert "Checkout the Latest stable Tempest""

8 years agoRevert "Checkout the Latest stable Tempest" 25/11425/1
Nikolas Hermanns [Fri, 18 Mar 2016 13:32:33 +0000 (13:32 +0000)]
Revert "Checkout the Latest stable Tempest"

This reverts commit fd95510eb2caa63ec1613b271fb620f9c66e2278.

Change-Id: I33cb69b740e60571ef5c4ab07c0f48185eb8b410

8 years agoMerge "Add criteria and version when pushing the results into test DB"
Morgan Richomme [Fri, 18 Mar 2016 13:10:23 +0000 (13:10 +0000)]
Merge "Add criteria and version when pushing the results into test DB"

8 years agoAdd criteria and version when pushing the results into test DB 05/11405/2
Morgan Richomme [Thu, 17 Mar 2016 17:09:12 +0000 (18:09 +0100)]
Add criteria and version when pushing the results into test DB

JIRA: FUNCTEST-151

Change-Id: Iac36f28db5f2203d7b2977a2bb973534fe167bac
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoCheckout the Latest stable Tempest 13/11413/1
Nikolas Hermanns [Fri, 18 Mar 2016 09:01:13 +0000 (10:01 +0100)]
Checkout the Latest stable Tempest

To not consume any unstable tempest
we checkout the latest stable
version.

Change-Id: I5a0a29a12bf6e3205988df2151b2f3b6477904f2

8 years agoAdd exception handling for output processing 39/11339/1
Juha Kosonen [Tue, 15 Mar 2016 12:20:17 +0000 (12:20 +0000)]
Add exception handling for output processing

Handle the exception if parsed result in report cannot be converted to a
numeric value.

JIRA: FUNCTEST-149

Change-Id: Ibb259abdaa800761ee8dd2270c6bc2529081242d
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
8 years agoTest numbers creation before starting the signal test 75/11275/1
boucherv [Sat, 12 Mar 2016 21:43:48 +0000 (22:43 +0100)]
Test numbers creation before starting the signal test

Change-Id: Ife6a21e0dc3b12d1efd7aeb398b1ca0b85458a42
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoA non default argument cannot be placed before a default one. 65/11265/1
jose.lausuch [Fri, 11 Mar 2016 15:36:32 +0000 (16:36 +0100)]
A non default argument cannot be placed before a default one.

This is blocking the execution of functest from jenkins

Change-Id: I880b455016ae716db234fd118c8456829fec9861
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoHave vIMS and Promise packages pre installed in the docker image. 57/11057/4
jose.lausuch [Wed, 9 Mar 2016 13:08:38 +0000 (14:08 +0100)]
Have vIMS and Promise packages pre installed in the docker image.

Also, change to master in Functest repo.

JIRA: FUNCTEST-148

Change-Id: Ie4f3991adde9296fe86d4bedd4a9ca5e8aea33b3
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Add support for SSL endpoints in Functest"
Morgan Richomme [Fri, 4 Mar 2016 15:20:49 +0000 (15:20 +0000)]
Merge "Add support for SSL endpoints in Functest"

8 years agoAdd support for SSL endpoints in Functest 61/10961/5
jose.lausuch [Fri, 4 Mar 2016 09:49:56 +0000 (10:49 +0100)]
Add support for SSL endpoints in Functest

JIRA: FUNCTEST-145

Change-Id: I051f1b71fda251e57d70f147433b9f038d30e7f9
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRally and Tempest pre-installed in the Docker image. 69/10969/2
jose.lausuch [Fri, 4 Mar 2016 13:23:31 +0000 (14:23 +0100)]
Rally and Tempest pre-installed in the Docker image.

Also, upgrade Rally to version 0.3.1

JIRA: FUNCTEST-147

Change-Id: I6aa15a7c282462058b7786c7dc7174d48c905d3a
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Add jenkins build tag for result api"
Morgan Richomme [Fri, 26 Feb 2016 16:00:11 +0000 (16:00 +0000)]
Merge "Add jenkins build tag for result api"

8 years agoAdd Proxy section in the config guide 99/10799/1
jose.lausuch [Thu, 25 Feb 2016 12:13:07 +0000 (13:13 +0100)]
Add Proxy section in the config guide

Change-Id: I887ef72d3298c83bc623f478de9e4317827d91d0
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFix Dockerfile to use proper bashrc file for the alias 'll' 91/10791/1
jose.lausuch [Thu, 25 Feb 2016 11:53:02 +0000 (12:53 +0100)]
Fix Dockerfile to use proper bashrc file for the alias 'll'

Change-Id: I7236fa9f00b8f0200f910ac4833c58237f66aef2
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoSamll corrections in the config guide 87/10787/2
jose.lausuch [Thu, 25 Feb 2016 11:06:00 +0000 (12:06 +0100)]
Samll corrections in the config guide

Change-Id: I02d7db461ed3380d9127e3e01d7f99d4ddb8151c
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoremove ref to Opencontrail 83/10783/1
Morgan Richomme [Thu, 25 Feb 2016 10:59:36 +0000 (11:59 +0100)]
remove ref to Opencontrail

Change-Id: I3e77711b3a5380f87f305006a397d73f5b0945c4
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoUpdates and fixes in the Config Guide 75/10775/2
jose.lausuch [Thu, 25 Feb 2016 10:42:12 +0000 (11:42 +0100)]
Updates and fixes in the Config Guide

Change-Id: I71474490e18fcf33b70766cb4446ade2d58a80b8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Add release note"
Morgan Richomme [Thu, 25 Feb 2016 10:21:51 +0000 (10:21 +0000)]
Merge "Add release note"

8 years agoAdd release note 33/10733/7
Morgan Richomme [Thu, 25 Feb 2016 08:58:09 +0000 (09:58 +0100)]
Add release note

Change-Id: Id01c349e89d77be6dc783afcd8d41478aa0bedbb
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoUpdates and fixes to the user guide 21/10721/2
jose.lausuch [Thu, 25 Feb 2016 08:00:00 +0000 (09:00 +0100)]
Updates and fixes to the user guide

Change-Id: I42198bbdf4f9e6f6f337761b6ff6900c4bb7f171
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agodocs: fix pdf creation bug in userguide 07/10707/3
Ryota MIBU [Thu, 25 Feb 2016 07:14:34 +0000 (16:14 +0900)]
docs: fix pdf creation bug in userguide

Change-Id: I3fa1c98a43c8952700cef1deea0e0731158d99e2
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
8 years agoMerge "minor fix on format + add doctor references"
Morgan Richomme [Thu, 25 Feb 2016 07:05:23 +0000 (07:05 +0000)]
Merge "minor fix on format + add doctor references"

8 years agoFix tables in the troubleshooting guide 33/10633/1
jose.lausuch [Wed, 24 Feb 2016 17:55:06 +0000 (18:55 +0100)]
Fix tables in the troubleshooting guide

Change-Id: I1e1f741cc17961d5ff4542884b51b6fb81530560
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd rally troubleshooting guide 23/10623/4
jose.lausuch [Wed, 24 Feb 2016 17:14:31 +0000 (18:14 +0100)]
Add rally troubleshooting guide

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