functest.git
6 years agoWrap Functest Ascii Diagram in literal text block 61/46061/1 opnfv-5.0.0 opnfv-5.0.RC1
Trevor Bramwell [Fri, 20 Oct 2017 18:16:34 +0000 (11:16 -0700)]
Wrap Functest Ascii Diagram in literal text block

Sphinx currently thinks this diagram is a table and outputing a warning.
Using '::' provides a hint to sphinx that the ascii diagram is literal
text and not a table.

Change-Id: Ie005cc059b9e97aacda0d75d0213b18477e55d38
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoSave Euphrates results in repo 31/46031/1
Morgan Richomme [Fri, 20 Oct 2017 10:04:54 +0000 (12:04 +0200)]
Save Euphrates results in repo

Change-Id: I6e7fb1d4b81572a151f47fc071a1ae27f1b41e97
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 39f856fd8304cdb056beb61d85c81a0613230e40)

6 years agoMerge "Get the right git commit ids for ubuntu image" into stable/euphrates
Cedric Ollivier [Fri, 20 Oct 2017 05:21:32 +0000 (05:21 +0000)]
Merge "Get the right git commit ids for ubuntu image" into stable/euphrates

6 years agoGet the right git commit ids for ubuntu image 47/45947/1
Linda Wang [Fri, 20 Oct 2017 03:46:17 +0000 (03:46 +0000)]
Get the right git commit ids for ubuntu image

Complement https://gerrit.opnfv.org/gerrit/#/c/45017

Change-Id: If52dee7c16dcc8606e72ebc198bc36e713792418
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit ae660ffa3285307edd41898cb2eaba22864d4f2d)

6 years agoTake into account a feedback from the meeting 33/45933/1
Cédric Ollivier [Thu, 19 Oct 2017 18:30:07 +0000 (20:30 +0200)]
Take into account a feedback from the meeting

Change-Id: Ia221d08003588aae045604a18ce1ecc833f0e34e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRelease notes for Euphrates 5.0 99/45799/1
Jose Lausuch [Wed, 18 Oct 2017 19:15:52 +0000 (21:15 +0200)]
Release notes for Euphrates 5.0

Change-Id: Icdce56bdacba8530cc2f35c8f3c6b1acfd4bf522
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
(cherry picked from commit 0186e01c421e99786dffbfd4ef8fb41a65e7fdbb)

6 years agoHarmonization titles of the testing project 93/45593/1
Morgan Richomme [Wed, 18 Oct 2017 06:46:34 +0000 (08:46 +0200)]
Harmonization titles of the testing project

Change-Id: I9ebb488d77274219fca556760f0408a2bb1f6880
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 198b2ab033ea14a079123dbe12d85950b95c68bd)

6 years agoFix another typos in dockerslicing.md 65/45565/1
Cédric Ollivier [Wed, 18 Oct 2017 14:28:15 +0000 (16:28 +0200)]
Fix another typos in dockerslicing.md

Change-Id: I16f28649b000e9370e7c71f36668c417854fb91e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 9a075b1187522047c931127d74fbdeb7fd6ac617)

6 years agoFix 1 typo in dockerslicing.md 31/45531/1
Cédric Ollivier [Wed, 18 Oct 2017 12:53:03 +0000 (14:53 +0200)]
Fix 1 typo in dockerslicing.md

Change-Id: I0bb4c46d3b554cca1dfcaafbf564d9871957c346
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 55d1287585fac93d05e9da5aae8cd1f23a372f1d)

6 years agoComplete dockerslicing.md 27/45527/1
Cédric Ollivier [Tue, 17 Oct 2017 18:06:41 +0000 (20:06 +0200)]
Complete dockerslicing.md

It mainly precises that all requirements were not synchronized over
the OPNFV projects in Danube and adds 2 OPNFV project poposals.

Change-Id: I2e89f9cdf3db58d41acaa31560232807988bd84a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit a56003230966320b10e47eddb42fa797735c1b71)

6 years agoUpdate blacklist about migration tests for rally 63/45463/1
Linda Wang [Tue, 17 Oct 2017 09:25:06 +0000 (09:25 +0000)]
Update blacklist about migration tests for rally

The test NovaServers.boot_and_migrate_server needs at least 2 compute
nodes:
https://github.com/openstack/rally/blob/stable/0.9/rally/plugins/openstack/scenarios/nova/servers.py#L763-L765

Change-Id: I4ddf99188094ced57225d886037b00e91f3b68e6
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit 613c672ac166ca92ce1284131ec06446e07e0023)

6 years agoEnhance the compatibility judgement of INSTALLER 85/45285/1
Linda Wang [Mon, 16 Oct 2017 02:34:03 +0000 (02:34 +0000)]
Enhance the compatibility judgement of INSTALLER

When the env INSTALLER_TYPE is None, while the var installer in
dependencies is not None, the current test case should not be run.

Change-Id: If1b67f16f39d5c44b2c3729819dd665faed41b73
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit 801a53baa1229fd4a88bb1aad692b86f536d970d)

6 years agoUpdate Docker slicing presentation 81/45281/1
Cédric Ollivier [Mon, 16 Oct 2017 15:22:39 +0000 (17:22 +0200)]
Update Docker slicing presentation

It conforms with Euphrates.

Change-Id: I44b65ce75147381c7d437881c6c8da9cfe3aab21
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit baf0e5f6d19205a122b69879e2bbf258393ebf86)

6 years agoUpdate requests to 2.13.0 in virtualenvs 99/45199/1
Cédric Ollivier [Mon, 16 Oct 2017 09:42:47 +0000 (11:42 +0200)]
Update requests to 2.13.0 in virtualenvs

It completes "Force requests===2.13.0" [1] which only updated all
Docker files.

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

Change-Id: I416e01d86e82eb9e267a31463e75b6a4e11485c4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 516c2497c84818b94de5dbef01683344e476dcfd)

6 years agoUpdate project field of fds testcase to fastdatastacks 07/45107/2
juraj.linkes [Sat, 14 Oct 2017 08:21:18 +0000 (10:21 +0200)]
Update project field of fds testcase to fastdatastacks

Fds testcases is defined under project fastdatastacks, not
functest. The fix is required for testcase results uploads.

Change-Id: Ided0701048d0b4c0257c62d600893672960d83df
Signed-off-by: juraj.linkes <jlinkes@cisco.com>
(cherry picked from commit 8797d07d0be8309a1cdcc3c1c67b20ba064a4420)

6 years agoForce requests===2.13.0 01/45101/1
Cédric Ollivier [Fri, 13 Oct 2017 20:43:30 +0000 (22:43 +0200)]
Force requests===2.13.0

It overrides OpenStack's upper-constraints to allow rally to work vs
a self signed certificate.

It will be pushed to the right OpenStack project after the patch is
confirmed by CI. Euphrates will be released too early regarding the
full upstream cycle required.

JIRA: FUNCTEST-876

Change-Id: I52656f8b98fced103f13dde039082806636c680a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit fedc26596ada9d35bb49f08259a7e5ba4cf13ae7)

6 years agoGet the right git commit ids 19/45019/2
Cédric Ollivier [Fri, 13 Oct 2017 12:29:14 +0000 (14:29 +0200)]
Get the right git commit ids

Co-Authored-By: Linda Wang <wangwulin@huawei.com>
Change-Id: I08ad30156049ac0814fcebfc0f116176331c1dd3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 7db506b8c184917d0986b14722bbbf95b7fce3d3)

6 years agoConform with Docker ARCH names 01/45001/1
Cédric Ollivier [Fri, 13 Oct 2017 08:38:38 +0000 (10:38 +0200)]
Conform with Docker ARCH names

It switches Docker tags:
  - x86_64 -> amd64
  - aarch64 -> arm64

Conflicts:
    .travis.yml
    build.sh

Change-Id: I05575dd728e7502a891a3ee3015f81ac8e3f7a92
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit a8acc48148313229b4e6771374ece9256d75b26c)

6 years agoFix find calls in build.sh 81/44981/1
Cédric Ollivier [Fri, 13 Oct 2017 07:33:38 +0000 (09:33 +0200)]
Fix find calls in build.sh

It completes "Allow building aarch64 images" [1]

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

Change-Id: I5dcb98be7f296227693d3f889c9747d944bcc86d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Allow building aarch64 images" into stable/euphrates
Cedric Ollivier [Fri, 13 Oct 2017 06:20:20 +0000 (06:20 +0000)]
Merge "Allow building aarch64 images" into stable/euphrates

6 years agoMerge "Publish Docker Slicing Presentation" into stable/euphrates
Cedric Ollivier [Fri, 13 Oct 2017 06:19:39 +0000 (06:19 +0000)]
Merge "Publish Docker Slicing Presentation" into stable/euphrates

6 years agoUpdate releng git commit id 45/44945/1
Cédric Ollivier [Thu, 12 Oct 2017 17:54:14 +0000 (19:54 +0200)]
Update releng git commit id

It mainly integrates "Do not use capital letters to refer to osa" [1]
required by OPNFV SFC.

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

Change-Id: I658cfd5bbda91eeecb0c40a096ac5e630e427b09
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAllow building aarch64 images 31/44931/2
Cédric Ollivier [Wed, 11 Oct 2017 03:29:11 +0000 (05:29 +0200)]
Allow building aarch64 images

It must be noted that Docker automated build cannot create these
images as the prerequisites are unmet to cross-compile [1].

It also publishes a travis config file [2].

[1] https://www.kernel.org/doc/html/v4.11/admin-guide/binfmt-misc.html
[2] https://travis-ci.org/collivier/functest/builds/286932633

Conflicts:
    build.sh

Change-Id: I11fdef410cc40989132205a098410175f789fdef
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit ed777b643b05fbb71851df0b883483e0bcaa4ac1)

6 years agoPublish Docker Slicing Presentation 29/44929/1
Cédric Ollivier [Tue, 10 Oct 2017 13:44:00 +0000 (15:44 +0200)]
Publish Docker Slicing Presentation

It published the presentation done in the Functest Breakout during
last OPNFV Summit (2017 in Beijing) [1].

Minor changes are planned to update it in a second change.

Git now ignores pdf which may be generated via reveal.js.

[1] http://testresults.opnfv.org/functest/dockerslicing/

Change-Id: I2b6cf113c672320bf1bc34442bb267fd99012546
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit cb52dd523c58a6567b53ea5b79169295e1471117)

6 years agoUpdate userguide and configguide 25/44925/1
Linda Wang [Wed, 11 Oct 2017 02:36:17 +0000 (02:36 +0000)]
Update userguide and configguide

Mainly remove the duplicated declaration of cloudify_ims_perf.

Change-Id: Ic23cee0e2dbb863cfddc98b08eabdab7d52e0476
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit e12d4f14b65ba08904a65e188db17992478d67a7)

6 years agoInclude tempest_custom in the documentation 09/44809/1
Jose Lausuch [Tue, 10 Oct 2017 14:17:15 +0000 (16:17 +0200)]
Include tempest_custom in the documentation

Change-Id: I86300fff399d1bc73eeeed76b5057e3f6d2f85f3
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
(cherry picked from commit 832bb86db4fba9f65aebf09c058592d28e418134)

6 years agoFix the format issue of documentation 05/44805/1
Linda Wang [Tue, 10 Oct 2017 11:29:42 +0000 (11:29 +0000)]
Fix the format issue of documentation

Also update the structure of functest code.

Change-Id: Id3fa012d6c3204a0a8d7e6e4ba3159c52b68c6f5
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit 79140281403a83ecfededbd1b58bf668bd4d1901)

6 years agoUpdate Config Guide 03/44803/1
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>
(cherry picked from commit b2735c0a1eb76a184b2ba133045041d92f32abed)

6 years agoUpdate Functest documentation for Euphrates 95/44795/1
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>
(cherry picked from commit 5504724dc69096b36948de9bd07b82f5058242f0)

6 years agoMerge "Complete framework documentation part for VNF" into stable/euphrates
Cedric Ollivier [Tue, 10 Oct 2017 14:01:40 +0000 (14:01 +0000)]
Merge "Complete framework documentation part for VNF" into stable/euphrates

6 years agoComplete framework documentation part for VNF 79/44679/1
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>
(cherry picked from commit ee2eb17dbe52418f6bdc6201f78b9f1e8858fdcc)

6 years agoModify the egg name for parser 75/44675/1
shangxdy [Tue, 10 Oct 2017 12:08:13 +0000 (20:08 +0800)]
Modify the egg name for parser

Currently the egg name for heat-translator has been changed
to nfv-heattranslator in parser project, this patch will modify
the docker file.
related patches:
https://gerrit.opnfv.org/gerrit/#/c/41261/

Change-Id: I2d5d214c722fc133aa015a1c9620a49709db17bb
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
(cherry picked from commit d3b74fac61c255430b5589b49d714b441772e248)

6 years agoAdd UEFI image extra properties for CentOS image for aarch64 85/44585/1
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

6 years agoLive migration support determination in rally 47/44347/2
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>
(cherry picked from commit da2f6a0aabf3b5473e1d2d3f55a5f6c9bb6c8559)

6 years agoMerge "Select euphrates zip in cloudify_ims*.yaml" into stable/euphrates
Cedric Ollivier [Tue, 3 Oct 2017 08:21:17 +0000 (08:21 +0000)]
Merge "Select euphrates zip in cloudify_ims*.yaml" into stable/euphrates

6 years agoMerge "Create a router in both vping scenarii" into stable/euphrates
Cedric Ollivier [Tue, 3 Oct 2017 07:58:47 +0000 (07:58 +0000)]
Merge "Create a router in both vping scenarii" into stable/euphrates

6 years agoMerge "Report duration and result when vping fails" into stable/euphrates
Cedric Ollivier [Tue, 3 Oct 2017 07:44:33 +0000 (07:44 +0000)]
Merge "Report duration and result when vping fails" into stable/euphrates

6 years agoSelect euphrates zip in cloudify_ims*.yaml 23/44023/1
Cédric Ollivier [Tue, 3 Oct 2017 07:41:05 +0000 (09:41 +0200)]
Select euphrates zip in cloudify_ims*.yaml

Co-Authored-By: valentin boucher <valentin.boucher@orange.com>
Change-Id: Ie7c3d10952662888718c70a3f8055ebca9e85d4d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Disable vyos_vrouter" into stable/euphrates
Cedric Ollivier [Tue, 3 Oct 2017 07:31:57 +0000 (07:31 +0000)]
Merge "Disable vyos_vrouter" into stable/euphrates

6 years agoMerge "Fix timeout for socket connection" into stable/euphrates
Jose Lausuch [Tue, 3 Oct 2017 06:37:04 +0000 (06:37 +0000)]
Merge "Fix timeout for socket connection" into stable/euphrates

6 years agoCreate a router in both vping scenarii 15/44015/1
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>
(cherry picked from commit a691a8c2868d3f8af531e0bff513023c3a704aaf)

6 years agoReport duration and result when vping fails 11/44011/1
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>
(cherry picked from commit 5ffb995c110be39364535f56c86c46d092b8cea0)

6 years agoDisable vyos_vrouter 09/44009/1
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>
(cherry picked from commit ef034e78a6a3cfe90da77a60ae88d0d6bfddfb2e)

6 years agoAdd icmp rules for clearwaterims case 05/44005/1
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>
(cherry picked from commit 4a27c90843abd3a8d002e37f0f9f22307f2ec9fc)

6 years agoFix timeout for socket connection 03/44003/1
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>
(cherry picked from commit 112e652af2b2f61192d3f1bd903522a14be06b94)

6 years agoBug fix: vping_userdata test status was not properly reported 19/43919/1
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>
(cherry picked from commit e36a14f6db0bc5ac93469bb553810de506f29bef)

6 years agoAdd ${DOCKER_TAG} in Docker hooks 55/43855/1
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.

Conflicts:
docker/components/hooks/post_checkout
docker/features/hooks/post_checkout
docker/healthcheck/hooks/post_checkout
docker/restapi/hooks/post_checkout
docker/smoke/hooks/post_checkout
docker/vnf/hooks/post_checkout

Change-Id: Id84513c53cad72a1fcd0debf06579481609b8bc2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 29647efa114151d53ede5ba2d989593992c0b29f)

6 years agoEnable promise on all fuel and joid scenarii 21/43821/1
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>
(cherry picked from commit 36b648a6e928ac0819a607cd2231faa803418b7a)

6 years agoremove icmp rules from secgroups 93/43793/1
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>
(cherry picked from commit c93ae73855ba928eb6661ac2468c5a0bae7c5506)

6 years agoRemove tempest_custom from testcases configs 89/43789/1
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>
(cherry picked from commit a8f1d8ea374c9538b1d7a223116d8d7d9b783c89)

6 years agoFix userdata issue for vping and orchestra 77/43777/1
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>
(cherry picked from commit 5a24cb4a7db33e693a063f5c2a66406283aa5cfb)

6 years agoForce python2 when creating venv for refstack 87/43587/1
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>
(cherry picked from commit f36d607e1b8f7660bbcb4c06d589d4eeb76158e3)

6 years agoMerge "Fix connection error due to invalid lib version usage." into stable/euphrates
Cedric Ollivier [Thu, 28 Sep 2017 17:09:57 +0000 (17:09 +0000)]
Merge "Fix connection error due to invalid lib version usage." into stable/euphrates

6 years agoMerge "Add log details on SDK first connection." into stable/euphrates
Cedric Ollivier [Thu, 28 Sep 2017 17:09:39 +0000 (17:09 +0000)]
Merge "Add log details on SDK first connection." into stable/euphrates

6 years agoSwitch to OS_PROJECT_NAME 79/43479/1
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>
(cherry picked from commit 5c178f0d30f0701dee0d0a629023f05edfde338e)

6 years agoFix connection error due to invalid lib version usage. 61/43461/1
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>
(cherry picked from commit 86d5c31424187329f69a7e0efaa9dbe0dac98e56)

6 years agoAdd log details on SDK first connection. 59/43459/1
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>
(cherry picked from commit 405a0872282f5b29bb9e60ba19b11b17c8047647)

6 years agoAdd post_push hooks 55/43355/3
Cédric Ollivier [Wed, 27 Sep 2017 19:07:58 +0000 (21:07 +0200)]
Add post_push hooks

It allows creating the stable tags as allowed by Docker hub [1].

[1] https://github.com/docker/hub-feedback/issues/341

Change-Id: I84909b20fc8b926eb5414db7d57100aaa6060f84
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoDisable Promise testsuite on Fuel installer 47/43047/1
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>
(cherry picked from commit 8c3791f730effbf09fc95ef2bc66ff0d0a37e87b)

6 years agoFix creds still used by vrouter 17/42917/1
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>
(cherry picked from commit 233a9bf775c1e9fe66e588ec45266c15bdb142b1)

6 years agoMerge "Support https when testing ODL" into stable/euphrates
Morgan Richomme [Fri, 22 Sep 2017 06:28:56 +0000 (06:28 +0000)]
Merge "Support https when testing ODL" into stable/euphrates

6 years agoSupport https when testing ODL 19/42719/1
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/

Conflicts:
    docker/restapi/Dockerfile
    docker/smoke/Dockerfile

Change-Id: Ie44f55304a438b1b0289ec69ac2241664be70e80
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit dd99f5356ef08f3a2a1ed18d63492391390df752)

6 years agoAdding orchestra test cases to orchestra project 47/42647/1
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>
(cherry picked from commit 2aa38f32b9ea0cb248f25d52f100240b2a002bc6)

6 years agoRemove void return value mocks in rally unit tests 23/42623/1
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>
(cherry picked from commit 31524290992dad02d5ca1e6b17304bf31b56b7f7)

6 years agoMerge "Remove white space when listing testcases" into stable/euphrates
Cedric Ollivier [Thu, 21 Sep 2017 05:04:07 +0000 (05:04 +0000)]
Merge "Remove white space when listing testcases" into stable/euphrates

6 years agoMerge "Dedicated flavors for rally tests" into stable/euphrates
Cedric Ollivier [Thu, 21 Sep 2017 05:03:52 +0000 (05:03 +0000)]
Merge "Dedicated flavors for rally tests" into stable/euphrates

6 years agoMerge "Fix image name in rally scenarios" into stable/euphrates
Cedric Ollivier [Thu, 21 Sep 2017 05:03:44 +0000 (05:03 +0000)]
Merge "Fix image name in rally scenarios" into stable/euphrates

6 years agoMerge "Remove restriction to fuel on vyosvrouter case in Alpine" into stable/euphrates
Cedric Ollivier [Thu, 21 Sep 2017 05:03:35 +0000 (05:03 +0000)]
Merge "Remove restriction to fuel on vyosvrouter case in Alpine" into stable/euphrates

6 years agoRemove false hooks for functest-parser 83/42583/1
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>
(cherry picked from commit 47c049623b07dd563218959ad59c0e027a354836)

6 years agoAdd python3-dev and python3-pip in former Dockerfile 63/42563/1
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>
(cherry picked from commit 95ffa691887b35cd60d287f13d8633094110d78e)

6 years agoDedicated flavors for rally tests 61/42561/1
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>
(cherry picked from commit 3b98874f010329198b8c3a13a4711c17a593b9cc)

6 years agoFix image name in rally scenarios 59/42559/1
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>
(cherry picked from commit a9cb468fae75d4e95689fa9ea02a94a73df95648)

6 years agoRemove restriction to fuel on vyosvrouter case in Alpine 57/42557/1
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>
(cherry picked from commit 55b11d41b5d96e159c4abf3df6c03245d4f737dc)

6 years agoRemove white space when listing testcases 55/42555/1
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>
(cherry picked from commit e4ad79cabc3292a1cb0d8642f0c9eddbbc2befd1)

6 years agoEnable Doctor testcase 49/42549/1
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.

Conflicts:
    upper-constraints.txt

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>
(cherry picked from commit 1e1fba3aa18ebcbff6746586654805a44e88e9fe)

6 years agoAdd swagger support for Rest API 27/42427/1
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>
(cherry picked from commit b621b6b4b70299a60ad3e26ed6b04450f84b603e)

6 years agoUpdate Docker hooks 09/42409/1
Cédric Ollivier [Tue, 19 Sep 2017 12:17:06 +0000 (14:17 +0200)]
Update Docker hooks

It takes euphrates into account in Docker tag name.

Change-Id: Id455152655c8174b7cab9780c27d923f33173f28
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Select ansible 2.3.2.0" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:54:31 +0000 (11:54 +0000)]
Merge "Select ansible 2.3.2.0" into stable/euphrates

6 years agoMerge "Return Functest status to Jenkins" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:33:04 +0000 (11:33 +0000)]
Merge "Return Functest status to Jenkins" into stable/euphrates

6 years agoMerge "Enable parser testcase" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:08:53 +0000 (11:08 +0000)]
Merge "Enable parser testcase" into stable/euphrates

6 years agoMerge "Enable Domino testcase" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:08:37 +0000 (11:08 +0000)]
Merge "Enable Domino testcase" into stable/euphrates

6 years agoMerge "Remove securityscanning testcase" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:06:18 +0000 (11:06 +0000)]
Merge "Remove securityscanning testcase" into stable/euphrates

6 years agoMerge "Remove useless enabled: true in testcases.yaml" into stable/euphrates
Cedric Ollivier [Tue, 19 Sep 2017 11:06:03 +0000 (11:06 +0000)]
Merge "Remove useless enabled: true in testcases.yaml" into stable/euphrates

6 years agoMerge "Prepare Functest euphrates containers" into stable/euphrates
Jose Lausuch [Tue, 19 Sep 2017 10:16:10 +0000 (10:16 +0000)]
Merge "Prepare Functest euphrates containers" into stable/euphrates

6 years agoMerge "Fix one whitespace character" into stable/euphrates
Jose Lausuch [Tue, 19 Sep 2017 10:15:58 +0000 (10:15 +0000)]
Merge "Fix one whitespace character" into stable/euphrates

6 years agoMerge "Fix stable/euphrates .gitreview" into stable/euphrates
Jose Lausuch [Tue, 19 Sep 2017 10:15:53 +0000 (10:15 +0000)]
Merge "Fix stable/euphrates .gitreview" into stable/euphrates

6 years agoSelect ansible 2.3.2.0 03/42403/1
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>
(cherry picked from commit c3c326570b29276d5ac2f703f64fb5f797de62d2)

6 years agoReturn Functest status to Jenkins 73/42373/2
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>
(cherry picked from commit 516d1bd7811f5751d796748ddd52f798bbd5a40f)

6 years agoEnable parser testcase 21/42321/2
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>
(cherry picked from commit 734cb4d6d66b2fa638e82d366d480404997e005e)

6 years agoEnable Domino testcase 01/42201/2
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>
(cherry picked from commit 555ac3f8656004d469c04370448a8a46f8a1418d)

6 years agoRemove securityscanning testcase 99/42199/2
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

Conflicts:
      upper-constraints.txt

Change-Id: Ieb9ff4c2975fbf2c85b875a088b0ec18503a3722
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 59999eb2f2bf3b28c50a9b75fc551192450d28e3)

6 years agoRemove useless enabled: true in testcases.yaml 97/42197/2
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>
(cherry picked from commit 955706810fa3c9adb153bf581c703ec473b57a56)

6 years agoPrepare Functest euphrates containers 21/42121/4
Cédric Ollivier [Sat, 16 Sep 2017 07:09:43 +0000 (09:09 +0200)]
Prepare Functest euphrates containers

They depend on git commit ids for the next OPNFV projects:
  - releng [1]
  - securityscanning

Securityscanning should be first removed in master and then the patch
will be cherry-picked in stable/euphrates. A temporarily git commit
id is used here to allow building the containers before that changes.

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

Change-Id: Ib7bd4206a6ef7f5bb8cd58f324d3e437a3b704a1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix one whitespace character 33/42133/2
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>
(cherry picked from commit d120b6cf30631ee7a0f27f4fc1d07facd6ce4047)

6 years agoFix stable/euphrates .gitreview 19/42119/2
Cédric Ollivier [Sat, 16 Sep 2017 06:52:46 +0000 (08:52 +0200)]
Fix stable/euphrates .gitreview

It simply adds defaultbranch=stable/euphrates

Change-Id: I06cbebc719f9188415d5de68a008d16f0b915dec
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoincrease timeout of NFVO installation 51/42251/1
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>
(cherry picked from commit f7348cba120c5bd2f4df51b1a290bea4c0d01a61)

6 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"

6 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"

6 years agoBug fix: wrong dependency filter for lxd scenarios 45/42045/1
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>
6 years agoRefactor resource creation and cleanup in rally 31/41931/3
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>