functest-xtesting.git
7 years agoMerge "Complete framework documentation part for VNF"
Jose Lausuch [Tue, 10 Oct 2017 12:20:35 +0000 (12:20 +0000)]
Merge "Complete framework documentation part for VNF"

7 years agoComplete framework documentation part for VNF
Morgan Richomme [Mon, 9 Oct 2017 11:53:25 +0000 (13:53 +0200)]
Complete framework documentation part for VNF

Change-Id: I4c59adfe1cfec278e0b267cc7a05e8addd45d034
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoAdd UEFI image extra properties for CentOS image for aarch64
Delia Popescu [Mon, 9 Oct 2017 12:24:45 +0000 (15:24 +0300)]
Add UEFI image extra properties for CentOS image for aarch64

Add extra properties for CentOS image when using aarch64
architecture with UEFI boot mode

Signed-off-by: Delia Popescu <delia.popescu@enea.com>
Change-Id: Ie8aa7482627cbb3c31c6c72a31a0e37e86a409c4

7 years agoMerge "Update Config Guide"
Morgan Richomme [Thu, 5 Oct 2017 16:12:55 +0000 (16:12 +0000)]
Merge "Update Config Guide"

7 years agoUpdate Config Guide
Jose Lausuch [Tue, 3 Oct 2017 08:46:58 +0000 (10:46 +0200)]
Update Config Guide

Change-Id: If7295f553f203171f5a6efebc8d553d5dca8433a
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
7 years agoLive migration support determination in rally
Juha Kosonen [Thu, 5 Oct 2017 09:53:08 +0000 (12:53 +0300)]
Live migration support determination in rally

Live migration test cases were excluded if tempest was not executed
before rally since tempest config file is created during the execution
of tempest.

Remove the dependency to config file and define the support based on
the number of computes as done in tempest.

Change-Id: I57c18b7c57e6a4bc8bfbdfb4beb5f8d67c6269c4
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoMerge changes Ic06d47b4,I7e8be6cd,Ia62e0f00
Morgan Richomme [Tue, 3 Oct 2017 06:35:52 +0000 (06:35 +0000)]
Merge changes Ic06d47b4,I7e8be6cd,Ia62e0f00

* changes:
  Disable vyos_vrouter
  Report duration and result when vping fails
  Create a router in both vping scenarii

7 years agoDisable vyos_vrouter
Cédric Ollivier [Tue, 3 Oct 2017 04:29:23 +0000 (06:29 +0200)]
Disable vyos_vrouter

It's postponed to 5.1.

Change-Id: Ic06d47b4b5df167044363b40aea0c7932b550be7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoReport duration and result when vping fails
Cédric Ollivier [Tue, 3 Oct 2017 04:16:20 +0000 (06:16 +0200)]
Report duration and result when vping fails

It completes "Bug fix: vping_userdata test status was not properly
reported" [1].

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

Change-Id: I7e8be6cd564a24ca174e63cfc295861c51cae8ed
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoCreate a router in both vping scenarii
Cédric Ollivier [Mon, 2 Oct 2017 22:27:36 +0000 (00:27 +0200)]
Create a router in both vping scenarii

It fixes vping_userdata as it allows getting metadata due to the
gateway defined for the subnet.

It could be noted that DHCP can add the route needed if no gateway is
defined and if force_metadata is set in dhcp_agent.ini.

Change-Id: Ia62e0f00e3d2caee6262dd9cd9966d1f21fe40d5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd icmp rules for clearwaterims case
Michael Pauls [Mon, 2 Oct 2017 17:36:42 +0000 (19:36 +0200)]
Add icmp rules for clearwaterims case

icmp rules must be enabled since a ping is used internally
to check that other components are up and reachable

Change-Id: I1ae3c301f30455c57193ddfe1757e971f5612c18
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
7 years agoBug fix: vping_userdata test status was not properly reported
Morgan Richomme [Mon, 2 Oct 2017 15:11:13 +0000 (17:11 +0200)]
Bug fix: vping_userdata test status was not properly reported

vping_base is calling vping_userdata
vping_user data could return only EX_TESTCASE_FAILED or EX_OK
by default vping_base always returns EX_OK (based on self.result=100..)
it returned EX_RUN_ERROR only if upper class report EX_RUN_ERROR

that is why vping_userdata was always PASS even if the trace "Ping OK"
cannot be retrieved from the Nova console

it seems that when running the vping_userdata, we systematically got
 Failed to read iid from metadata

Change-Id: If72441dd93bffada5c7a5399c87db68d7ebeebed
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoAdd ${DOCKER_TAG} in Docker hooks
Cédric Ollivier [Mon, 2 Oct 2017 11:12:40 +0000 (13:12 +0200)]
Add ${DOCKER_TAG} in Docker hooks

It eases creating Docker images based on branches or tags.

Change-Id: Id84513c53cad72a1fcd0debf06579481609b8bc2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoEnable promise on all fuel and joid scenarii
Cédric Ollivier [Mon, 2 Oct 2017 07:56:02 +0000 (09:56 +0200)]
Enable promise on all fuel and joid scenarii

Change-Id: I9735788fbbe715968560570543d1dc9d55e065b7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "remove icmp rules from secgroups"
Morgan Richomme [Sun, 1 Oct 2017 15:28:21 +0000 (15:28 +0000)]
Merge "remove icmp rules from secgroups"

7 years agoRemove tempest_custom from testcases configs
Cédric Ollivier [Sat, 30 Sep 2017 12:00:37 +0000 (14:00 +0200)]
Remove tempest_custom from testcases configs

Change-Id: I1237eaada5257a8c01753837a5820d840b51bff1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFix userdata issue for vping and orchestra
Linda Wang [Sat, 30 Sep 2017 02:29:30 +0000 (02:29 +0000)]
Fix userdata issue for vping and orchestra

1. When creating VM, the type of the param userdata should be str, to
   conform with that in snaps [1].
2. Remove the infinite loop for vping in userdata
3. Fix the criteria for vping_userdata and vping_ssh

[1]: https://git.opnfv.org/snaps/tree/snaps/openstack/utils/nova_utils.py#n92

Change-Id: I262a7ebb93ec90bb6f8f3acb5d564f210abcfc4b
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoremove icmp rules from secgroups
Michael Pauls [Fri, 29 Sep 2017 11:03:00 +0000 (13:03 +0200)]
remove icmp rules from secgroups

Change-Id: I8f7d2170eee9777be6455d38eaff703338b155fa
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
7 years agoForce python2 when creating venv for refstack
Linda Wang [Fri, 29 Sep 2017 05:15:59 +0000 (05:15 +0000)]
Force python2 when creating venv for refstack

python3 has been selected since it was installed for doctor [1].

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

JIRA: FUNCTEST-875

Change-Id: I942122b46dc0ebe594306877f5a0350f876d7c01
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Switch to OS_PROJECT_NAME"
Cedric Ollivier [Thu, 28 Sep 2017 14:40:09 +0000 (14:40 +0000)]
Merge "Switch to OS_PROJECT_NAME"

7 years agoMerge "Fix connection error due to invalid lib version usage."
Cedric Ollivier [Thu, 28 Sep 2017 13:16:55 +0000 (13:16 +0000)]
Merge "Fix connection error due to invalid lib version usage."

7 years agoFix connection error due to invalid lib version usage.
Benoit HERARD [Thu, 28 Sep 2017 11:31:29 +0000 (13:31 +0200)]
Fix connection error due to invalid lib version usage.

Connection timeouts on "requests" objects was developped with
requests 2.18 but target runtime is 2.12.
Advanced timeout management of 2.18 is not available in 2.12.

Change-Id: Ie6d81b91d4bcc0d73cffd007d9e46cdb19e47597
Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
7 years agoMerge "Update Functest documentation for Euphrates"
Jose Lausuch [Thu, 28 Sep 2017 11:03:03 +0000 (11:03 +0000)]
Merge "Update Functest documentation for Euphrates"

7 years agoSwitch to OS_PROJECT_NAME
Cédric Ollivier [Thu, 28 Sep 2017 10:42:30 +0000 (12:42 +0200)]
Switch to OS_PROJECT_NAME

It simply conforms with OpenStack keystone v3.

JIRA: FUNCTEST-877

Change-Id: I989a6eb4d8564948927c184a899b62ca763ef824
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoUpdate Functest documentation for Euphrates
Morgan Richomme [Tue, 12 Sep 2017 09:39:11 +0000 (11:39 +0200)]
Update Functest documentation for Euphrates

- Better description of Alpine docker (default artifact)
- Reorganization of config and user guide
- Upgrade of the developer guide

Change-Id: Ie8e10f027bfcdb01c992cd161a1af2d6d6e29536
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoAdd log details on SDK first connection.
Benoit HERARD [Wed, 27 Sep 2017 12:01:28 +0000 (14:01 +0200)]
Add log details on SDK first connection.

On first call to energy recording API, if API
is unreachable, SDK don't do anything anymore.
This change add logs on error for this first connection.

Change-Id: I88892c769d6208c6ddf5d714d438ab584826844e
Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
7 years agoFix timeout for socket connection
Linda Wang [Tue, 26 Sep 2017 03:31:51 +0000 (03:31 +0000)]
Fix timeout for socket connection

Change-Id: I0688761ba7224f40f79310295efadd9b40bfeefb
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoDisable Promise testsuite on Fuel installer
Charalampos Kominos [Mon, 25 Sep 2017 13:43:04 +0000 (15:43 +0200)]
Disable Promise testsuite on Fuel installer

When promise reads API v3.0 from the creds file it automatically
uses v2.0. which is deprecated and not used by fuel. Therefore
promise is removed from the functest suite

JIRA: ARMBAND-314

Change-Id: I22b875c198c1922fd4ddb06c81c05884b5248eb4
Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
7 years agoMerge "Fix creds still used by vrouter"
Morgan Richomme [Mon, 25 Sep 2017 06:31:51 +0000 (06:31 +0000)]
Merge "Fix creds still used by vrouter"

7 years agoFix creds still used by vrouter
root [Mon, 25 Sep 2017 01:44:10 +0000 (01:44 +0000)]
Fix creds still used by vrouter

1. 'CloudifyVrouter' object has no attribute 'creds'
2. 'CloudifyVrouter' object was still use 'creds'
3. Doing test of modified vyos_vrouter on our labs.

Refer to following commit.
 https://gerrit.opnfv.org/gerrit/#/c/41249/

Change-Id: Id1b4dfa4c35aba9bbb4fd64ef58446d3e99468df
Signed-off-by: root <shuya.nakama@okinawaopenlabs.org>
7 years agoMerge "Support https when testing ODL"
Cedric Ollivier [Fri, 22 Sep 2017 05:21:00 +0000 (05:21 +0000)]
Merge "Support https when testing ODL"

7 years agoSupport https when testing ODL
Cédric Ollivier [Wed, 20 Sep 2017 08:52:33 +0000 (10:52 +0200)]
Support https when testing ODL

It conforms with the last change on ODL tests [1].
Neutron endpoint is passed via robot args instead of Neutron ip.
Keystone url (based on OS_AUTH_URL) is passed too to replace Keystone
ip.

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

Change-Id: Ie44f55304a438b1b0289ec69ac2241664be70e80
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Adding orchestra test cases to orchestra project"
Morgan Richomme [Thu, 21 Sep 2017 11:53:56 +0000 (11:53 +0000)]
Merge "Adding orchestra test cases to orchestra project"

7 years agoAdding orchestra test cases to orchestra project
Morgan Richomme [Thu, 21 Sep 2017 07:14:01 +0000 (09:14 +0200)]
Adding orchestra test cases to orchestra project

Orchestra introduced 2 VNF test cases:

 * orchestra_openims
 * orchestra_clearwaterims

In the configuration, the 2 projects are still assigned to functest project
This patch associate the cases with their real project

Change-Id: I81f6d6fb473916f0f91a5b3795b3ed433c283fb4
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoRemove void return value mocks in rally unit tests
Juha Kosonen [Thu, 21 Sep 2017 08:23:42 +0000 (11:23 +0300)]
Remove void return value mocks in rally unit tests

Change-Id: I369b98fb9120830b1868f438c7da2a039a60d890
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoRemove false hooks for functest-parser
Cédric Ollivier [Wed, 20 Sep 2017 22:59:29 +0000 (00:59 +0200)]
Remove false hooks for functest-parser

Change-Id: I58f186b249083fc13e4bcfc4e933fd11f5d4b20e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd python3-dev and python3-pip in former Dockerfile
Cédric Ollivier [Wed, 20 Sep 2017 19:02:23 +0000 (21:02 +0200)]
Add python3-dev and python3-pip in former Dockerfile

Otherwise the former container cannot be built as Doctor requires a
full updated python3 env.

Change-Id: Ic90c13abad33e7cb15e7e51dcaac83b9ddf3930b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Enable Doctor testcase"
Cedric Ollivier [Wed, 20 Sep 2017 17:27:43 +0000 (17:27 +0000)]
Merge "Enable Doctor testcase"

7 years agoMerge "Dedicated flavors for rally tests"
Jose Lausuch [Wed, 20 Sep 2017 12:40:10 +0000 (12:40 +0000)]
Merge "Dedicated flavors for rally tests"

7 years agoRemove white space when listing testcases
Linda Wang [Wed, 20 Sep 2017 10:08:09 +0000 (10:08 +0000)]
Remove white space when listing testcases

Change-Id: I2f3c7a9301a6b2dcb03a90175be23223f6a6229a
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoDedicated flavors for rally tests
Juha Kosonen [Wed, 20 Sep 2017 07:15:07 +0000 (10:15 +0300)]
Dedicated flavors for rally tests

Create flavors and use them in rally scenarios instead of expecting
certain flavors to pre-exist.

Change-Id: I77c94ab80fcabd7b80ffb36f9856a48121858009
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoMerge "Remove restriction to fuel on vyosvrouter case in Alpine"
Cedric Ollivier [Tue, 19 Sep 2017 20:01:50 +0000 (20:01 +0000)]
Merge "Remove restriction to fuel on vyosvrouter case in Alpine"

7 years agoRemove restriction to fuel on vyosvrouter case in Alpine
Morgan Richomme [Tue, 19 Sep 2017 13:48:16 +0000 (15:48 +0200)]
Remove restriction to fuel on vyosvrouter case in Alpine

It was done in old docker but not reported in Alpine

Change-Id: I3479ad996b64187f58e97cc3b4a4b2ceefeec287
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoAdd swagger support for Rest API
Linda Wang [Tue, 12 Sep 2017 07:37:19 +0000 (07:37 +0000)]
Add swagger support for Rest API

JIRA: FUNCTEST-854

Change-Id: Ic010604d3ba0cc46092cf2a1ae8bb41afa73c920
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoSelect ansible 2.3.2.0
Cédric Ollivier [Tue, 19 Sep 2017 09:39:43 +0000 (11:39 +0200)]
Select ansible 2.3.2.0

Badly the ansible version is not defined in OpenStack's
upper-constaints.txt. It must be added in the OPNFV one.

Otherwise, rally fails [1]

[1] https://build.opnfv.org/ci/job/functest-fuel-baremetal-daily-master/1866/console

Change-Id: Id6814376ce96d35db65f6290d0a31283a15de0b2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Return Functest status to Jenkins"
Cedric Ollivier [Tue, 19 Sep 2017 07:10:53 +0000 (07:10 +0000)]
Merge "Return Functest status to Jenkins"

7 years agoMerge "Fix image name in rally scenarios"
Cedric Ollivier [Tue, 19 Sep 2017 00:14:41 +0000 (00:14 +0000)]
Merge "Fix image name in rally scenarios"

7 years agoMerge "Enable parser testcase"
Cedric Ollivier [Mon, 18 Sep 2017 18:01:59 +0000 (18:01 +0000)]
Merge "Enable parser testcase"

7 years agoReturn Functest status to Jenkins
Cédric Ollivier [Mon, 18 Sep 2017 12:16:07 +0000 (14:16 +0200)]
Return Functest status to Jenkins

It avoids mixing Functest and Features CI issues by simply exiting the
status of Functest testcases. The result of third-party testcases are
printed into console but are no longer taken into account into the
global status.

Change-Id: I040ff54780db2ddb6d81993839fee09f5e472323
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFix image name in rally scenarios
Juha Kosonen [Mon, 18 Sep 2017 10:39:31 +0000 (13:39 +0300)]
Fix image name in rally scenarios

Change-Id: I0a78a16d44c1e0e0b2edec2e43954c1f08e8bb09
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoincrease timeout of NFVO installation
Michael Pauls [Mon, 18 Sep 2017 09:19:04 +0000 (11:19 +0200)]
increase timeout of NFVO installation

some pods are less powerful and require more time for the
installation of the orchestrator

Change-Id: Iebd39c0ef8f3dcfa7fecb1e507b2f05890b5c490
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
7 years agoEnable parser testcase
shangxdy [Thu, 14 Sep 2017 11:05:32 +0000 (19:05 +0800)]
Enable parser testcase

Currently parser tescase in functest disabled, it's
neccessary to enable it since we have tested successfully
with the installers of fuel, apex and daisy.

Change-Id: Ic3995cec813cc41c897b9c600b90d1fbbe8a74e2
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
7 years agoMerge "Enable Domino testcase"
Cedric Ollivier [Mon, 18 Sep 2017 07:54:47 +0000 (07:54 +0000)]
Merge "Enable Domino testcase"

7 years agoMerge "Remove securityscanning testcase"
Morgan Richomme [Mon, 18 Sep 2017 07:22:36 +0000 (07:22 +0000)]
Merge "Remove securityscanning testcase"

7 years agoMerge "Remove useless enabled: true in testcases.yaml"
Morgan Richomme [Mon, 18 Sep 2017 07:22:24 +0000 (07:22 +0000)]
Merge "Remove useless enabled: true in testcases.yaml"

7 years agoEnable Doctor testcase
dongwenjuan [Wed, 13 Sep 2017 03:21:38 +0000 (11:21 +0800)]
Enable Doctor testcase

It upates upper-constraints.txt and thirdparty-requirements.txt as
doctor-test was renamed to doctor-tests.

It installs the doctor packages and its requirements via python3.
Then python_version>='3.0' conditions are added to avoid installing
them for python2.

It also calls the new console scripts and modifies the installer
list supporting it.

Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Icd855f4534d9d9591165e99aa0eed6b1030018e0
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoEnable Domino testcase
Cédric Ollivier [Sat, 16 Sep 2017 09:38:22 +0000 (11:38 +0200)]
Enable Domino testcase

Domino is part of the OPNFV projects released for E [1].
As now Domino is ready for Functest integration (package and
requirements), the testcase can be enabled.

If the testcase fails, the issues should be related to Domino.

[1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-September/017951.html

Change-Id: I26f3d3ae338def0f77c46c2cbda1baf3d55c1a41
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoRemove securityscanning testcase
Cédric Ollivier [Sat, 16 Sep 2017 09:15:51 +0000 (11:15 +0200)]
Remove securityscanning testcase

As the project is no longer released [1], security_scan is removed
from testcases config files.

It stops installing the related python package too.

[1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-September/017951.html

Change-Id: Ieb9ff4c2975fbf2c85b875a088b0ec18503a3722
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoFix one whitespace character
Cédric Ollivier [Sat, 16 Sep 2017 08:48:00 +0000 (10:48 +0200)]
Fix one whitespace character

Change-Id: I631061178f4c96d28dfa4fcf22af0fef2c4f5db4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoRemove useless enabled: true in testcases.yaml
Cédric Ollivier [Fri, 15 Sep 2017 11:58:40 +0000 (13:58 +0200)]
Remove useless enabled: true in testcases.yaml

Change-Id: Ief2f4f580b4daef74e64d203fa1fc2be8f7e50c7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Bug fix: wrong dependency filter for lxd scenarios"
Morgan Richomme [Fri, 15 Sep 2017 09:05:41 +0000 (09:05 +0000)]
Merge "Bug fix: wrong dependency filter for lxd scenarios"

7 years agoMerge "Refactor resource creation and cleanup in rally"
Cedric Ollivier [Fri, 15 Sep 2017 08:39:02 +0000 (08:39 +0000)]
Merge "Refactor resource creation and cleanup in rally"

7 years agoBug fix: wrong dependency filter for lxd scenarios
Morgan Richomme [Fri, 15 Sep 2017 07:52:52 +0000 (09:52 +0200)]
Bug fix: wrong dependency filter for lxd scenarios

lxd scenario cannot run all the api_check tests, a regex has been set
but on the wrong dependency (installer instead of scenario)

Change-Id: I313e8d1ed3fa30488c100549f574a0cded08768f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoRefactor resource creation and cleanup in rally
Juha Kosonen [Thu, 14 Sep 2017 08:23:56 +0000 (11:23 +0300)]
Refactor resource creation and cleanup in rally

Use SNAPS to create and delete resources.

Change-Id: Ic4d390382acea2be196e8a7518cb8cce25276a45
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoEnable tempest run concurrently
Linda Wang [Fri, 15 Sep 2017 02:17:44 +0000 (02:17 +0000)]
Enable tempest run concurrently

Append a guid to the end of names of resources created for tempest,
including project, user, network, images and flavors.

Change-Id: I01fc7c5cb45cd5724a99ba1d220c3f3f7d6639cf
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "New testcase creation named "cloudify_ims_perf""
Cedric Ollivier [Thu, 14 Sep 2017 21:26:15 +0000 (21:26 +0000)]
Merge "New testcase creation named "cloudify_ims_perf""

7 years agoNew testcase creation named "cloudify_ims_perf"
boucherv [Wed, 23 Aug 2017 14:23:34 +0000 (16:23 +0200)]
New testcase creation named "cloudify_ims_perf"

* IMS deployment with "cloudify_ims" testcase
* IXIA infrastructure creation with SNAPS
* Module configuration with REST API
* Configure and run the perf tests with REST API

Change-Id: I3dfddda87f9e9f4f03df375f6a032ded26a627b3
Signed-off-by: boucherv <valentin.boucher@orange.com>
Co-Authored-By: Arturo Sordo Miralles <asordo@ixiacom.com>
7 years agoMerge "Override tempest upper-constraints in functest-parser"
Cedric Ollivier [Thu, 14 Sep 2017 20:56:19 +0000 (20:56 +0000)]
Merge "Override tempest upper-constraints in functest-parser"

7 years agoMerge "Select $OPENSTACK_TAG instead of stable/ocata"
Morgan Richomme [Thu, 14 Sep 2017 15:15:22 +0000 (15:15 +0000)]
Merge "Select $OPENSTACK_TAG instead of stable/ocata"

7 years agoOverride tempest upper-constraints in functest-parser
Cédric Ollivier [Thu, 14 Sep 2017 14:50:19 +0000 (16:50 +0200)]
Override tempest upper-constraints in functest-parser

Change-Id: Ib08fb665724bd7b7ec8f8a010486e615d2cd5f5b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoSelect $OPENSTACK_TAG instead of stable/ocata
Cédric Ollivier [Thu, 14 Sep 2017 14:25:54 +0000 (16:25 +0200)]
Select $OPENSTACK_TAG instead of stable/ocata

It modifies functest and functest-core containers.

Change-Id: I505baf460412e73d3bf4563b13edd849c2f02fac
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Optimize Alpine Dockerfiles"
Cedric Ollivier [Thu, 14 Sep 2017 07:52:03 +0000 (07:52 +0000)]
Merge "Optimize Alpine Dockerfiles"

7 years agoMerge "Allow reading log file with byte offset"
Cedric Ollivier [Thu, 14 Sep 2017 04:48:00 +0000 (04:48 +0000)]
Merge "Allow reading log file with byte offset"

7 years agoOptimize Alpine Dockerfiles
Cédric Ollivier [Wed, 13 Sep 2017 04:15:32 +0000 (06:15 +0200)]
Optimize Alpine Dockerfiles

It mainly splits vnfs runtime and build dependencies to save space at
the end.

Change-Id: I8307fa416066cc8c50b96862de8bafd2c47a2ace
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd packages in docker alpine containers
Manuel Buil [Wed, 13 Sep 2017 12:41:48 +0000 (14:41 +0200)]
Add packages in docker alpine containers

To run our SFC tests we require openssh and sshpass to be installed in
the container

Change-Id: I40b3d740855d48939f9411697abbd3bbbb70370f
Signed-off-by: Manuel Buil <mbuil@suse.com>
7 years agoMerge "Add Functest restapi container"
Cedric Ollivier [Wed, 13 Sep 2017 14:02:44 +0000 (14:02 +0000)]
Merge "Add Functest restapi container"

7 years agoMerge "Remove thirdparty-requirements.txt in smoke"
Cedric Ollivier [Wed, 13 Sep 2017 14:02:19 +0000 (14:02 +0000)]
Merge "Remove thirdparty-requirements.txt in smoke"

7 years agoMerge "Add Docker automated build hooks for Parser"
Cedric Ollivier [Wed, 13 Sep 2017 14:02:09 +0000 (14:02 +0000)]
Merge "Add Docker automated build hooks for Parser"

7 years agoAllow reading log file with byte offset
Linda Wang [Wed, 13 Sep 2017 06:26:26 +0000 (06:26 +0000)]
Allow reading log file with byte offset

Change-Id: I8cd6acef66d798fa43e20ca9d885dcbaa99a5b42
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoDisable urllib3 warnings
Linda Wang [Wed, 30 Aug 2017 09:00:27 +0000 (09:00 +0000)]
Disable urllib3 warnings

1. When running in compass OSA, lots of SubjectAltNameWarnings are
   shown in console, so just disable the warnings here.
   See https://github.com/shazow/urllib3/issues/497 for details
2. Redirect warnings issued by the warnings module to the logging system
   via logging.captureWarnings(True)
3. But urllib3 warning is still there for two cmds about rally/tempest.

Change-Id: Ic22cf8e2babc10c9d55a7ed46b841312a4e430a7
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoAdd Functest restapi container
Cédric Ollivier [Wed, 13 Sep 2017 02:45:41 +0000 (04:45 +0200)]
Add Functest restapi container

It allows running all testcases via Functest REST API [1]. 

[1] https://wiki.opnfv.org/display/functest/Running+test+cases+via+new+Functest+REST+API

Change-Id: Iaa69b7367653398582b876df1362f72c787c6b7b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoRemove thirdparty-requirements.txt in smoke
Cédric Ollivier [Wed, 13 Sep 2017 02:17:33 +0000 (04:17 +0200)]
Remove thirdparty-requirements.txt in smoke

As refstack must be installed via local dir (to sync requirements),
it's useless to list it again in a requirements file.

Change-Id: I9099fff185694fd41cf02e1265b1d4ab7659d7f2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoAdd Docker automated build hooks for Parser
Cédric Ollivier [Wed, 13 Sep 2017 01:54:14 +0000 (03:54 +0200)]
Add Docker automated build hooks for Parser

Change-Id: Ie42058fba915e3fbe9098ff14b31768723e8e24e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Fix some errors about getting tiers resources"
Jose Lausuch [Tue, 12 Sep 2017 07:35:35 +0000 (07:35 +0000)]
Merge "Fix some errors about getting tiers resources"

7 years agoMerge "set marketplace port to 8080 for NFVO"
Morgan Richomme [Tue, 12 Sep 2017 06:06:25 +0000 (06:06 +0000)]
Merge "set marketplace port to 8080 for NFVO"

7 years agoMerge "Re-enable orchestra tests (VNF)"
Cedric Ollivier [Tue, 12 Sep 2017 05:00:48 +0000 (05:00 +0000)]
Merge "Re-enable orchestra tests (VNF)"

7 years agoFix some errors about getting tiers resources
Linda Wang [Tue, 12 Sep 2017 03:40:23 +0000 (03:40 +0000)]
Fix some errors about getting tiers resources

Change-Id: I95cf1cb453e30875498d4dfbbe15f19452c48df1
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoset marketplace port to 8080 for NFVO
Michael Pauls [Mon, 11 Sep 2017 15:43:56 +0000 (17:43 +0200)]
set marketplace port to 8080 for NFVO

Change-Id: I336b54e63fcb4a7e64f139628536f334c86b1745
JIRA: ORCHESTRA-17
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
7 years agoFix bug in cloudify_ims: no return code
boucherv [Mon, 11 Sep 2017 15:36:07 +0000 (17:36 +0200)]
Fix bug in cloudify_ims: no return code

Change-Id: I89ab2f9b57d9f4710201af5852aa12925f122079
Signed-off-by: boucherv <valentin.boucher@orange.com>
7 years agoRemove volume type handling
Juha Kosonen [Mon, 11 Sep 2017 10:43:05 +0000 (13:43 +0300)]
Remove volume type handling

Rally scenarios don't require volume type to exist as a precondition.

Change-Id: Id735346e062af084635fd8f76f3686005b9b8add
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
7 years agoRe-enable orchestra tests (VNF)
Morgan Richomme [Mon, 11 Sep 2017 08:38:05 +0000 (10:38 +0200)]
Re-enable orchestra tests (VNF)

"Marketplace is now running on port 8080. In addition, we have extended the
marketplace backend in order to return the last modified header so that images
are not re-downloaded all the time tests are executed. It should be done by
Monday EOB" [1]

[1]: https://jira.opnfv.org/browse/ORCHESTRA-17?jql=project%20%3D%20ORCHESTRA

JIRA: ORCHESTRA-17

Change-Id: I17f6316003be9c2c3131ed640e6a32e482d1a174
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Allow live migration related tests to run"
Cedric Ollivier [Mon, 11 Sep 2017 07:31:34 +0000 (07:31 +0000)]
Merge "Allow live migration related tests to run"

7 years agoMerge "Remove Parser from the former Container"
Cedric Ollivier [Mon, 11 Sep 2017 06:37:53 +0000 (06:37 +0000)]
Merge "Remove Parser from the former Container"

7 years agoAllow live migration related tests to run
Linda Wang [Mon, 11 Sep 2017 06:15:40 +0000 (06:15 +0000)]
Allow live migration related tests to run

For tempest or rally, if there are more than 1 compute node, live
migration related tests should not be skipped or blacklisted if
shared storage is enabled via ceph.

Change-Id: Ic93e4f508b597c657abe8d246f0cf9c2b5dfd020
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Remove get_repo_tag"
Cedric Ollivier [Mon, 11 Sep 2017 06:08:20 +0000 (06:08 +0000)]
Merge "Remove get_repo_tag"

7 years agoRemove Parser from the former Container
Cédric Ollivier [Sat, 9 Sep 2017 09:58:05 +0000 (11:58 +0200)]
Remove Parser from the former Container

A dedicated Alpine container has been built for running the Parser
testcase as it requires stable/pike instead of stable/ocata.

Change-Id: Ifece75c64c1ed860eca7d0524ca581f41fc89276
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoMerge "Exclude api_check on lxd scenarios"
Morgan Richomme [Fri, 8 Sep 2017 09:42:06 +0000 (09:42 +0000)]
Merge "Exclude api_check on lxd scenarios"

7 years agoMerge "Use git commit id for refstack-client"
Morgan Richomme [Fri, 8 Sep 2017 09:27:06 +0000 (09:27 +0000)]
Merge "Use git commit id for refstack-client"

7 years agoMerge "Fix pylint errors in test_refstack_client"
Cedric Ollivier [Fri, 8 Sep 2017 08:48:35 +0000 (08:48 +0000)]
Merge "Fix pylint errors in test_refstack_client"

7 years agoUse git commit id for refstack-client
Cédric Ollivier [Fri, 8 Sep 2017 08:42:29 +0000 (10:42 +0200)]
Use git commit id for refstack-client

Functest should be based on fixed versions of projects which are out
of OPNFV. It selects the last git commit as refstack-client hasn't
defined any tag or branch.

Change-Id: Id7c5ecb0ef88fd1a2b8f34ddfc22c87b7f78c8d4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>