functest-xtesting.git
8 years agoAdd kingbird endpoint information to functest.
Dimitri Mazmanov [Wed, 20 Jul 2016 11:42:30 +0000 (13:42 +0200)]
Add kingbird endpoint information to functest.

The patch multihops to the fuel node and dynamically retrieves kingbird
endpoint information. It also resolves the controller ip instead of
using the hardcoded value from the config ONLY if the installer type is
Fuel.

Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
Change-Id: I5161df5df3da7283f6374efa6bd1108246c1095a

8 years agoAdd logger to openstack_utils to output error messages
jose.lausuch [Tue, 19 Jul 2016 17:30:02 +0000 (19:30 +0200)]
Add logger to openstack_utils to output error messages

This will help to see the exception error when something
fails

JIRA: FUNCTEST-376

Change-Id: Ibaa6954fc63af00d552ac32b3cf903b9218200d1
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Show real time tempest test execution"
jose.lausuch [Tue, 19 Jul 2016 15:38:38 +0000 (15:38 +0000)]
Merge "Show real time tempest test execution"

8 years agoShow real time tempest test execution
jose.lausuch [Tue, 19 Jul 2016 13:18:28 +0000 (15:18 +0200)]
Show real time tempest test execution

JIRA: FUNCTEST-375

Change-Id: I4f0cb68639b927f2980389d9331ec260605c8caf
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoCatch timeout exception in vIMS
boucherv [Tue, 19 Jul 2016 14:05:11 +0000 (16:05 +0200)]
Catch timeout exception in vIMS

JIRA: FUNCTEST-368

Change-Id: Ifeec4b89e9a05ee02d5a0829ee787dbd6ef528b2
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoExit with -1 return code if something fails in vping tests
jose.lausuch [Tue, 19 Jul 2016 12:18:08 +0000 (14:18 +0200)]
Exit with -1 return code if something fails in vping tests

Also, turn off debug info from paramiko python module in vping_ssh

JIRA: FUNCTEST-373
JIRA: FUNCTEST-374

Change-Id: I6168cae85db91b2dd6ceac591f12dd9295786b59
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoExtend timeout to check vm in onos-sfc testcase
wuwenbin2 [Tue, 19 Jul 2016 11:50:03 +0000 (19:50 +0800)]
Extend timeout to check vm in onos-sfc testcase

Change-Id: I68ae154391d8098cab3d3cb05cebe6f1922ca701
Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
8 years agoDon't take openstack snapshot when "-n" option is set
jose.lausuch [Fri, 15 Jul 2016 11:40:27 +0000 (13:40 +0200)]
Don't take openstack snapshot when "-n" option is set

JIRA: FUNCTEST-236

Change-Id: I37bfa4ebe88a8cf02f2cddc8fc4cce70ad87b775
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years ago[multisite] run on the env of fuel and compass
meimei [Fri, 15 Jul 2016 03:02:50 +0000 (11:02 +0800)]
[multisite] run on the env of fuel and compass

Change-Id: Ie590a99e8b571af66cc2164c291dd8e9eed47e4a
Signed-off-by: meimei <meimei@huawei.com>
8 years agoUse blacklist of Tempest test cases for SDNVPN scenario
jose.lausuch [Fri, 15 Jul 2016 12:14:24 +0000 (14:14 +0200)]
Use blacklist of Tempest test cases for SDNVPN scenario

This patch disables tempest smoke from being executed in bgpvpn scenarios.
Since there is a known upstream issue which won't be resolved before Colorado,
it doesn't make sense to run the test cases in Tempest that will fail due
to that issue.
The Tempest suite will be triggered along with the "features" tier, with
a given blacklist of the known test that will fail.

JIRA: FUNCTEST-369

Change-Id: Ifc533077207e9d62d49bcedcc3cd0936df312891
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFixed typo in config.ini for reports.html
Luke Hinds [Fri, 8 Jul 2016 10:15:11 +0000 (11:15 +0100)]
Fixed typo in config.ini for reports.html

JIRA: FUNCTEST-359

Change-Id: Ide565cea987592446a44b168bd4cff0285864192
Signed-off-by: Luke Hinds <lukehinds@gmail.com>
8 years agoAdd functest logger in ODL script
jose.lausuch [Fri, 15 Jul 2016 11:28:12 +0000 (13:28 +0200)]
Add functest logger in ODL script

JIRA: FUNCTEST-367

Change-Id: I3a752ca78d274ca8c16f6179534d36f12facc202
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoPush sfc result into DB
wuwenbin2 [Fri, 15 Jul 2016 10:53:39 +0000 (18:53 +0800)]
Push sfc result into DB

Change-Id: I8ab9b5b9322fa3a6905c629e559aa78d9817958f
Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
8 years agoRevert "Disable ODL test."
Jose Lausuch [Fri, 15 Jul 2016 10:12:34 +0000 (10:12 +0000)]
Revert "Disable ODL test."

This reverts commit adf9811e8c0f2fa92ca1c45658a3360e1de8be7e.

JIRA: FUNCTEST-371

Change-Id: I677ed08e017e2b147eec9433b050d3fa480565a2
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoDisable ODL test.
jose.lausuch [Fri, 15 Jul 2016 09:32:12 +0000 (11:32 +0200)]
Disable ODL test.

It triggers a lot of errors. See log in the JIRA ticket:
JIRA: FUNCTEST-371

Change-Id: Ia039d36773158850f7746ae6d3a2a65fb350e382
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoDisable ODL reporting to DB
jose.lausuch [Fri, 15 Jul 2016 09:23:15 +0000 (11:23 +0200)]
Disable ODL reporting to DB

The script odlreport2db.py fails and it needs more investigation
and troubleshooting. For now, we disable it to not block CI

JIRA:FUNCTEST-370

Change-Id: I9952fd7c5238212d6ed1437f1595fdadde9208f2
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years ago[bug] miss a ; in case statement
meimei [Fri, 15 Jul 2016 03:34:00 +0000 (11:34 +0800)]
[bug] miss a ; in case statement

Change-Id: I2e3d99203450d2abc93e5f472c6be701a385a3c6
Signed-off-by: meimei <meimei@huawei.com>
8 years agoEnable domino multi-node test case in Functest
Ulas Kozat [Tue, 12 Jul 2016 22:59:05 +0000 (15:59 -0700)]
Enable domino multi-node test case in Functest

This includes:
 - Add domino.py script
 - Add call to domino.py
 - Add the Domino repo in the Dockerfile
 - Add the test case definition in testcases.yaml

JIRA: FUNCTEST-246

Change-Id: I5a8c3345a14c43fa80e6e86678ae5fb1417b3147
Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
8 years agoEnable new SDNVPN test cases in Functest
jose.lausuch [Tue, 12 Jul 2016 15:10:55 +0000 (17:10 +0200)]
Enable new SDNVPN test cases in Functest

JIRA:FUNCTEST-99

The tempest execution has been moved to the sdnvpn
to leverage the logic of execution and collecting
the results from the executor wrapper:
sdnvpn/test/functest/run_tests.py

Change-Id: Ic4763f4ab45dde81f91b241ae91073b9ea47e333
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoUse common way to get the openstack clients
jose.lausuch [Wed, 13 Jul 2016 10:07:21 +0000 (12:07 +0200)]
Use common way to get the openstack clients

Instead of repeating the code in all the scripts and
importing the openstack libraries, the clients shall
be given by openstack utils, which is its purpose

JIRA: FUNCTEST-163

Change-Id: I1ccc05a3af44ee1ab5938ea9e4e01dbe55f4816d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoSwitch to $SDN_CONTROLLER_IP instead of $neutron_ip
Cédric Ollivier [Thu, 14 Jul 2016 09:51:33 +0000 (11:51 +0200)]
Switch to $SDN_CONTROLLER_IP instead of $neutron_ip

ODL IP is now set to $SDN_CONTROLLER_IP in case of Apex and default.
It follows the next patch [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/16779/

Change-Id: I60238705e45ed31a67da1518ec586e3f2970c13f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 years ago[multisite] add kingbird repo and install python lib in docker
meimei [Wed, 13 Jul 2016 09:10:44 +0000 (17:10 +0800)]
[multisite] add kingbird repo and install python lib in docker

JIRA: FUNCTEST-179

Change-Id: Ib88bbbc2d541b2825d768516237a95f68e0418d2
Signed-off-by: meimei <meimei@huawei.com>
8 years ago[multisite] integrate kingbird tempest testcases
meimei [Thu, 14 Jul 2016 04:04:37 +0000 (12:04 +0800)]
[multisite] integrate kingbird tempest testcases

JIRA: FUNCTEST-179

Change-Id: I4a8ae43e2814b3d859c32a6278671f87155aa855
Signed-off-by: meimei <meimei@huawei.com>
8 years agoImprove timeout management with python
boucherv [Wed, 13 Jul 2016 14:48:28 +0000 (16:48 +0200)]
Improve timeout management with python

JIRA: FUNCTEST-368

Change-Id: I9f7a6adc807c63694fc5d9fb8a81ad1d2d9d3225
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoBump to cloudify-manager 3.3.1
boucherv [Wed, 13 Jul 2016 13:54:25 +0000 (15:54 +0200)]
Bump to cloudify-manager 3.3.1

Change-Id: Ica223edb7e2b29ce11634774d8355634b00cada4
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoPropose a new python file to launch ODL testing
Cédric Ollivier [Mon, 11 Jul 2016 13:19:30 +0000 (15:19 +0200)]
Propose a new python file to launch ODL testing

OpenDaylightTesting.py safely replaces start_tests.sh.
It also adds the report of the basic test of RESTConf which was
previously ignored.

JIRA: FUNCTEST-367

Change-Id: I8ba288271455fd9f31cf87aa65bf45cfb53cd8d6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 years agoEnhance ips, ports and creds management
Cédric Ollivier [Mon, 11 Jul 2016 08:13:09 +0000 (10:13 +0200)]
Enhance ips, ports and creds management

It follows the next ODL patch [1] which splits Keystone and Neutron
IPs in Robotframework files. It also adds ODL creds, ODL ports and
tenant name as inputs.

Classical default values are also used now.

[1] https://git.opendaylight.org/gerrit/#/c/41554/

Change-Id: I867f1d4c003c4b96a5d4c3e2f982b5a0e3139217
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 years ago[multisite] add interface of multisite test suite
meimei [Wed, 13 Jul 2016 02:24:06 +0000 (10:24 +0800)]
[multisite] add interface of multisite test suite

JIRA: FUNCTEST-179

Change-Id: I23ae0f73a6efb410e54fedd75537bb2e219344e0
Signed-off-by: meimei <meimei@huawei.com>
8 years agoAdd sfc support for all installers.
wuwenbin2 [Wed, 13 Jul 2016 04:36:08 +0000 (12:36 +0800)]
Add sfc support for all installers.

JIRA:FUNCTEST-366

Verified in fuel and joid locally.

Change-Id: Ife0fd55361e22b9f2003e592b42558860431747a
Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
8 years agoMerge "Use flavor m1.tiny in healthcheck"
Morgan Richomme [Tue, 12 Jul 2016 12:51:21 +0000 (12:51 +0000)]
Merge "Use flavor m1.tiny in healthcheck"

8 years agoUse flavor m1.tiny in healthcheck
jose.lausuch [Tue, 12 Jul 2016 11:25:10 +0000 (13:25 +0200)]
Use flavor m1.tiny in healthcheck

In some small virtual environments, booting 4 VMs using the
flavor m1.small can fail because of insufficient disk space
or available hosts.
Check if the flavor exists, if it doesnt, create it.

Change-Id: Ib7a3f337ea5e0686bcb9af442be175db436e4e8a
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoBugFix --noclean option in the CLI
jose.lausuch [Tue, 12 Jul 2016 11:28:24 +0000 (13:28 +0200)]
BugFix --noclean option in the CLI

JIRA: FUNCTEST-340

The flag was placed after the flag -t and it should be
before

Change-Id: I069556b00c31039f1f4cb89c42e17887c45dcb50
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge changes from topics 'fix_unix_rights_py', 'stop_creating_ODL_dir'
Morgan Richomme [Tue, 12 Jul 2016 10:52:42 +0000 (10:52 +0000)]
Merge changes from topics 'fix_unix_rights_py', 'stop_creating_ODL_dir'

* changes:
  Chmod 755 all py files which can be executed
  Stop creating the useless ODL results dir

8 years agoChmod 755 all sh files which can be executed
Cédric Ollivier [Tue, 12 Jul 2016 09:19:56 +0000 (11:19 +0200)]
Chmod 755 all sh files which can be executed

All files where shebang is defined can now be executed by everyone.
It results from [1].

[1] find . -name "*.sh" |xargs grep \#\! |cut -d\:  -f 1 |xargs chmod 755

Change-Id: I8bf1f52e55532d5e82f8188121028e9dd5074294
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 years agoChmod 755 all py files which can be executed
Cédric Ollivier [Tue, 12 Jul 2016 09:12:32 +0000 (11:12 +0200)]
Chmod 755 all py files which can be executed

All files where __main__ is checked can now be executed by everyone.
It results from [1].

[1] find . -name "*.py" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod 755

Change-Id: I9ad153cfdde0447213e35dac102e668d9e754cf9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 years agoStop creating the useless ODL results dir
Cédric Ollivier [Tue, 12 Jul 2016 08:24:38 +0000 (10:24 +0200)]
Stop creating the useless ODL results dir

Outputs and logs are pushed in ${FUNCTEST_RESULTS_DIR}/odl (instead of
${FUNCTEST_RESULTS_DIR}/ODL). And this directory is created by the
related testing script.

Change-Id: Ie4ad6228d81d3578e777029da45700da09dba8fc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 years agoAdd fixed_ip and files parameters in openstack_utils in create_instance
jose.lausuch [Sat, 9 Jul 2016 10:34:42 +0000 (12:34 +0200)]
Add fixed_ip and files parameters in openstack_utils in create_instance

This is needed i.e. for sdnvpn test case

Change-Id: I235a6871a86b7a0c4a9ab27a3aef4bfd62ba4d43
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agobug fix: use PASS/FAIL in Onos instead of passed/failed
Morgan Richomme [Mon, 11 Jul 2016 13:48:51 +0000 (15:48 +0200)]
bug fix: use PASS/FAIL in Onos instead of passed/failed

Change-Id: I6a293d49476a428b82c472dafa47793c494c2c92
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoFix one pep8 violation
Cédric Ollivier [Mon, 11 Jul 2016 13:52:52 +0000 (15:52 +0200)]
Fix one pep8 violation

Change-Id: I1d57c02bc0e5952bed7f5eb86d0ba602448035e9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 years agoAdd --noclean option in the CLI
jose.lausuch [Fri, 8 Jul 2016 15:22:54 +0000 (17:22 +0200)]
Add --noclean option in the CLI

JIRA: FUNCTEST-340

Change-Id: I00cd0a9bf5744bf7ce8998d4bf6427c0766a1322
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd delete bgpvpn function in openstack utils
jose.lausuch [Fri, 8 Jul 2016 15:05:22 +0000 (17:05 +0200)]
Add delete bgpvpn function in openstack utils

JIRA: FUNCTEST-99

Change-Id: I0d28e5d07c857f4e80d7cf96a2ff4dbf87075abe
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoSFC Testcase for functest
Manuel Buil [Wed, 6 Jul 2016 10:26:46 +0000 (12:26 +0200)]
SFC Testcase for functest

JIRA: FUNCTEST-354

This test case creates two chains, one blocks ssh, the other http
We check with the client that the blocking works in one and then
we change the classifier rules to check the other one

Change-Id: I7d12f5d8b4bc4a7e1566f04e02ca78ac2a4e0920
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoFix onos sfc's block.
wuwenbin2 [Fri, 8 Jul 2016 07:49:06 +0000 (15:49 +0800)]
Fix onos sfc's block.
Add ping check before login.

Change-Id: If93809ddf727246db453208c79a8e4ecaa288c51
Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
8 years agoCreate vnf directory in testcases
Morgan Richomme [Fri, 8 Jul 2016 08:55:06 +0000 (10:55 +0200)]
Create vnf directory in testcases

JIRA: FUNCTEST-358

Change-Id: I00dacef2a07e3980cc33cdbfad7ea238c1153599
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "Conform start_tests.sh to last ODL patches"
Morgan Richomme [Fri, 8 Jul 2016 08:36:43 +0000 (08:36 +0000)]
Merge "Conform start_tests.sh to last ODL patches"

8 years agoMerge "Update developer guide documentation"
Morgan Richomme [Fri, 8 Jul 2016 08:29:51 +0000 (08:29 +0000)]
Merge "Update developer guide  documentation"

8 years agoConform start_tests.sh to last ODL patches
Cédric Ollivier [Fri, 8 Jul 2016 07:50:11 +0000 (09:50 +0200)]
Conform start_tests.sh to last ODL patches

It mainly removes all hacks vs __init__.robot which can be deleted
since the patches [1] and [2] has been merged.

[1] https://git.opendaylight.org/gerrit/#/c/41461/
[2] https://git.opendaylight.org/gerrit/#/c/41463/

Change-Id: I0692681794737c06609e06f88af64edc6fe98efe
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 years agoUpdate developer guide documentation
Morgan Richomme [Wed, 6 Jul 2016 16:18:11 +0000 (18:18 +0200)]
Update developer guide  documentation

JIRA: FUNCTEST-333

Change-Id: Ib5b4d0e28e1ad35e9579465a43fc66d63d4a773c
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoFix function get_hypervisors in openstack utils
jose.lausuch [Thu, 7 Jul 2016 12:23:42 +0000 (14:23 +0200)]
Fix function get_hypervisors in openstack utils

JIRA: FUNCTEST-99

Change-Id: I23fd3fae08255d36ec158e5a522640615b5d8a10
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdded 'vacation' test case
vitikkan [Thu, 7 Jul 2016 11:23:20 +0000 (14:23 +0300)]
Added 'vacation' test case

Running this test case illustrates how Functest code base and
performance tend to grow when trying to catch more and more
bugs in OPNFV environment. The case is not bound to any tier.

Change-Id: Ib3c2f3f3d9d78c1251fbb35e6ea6afd3cf1afbdb
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
8 years ago[SDNVPN] Bugfix bgpvpn functions in openstack utils
jose.lausuch [Thu, 7 Jul 2016 11:22:29 +0000 (13:22 +0200)]
[SDNVPN] Bugfix bgpvpn functions in openstack utils

JIRA: FUNCTEST-99

Change-Id: Ia3fd91ec1dff5283edc3df098bb5cec342f87aea
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years ago[SDNVPN] Add helper functions to create bgpvpn and associations
Nikolas Hermanns [Wed, 6 Jul 2016 17:28:14 +0000 (19:28 +0200)]
[SDNVPN] Add helper functions to create bgpvpn and associations

JIRA: FUNCTEST-99

These functions are used by sdnvpn test cases
to create vpns and network associations

Change-Id: I2fb25c84d8d02ea1cc92677e6a33e469a5d3ddc3
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
8 years ago[SDNVPN] Adding sdnvpn repo to functest
Nikolas Hermanns [Wed, 6 Jul 2016 12:24:11 +0000 (14:24 +0200)]
[SDNVPN] Adding sdnvpn repo to functest

JIRA: FUNCTEST-99

There are some testcases in the
sdnvpn repo to be executed by
functest. So we need to have the repo cloned.

Change-Id: I9fb11a2429ebd5f911993e4786e616be10cb9a05
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
8 years agoMerge "Adding security_scan section to functest userguide."
Morgan Richomme [Wed, 6 Jul 2016 15:36:10 +0000 (15:36 +0000)]
Merge "Adding security_scan section to functest userguide."

8 years agoMerge "Add Moon in Functest"
Morgan Richomme [Wed, 6 Jul 2016 13:19:06 +0000 (13:19 +0000)]
Merge "Add Moon in Functest"

8 years agoAdd Moon in Functest
Morgan Richomme [Wed, 6 Jul 2016 09:36:08 +0000 (11:36 +0200)]
Add Moon in Functest

JIRA: FUNCTEST-210

Change-Id: Ibc8792f74c4c62122856cff355e55cda88fc691e
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "Change methods to call openstack utils"
Morgan Richomme [Wed, 6 Jul 2016 12:24:21 +0000 (12:24 +0000)]
Merge "Change methods to call openstack utils"

8 years agoAdd BGPVPN neutron client extension for SDNVPN project
jose.lausuch [Wed, 6 Jul 2016 11:15:08 +0000 (13:15 +0200)]
Add BGPVPN neutron client extension for SDNVPN project

JIRA: FUNCTEST-99

Change-Id: I25f5f6769350fdcac9230e168337e9a51fb1fec8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd tacker-client in the functest Docker image
Manuel Buil [Tue, 5 Jul 2016 15:14:51 +0000 (17:14 +0200)]
Add tacker-client in the functest Docker image

JIRA: FUNCTEST-354

Tacker-client is required for the SFC test cases

Change-Id: I21b1e47c890fb45899f6f83b6583b0ab032662d1
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoAdding security_scan section to functest userguide.
Luke Hinds [Wed, 6 Jul 2016 09:33:44 +0000 (10:33 +0100)]
Adding security_scan section to functest userguide.

JIRA: FUNCTEST-356

Change-Id: Ib7e2fc7eda88425390b37c36cbedc3f89c090f61
Signed-off-by: Luke Hinds <lukehinds@gmail.com>
8 years agoMerge "Fix tacker client dependencies installation"
Morgan Richomme [Wed, 6 Jul 2016 08:48:58 +0000 (08:48 +0000)]
Merge "Fix tacker client dependencies installation"

8 years agoMerge "Add support functions for SDNVPN test cases"
jose.lausuch [Wed, 6 Jul 2016 08:46:36 +0000 (08:46 +0000)]
Merge "Add support functions for SDNVPN test cases"

8 years agoAdd support functions for SDNVPN test cases
jose.lausuch [Wed, 6 Jul 2016 07:20:48 +0000 (09:20 +0200)]
Add support functions for SDNVPN test cases

JIRA: FUNCTEST-99

Get availability zones from nova client and
give the possibility to create an instance
on a specific hypervisor (availability zone)

Change-Id: Ieb2d26764c50ea4f4403818bb73a238236e03ee4
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agobug fix: use PASS/FAIL for rally
Morgan Richomme [Wed, 6 Jul 2016 08:40:18 +0000 (10:40 +0200)]
bug fix: use PASS/FAIL for rally

Change-Id: I1f870aad5b648f24f8097028ba97d6c118402586
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agobug fix use FAIL/PASS as criteria for integration in automatic reporting
Morgan Richomme [Wed, 6 Jul 2016 08:35:37 +0000 (10:35 +0200)]
bug fix use FAIL/PASS as criteria for integration in automatic reporting

JIRA: FUNCTEST-355

Change-Id: I683107558b8f83e6de4244d55e6cfd93f0271db7
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoAdd copper for CI integration
Morgan Richomme [Mon, 4 Jul 2016 15:22:28 +0000 (17:22 +0200)]
Add copper for CI integration

JIRA: FUNCTEST-67

Change-Id: Idffa4ccae4eb51ad335a5c49876bb18731990e84
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMove copper.py to functest repo
blsaws [Mon, 4 Jul 2016 23:21:45 +0000 (16:21 -0700)]
Move copper.py to functest repo

JIRA:COPPER-4

Fix minor flake8 issues
Fix PASS|FAIL to match requirements

Change-Id: I91d5ace36c31e4aa189422d8ec20467565e3c4d7
Signed-off-by: blsaws <bryan.sullivan@att.com>
8 years agoFix tacker client dependencies installation
jose.lausuch [Tue, 5 Jul 2016 18:14:50 +0000 (20:14 +0200)]
Fix tacker client dependencies installation

JIRA: FUNCTEST-354

Change-Id: Ia62fcf0a2ed8dcb80b81d786593dd9f3c6333df2
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoBug fix of tacker_client_install
Manuel Buil [Tue, 5 Jul 2016 16:31:37 +0000 (18:31 +0200)]
Bug fix of tacker_client_install

JIRA: FUNCTEST-354

There is a library missing

Change-Id: I6e1ddef4558c49ec715ea318fedd5b4cefa62670
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoAdd tacker installation to odl-sfc
Manuel Buil [Tue, 5 Jul 2016 15:48:08 +0000 (17:48 +0200)]
Add tacker installation to odl-sfc

A new directory is created and the script which installs tacker added

Change-Id: I5647bf28be6d1dc9b769aa265fe8ae9ec5c90ad2
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoMerge "Fix doctor test return check"
Morgan Richomme [Tue, 5 Jul 2016 15:21:33 +0000 (15:21 +0000)]
Merge "Fix doctor test return check"

8 years agoEnable doctor test scenario in master
Ryota MIBU [Tue, 5 Jul 2016 13:42:14 +0000 (22:42 +0900)]
Enable doctor test scenario in master

The doctor testing script has fixed and improved by adding timeout
function, now it can be back to enable.

Change-Id: I5b5602dc3453cdbca14fc78aa567b69b27896a5d
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
8 years agoFix doctor test return check
Carlos Goncalves [Tue, 5 Jul 2016 12:56:41 +0000 (14:56 +0200)]
Fix doctor test return check

utils.functest_utils.execute_command returns 0 if no error

Change-Id: Iedc36b50521cf281a7b8da351cde9e1c8f9468bd
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
8 years agoChange methods to call openstack utils
wuwenbin2 [Tue, 5 Jul 2016 12:02:08 +0000 (20:02 +0800)]
Change methods to call openstack utils

Change-Id: I3ac1fba007ae91dc8963139caa0d6ac2a48d2ba8
Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
8 years agoFix incorrect path for createfiles.py and amended hiera path
Luke Hinds [Mon, 4 Jul 2016 18:29:34 +0000 (19:29 +0100)]
Fix incorrect path for createfiles.py and amended hiera path

JIRA: FUNCTEST-350

Change-Id: I29cdd2e6783fb659a673346d3033b1b2e7b3461b
Signed-off-by: Luke Hinds <lukehinds@gmail.com>
8 years agoMerge "Add interface to run sfc functests."
Morgan Richomme [Tue, 5 Jul 2016 08:33:25 +0000 (08:33 +0000)]
Merge "Add interface to run sfc functests."

8 years agoMerge "Delete robotframework files hosted by ODL"
Morgan Richomme [Mon, 4 Jul 2016 16:01:31 +0000 (16:01 +0000)]
Merge "Delete robotframework files hosted by ODL"

8 years agoFunctest Userguide update for Colorado
columgaynor [Wed, 29 Jun 2016 18:29:26 +0000 (21:29 +0300)]
Functest Userguide update for Colorado

Text updates to reflect the introduction of the Functest CLI for
Functest Docker container environment.

JIRA: FUNCTEST-238

Change-Id: Ifa742fb5c4a24ae94cc1e7062bcb8c0a2f49bf02
Signed-off-by: columgaynor <colum.gaynor@nokia.com>
8 years agoMerge "Add example script creating an instance"
Morgan Richomme [Mon, 4 Jul 2016 15:18:33 +0000 (15:18 +0000)]
Merge "Add example script creating an instance"

8 years agoAdd support for Copper project
jose.lausuch [Mon, 4 Jul 2016 14:21:42 +0000 (16:21 +0200)]
Add support for Copper project

JIRA: FUNCTEST-67

Change-Id: Ibbdf588c60ba89aae32ef4bbfc09d440cb4d0933
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd example script creating an instance
jose.lausuch [Mon, 4 Jul 2016 08:08:02 +0000 (10:08 +0200)]
Add example script creating an instance

This is to be used by feature projects or newcomers to functest.
SFC or BGPVPN test cases can be based on this one.
The script creates an instance and assigns a floating IP to it.

Change-Id: If35495631031187bfb5382ba8c0a8884dfaa3d7f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Depends-On: Ie10d55872bc8c5a404b0d0156ee49a9d94482008

8 years agoDelete robotframework files hosted by ODL
Cédric Ollivier [Mon, 4 Jul 2016 14:04:31 +0000 (16:04 +0200)]
Delete robotframework files hosted by ODL

All the modifications done on 010__networks.robot, 020__subnets.robot
and 030__ports.robot have been backported to ODL [1]. These files can
be safely removed as both repos are now synchronized.

[1] https://git.opendaylight.org/gerrit/#/c/40948/

Change-Id: I3e027e41042a25924b9edd0034eddbd895a248fb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 years agoAdd openstack clients and create instance in openstack_utils
jose.lausuch [Fri, 1 Jul 2016 16:31:44 +0000 (18:31 +0200)]
Add openstack clients and create instance in openstack_utils

JIRA: FUNCTEST-346

Change-Id: Ie10d55872bc8c5a404b0d0156ee49a9d94482008
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd interface to run sfc functests.
wuwb1989 [Mon, 4 Jul 2016 02:55:44 +0000 (10:55 +0800)]
Add interface to run sfc functests.

Varified only in fuel.
Prerequisite: no floating ip exists.

Change-Id: If6ef4c395992ba1544559b47c5c97f7cd5ce004c
Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
8 years agoMerge "Change OpenStack clean behaviour"
jose.lausuch [Mon, 4 Jul 2016 07:39:56 +0000 (07:39 +0000)]
Merge "Change OpenStack clean behaviour"

8 years agoMerge "Remove OVNO test for Colorado"
Morgan Richomme [Mon, 4 Jul 2016 07:32:09 +0000 (07:32 +0000)]
Merge "Remove OVNO test for Colorado"

8 years agoadd missing symbols in Results section
SerenaFeng [Fri, 1 Jul 2016 15:57:11 +0000 (23:57 +0800)]
add missing symbols in Results section

add missing }/>/"/ in the description of models

JIRA: FUNCTEST-345

Change-Id: I8246b2b3350a22eccf152489b6f99b73ad701620
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoChange OpenStack clean behaviour
jose.lausuch [Thu, 30 Jun 2016 12:12:54 +0000 (14:12 +0200)]
Change OpenStack clean behaviour

JIRA: FUNCTEST-236

The openstack snapshot generation is now triggered before running
a test case and removed from prepare_env

Change-Id: I4d1bc95dedd7f59d4b1d5866f288e1c1a70ec69e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "ONOS sfc scripts"
Jose Lausuch [Sun, 3 Jul 2016 22:26:27 +0000 (22:26 +0000)]
Merge "ONOS sfc scripts"

8 years agoONOS sfc scripts
AntonySilvester [Mon, 27 Jun 2016 09:05:50 +0000 (14:35 +0530)]
ONOS sfc scripts

Change-Id: Id314d64cffc3e25b7c3f47e9ff158f79360417e0
Signed-off-by: AntonySilvester <antonysilvester@gmail.com>
8 years agoRemove OVNO test for Colorado
Morgan Richomme [Fri, 1 Jul 2016 07:34:08 +0000 (09:34 +0200)]
Remove OVNO test for Colorado

JIRA: FUNCTEST-260

Change-Id: I745ac49b47ad97185868f4e7277410c609fcdbf1
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "update Test Dashboard & API description in devguide"
Morgan Richomme [Thu, 30 Jun 2016 16:10:50 +0000 (16:10 +0000)]
Merge "update Test Dashboard & API description in devguide"

8 years agoupdate Test Dashboard & API description in devguide
SerenaFeng [Thu, 30 Jun 2016 08:44:41 +0000 (16:44 +0800)]
update Test Dashboard & API description in devguide

modify RESTFul-APIs descriptions of testAPI
modify dashboard description

JIRA: FUNCTEST-337

Change-Id: I23b32b2fadf04c339a8aec69766ddfaf9a0db6a8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoRemove old test dependency in config_functest.yaml
jose.lausuch [Thu, 30 Jun 2016 09:07:50 +0000 (11:07 +0200)]
Remove old test dependency in config_functest.yaml

JIRA: FUNCTEST-342

Change-Id: I1133bb05eb03fac1cbdcf0725280aa6aad2841fb
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoSuspend Doctor execution on Master for apex scenario
Morgan Richomme [Wed, 29 Jun 2016 16:16:42 +0000 (18:16 +0200)]
Suspend Doctor execution on Master for apex scenario

Change-Id: I6a0e8969484ced97a08b87e1fc48a4e53e57bb9d
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agobug fix: use FAIL/PASS as criteria for vping_userdata and rally_sanity
Morgan Richomme [Wed, 29 Jun 2016 14:25:25 +0000 (16:25 +0200)]
bug fix: use FAIL/PASS as criteria for vping_userdata and rally_sanity

Change-Id: Iadccae118bb2dc557bb590175c65022c1ed70605
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "Switch to ODL_SYSTEM_IP and OPENSTACK vars"
Morgan Richomme [Tue, 28 Jun 2016 14:49:19 +0000 (14:49 +0000)]
Merge "Switch to ODL_SYSTEM_IP and OPENSTACK vars"

8 years agoSwitch to ODL_SYSTEM_IP and OPENSTACK vars
Cédric Ollivier [Tue, 28 Jun 2016 13:43:44 +0000 (15:43 +0200)]
Switch to ODL_SYSTEM_IP and OPENSTACK vars

It follows the last updates of ODL's robotframework files [1].
Useless Set Suite Variable calls are also removed.

[1] https://git.opendaylight.org/gerrit/#/c/36569/

Change-Id: I98ec20ded7978cd56e6de6b62bce04b8c6ba1e9a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 years agoFunctest Config Guide - Text updates to reflect new CLI
columgaynor [Wed, 15 Jun 2016 20:02:19 +0000 (23:02 +0300)]
Functest Config Guide - Text updates to reflect new CLI

Text updates to reflect the introduction of the Functest CLI for
Functest docker container environment.
Some additional tips added for operations behind http proxy
In addition directory structure change relected in text

Patch 2 : Incorporating almost all review comments from
          Jose and Morgan
Patch 3 : Obliterating infernal trailing white space for good!
Patch 4 : Incorporating further comments/advice from Jose,
          Morgan and Juha Haapavirta.
Patch 5 : feature selection odl --> odl_l2 | odl_l3
          CI_DEBUG also send Trace texts to standard console

FUNTEST-238

Change-Id: Ic9063cff6e8db2ec457cda4c5c3e6f8b0a1c36b2
Signed-off-by: columgaynor <colum.gaynor@nokia.com>
8 years agoChange step 4 to step 3 in healtcheck
jose.lausuch [Tue, 28 Jun 2016 09:38:10 +0000 (11:38 +0200)]
Change step 4 to step 3 in healtcheck

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