functest.git
6 years agoUpdate Config Guide 27/61927/2
Cédric Ollivier [Thu, 6 Sep 2018 19:10:39 +0000 (21:10 +0200)]
Update Config Guide

Change-Id: Ia3ab203a22db252ba3603d8a9f335c0257f0523b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Stop cloning when running vyos_vrouter"
Cedric Ollivier [Sat, 8 Sep 2018 12:31:50 +0000 (12:31 +0000)]
Merge "Stop cloning when running vyos_vrouter"

6 years agoStop cloning when running vyos_vrouter 99/61999/2
Cédric Ollivier [Fri, 7 Sep 2018 21:15:25 +0000 (23:15 +0200)]
Stop cloning when running vyos_vrouter

It moves the clone operation into docker build instead.

Change-Id: I296005d8638510a999665d383a26c4fcd48897a6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Fix dict conversion in tempest.conf"
Cedric Ollivier [Sat, 8 Sep 2018 08:00:36 +0000 (08:00 +0000)]
Merge "Fix dict conversion in tempest.conf"

6 years agoFix dict conversion in tempest.conf 05/62005/1
Cédric Ollivier [Sat, 8 Sep 2018 07:36:28 +0000 (09:36 +0200)]
Fix dict conversion in tempest.conf

https://github.com/openstack/oslo.config/blob/master/oslo_config/types.py#L600
https://build.opnfv.org/ci/view/fuel/job/functest-fuel-virtual-daily-master/817/consoleFull

Change-Id: Icde9938bb9f6c0c37d2504317f31b0af4ef9ee8e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Remove one useless security group"
Cedric Ollivier [Fri, 7 Sep 2018 20:39:47 +0000 (20:39 +0000)]
Merge "Remove one useless security group"

6 years agoRemove one useless security group 89/61989/1
Cédric Ollivier [Fri, 7 Sep 2018 09:32:33 +0000 (11:32 +0200)]
Remove one useless security group

This rule breaks lookup when the user created is admin.

Change-Id: I2fe3dba687bd5d151cd7e53217586a0bcb21815d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoDo not raise exceptions in conf_utils 81/61981/2
Juha Kosonen [Fri, 7 Sep 2018 10:54:38 +0000 (13:54 +0300)]
Do not raise exceptions in conf_utils

Return a reasonable value for caller to process.

Change-Id: I5a83544aaebb4e53db37ddaa13033d77848722b8
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoAdd role to users created by rally if required 25/61925/1
Cédric Ollivier [Thu, 6 Sep 2018 12:03:22 +0000 (14:03 +0200)]
Add role to users created by rally if required

It sets [openstack] keystone_default_role if NEW_USER_ROLE differs
from member.

Change-Id: Ib6be5cf22654e882ea110298cba421c1e87c78fd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoConform with Barbican gates 57/61857/3
Cédric Ollivier [Wed, 5 Sep 2018 19:48:24 +0000 (21:48 +0200)]
Conform with Barbican gates

tempest.conf conforms with Devstack post-actions [1].

One test is still disabled as it may force to sign all images.
A deeper analysis has to be done before enabling it.

[1] https://github.com/openstack/barbican-tempest-plugin/blob/master/tools/pre_test_hook.sh

Change-Id: I163c0e7c4671ca67f0b6c127c29fdcb12a8e426b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate scenario section in tempest.conf 51/61851/2
Cédric Ollivier [Wed, 5 Sep 2018 13:17:04 +0000 (15:17 +0200)]
Update scenario section in tempest.conf

It's required at least by Barbican tempest plugin.

Change-Id: I46a65ee5fee044917c5375adaa8ebb529efe86ec
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Protect vs OS_ENDPOINT_TYPE in shaker"
Cedric Ollivier [Tue, 4 Sep 2018 18:54:23 +0000 (18:54 +0000)]
Merge "Protect vs OS_ENDPOINT_TYPE in shaker"

6 years agoProtect vs OS_ENDPOINT_TYPE in shaker 07/61807/1
Cédric Ollivier [Tue, 4 Sep 2018 09:18:08 +0000 (11:18 +0200)]
Protect vs OS_ENDPOINT_TYPE in shaker

Else a conflict can occur between OS_INTERFACE and OS_ENDPOINT_TYPE.

Change-Id: I3e0237857f95e506706fb852889308ea82e41e84
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Remove vmtp and shaker from docker/smoke/testcases.yaml"
Cedric Ollivier [Tue, 4 Sep 2018 08:48:01 +0000 (08:48 +0000)]
Merge "Remove vmtp and shaker from docker/smoke/testcases.yaml"

6 years agoMerge "Create network via admin user"
Cedric Ollivier [Tue, 4 Sep 2018 08:00:00 +0000 (08:00 +0000)]
Merge "Create network via admin user"

6 years agoRemove vmtp and shaker from docker/smoke/testcases.yaml 93/61793/2
Cédric Ollivier [Tue, 4 Sep 2018 05:26:06 +0000 (07:26 +0200)]
Remove vmtp and shaker from docker/smoke/testcases.yaml

Change-Id: Ic5754821542e873bb7d33a8864a852993947b762
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAvoid cloning repos 83/61783/1
Cédric Ollivier [Mon, 3 Sep 2018 19:37:28 +0000 (21:37 +0200)]
Avoid cloning repos

It inits the repos and fetch the required tags/ids/branches.
All tags are fetched to meet pbr requirements.

Change-Id: I0accd8ad04b93d63857e301dea11af69e0edf957
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoCreate network via admin user 41/61741/3
Cédric Ollivier [Mon, 3 Sep 2018 06:10:03 +0000 (08:10 +0200)]
Create network via admin user

It creates the network via admin user as segmentation id may be set.

Change-Id: I853f40e09aee9a658fc2373cd7e8bf00e3c0c3ad
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Refactor RallyBase"
Cedric Ollivier [Mon, 3 Sep 2018 11:47:28 +0000 (11:47 +0000)]
Merge "Refactor RallyBase"

6 years agoRefactor RallyBase 69/61669/4
Juha Kosonen [Fri, 31 Aug 2018 14:04:55 +0000 (17:04 +0300)]
Refactor RallyBase

This provides a more generic way to integrate test case lists which are
not hosted in Functest.

Also removes vm scenarios since they have never been a part of actual
rally runs.

Change-Id: Ib0a020fe72800915bbf2d10ecc690a248d33c246
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoUpdate tempest plugins tags 39/61739/1
Cédric Ollivier [Mon, 3 Sep 2018 03:31:35 +0000 (05:31 +0200)]
Update tempest plugins tags

Neutron and Barbican tempest plugins have just been released.

Change-Id: Ib9c523e9a75dae31249fd84ba454d0ef8537ca1d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSwitch from tempest section to openstack 37/61737/1
Cédric Ollivier [Mon, 3 Sep 2018 03:30:43 +0000 (05:30 +0200)]
Switch from tempest section to openstack

Rally warns from these deprecated conf sections.

Change-Id: I15933c4f2cda14384e53202ec22f438a586d7b05
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMove shaker and vmtp into functest-benchmarking 11/61711/6
Cédric Ollivier [Sun, 2 Sep 2018 10:20:26 +0000 (12:20 +0200)]
Move shaker and vmtp into functest-benchmarking

It also updates all jobs and fixes Dockerhub hooks.

Change-Id: Ib182155736b4dbdb829293081741a9d5cb8ea6d7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate Xtesting to 0.60 21/61721/3
Cédric Ollivier [Sun, 2 Sep 2018 12:09:42 +0000 (14:09 +0200)]
Update Xtesting to 0.60

Xtesting leverages on stevedore [1] which will bring much more
flexibility (discovery, module or class renaming, etc).

OPNFV Features have to be updated as well:
  - https://gerrit.opnfv.org/gerrit/61713
  - https://gerrit.opnfv.org/gerrit/61715
  - https://gerrit.opnfv.org/gerrit/61717
  - https://gerrit.opnfv.org/gerrit/61719

[1] https://docs.openstack.org/stevedore/latest/

Change-Id: I0ce45eb6c9af66546c2c020eb962fa457f6c7e1a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Optimize fetch"
Cedric Ollivier [Sun, 2 Sep 2018 09:23:55 +0000 (09:23 +0000)]
Merge "Optimize fetch"

6 years agoOptimize fetch 03/61703/1
Cédric Ollivier [Sun, 2 Sep 2018 08:09:08 +0000 (10:09 +0200)]
Optimize fetch

depth 1 is set when fetching.

Change-Id: I1b470d1e370e18de9b3cfa51e5aea0374f76cac6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge changes Ib7384772,I94e94c21
Cedric Ollivier [Sun, 2 Sep 2018 07:25:00 +0000 (07:25 +0000)]
Merge changes Ib7384772,I94e94c21

* changes:
  Update to Alpine 3.8
  Publish unit test report

6 years agoUpdate to Alpine 3.8 93/61693/1
Cédric Ollivier [Sat, 1 Sep 2018 20:18:28 +0000 (22:18 +0200)]
Update to Alpine 3.8

https://alpinelinux.org/posts/Alpine-3.8.0-released.html

Change-Id: Ib7384772175dd83f735d8cfbfafa1cef3fdc382c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge changes I4079fa36,I3ad7a38e
Cedric Ollivier [Sat, 1 Sep 2018 17:56:50 +0000 (17:56 +0000)]
Merge changes I4079fa36,I3ad7a38e

* changes:
  Allow refs as vnf requirement versions
  Avoid downloading git history

6 years agoPublish unit test report 81/61681/5
Cédric Ollivier [Fri, 31 Aug 2018 18:54:42 +0000 (20:54 +0200)]
Publish unit test report

It leverages on nosehtmloutput [1]

[1] https://github.com/openstack-infra/nose-html-output

Change-Id: I94e94c2127b4ff8e032e121dd2bd56b3c22809f8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAllow refs as vnf requirement versions 67/61667/9
Cédric Ollivier [Fri, 31 Aug 2018 14:02:02 +0000 (16:02 +0200)]
Allow refs as vnf requirement versions

Change-Id: I4079fa3641373eee40f8a876a2a525635f2752eb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAvoid downloading git history 65/61665/9
Cédric Ollivier [Fri, 31 Aug 2018 13:58:14 +0000 (15:58 +0200)]
Avoid downloading git history

It decreases container build duration.
depth 1 is set only when TAG is not a commit id because
github.com doesn't advertise commit ids.

It switches to git.openstack.org as much as possible.

Change-Id: I3ad7a38eda0f7023302d71bb55de23828120f599
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Add concurrency parameter to refstack_defcore tests"
Cedric Ollivier [Fri, 31 Aug 2018 14:35:44 +0000 (14:35 +0000)]
Merge "Add concurrency parameter to refstack_defcore tests"

6 years agoEnsure len(project_name) < 64 73/61573/1
Cédric Ollivier [Thu, 30 Aug 2018 05:47:48 +0000 (07:47 +0200)]
Ensure len(project_name) < 64

https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/259/console
https://build.opnfv.org/ci/view/functest/job/functest-fuel-baremetal-daily-master/428/console

Change-Id: Ib64878962a71b6b45ef039fce8bfaa43172b2498
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Create new project/user for tempest tests"
Cedric Ollivier [Wed, 29 Aug 2018 18:12:27 +0000 (18:12 +0000)]
Merge "Create new project/user for tempest tests"

6 years agoAdd concurrency parameter to refstack_defcore tests 37/61537/1
Dimitrios Markou [Wed, 29 Aug 2018 12:03:40 +0000 (15:03 +0300)]
Add concurrency parameter to refstack_defcore tests

In fraser release we observed that refstack tests are executed in parallel
and that might causes problems in CI because without concurrency
parameter it will try to use as many cpus as possible and that might
lead to race condition issues.

This patch is created for backporting purposes to fraser branch
where the problem occurs.

JIRA: DOVETAIL-662

Change-Id: I6cf0ad3a32e88f04abd00d69523aa8ac47c39470
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
6 years agoCreate new project/user for tempest tests 19/61519/1
Juha Kosonen [Wed, 29 Aug 2018 10:59:49 +0000 (13:59 +0300)]
Create new project/user for tempest tests

JIRA: FUNCTEST-1009

Change-Id: I6b9bca3827ba6cc804c25689a896ca63eec6a78b
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoMerge "Support pre-Provisioned credentials"
Cedric Ollivier [Wed, 29 Aug 2018 09:16:16 +0000 (09:16 +0000)]
Merge "Support pre-Provisioned credentials"

6 years agoSupport pre-Provisioned credentials 85/61485/1
Cédric Ollivier [Tue, 28 Aug 2018 21:49:16 +0000 (23:49 +0200)]
Support pre-Provisioned credentials

If USE_DYNAMIC_CREDENTIALS = False, Functest is expected for
/home/opnfv/functest/data/accounts.yaml which contains the set of
pre-existing credentials to use for testing [1].

It also sets admin_domain_scope and default_credentials_domain_name.

[1] https://docs.openstack.org/tempest/latest/configuration.html

Change-Id: Ie7b81f0c56049260ca99b8e3a6d58cb8a2660659
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Remove installer type from rally blacklist"
Cedric Ollivier [Tue, 28 Aug 2018 15:47:35 +0000 (15:47 +0000)]
Merge "Remove installer type from rally blacklist"

6 years agoMerge "Remove installer type from tempest blacklist"
Cedric Ollivier [Tue, 28 Aug 2018 15:47:30 +0000 (15:47 +0000)]
Merge "Remove installer type from tempest blacklist"

6 years agoMerge "Allow adding a specific role to users created by tempest"
Cedric Ollivier [Tue, 28 Aug 2018 14:59:04 +0000 (14:59 +0000)]
Merge "Allow adding a specific role to users created by tempest"

6 years agoAllow adding a specific role to users created by tempest 69/61469/2
Cédric Ollivier [Tue, 28 Aug 2018 12:52:03 +0000 (14:52 +0200)]
Allow adding a specific role to users created by tempest

It may allow bypassing RBAC policies if required.

Change-Id: I3b7ad44d7b80f8ea757846afdcd787b686c52856
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove installer type from tempest blacklist 67/61467/2
Juha Kosonen [Tue, 28 Aug 2018 12:32:22 +0000 (15:32 +0300)]
Remove installer type from tempest blacklist

Enables utilization of blacklist also on non-OPNFV environments since
there is no link to installer type.

JIRA: FUNCTEST-1008

Change-Id: I3a012b8b7e7dbd049f8794dff3c9d56dcc1cadad
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoMerge "Protect vs TypeErrors when cleaning stacks"
Cedric Ollivier [Tue, 28 Aug 2018 11:55:50 +0000 (11:55 +0000)]
Merge "Protect vs TypeErrors when cleaning stacks"

6 years agoRemove installer type from rally blacklist 63/61463/1
Juha Kosonen [Tue, 28 Aug 2018 11:49:24 +0000 (14:49 +0300)]
Remove installer type from rally blacklist

Enables utilization of blacklist also on non-OPNFV environments since
there is no link to installer type.

JIRA: FUNCTEST-1008

Change-Id: I3eb4377af153480794c1a71c5d7ef3e78dacacb9
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoProtect vs TypeErrors when cleaning stacks 57/61457/2
Cédric Ollivier [Tue, 28 Aug 2018 09:29:35 +0000 (11:29 +0200)]
Protect vs TypeErrors when cleaning stacks

It protects vs exceptions raised by shade when cleaning stacks.

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/functest/opnfv_tests/vnf/ims/heat_ims.py", line 226, in clean
    self.cloud.delete_stack(self.stack.id, wait=True)
  File "/usr/lib/python2.7/site-packages/shade/openstackcloud.py", line 1416, in delete_stack
    marker=marker)
  File "/usr/lib/python2.7/site-packages/shade/_heat/event_utils.py", line 90, in poll_for_events
    stack_status = stack['stack_status']
TypeError: 'NoneType' object has no attribute '__getitem__'

Change-Id: I1a0ed0cd669d5234ca1ff3b6bbc9d1b13f14b02f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix snaps commit id 47/61447/1
Cédric Ollivier [Tue, 28 Aug 2018 07:39:55 +0000 (09:39 +0200)]
Fix snaps commit id

Snaps is part of main Functest testcases (Healthcheck).
A fixed version has to be pulled.

We will switch later to snaps packages instead of commit ids.

Change-Id: Ibbc3f1009233ccfb67463b49203b756ea86d3121
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSupport VIO (VMware in OpenStack) 31/61431/1
Cédric Ollivier [Mon, 27 Aug 2018 18:24:47 +0000 (20:24 +0200)]
Support VIO (VMware in OpenStack)

It allows converting all images to vmdk and then patching all
testcases. DEPLOY_SCENARIO should match vio to do so.

convert_images.sh has to be called as prerequisite.

JIRA: FUNCTEST-992
JIRA: FUNCTEST-993

Change-Id: Ie35bf80af1cd9610a8c416ec01b81b61c6148cfe
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUse only one image in heat_ims 29/61429/1
Cédric Ollivier [Mon, 27 Aug 2018 18:23:23 +0000 (20:23 +0200)]
Use only one image in heat_ims

It calls VmReady2.run instead of publishing alt image.

Change-Id: If24741fbc5bf7fa3f61ef39a054b148ce53fc4fc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAvoid duplicating jjb names 95/61395/1
Cédric Ollivier [Sun, 26 Aug 2018 09:30:11 +0000 (11:30 +0200)]
Avoid duplicating jjb names

It allows loading functest and functest-kubernetes jjbs in one
Jenkins.

Change-Id: Ia52e84583bc25aad0d1508096b536cbd5585d261
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSet juju wait version 83/61383/2
Cédric Ollivier [Sat, 25 Aug 2018 09:58:42 +0000 (11:58 +0200)]
Set juju wait version

It's mandatory before releasing.

Change-Id: Iac7b49fb1061b39ee6683e7b30f163cfc2060a95
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSet Neutron and Barbican tempest plugins commit ids 81/61381/1
Cédric Ollivier [Sat, 25 Aug 2018 09:53:58 +0000 (11:53 +0200)]
Set Neutron and Barbican tempest plugins commit ids

They are mandatory before releasing.

Change-Id: I2980536e28d183343ff0a9520ca9ee663e437fee
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove INSTALLER_TYPE logics in odl 79/61379/2
Cédric Ollivier [Sat, 25 Aug 2018 08:51:32 +0000 (10:51 +0200)]
Remove INSTALLER_TYPE logics in odl

JIRA: APEX-621
JIRA: COMPASS-606

Change-Id: I76dde66aefc67f80b40496f705f2864ea9355dcf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate pip to last version 77/61377/2
Cédric Ollivier [Sat, 25 Aug 2018 08:46:29 +0000 (10:46 +0200)]
Update pip to last version

It allows downloading refs (gerrit reviews).

Change-Id: I303f9b753f560fdf945997c7a86e1e29fbd59a06
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFully remove CreateInstanceSingleNetworkTests 75/61375/1
Cédric Ollivier [Sat, 25 Aug 2018 08:23:38 +0000 (10:23 +0200)]
Fully remove CreateInstanceSingleNetworkTests

It's linked to a specific configuration on purpose which doesn't meet
all OpenStack deployments [1].

JIRA: SNAPS-322

Change-Id: I372f8ed56600e1846383d1da76720a0d3783e901
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Auto Generated INFO.yaml file"
Cedric Ollivier [Sat, 25 Aug 2018 08:08:37 +0000 (08:08 +0000)]
Merge "Auto Generated INFO.yaml file"

6 years agoMerge "Integrate Stor4NFV feature openstack test case"
Cedric Ollivier [Sat, 25 Aug 2018 07:49:37 +0000 (07:49 +0000)]
Merge "Integrate Stor4NFV feature openstack test case"

6 years agoAuto Generated INFO.yaml file 63/51563/8
agardner [Fri, 2 Feb 2018 22:59:21 +0000 (17:59 -0500)]
Auto Generated INFO.yaml file

INFO.yaml meant to be machine readable.
This file was auto generated from an ldap lookup
and your projects INFO file.

Meeting times are not currently filled out.
please ammend this patchset to complete

Going forward comitter promotions should be done
against this file.

PTLs:
Must be merged for you to gain delete access on
testresults.opnfv.org

Change-Id: Icbe20cdc100c37203a305617fa931ef9e76e4e12
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoIntegrate Stor4NFV feature openstack test case 81/61281/3
Qiaowei Ren [Thu, 23 Aug 2018 06:03:52 +0000 (14:03 +0800)]
Integrate Stor4NFV feature openstack test case

Change-Id: I245d0fbe8f026a24138ede4041caae4dccc15cc0
Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
6 years agoMerge "Create new project/user for snaps tests"
valentin boucher [Fri, 24 Aug 2018 12:59:36 +0000 (12:59 +0000)]
Merge "Create new project/user for snaps tests"

6 years agoCreate new project/user for snaps tests 19/61319/2
Juha Kosonen [Fri, 24 Aug 2018 07:41:49 +0000 (10:41 +0300)]
Create new project/user for snaps tests

JIRA: FUNCTEST-1003

Change-Id: Ic55998977386f95f619a355d22bd285782fe81f0
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoCreate output directory 85/61285/2
Georg Kunz [Thu, 23 Aug 2018 11:56:42 +0000 (13:56 +0200)]
Create output directory

The rally.conf gets copied before the target directory has been created.

JIRA: FUNCTEST-1007
JIRA: DOVETAIL-730

Change-Id: Ie774fce994ada644c1163600e6c62e1231fde443
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
6 years agoExecute refstack_defcore in ci/run.yaml 61/61261/1
Cédric Ollivier [Wed, 22 Aug 2018 07:58:16 +0000 (09:58 +0200)]
Execute refstack_defcore in ci/run.yaml

Change-Id: Ib65203e74244d87f7ac6b24f6e6abf723c57a786
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoTemporarily disable shelve 19/61219/1
Cédric Ollivier [Tue, 21 Aug 2018 22:06:28 +0000 (00:06 +0200)]
Temporarily disable shelve

They are blocking in Orange Openlab as the support is missing.
A dynamic check has to be implemented before activating it.

Change-Id: I8d87251fa4589f96d3515e411aeec5e79b7e7960
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix fixed_network_name in tempest.conf 17/61217/1
Cédric Ollivier [Tue, 21 Aug 2018 21:31:56 +0000 (23:31 +0200)]
Fix fixed_network_name in tempest.conf

It also copies rally.conf and tempest.log in res_dir.

Change-Id: Ib907a29ba3f47ca861d3af8afc0ee74446222e89
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoci/download_images.sh: Reduce wget dot reporting 79/53479/2
Alexandru Avadanii [Sun, 11 Mar 2018 22:34:57 +0000 (23:34 +0100)]
ci/download_images.sh: Reduce wget dot reporting

Downloading large images outputs a lot of useless dots to show
progress. Switch to 1M per dot (from 1K).

Change-Id: I00e3d09ef28e7722798eeadc27649a96398aac32
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoPublish Functest daily and gate jobs 95/61095/3
Cédric Ollivier [Sun, 19 Aug 2018 11:37:31 +0000 (13:37 +0200)]
Publish Functest daily and gate jobs

As opposed to the Releng ones, they are designed to be easily
executed by endusers as well. They can be considered as a first step
towards a full Functest CI/CD toolchain deployed via docker-compose.

All components testcases are enabled here.

They hugely leverage on templates to load the right yamls per branch
and multijobs to run testcases in parallel. Many steps are proposed
allowing running part of the chain.

Executors have to be increased to allow running them (it was tested
vs 10 and more).

At first, all docker images are downloaded to avoid different
versions between testcases.

They will be improved in a second change to ensure that only one node
is selected and to take all Functest env vars into account.

Change-Id: I99c7b8ee5d0ddbb00102b3147739b5e8b5c65c23
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd vgpu in global testcases.yaml 93/61093/1
Cédric Ollivier [Sun, 19 Aug 2018 11:02:50 +0000 (13:02 +0200)]
Add vgpu in global testcases.yaml

It completes the patch introducing vgpu [1].

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

Change-Id: Ib2a22dd656d365e87a37a239f0a0ee747c95b117
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoTypos (ressources) 91/61091/1
Cédric Ollivier [Sun, 19 Aug 2018 10:43:11 +0000 (12:43 +0200)]
Typos (ressources)

Change-Id: Ifcf1d4bd48b64bc9175c3b0d594f897f4f3f5e7d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate Xtesting to 0.58.0 89/61089/1
Cédric Ollivier [Mon, 20 Aug 2018 04:16:57 +0000 (06:16 +0200)]
Update Xtesting to 0.58.0

It returns the right status if exception in constructor.

Change-Id: I163c0cbb2e1f07b2ada4a5ba28e217906946fa2c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSplit modules in apidoc 79/61079/1
Cédric Ollivier [Sat, 18 Aug 2018 16:02:54 +0000 (18:02 +0200)]
Split modules in apidoc

Change-Id: Iff2bd9377efb4e8abde35ef3fc38aca120feccaf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix rtd requirement order 75/61075/1
Cédric Ollivier [Sat, 18 Aug 2018 11:30:37 +0000 (13:30 +0200)]
Fix rtd requirement order

Change-Id: Ie2fbd978ed0bb9772d66eb367f1bdad32c5afd61
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd rtd-requirements 71/61071/1
Cédric Ollivier [Sat, 18 Aug 2018 09:25:03 +0000 (11:25 +0200)]
Add rtd-requirements

It's required by rtd which doesn't leverage on PBR.

Change-Id: Ia7ac5ecbb626d5c8b4c9095a1238db55e20790b0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoGenerate API doc rst files 67/61067/1
Cédric Ollivier [Sat, 18 Aug 2018 06:56:58 +0000 (08:56 +0200)]
Generate API doc rst files

It also fixes few docstrings

Change-Id: I10bae7b7fab40edd931dd55ab8859946e3b38a71
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoPublish Functest doc online 63/61063/1
Cédric Ollivier [Sat, 18 Aug 2018 06:09:53 +0000 (08:09 +0200)]
Publish Functest doc online

It reverts Sphinx theme to the default one as it's hugely better for
API docs.

Change-Id: Ic489e9b65d67d71fadb8ef78176a04cc382a3f5d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate refstack test version to 2018.02 53/55853/3
Linda Wang [Tue, 17 Apr 2018 03:54:26 +0000 (03:54 +0000)]
Update refstack test version to 2018.02

To conform with Openstack Queens

Change-Id: I7d65a1d7fe7c9a30e2c00a8a0eac2ab3fe1b9428
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoClean /etc/rally.conf 33/61033/1
Cédric Ollivier [Fri, 17 Aug 2018 09:22:14 +0000 (11:22 +0200)]
Clean /etc/rally.conf

Else rally_sanity may print logs in tempest_smoke res dir.

Change-Id: Iae97d533e9b99dcf8da70229b0675228472bfe52
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate restack defcore sync 19/61019/3
Cédric Ollivier [Thu, 16 Aug 2018 17:52:32 +0000 (19:52 +0200)]
Update restack defcore sync

It stops depending on refstack_client which cannot work till
OpenStack Queens.

JIRA: FUNCTEST-977

Change-Id: I2340643de82ab10d8fb83fb3a7fbfd1f412b2d7b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Allow overriding rally-tag if OpenStack master"
Cedric Ollivier [Wed, 15 Aug 2018 09:17:07 +0000 (09:17 +0000)]
Merge "Allow overriding rally-tag if OpenStack master"

6 years agoMerge "Create new project/user for rally test"
Cedric Ollivier [Wed, 15 Aug 2018 09:16:59 +0000 (09:16 +0000)]
Merge "Create new project/user for rally test"

6 years agoAllow overriding rally-tag if OpenStack master 63/60963/1
Cédric Ollivier [Tue, 14 Aug 2018 21:07:43 +0000 (23:07 +0200)]
Allow overriding rally-tag if OpenStack master

It allows setting a newer rally-openstack tag in ollivier containers
to include "Fix the gates about cinder" [1].

TypeError: create() got an unexpected keyword argument 'source_replica'

[1] https://github.com/openstack/rally-openstack/commit/67882d55ca453d6aa863d279ec4cfc2b52c80f0a
[2] https://bugs.launchpad.net/rally/+bug/1785519

Change-Id: I5ed1002f345b0a9c51783850d09d0f336d0ed3d9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate to Xtesting 0.57 49/60949/1
Cédric Ollivier [Tue, 14 Aug 2018 16:29:36 +0000 (18:29 +0200)]
Update to Xtesting 0.57

It protects vs unset POD_ARCH (It completes "Disable Vmtp if POD_ARCH
= aarch64" [1])

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

Change-Id: I343c7a9047fe09aad7b9a39d0d045ac709f07a7a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoCreate new project/user for rally test 35/60935/2
Juha Kosonen [Tue, 14 Aug 2018 13:00:58 +0000 (16:00 +0300)]
Create new project/user for rally test

FUNCTEST-1002

Change-Id: Id19b9aa70aeded6d99978084b3de4a63e31a81ad
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoRemove all lxd refs 47/60947/1
Cédric Ollivier [Tue, 14 Aug 2018 12:28:03 +0000 (14:28 +0200)]
Remove all lxd refs

All Joid runs are stopped, then these scenarios can't be maintained.

Change-Id: Ida7c8c86cbd377024047d4abbbc1806ad65afc8a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSet rally-openstack tag 31/60931/1
Cédric Ollivier [Tue, 14 Aug 2018 11:09:00 +0000 (13:09 +0200)]
Set rally-openstack tag

It also updates rally to the latest tag.
Then it will allow updating pip if required (to clone refs).

Change-Id: I6edb172954672780f627370b0dd0acf0754da635
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoConforms Vmtp with create_server_timeout 29/60929/1
Cédric Ollivier [Tue, 14 Aug 2018 10:57:44 +0000 (12:57 +0200)]
Conforms Vmtp with create_server_timeout

https://build.opnfv.org/ci/view/functest/job/functest-fuel-baremetal-daily-master/387/console

Change-Id: I3ef130bf5ad4b46f26776feeaa434ca528965f36
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoDisable Vmtp if POD_ARCH = aarch64 27/60927/1
Cédric Ollivier [Tue, 14 Aug 2018 10:56:15 +0000 (12:56 +0200)]
Disable Vmtp if POD_ARCH = aarch64

Vmtp package delivers amd64 binaries in both architectures.

JIRA: ARMBAND-396

Change-Id: I4c6e010e47c8aa9adfafb373c261262d23ef382a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAllow setting two image extra properties per testcase 11/60911/1
Cédric Ollivier [Mon, 13 Aug 2018 19:59:22 +0000 (21:59 +0200)]
Allow setting two image extra properties per testcase

It conforms with the flavor extra specs model [1].

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

Change-Id: I1555a313aaf56ae47f9ad2a4529eb8b94e636c00
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate all patch configs 91/60891/1
Cédric Ollivier [Mon, 13 Aug 2018 11:31:38 +0000 (13:31 +0200)]
Update all patch configs

It takes all new testcases into account.
It allows running vnfs vs dpdk scenarios too.

Change-Id: I789f6bb1c3df891b1a94f2a674c15085f81f2f23
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate to Xtesting 0.56 79/60879/1
Cédric Ollivier [Sun, 12 Aug 2018 10:35:37 +0000 (12:35 +0200)]
Update to Xtesting 0.56

Change-Id: Ia7eb5f6c7448bcd760ebb19e2ad66ba183242e83
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Test OpenStack vGPU feature"
Cedric Ollivier [Sat, 11 Aug 2018 08:53:15 +0000 (08:53 +0000)]
Merge "Test OpenStack vGPU feature"

6 years agoFix rally args when serial (tempest_scenario) 71/60871/1
Cédric Ollivier [Sat, 11 Aug 2018 08:32:16 +0000 (10:32 +0200)]
Fix rally args when serial (tempest_scenario)

Change-Id: I04c2389310d1377452a171da9bf50fde67e94e7c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoTest OpenStack vGPU feature 13/60713/7
Valentin Boucher [Tue, 7 Aug 2018 16:30:50 +0000 (12:30 -0400)]
Test OpenStack vGPU feature

XCI will be able to deploy this feature
on top of pharos lab with GPU so we have test it

This test can be improved in the future with OpenCL tests etc

|        DEPLOY_SCENARIO        |       os-nosdn-vgpu-ha     |

+-------------------+-------------------+------------------+----------------+
|     TEST CASE     |      PROJECT      |     DURATION     |     RESULT     |
+-------------------+-------------------+------------------+----------------+
|        vgpu       |      functest     |      01:00       |      PASS      |
+-------------------+-------------------+------------------+----------------+

Change-Id: I50618f47097a0257b1834b3966054d20458715df
Signed-off-by: Valentin Boucher <valentin.boucher@kontron.com>
6 years agoMerge "Publish rally logs to ease debugging."
Cedric Ollivier [Fri, 10 Aug 2018 16:50:17 +0000 (16:50 +0000)]
Merge "Publish rally logs to ease debugging."

6 years agoMerge "Remove explicit Rally task validation"
Cedric Ollivier [Fri, 10 Aug 2018 16:22:52 +0000 (16:22 +0000)]
Merge "Remove explicit Rally task validation"

6 years agoPublish rally logs to ease debugging. 91/60791/2
Cédric Ollivier [Thu, 9 Aug 2018 14:22:12 +0000 (16:22 +0200)]
Publish rally logs to ease debugging.

It also redirect stderr to stdout as tempest mainly prints in stderr.

JIRA: FUNCTEST-999

Change-Id: I64bfa31b01aa2ce5444b6e0f0ac46f8cde8dbaa3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove explicit Rally task validation 51/60851/1
Juha Kosonen [Fri, 10 Aug 2018 13:43:24 +0000 (16:43 +0300)]
Remove explicit Rally task validation

Utilize the output of Rally task execution since it internally
validates the task.

Use Popen.communicate to get the output from the running Rally task.

Change-Id: I9b1299bc26129ff4f89adccec611c78195a3ab02
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoSwitch to vmtp commit id 29/60829/1
Cédric Ollivier [Fri, 10 Aug 2018 10:09:23 +0000 (12:09 +0200)]
Switch to vmtp commit id

The patch "Reuse the router passed as config if available" [1] was
merged.

[1] https://review.openstack.org/#/c/588459/

Change-Id: Iad8a1ff694f0bff3e13922a6c248dbe49b313a11
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Fix method name in Vmtp"
Cedric Ollivier [Thu, 9 Aug 2018 15:59:05 +0000 (15:59 +0000)]
Merge "Fix method name in Vmtp"