functest.git
7 years agorefstack client integration 25/30225/8
MatthewLi [Fri, 10 Mar 2017 05:03:09 +0000 (00:03 -0500)]
refstack client integration

JIRA: DOVETAIL-366
JIRA: FUNCTEST-758

usage:
1,functest testcase run refstack_defcore, will run the
default testcases in defcore_201608.txt
2,cd <path>/functest/functest/opnfv_tests/openstack/refstack_client
  python refstack_client.py -c <tempest-conf-file-path> --testlist <testlist-path>

this has been worked with openstack-refstack experts, etc.
tested workedi.
result see http://paste.openstack.org/show/602173/

Change-Id: I1aaffea01dec9dc8d1c572885bdf516614a16894
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
7 years agoMerge "Remove raise exceptions"
valentin boucher [Sun, 12 Mar 2017 11:08:06 +0000 (11:08 +0000)]
Merge "Remove raise exceptions"

7 years agoRemove raise exceptions 57/30257/2
Morgan Richomme [Fri, 10 Mar 2017 15:14:29 +0000 (16:14 +0100)]
Remove raise exceptions

until exceptions are better managed in abstraction
Currently it triggers an exit from the jenkins job
and prevent other tests to be run

Change-Id: Id3b18c1d6d3b786fc78456b3ad51963d2cbb2cc1
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "cloudify_ims: fix error on account creation"
Morgan Richomme [Fri, 10 Mar 2017 14:27:02 +0000 (14:27 +0000)]
Merge "cloudify_ims: fix error on account creation"

7 years agocloudify_ims: fix error on account creation 55/30255/1
boucherv [Fri, 10 Mar 2017 14:01:24 +0000 (15:01 +0100)]
cloudify_ims: fix error on account creation

Change-Id: I43550b2062c69d7b4eb144057a90806f92328739
Signed-off-by: boucherv <valentin.boucher@orange.com>
7 years agoMerge "Add extra check to avoid double delete of instances"
Morgan Richomme [Fri, 10 Mar 2017 13:18:53 +0000 (13:18 +0000)]
Merge "Add extra check to avoid double delete of instances"

7 years agoMerge "Exclude Doctor from Joid scnenarios"
Morgan Richomme [Fri, 10 Mar 2017 09:58:50 +0000 (09:58 +0000)]
Merge "Exclude Doctor from Joid scnenarios"

7 years agoMerge "cloudify_ims: fix sip public domain name"
Morgan Richomme [Fri, 10 Mar 2017 09:42:38 +0000 (09:42 +0000)]
Merge "cloudify_ims: fix sip public domain name"

7 years agocloudify_ims: fix sip public domain name 41/30241/1
boucherv [Fri, 10 Mar 2017 09:36:48 +0000 (10:36 +0100)]
cloudify_ims: fix sip public domain name

Change-Id: I25423cc3fbab54f81047fbebd0bc33895d826186
Signed-off-by: boucherv <valentin.boucher@orange.com>
7 years agoExclude Doctor from Joid scnenarios 39/30239/1
Morgan Richomme [Fri, 10 Mar 2017 09:35:01 +0000 (10:35 +0100)]
Exclude Doctor from Joid scnenarios

Doctor feature not available for Joid on Danube

Change-Id: I1d39ff15a1fe003689828f6923b92c7e7c7d716f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Unit tests added for openstack/tempest"
Morgan Richomme [Fri, 10 Mar 2017 09:27:19 +0000 (09:27 +0000)]
Merge "Unit tests added for openstack/tempest"

7 years agoChange scenario for odl_netvirt tests to be os-odl_l3-nofeature 15/30115/2
Jamo Luhrsen [Thu, 9 Mar 2017 06:16:15 +0000 (22:16 -0800)]
Change scenario for odl_netvirt tests to be os-odl_l3-nofeature

Change-Id: Ibf04adcaa0b14c4cdda8fba2ef2826a0c7f3b7d4
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoMerge "Show verification details in tempest log"
Morgan Richomme [Fri, 10 Mar 2017 07:12:51 +0000 (07:12 +0000)]
Merge "Show verification details in tempest log"

7 years agoMerge "Change the order of HealthCheck tests"
Morgan Richomme [Fri, 10 Mar 2017 07:12:35 +0000 (07:12 +0000)]
Merge "Change the order of HealthCheck tests"

7 years agoMerge "fix vnf deployment"
Morgan Richomme [Thu, 9 Mar 2017 20:38:40 +0000 (20:38 +0000)]
Merge "fix vnf deployment"

7 years agofix vnf deployment 15/30215/1
boucherv [Thu, 9 Mar 2017 20:30:49 +0000 (21:30 +0100)]
fix vnf deployment

Change-Id: If92c7d402b88f59367564f7279d426eb8f3b582a
Signed-off-by: boucherv <valentin.boucher@orange.com>
7 years agoChange the order of HealthCheck tests 97/30197/1
Morgan Richomme [Thu, 9 Mar 2017 16:20:17 +0000 (17:20 +0100)]
Change the order of HealthCheck tests

currently the snaps healthcheck (dhcp) is tried first
it should be connectivity, api, dhcp

the reporting looks for scenario based on connectivity

testing dhcp first => scenarios ok on connectivy but
failed with DHCP are not considered, which could be
misleading

Change-Id: I0eb34b1f5ba163540281e5ef0dcb12c8cefa88bd
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Update tempest to the latest 15.0.0"
Morgan Richomme [Thu, 9 Mar 2017 16:12:02 +0000 (16:12 +0000)]
Merge "Update tempest to the latest 15.0.0"

7 years agoShow verification details in tempest log 87/30187/1
Juha Kosonen [Thu, 9 Mar 2017 15:22:13 +0000 (17:22 +0200)]
Show verification details in tempest log

JIRA: FUNCTEST-747

Change-Id: I85f15188315136cc44876914325e3693f7973af8
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoMerge "Introduce smoke tests for FDS"
Morgan Richomme [Thu, 9 Mar 2017 13:54:16 +0000 (13:54 +0000)]
Merge "Introduce smoke tests for FDS"

7 years agoIntroduce smoke tests for FDS 83/28883/12
Tomas Cechvala [Fri, 17 Feb 2017 00:39:00 +0000 (01:39 +0100)]
Introduce smoke tests for FDS

Added:
 - fds repository to docker file
 - fds test to smoke tier in testcases
 - config values for fds tests

A new robot var OS_AUTH_URL is defined as expected by FDS robot files.
Method args switch from Keystone IP to OS_AUTH_URL which is more
precised. The argument parsing is changed too.

Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Ife27ab4a83f0110cbdcf7c9d47d9b3fb4c0ec705
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Revert "Change barometer target log file""
Morgan Richomme [Thu, 9 Mar 2017 11:00:54 +0000 (11:00 +0000)]
Merge "Revert "Change barometer target log file""

7 years agoRevert "Change barometer target log file" 51/30151/3
Morgan Richomme [Thu, 9 Mar 2017 10:45:37 +0000 (10:45 +0000)]
Revert "Change barometer target log file"

This reverts commit 044de9eb0c74fb2ef9cb34b6487bf0536412058d.

Change-Id: I9179f4b5ce866456e8ec85cb8a730a5d7f2af16e
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Change barometer target log file"
Morgan Richomme [Thu, 9 Mar 2017 09:37:07 +0000 (09:37 +0000)]
Merge "Change barometer target log file"

7 years agoMerge "Improve error log into vnf test step"
Morgan Richomme [Thu, 9 Mar 2017 08:54:57 +0000 (08:54 +0000)]
Merge "Improve error log into vnf test step"

7 years agoMerge "Optimize releng cloning when running unit tests"
Morgan Richomme [Thu, 9 Mar 2017 08:53:53 +0000 (08:53 +0000)]
Merge "Optimize releng cloning when running unit tests"

7 years agoOptimize releng cloning when running unit tests 55/30055/4
Morgan Richomme [Wed, 8 Mar 2017 10:07:04 +0000 (11:07 +0100)]
Optimize releng cloning when running unit tests

not need to clone full releng
depth 1 is enough
do not go out of workspace anymore..never...

Change-Id: I1d2dbc30bec6c168ef7ddf3327cb00fff4056aa1
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoChange barometer target log file 27/30127/1
Morgan Richomme [Thu, 9 Mar 2017 07:41:12 +0000 (08:41 +0100)]
Change barometer target log file

Change-Id: Id903683b12366c5a2f486c8b7d7ce6977d4448e0
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Exclude SNAPS smoke for lxd scenario"
Morgan Richomme [Thu, 9 Mar 2017 07:21:27 +0000 (07:21 +0000)]
Merge "Exclude SNAPS smoke for lxd scenario"

7 years agoInstall kingbird verifier extension for tempest 61/30061/3
Juha Kosonen [Wed, 8 Mar 2017 13:39:49 +0000 (15:39 +0200)]
Install kingbird verifier extension for tempest

JIRA: FUNCTEST-742

Change-Id: I5de8ed22932250c542751e38eae3185c4a263cd0
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoImprove error log into vnf test step 79/30079/1
boucherv [Wed, 8 Mar 2017 18:40:09 +0000 (19:40 +0100)]
Improve error log into vnf test step

Change-Id: Ied92224bc80ab4e02611e7b1f4bf33f276914e89
Signed-off-by: boucherv <valentin.boucher@orange.com>
7 years agoAarch64 adaption in functest for snaps smoke 87/29987/2
Cristina Pauna [Tue, 7 Mar 2017 17:48:34 +0000 (19:48 +0200)]
Aarch64 adaption in functest for snaps smoke

This commit sends the aarch64 custom config to the snaps integration
tests. Since these are the same as the snaps healthcheck, no additional
values were added to config_aarch64_patch.yaml

Change-Id: I5f2302a3c65d47ec8fca661888268489e2c6ba35
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
7 years agoAdding Labels 39/29939/2
ShubhamRathi [Tue, 7 Mar 2017 11:41:03 +0000 (17:11 +0530)]
Adding Labels

Labels serve as anchors/ refs when referenced from other documents
This patch adds labels to docs/*/*/index.rst

Change-Id: Iaa339f0f8b2efbde286b173ae6cf7e92cddab115
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
7 years agoExclude SNAPS smoke for lxd scenario 63/30063/1
Morgan Richomme [Wed, 8 Mar 2017 13:43:09 +0000 (14:43 +0100)]
Exclude SNAPS smoke for lxd scenario

SNAPS healthcheck is already excluded due to the
use of QCOW2 images, not compatible with lxd
scenarios

2 JIRAs have been cretaed to adapt the SNAPS cases
to lxd in Euphrates
https://jira.opnfv.org/browse/FUNCTEST-752
https://jira.opnfv.org/browse/FUNCTEST-753

Additionnal cleaning done on testcases.yaml
- remove juju_epc case (no one from OAI available
for Danube)
- remove orchestra (as standalone test case of the
MANO stack, postponed to Euphrates)
- comment aaa (empty sample used to illustrate
the VNF abstraction but not completed for Danube)

Change-Id: Ibad6cad4c92ee9897b6665b29c09b62cb1986aae
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoAdded support for scenario-based flavor creation. 77/29877/5
spisarski [Mon, 6 Mar 2017 19:58:34 +0000 (12:58 -0700)]
Added support for scenario-based flavor creation.

As certain scenarios such as, DPDK, FDIO, and OVS use cases
require special 'hw:' settings to flavors, SNAPS-OO has just
implemented the ability to take in these configuration values
to apply to its integration tests. This change checks the
scenario and should be configuring the flavor metadata accordingly.

Also see SNAPS-38

Used this as an opportunity to refactor the SNAPS test classes as well...

JIRA: FUNCTEST-746

Change-Id: I63535776acde088a7461f602966a324b6207592d
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
7 years agoModification of repo path for vrouter 13/29913/4
h-hayashi [Tue, 7 Mar 2017 10:10:50 +0000 (19:10 +0900)]
Modification of repo path for vrouter

JIRA: FUNCTEST-750

 1.Modification of repo path for vrouter in config_functest.yaml

Change-Id: I798e27df9667c3dea55dddba51c53f6ac0d13381
Signed-off-by: Hideyasu Hayashi <hideyasu.hayashi@okinawaopenlabs.org>
7 years agoBugfix: modify test_prepare_env to make verify job successful 03/30003/4
Linda Wang [Wed, 8 Mar 2017 02:31:57 +0000 (02:31 +0000)]
Bugfix: modify test_prepare_env to make verify job successful

Functest verify job failed due to that test_prepare_env.py mistook one
function of ft_utils.execute_command_raise.

Change-Id: Ib3b8ca807308bf5c6d250e7debb4c9e1e106e3d1
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "delete ft_constants and file functest_constants.py"
Morgan Richomme [Tue, 7 Mar 2017 14:30:03 +0000 (14:30 +0000)]
Merge "delete ft_constants and file functest_constants.py"

7 years agoMerge "Bugfix: make security_scan authorized"
Morgan Richomme [Tue, 7 Mar 2017 14:28:00 +0000 (14:28 +0000)]
Merge "Bugfix: make security_scan authorized"

7 years agoMerge "Aarch64 adaption in functest for snaps healthcheck"
Morgan Richomme [Tue, 7 Mar 2017 12:57:48 +0000 (12:57 +0000)]
Merge "Aarch64 adaption in functest for snaps healthcheck"

7 years agodelete ft_constants and file functest_constants.py 97/29597/7
SerenaFeng [Thu, 2 Mar 2017 02:48:58 +0000 (10:48 +0800)]
delete ft_constants and file functest_constants.py

delete no longer used ft_constants in run_test.py
substitute ft_constants with CONST in foundation.py and remove useless
str()
finally delete not-used file functest_constants.py

Change-Id: I109a5409e501b610f41aae7d75c55ca745a3d4c1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "Added Unit Tests for ci/prepare_env"
Morgan Richomme [Mon, 6 Mar 2017 20:23:27 +0000 (20:23 +0000)]
Merge "Added Unit Tests for ci/prepare_env"

7 years agoAarch64 adaption in functest for snaps healthcheck 51/29851/5
Cristina Pauna [Thu, 2 Mar 2017 14:54:26 +0000 (14:54 +0000)]
Aarch64 adaption in functest for snaps healthcheck

This commit is half of the fix for adapting the snaps healthcheck
to run on an aarch64 POD. The fix consists in reading the custom
parameters and passing them to the snaps test

The snaps part that uses this info is
https://gerrit.opnfv.org/gerrit/29853

JIRA: ARMBAND-222

Change-Id: I2027f2ef3afe0caddef781771f2190fc173aff8c
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
7 years agoUpdate tempest to the latest 15.0.0 63/29863/1
Michael Polenchuk [Mon, 6 Mar 2017 16:17:36 +0000 (20:17 +0400)]
Update tempest to the latest 15.0.0

Change-Id: I2bf68a31e581b2a80785f1b13380a28d5bf84d80
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
7 years ago[cloudify_ims] New requirement for ims testing 41/29841/1
boucherv [Mon, 6 Mar 2017 09:27:46 +0000 (10:27 +0100)]
[cloudify_ims] New requirement for ims testing

Change-Id: If7b656007ae0c8aa47fb12b10c49517fc0044750
Signed-off-by: boucherv <valentin.boucher@orange.com>
7 years agoMerge "Integration of orchestra project"
Morgan Richomme [Fri, 3 Mar 2017 16:48:58 +0000 (16:48 +0000)]
Merge "Integration of orchestra project"

7 years agoAdd extra check to avoid double delete of instances 65/29665/5
Ciprian Barbu [Thu, 2 Mar 2017 17:27:24 +0000 (19:27 +0200)]
Add extra check to avoid double delete of instances

JIRA: FUNCTEST-748

Sometimes Openstack doesn't handle deletion in a timely manner which can lead
to openstack_clean to think there are leftovers from a previous test when in
fact the instances are pending deletion. This patch tries to better handle
this kind of situation that would otherwise result in a double free and
eventually <class 'nova.exception.InstanceInvalidState'> (HTTP 500)

Change-Id: Id0d9b61d8380e9b12fc7acd46cd84260714f4baf
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
7 years agoBugfix: make security_scan authorized 03/29703/2
Linda Wang [Fri, 3 Mar 2017 07:19:08 +0000 (07:19 +0000)]
Bugfix: make security_scan authorized

JIRA: FUNCTEST-732

"OS_AUTH_URL" in the file "stackrc" in undercloud is needed when
trying to obtain controller and compute nodes of openstack.
Thus, when running the security_scan.py, source stackrc is needed.
This patch will make security_scan work in CI until the patch in
securityscanning repo is merged:
https://gerrit.opnfv.org/gerrit/#/c/29705/

Change-Id: I379c3a71522973887d1ea698ab1df761354e6c36
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Use python setup.py develop to install repos"
Morgan Richomme [Fri, 3 Mar 2017 07:26:10 +0000 (07:26 +0000)]
Merge "Use python setup.py develop to install repos"

7 years agoMerge "Remove exec_test.sh"
Jose Lausuch [Thu, 2 Mar 2017 14:42:50 +0000 (14:42 +0000)]
Merge "Remove exec_test.sh"

7 years agofix KeyError: 'clean_flag' 31/29631/1
Ryota MIBU [Thu, 2 Mar 2017 10:57:18 +0000 (10:57 +0000)]
fix KeyError: 'clean_flag'

Change-Id: I26d24ed1db0668aba4c737058c82e2d655bbf818
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
7 years agoMerge "Add clean_flag to test cases"
Jose Lausuch [Thu, 2 Mar 2017 09:03:13 +0000 (09:03 +0000)]
Merge "Add clean_flag to test cases"

7 years agounify TestAPI naming 01/29601/1
SerenaFeng [Thu, 2 Mar 2017 03:06:55 +0000 (11:06 +0800)]
unify TestAPI naming

TestAPI naming in documents is quite arbitrary, test api/testapi/Test
API/testApi/TestApi..., this patch aims to give it a formal name TestAPI

Change-Id: I9ea91418814352d3176df3f35598b6c5929b1dae
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoIntegration of orchestra project 91/29591/1
Michael Pauls [Thu, 2 Mar 2017 01:47:32 +0000 (02:47 +0100)]
Integration of orchestra project

JIRA: FUNCTEST-726

Change-Id: If53e11136ccfacad9e9827e1c0397304acfdd7b2
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
7 years agoRemove exec_test.sh 31/29431/3
jose.lausuch [Mon, 27 Feb 2017 11:41:39 +0000 (12:41 +0100)]
Remove exec_test.sh

After the patch https://gerrit.opnfv.org/gerrit/#/c/29403/
all the test cases in functest have been adapted to the
new framework using modules/classes.

This patch removes the need for having the script
exec_tests.sh which is not used any more by
the framework.

Change-Id: I7547c908d2eca60edf8c867db920c7da4f23d312
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Adopt TestcaseBase for ONOS and ONOS SFC"
Jose Lausuch [Wed, 1 Mar 2017 22:13:28 +0000 (22:13 +0000)]
Merge "Adopt TestcaseBase for ONOS and ONOS SFC"

7 years agoMerge "Restructure docs"
Jose Lausuch [Wed, 1 Mar 2017 13:37:13 +0000 (13:37 +0000)]
Merge "Restructure docs"

7 years agoAdopt TestcaseBase for ONOS and ONOS SFC 03/29403/10
helenyao [Mon, 27 Feb 2017 02:27:05 +0000 (21:27 -0500)]
Adopt TestcaseBase for ONOS and ONOS SFC

1. Adopted TestcaseBase for ONOS and ONOS SFC
2. Removed the ONOS testcase from exec_test.sh

This patch is not meant to refactor the code which can
be improved in a later patch.

Change-Id: Ib8ac47742f598648c7575c9a8968477307629d42
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoUnit tests added for openstack/tempest 49/27949/8
ashishk1994 [Thu, 2 Feb 2017 21:09:31 +0000 (02:39 +0530)]
Unit tests added for openstack/tempest

_parse_verification_id method is removed
as it is not used anywhere

Change-Id: Ia2bc75ffbc2527b04cbe2428e2a3822803bde215
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
7 years agoAdded Unit Tests for ci/prepare_env 63/26363/22
ashishk1994 [Wed, 21 Dec 2016 10:39:07 +0000 (16:09 +0530)]
Added Unit Tests for ci/prepare_env

JIRA: FUNCTEST-663

Change-Id: Ie240b5f24d11e3a6079cafd260d9d48ed36d3d0a
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
7 years agoMerge "Re-enable the tests for bgpvpn scenario wich use floating ips"
Jose Lausuch [Wed, 1 Mar 2017 10:44:17 +0000 (10:44 +0000)]
Merge "Re-enable the tests for bgpvpn scenario wich use floating ips"

7 years agoRestructure docs 51/29151/5
jose.lausuch [Tue, 21 Feb 2017 14:21:45 +0000 (15:21 +0100)]
Restructure docs

DOCS directory restructured according to:
https://wiki.opnfv.org/display/DOC/Documentation+Guide

Now:
 - release
    - release notes

 - testing
    - developer
       - dev guide (this is to be released on docs.opnfv.org)
       - internship (docs about intern projects)

    - user (this is to be released on docs.opnfv.org)
       - config guide
       - user guide

Change-Id: I1851189601aac3c5989f19f99d779efe23dbf3d1
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Fix bad log message when trying to create an existing sec group"
Jose Lausuch [Wed, 1 Mar 2017 09:12:17 +0000 (09:12 +0000)]
Merge "Fix bad log message when trying to create an existing sec group"

7 years agoMerge "[odl-sfc] Add function to retrieve a resource from HEAT"
Morgan Richomme [Wed, 1 Mar 2017 08:55:31 +0000 (08:55 +0000)]
Merge "[odl-sfc] Add function to retrieve a resource from HEAT"

7 years agoMerge "Bugfix: fix the CI failure for compass and joid"
Morgan Richomme [Wed, 1 Mar 2017 08:53:47 +0000 (08:53 +0000)]
Merge "Bugfix: fix the CI failure for compass and joid"

7 years agoFix bad log message 61/29361/7
Morgan Richomme [Fri, 24 Feb 2017 13:50:17 +0000 (14:50 +0100)]
Fix bad log message
when trying to create an existing sec group

JIRA: FUNCTEST-741

Change-Id: I049cdbd854bf5c4fbc490fb0fd52689800159da5
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Correct one reference url"
Jose Lausuch [Wed, 1 Mar 2017 08:45:02 +0000 (08:45 +0000)]
Merge "Correct one reference url"

7 years agoBugfix: fix the CI failure for compass and joid 13/29513/6
helenyao [Wed, 1 Mar 2017 02:04:48 +0000 (21:04 -0500)]
Bugfix: fix the CI failure for compass and joid

The bug was induced by [1]
1. the key try logic is added back
2. the logic of patch_config_file is updated as NoneType error was
thrown
3. refactored the patch_config_file to avoid calling the same function
twice on every type of POD. For non-aarch64, only calling the function
once is enough

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

Change-Id: I2e9fdc5ac3c04800cfc898ea654ff24e2bdeaef4
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoMerge "Update cirros image to latest version"
Morgan Richomme [Wed, 1 Mar 2017 07:47:53 +0000 (07:47 +0000)]
Merge "Update cirros image to latest version"

7 years agoMerge "config_functest support muiltilevel query"
Morgan Richomme [Wed, 1 Mar 2017 07:34:35 +0000 (07:34 +0000)]
Merge "config_functest support muiltilevel query"

7 years agoMerge "Add custom tempest test."
Helen Yao [Wed, 1 Mar 2017 07:17:58 +0000 (07:17 +0000)]
Merge "Add custom tempest test."

7 years agoCorrect one reference url 19/29519/1
rohitsakala [Wed, 1 Mar 2017 03:01:50 +0000 (08:31 +0530)]
Correct one reference url

Change-Id: Ie788bcac905ffb84b70751a91996e3177f5577bf
Signed-off-by: rohitsakala <rohitsakala@gmail.com>
7 years agoAdd clean_flag to test cases 05/29505/3
jose.lausuch [Tue, 28 Feb 2017 23:28:55 +0000 (00:28 +0100)]
Add clean_flag to test cases

Some test cases such as tempest or those using SNAPS
have a built-in cleaup or teardown mechanism.
This patch helps to save some time by bypassing the
openstack snapshot and cleanup when running those
kind of tests cases.

Change-Id: I50e7a17937a813532b3756474158416d3e85b922
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoUpdate cirros image to latest version 45/29145/5
Michael Polenchuk [Tue, 21 Feb 2017 13:05:54 +0000 (17:05 +0400)]
Update cirros image to latest version

Change-Id: I81424c3670b6a6e03a38da83dc93c998bf8c2f5e
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
7 years agoUse python setup.py develop to install repos 17/28817/3
Romanos Skiadas [Thu, 16 Feb 2017 12:11:26 +0000 (14:11 +0200)]
Use python setup.py develop to install repos

This has the benefit that the repos installed in /usr/share are
exactly the same ones as in repos/, which makes development easier.

Change-Id: Iaba28116b9b291ea8d75c99771f57739e85bc20b
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years ago[odl-sfc] Add function to retrieve a resource from HEAT 37/29137/5
Juan Vidal [Tue, 21 Feb 2017 10:24:38 +0000 (10:24 +0000)]
[odl-sfc] Add function to retrieve a resource from HEAT

Introduces function to retrieve a HEAT client. For the moment, the
only wrapper function is the one to retrieve resources.

Added unit tests to cover the new functions.

python-heatclient is added to requirements.txt and test_requirements.txt.

Change-Id: I547138141c6aad611f2353599fb70a013c83058a
Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
7 years agoBugfix: fix the cirros path for aarch64 81/29481/2
Linda Wang [Tue, 28 Feb 2017 11:10:12 +0000 (11:10 +0000)]
Bugfix: fix the cirros path for aarch64

Docker build failed due to the wrong path for downloading cirros images for
aarch64. The right path should be:
http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-disk.img
http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-initramfs
http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-kernel

Change-Id: I3f1391995c10be54e178943919dabdcf5763edde
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Add aarch64 custom config"
Jose Lausuch [Tue, 28 Feb 2017 08:51:37 +0000 (08:51 +0000)]
Merge "Add aarch64 custom config"

7 years agoMerge "Add domino testcase"
Morgan Richomme [Tue, 28 Feb 2017 07:30:52 +0000 (07:30 +0000)]
Merge "Add domino testcase"

7 years agoAdd aarch64 custom config 45/28945/13
Cristina Pauna [Thu, 16 Feb 2017 10:22:21 +0000 (12:22 +0200)]
Add aarch64 custom config

In order to run functest on an aarch64 POD, some custom configuration
is needed. Up until now that custom configuration was put on the arm
jenkins slave. With this commit it is integrated in functest project.

1. In order to identify if the POD is aarch64 or x86 function
   get_arch() from https://gerrit.opnfv.org/gerrit/#/c/29099
   is used

2. Changes to config_functest.yaml are made via a new patch file
   config_aarch64_patch.yaml which is applied for all scenarios.
   Function patch_config_file() is modified to be more generic. It
   now receives a file as parameter and merges any type of patch file

3. The aarch64 cirros images are downloaded into the data directory.
   Functest can be run from both an aarch64 or a x86 jenkins slave
   in order to test an aarch64 POD. So the images are downloded in both
   dockerfiles

4. Other custom config needs to be added to /etc/rally/rally.conf
   in the docker. The custom config is set in rally_aarch64_patch.conf
   and inserted in the needed file before the rally environment is
   set up

JIRA: ARMBAND-60

Change-Id: I8e460cdf02d297c259cbbd9c05e7983367fd2bb9
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
7 years agoMerge "Unit tests for vnf/ims."
valentin boucher [Mon, 27 Feb 2017 12:27:51 +0000 (12:27 +0000)]
Merge "Unit tests for vnf/ims."

7 years agoMerge "Refactoring of cloudify_ims."
valentin boucher [Mon, 27 Feb 2017 11:11:35 +0000 (11:11 +0000)]
Merge "Refactoring of cloudify_ims."

7 years agoMerge "Add documentation of testapi internship"
Morgan Richomme [Mon, 27 Feb 2017 10:40:55 +0000 (10:40 +0000)]
Merge "Add documentation of testapi internship"

7 years agoMerge "Adding vRouter test codes using TestCasesBase"
Morgan Richomme [Mon, 27 Feb 2017 10:34:32 +0000 (10:34 +0000)]
Merge "Adding vRouter test codes using TestCasesBase"

7 years agoMerge "Remove shell Healtcheck test case"
Jose Lausuch [Sun, 26 Feb 2017 23:01:22 +0000 (23:01 +0000)]
Merge "Remove shell Healtcheck test case"

7 years agoRe-enable the tests for bgpvpn scenario wich use floating ips 41/28841/2
jose.lausuch [Thu, 16 Feb 2017 15:20:09 +0000 (16:20 +0100)]
Re-enable the tests for bgpvpn scenario wich use floating ips

Change-Id: Ia468b9c9ab9f74a3255aa3647916d1018cef2902
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoAdd custom tempest test. 49/29249/5
jose.lausuch [Wed, 22 Feb 2017 18:20:07 +0000 (19:20 +0100)]
Add custom tempest test.

Some users need to run a specific list of
tempest test cases. This patch allows them
to do that by running the command:

    functest testcase run tempest_custom

Change-Id: If8e7726b98c3a71398c7abdf80aea79f10653ebf
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Bugfix:Added the adapter info for compass and joid"
Jose Lausuch [Sat, 25 Feb 2017 19:01:00 +0000 (19:01 +0000)]
Merge "Bugfix:Added the adapter info for compass and joid"

7 years agoMerge "Add Tempest Defcore test case"
Jose Lausuch [Fri, 24 Feb 2017 17:46:54 +0000 (17:46 +0000)]
Merge "Add Tempest Defcore test case"

7 years agoAdd Tempest Defcore test case 47/29247/5
jose.lausuch [Wed, 22 Feb 2017 16:54:21 +0000 (17:54 +0100)]
Add Tempest Defcore test case

Refstack is the OpenStack project that provides the tooling
to run the approved specific tempest test cases (Defcore guidelines)
by the Interop working group and by the OpenStack board
for OpenStack certification purposes.
For more info: https://refstack.openstack.org/

This adds the possibility for a Functest user to run this list
of tempest test cases by just issuing the command:
    functest testcase run tempest_defcore

The test will be run on daily loops with the scenario nosdn-nofeature
on any installer.

Change-Id: I920b2a44cff418116008fdf514425e69dc959412
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Integration of orchestra_ims test"
Morgan Richomme [Fri, 24 Feb 2017 13:38:17 +0000 (13:38 +0000)]
Merge "Integration of orchestra_ims test"

7 years agoMerge "WIP: Cirros TestVM: Allow config of username/password"
Jose Lausuch [Fri, 24 Feb 2017 10:33:31 +0000 (10:33 +0000)]
Merge "WIP: Cirros TestVM: Allow config of username/password"

7 years agoAdding vRouter test codes using TestCasesBase 19/28619/5
h-hayashi [Tue, 14 Feb 2017 13:27:29 +0000 (22:27 +0900)]
Adding vRouter test codes using TestCasesBase

JIRA: FUNCTEST-530

1.setting "nosdn-nofeature" scinario in testcase.yaml.
1.adding process of setting result details for push DB
2.Delete of  define "vrouter_data" in config_functest.yaml.
3.modify of vrouter git tag's name  "stable".
4.modrify of testcase name "vyos_vrouter" In order to more specific.

Change-Id: I0602c01dbf9a5e71bf85943c2b5e40ef51269ffd
Signed-off-by: Hideyasu Hayashi <hideyasu.hayashi@okinawaopenlabs.org>
7 years agoIntegration of orchestra_ims test 87/28587/6
Morgan Richomme [Tue, 14 Feb 2017 07:58:35 +0000 (08:58 +0100)]
Integration of orchestra_ims test

JIRA: FUNCTEST-726

Change-Id: Ie6a35a817aa327a7e9143d93b5ea2582e99e0066
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Use new-style classes which inherit from object"
Morgan Richomme [Fri, 24 Feb 2017 07:00:48 +0000 (07:00 +0000)]
Merge "Use new-style classes which inherit from object"

7 years agoBugfix:Added the adapter info for compass and joid 65/29265/2
helenyao [Thu, 23 Feb 2017 02:45:21 +0000 (21:45 -0500)]
Bugfix:Added the adapter info for compass and joid

CI for compass and joid failed as there is no key defined in
installer_params.yaml

Change-Id: I8d17d36d854974c0751d3fd3bab4994205f786bb
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoAdd domino testcase 09/29309/1
Ulas Kozat [Thu, 23 Feb 2017 18:58:20 +0000 (10:58 -0800)]
Add domino testcase

Change-Id: I177820638c7b050764c5354cd7ed22a7ccf3acbc
Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
7 years agoMerge "Prepare env will exit when an error is raised"
Jose Lausuch [Thu, 23 Feb 2017 10:07:43 +0000 (10:07 +0000)]
Merge "Prepare env will exit when an error is raised"

7 years agoMerge "[odl-sfc] Fix wait_for_vnf returning vnf_id on timeout"
Jose Lausuch [Thu, 23 Feb 2017 10:04:21 +0000 (10:04 +0000)]
Merge "[odl-sfc] Fix wait_for_vnf returning vnf_id on timeout"

7 years agoAdd documentation of testapi internship 47/26047/19
rohitsakala [Thu, 15 Dec 2016 19:26:18 +0000 (00:56 +0530)]
Add documentation of testapi internship

JIRA: FUNCTEST-706

Change-Id: I485337c2010f1250f34dcffdca91c52793e274c5
Signed-off-by: rohitsakala <rohitsakala@gmail.com>