functest.git
5 years agoMerge "Add rally_jobs in config patches"
Juha Kosonen [Mon, 10 Jun 2019 07:21:54 +0000 (07:21 +0000)]
Merge "Add rally_jobs in config patches"

5 years agoMerge "Allow running Functest vs profiles defined by GSMA"
Juha Kosonen [Mon, 10 Jun 2019 07:20:04 +0000 (07:20 +0000)]
Merge "Allow running Functest vs profiles defined by GSMA"

5 years agoAdd rally_jobs in config patches 27/68027/1
Cédric Ollivier [Sun, 9 Jun 2019 10:27:37 +0000 (12:27 +0200)]
Add rally_jobs in config patches

Change-Id: Iaf99ee1d6ea0b2c81874daf959f7430c564a1051
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoBlacklist test_list_metadef_namespaces (Patrole) 22/68022/1
Cédric Ollivier [Sun, 9 Jun 2019 09:41:48 +0000 (11:41 +0200)]
Blacklist test_list_metadef_namespaces (Patrole)

It seems dependent on test order (404 if no namespace) and sometimes
fails in gates [1][2][3].

It will be enabled as soon it's fixed upstream or if SUT is wrong here.

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-latest-patrole-run/
[2] https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-iruya-patrole-run/
[3] https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-hunter-patrole-run/

Change-Id: I68e71e9b0753089e5620d6689ddff37fe66aeab7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoConform with latest Neutron rally job 21/68021/1
Cédric Ollivier [Sun, 9 Jun 2019 09:17:12 +0000 (11:17 +0200)]
Conform with latest Neutron rally job

The last commit requires two additional task args [1][2].

[1] https://github.com/openstack/neutron/commit/ccef17605d1e28c418821c2235ba24c15893fff2#diff-720114afabbecd64333f4586a338f749
[2] https://build.opnfv.org/ci/job/functest-opnfv-functest-benchmarking-latest-rally_jobs-run/145/console

Change-Id: I4943f737be29bcadfead427a7852964e6438a018
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoAllow running Functest vs profiles defined by GSMA 19/68019/1
Cédric Ollivier [Sat, 8 Jun 2019 15:41:52 +0000 (17:41 +0200)]
Allow running Functest vs profiles defined by GSMA

It selects the close profils (here cpus, ram and disks) as being
defined by GSMA if DEPLOY_SCENARIO contains GSMA.

It allows a full OpenStack verification conformed with that profiles.

Change-Id: I3830304a6cfcd651988063591f7ab0a7f57d124e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate all patches about functest configs 88/67888/4
Cédric Ollivier [Sat, 18 May 2019 18:38:24 +0000 (20:38 +0200)]
Update all patches about functest configs

It takes into account the last updates about snaps, cloudify and
refstack.

Change-Id: I959f8ed1c98cd1879b51b62252aeb38918af6a2c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoPin ruamel.yaml.jinja2 16/68016/1
Cédric Ollivier [Sat, 8 Jun 2019 14:34:59 +0000 (16:34 +0200)]
Pin ruamel.yaml.jinja2

It's out of openstack/requirements and last version breaks our stable
containers [1]. It will be updated in master in a second step to ease
cherry-picking.

[1] https://build.opnfv.org/ci/job/functest-verify-unit-tests-and-docs-hunter/322/console

Change-Id: I76e1965d49e6be6f185611bcfcd056d81bc599fe
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdated from global requirements 97/67997/1
Cédric Ollivier [Tue, 4 Jun 2019 18:07:26 +0000 (20:07 +0200)]
Updated from global requirements

Change-Id: I3c2a69f63d38812656baf1f53a8b6a7ae1a0a242
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoPublish rally logs 89/67989/1
Cédric Ollivier [Sun, 2 Jun 2019 12:43:10 +0000 (14:43 +0200)]
Publish rally logs

Both Rally and Tempest publish Rally debug logs.
It also moves the logics from tempest to rally.

Change-Id: I5c057d830202baddd73577ade1b09ce304e3c5a5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agocorrect permanent redirects in documentation 73/67973/3
VincentDanno [Fri, 10 May 2019 15:24:05 +0000 (17:24 +0200)]
correct permanent redirects in documentation

Change-Id: I5bcb402f51541483a2797629c44485e5d75913e3
Signed-off-by: VincentDanno <vincent.danno@orange.com>
5 years agoDecode tempest exception output (py3) 84/67984/1
Cédric Ollivier [Sat, 1 Jun 2019 08:52:05 +0000 (10:52 +0200)]
Decode tempest exception output (py3)

https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-latest-refstack_compute-run/30/console

Change-Id: I77264525917af5f67cdecae85ef7a50439499db8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoStop installing sfc and bgpvpn tempest plugins 83/67983/1
Cédric Ollivier [Sat, 1 Jun 2019 09:00:14 +0000 (11:00 +0200)]
Stop installing sfc and bgpvpn tempest plugins

They are being integrated into neutron tempest plugin [1][2].
It will fix our gates [3].

[1] https://github.com/openstack/neutron-tempest-plugin/commit/1a987ecb4d310328cc4c2c5628dc5018dc7afc48
[2] https://github.com/openstack/neutron-tempest-plugin/commit/8dd49aac9fa27166d76755c7d62ea9f0553d8d74
[3] https://build.opnfv.org/ci/job/functest-latest-gate/199/

Change-Id: Iafcfd0cb9b33a271cf37f269d9a3a2086eb67414
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove PyNacl contraints in Features 61/67961/4
Cédric Ollivier [Tue, 28 May 2019 11:36:25 +0000 (13:36 +0200)]
Remove PyNacl contraints in Features

It conforms with "Install PyNaCl via package" [1].
functest-feature may raise timeouts when cross-compiling PyNacl [2].

[1] https://gerrit.opnfv.org/gerrit/#/c/67956/
[2] https://travis-ci.org/collivier/functest/jobs/538119733

Change-Id: I986677b869f62caee6be219ee1de622b7bc20ca4
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
5 years agoStop downgrading pip 55/67955/3
Cédric Ollivier [Mon, 27 May 2019 18:47:48 +0000 (20:47 +0200)]
Stop downgrading pip

The pip package poposed by Alpine is fine.

Change-Id: I415757b8f4028c76e9d8cec4895306d843d42ac2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoInstall PyNaCl via package 42/67842/8
Cédric Ollivier [Sun, 12 May 2019 18:19:14 +0000 (20:19 +0200)]
Install PyNaCl via package

Building functest-core container sometimes reaches travis-ci timeout
[0]. It currently selects the right version in master and
stable/hunter.

[0] https://travis-ci.org/collivier/functest/jobs/531417730

Change-Id: Ie6c8e729f76c98c6f8c8e9ca01b2c998081f7ce8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRun bandit when verifying changes 49/67949/2
Cédric Ollivier [Sat, 25 May 2019 09:10:55 +0000 (11:10 +0200)]
Run bandit when verifying changes

It reports only MEDIUM issues or higher like nova [1].
It selects bandit 1.1.0 as defined in nova and neutron lower
constraints [2].

[1] https://github.com/openstack/nova/blob/master/tox.ini#L221
[2] https://github.com/openstack/nova/blob/master/lower-constraints.txt#L8

Change-Id: I6fc505f684701792d3e03659eb0feea8321452c0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoSet utf-8 in decode and encode calls 40/67940/2
Cédric Ollivier [Sat, 25 May 2019 07:38:40 +0000 (09:38 +0200)]
Set utf-8 in decode and encode calls

It eases backporting in iruya and hunter as a few logs can't be
decoded as ascii [1].

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-iruya-juju_epc-run/56/console

Change-Id: I52a6f9a25130cbf62e8ce3b9972064ab73177665
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoDecode Bytes in logging calls 30/67930/1
Cédric Ollivier [Fri, 24 May 2019 20:08:50 +0000 (22:08 +0200)]
Decode Bytes in logging calls

It fixes a few incorrect types in log calls [1].

[1] https://build.opnfv.org/ci/view/functest/job/functest-latest-daily/163/

Change-Id: I01790f6454694f434d31366f9c1cf9d98ff5a9cf
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
5 years agoMerge "Update Pylint score (10/10) in Release notes"
Cedric Ollivier [Thu, 23 May 2019 18:31:18 +0000 (18:31 +0000)]
Merge "Update Pylint score (10/10) in Release notes"

5 years agoEnable Vmtp if py3 91/67891/5
Cédric Ollivier [Sun, 19 May 2019 17:21:10 +0000 (19:21 +0200)]
Enable Vmtp if py3

It leverages on last Vmtp review which adds py3 support [1].

[1] https://review.opendev.org/659970

Change-Id: I8319b9e7eb88b9015961188d47657a8c67e0f8da
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate Pylint score (10/10) in Release notes 09/67909/1
Cédric Ollivier [Thu, 23 May 2019 07:56:15 +0000 (09:56 +0200)]
Update Pylint score (10/10) in Release notes

https://build.opnfv.org/ci/job/functest-verify-unit-tests-and-docs-master/2239/console

Change-Id: I5f124250aba3aa9a5ca0bc01221c06843bba1b35
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
5 years agoAvoid running local dnsmasq when testing IMS 94/67894/2
Cédric Ollivier [Mon, 20 May 2019 15:49:38 +0000 (17:49 +0200)]
Avoid running local dnsmasq when testing IMS

It may be unsafe and it's useless for testing IMS if BONO_IP is set.

Change-Id: I8b0f010956defbfa1fd22b5aa5cbea70bd2968a4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix python version 82/67882/1
Cédric Ollivier [Thu, 16 May 2019 18:56:15 +0000 (20:56 +0200)]
Fix python version

It fixes an issue induced by an incomplete rebase [1].

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

Change-Id: I9017becd06949afae0abd5f542a092570a163bc3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoAdd all RefStack lists 33/67833/5
Cédric Ollivier [Sat, 11 May 2019 17:35:28 +0000 (19:35 +0200)]
Add all RefStack lists

It adds platform and object targets.
refstack_defcore is renamed to refstack_compute.

Change-Id: Iad5bfb27be614aada98eef5b3148965e65210725
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate to Python3 83/67783/11
Cédric Ollivier [Tue, 7 May 2019 09:02:43 +0000 (11:02 +0200)]
Update to Python3

Functest containers leverage on Python3 instead of python2.
https://mail.python.org/pipermail/python-dev/2018-March/152348.html

It also updates robotframework librairies to latest release and Vmtp
to master ([1] is needed)

It patches cloudify rest client to support python3.

Vmtp is currently disabled because it currently supports python2 only.

[1] https://github.com/openstack/vmtp/commit/a5d062881d91bf4f547d92c6e289bea30feb5d6e#diff-b4ef698db8ca845e5845c4618278f29a

Change-Id: I39964a212ec2d4dbf53c9ea7c63f02e0b6a05b48
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMerge "Stop leveraging on neutron-tempest-plugin package"
Cedric Ollivier [Mon, 13 May 2019 17:54:33 +0000 (17:54 +0000)]
Merge "Stop leveraging on neutron-tempest-plugin package"

5 years agoAllow building containers when refstack.openstack.org is down 46/67846/1
Cédric Ollivier [Mon, 13 May 2019 12:10:15 +0000 (14:10 +0200)]
Allow building containers when refstack.openstack.org is down

It has been down for days and break our gates again.

Change-Id: I66e286f3624c776c7cec5164df53eb117550e78a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoStop leveraging on neutron-tempest-plugin package 34/67834/1
Cédric Ollivier [Sat, 11 May 2019 19:34:09 +0000 (21:34 +0200)]
Stop leveraging on neutron-tempest-plugin package

It reverts "Take new upper-constraints into account" [1] to follow the
upstream revert [2].

[1] https://github.com/opnfv/functest/commit/14534c4ea68ee84645f8b1ddd836ed684a808385
[2] https://github.com/openstack/requirements/commit/ea2cfe661785c838991aa64b64e59aec245a0c0e

Change-Id: I7085679ff6b04726842289133e526aaed87a416c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoDisable Patrole network.test_agents_rbac 96/67796/1
Cédric Ollivier [Wed, 8 May 2019 10:14:50 +0000 (12:14 +0200)]
Disable Patrole network.test_agents_rbac

They don't clean routers (tempest-L3AgentsExtRbacTest-Router) after
testing.

Change-Id: I78cfc783feb51d0f1b029c98e988c07e57e1e694
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoEnable volume backup testing 50/67750/1
Cédric Ollivier [Sat, 4 May 2019 20:20:09 +0000 (22:20 +0200)]
Enable volume backup testing

It conforms with OpenStack gates by default.

Change-Id: Icc1537b0f8342666d2a2a0de4655ba99f4f42470
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoManage block_migration in Rally 38/67738/2
Cédric Ollivier [Thu, 2 May 2019 12:44:08 +0000 (14:44 +0200)]
Manage block_migration in Rally

It creates a new env var BLOCK_MIGRATION (True by default) to allow
block migration for live migration in Rally.

It updates scenarios and blacklisting to take that env vars into account.

Change-Id: I41129432798ae9e40fe23bbe2c2162df4c0dff80
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUse block devices for live migration 29/67729/1
Cédric Ollivier [Tue, 30 Apr 2019 20:46:35 +0000 (22:46 +0200)]
Use block devices for live migration

The default values conform with OpenStack and Functest gates [1].
It could be set to false if shared storage-based live migration is
supported [2].

It also currently disables cold migration.

[1] http://logs.openstack.org/84/632984/24/check/tempest-multinode-full-py3/4216037/controller/logs/tempest_conf.txt.gz
[2] https://docs.openstack.org/nova/pike/admin/configuring-migrations.html

Change-Id: I0faa415eba610c20ba54353ac7ba7b0e83722c32
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove python warnings (yaml.load) 04/67704/2
Cédric Ollivier [Thu, 25 Apr 2019 15:56:51 +0000 (17:56 +0200)]
Remove python warnings (yaml.load)

It updates refstack_defcore and vmtp to conform with yaml [1].

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-latest-refstack_defcore-run/186/console

Change-Id: I38e7a8d4c294c27f01c3e7385c4b716522a40334
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoLeverage on DEBUG env var 00/67700/1
Cédric Ollivier [Thu, 25 Apr 2019 12:32:12 +0000 (14:32 +0200)]
Leverage on DEBUG env var

It allows muting debug logs.

Change-Id: I291f3bb7e0a450724a34997c720bde01f72c8e50
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRefactor modules to avoid duplicated code 76/67676/5
Cédric Ollivier [Tue, 23 Apr 2019 14:49:55 +0000 (16:49 +0200)]
Refactor modules to avoid duplicated code

It also increases number of lines to warm about duplicated codes.

Change-Id: I3914da8a90cbfe8fd024e9944c3adc8a617330d3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoSet max_microversion for placement and volume 66/67666/1
Cédric Ollivier [Mon, 22 Apr 2019 11:35:28 +0000 (13:35 +0200)]
Set max_microversion for placement and volume

It sets max_microversion to latest because if both values are not
specified, Tempest avoids tests which require a microversion [1].

It completes the previous change about nova [2].

[1] https://docs.openstack.org/tempest/latest/sampleconf.html
[2] https://gerrit.opnfv.org/gerrit/#/c/67318/

Change-Id: Ieab56a239077476dd9a0e1ee97ac4293c4075f5c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoAdd Stein in Nova API microversions 37/67637/2
Cédric Ollivier [Sat, 20 Apr 2019 11:29:16 +0000 (13:29 +0200)]
Add Stein in Nova API microversions

Change-Id: I42e854122fde9495cb3472ccc78900eccb20670d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoIncrements version in setup.cfg 36/67636/1
Cédric Ollivier [Sat, 20 Apr 2019 11:16:04 +0000 (13:16 +0200)]
Increments version in setup.cfg

It prepares the file for the J-release.

Change-Id: Ie637830c0397648a7efde8e061e2316145c97a41
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove all sdnvpn loggers 35/67635/1
Cédric Ollivier [Sat, 20 Apr 2019 11:14:18 +0000 (13:14 +0200)]
Remove all sdnvpn loggers

OPNFV sdnvpn is over.

Change-Id: I78b6c45c6e5216795252be38dbc54f80f6e65061
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoBuild arm* functest-vnf containers via travis-ci 34/67634/5
Cédric Ollivier [Fri, 19 Apr 2019 18:13:38 +0000 (20:13 +0200)]
Build arm* functest-vnf containers via travis-ci

It doesn't build juju deps if arm* as they can't be cross-compiled.
Then that deps won't be built in releng on native arm64 hosts
It's worth mentioning that containers have never been executed in
OPNFV gates.

That change allows running all other VNFs on Raspberry PI and
building containers without arm build servers.

Change-Id: I836a72f049e7f0e6ae704f5b829914692d5b2c09
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate all OpenStack refs to opendev.org 33/67633/5
Cédric Ollivier [Fri, 19 Apr 2019 23:16:48 +0000 (01:16 +0200)]
Update all OpenStack refs to opendev.org

All gates are failing due wrong to redirections (see os-faults [1][2]).

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-tempest-latest-gate/96/console
[2] https://travis-ci.org/collivier/functest/builds/522071220

Change-Id: I5a8ca67f0d95df24daa9bdca2f23eb13d896f9d5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdated from global requirements 24/67624/1
Cédric Ollivier [Thu, 18 Apr 2019 23:28:49 +0000 (01:28 +0200)]
Updated from global requirements

Change-Id: I6ec8a42333c4b44928f5974bb67e445428b8c979
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate Release Notes 99/67599/1
Cédric Ollivier [Mon, 15 Apr 2019 13:53:49 +0000 (15:53 +0200)]
Update Release Notes

Change-Id: Ie7826cf2ef8eb537f1b4f213c92c384e0b48c311
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoStop forcing admin_scope_domain = True 93/67593/1
Cédric Ollivier [Mon, 15 Apr 2019 12:18:40 +0000 (14:18 +0200)]
Stop forcing admin_scope_domain = True

tempest fails vs devstack stable/stein and it passes successfully vs
devstack stable/rocky (Functest gates) without that option.

It may be added to tempest_conf.yaml if SUT requires it.

Change-Id: I4730c25b25403fd130d71166a8778e06fd479935
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoDisable falsy Patrole subtests 84/67584/1
Cédric Ollivier [Sun, 14 Apr 2019 20:44:06 +0000 (22:44 +0200)]
Disable falsy Patrole subtests

It disables the two subtests which are failing in OpenStack Gates [1].

[1] http://logs.openstack.org/51/651851/1/check/patrole-admin/48dbeb0/testr_results.html.gz

Change-Id: I6814d003d80593d2a89fefa439f0775187eb6f4d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoSpeed up lxml build 80/67580/1
Cédric Ollivier [Sat, 13 Apr 2019 23:00:55 +0000 (01:00 +0200)]
Speed up lxml build

It allows cross-compiling it via travis-ci (benchmarking) [1][2]

[1] https://lxml.de/installation.html
[2] https://travis-ci.org/collivier/functest/jobs/519737041

Change-Id: I31609268d77405f036924a010cfb3dab520e9ea3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoVerify py36 via travis-ci 75/67575/1
Cédric Ollivier [Sat, 13 Apr 2019 20:30:42 +0000 (22:30 +0200)]
Verify py36 via travis-ci

Change-Id: I1180478c19d0f1c56e615a2af568cbbf4cc828d3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoCross-compile arm and arm64 images 68/67568/1
Cédric Ollivier [Sat, 13 Apr 2019 10:39:57 +0000 (12:39 +0200)]
Cross-compile arm and arm64 images

It allows building images for Raspberry PI via travis-ci.
It builds all arm64 images except functest-benchmarking [1].

[1] https://travis-ci.org/collivier/functest/jobs/519673994

Change-Id: I695c3afe8aacda63b7eae0d2672cd836c19e8ceb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoStop generating policies for unexecuted services 67/67567/1
Cédric Ollivier [Sat, 13 Apr 2019 15:17:08 +0000 (17:17 +0200)]
Stop generating policies for unexecuted services

It saves time when cross-compiling smoke.
Then it allows building arm (Raspberry PI) smoke via travis-ci [1].

[1] https://travis-ci.org/collivier/functest/jobs/519630251

Change-Id: Ifbfcc0d726a8f74fd8a861bb52d6ea2543870e0c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate .travis.yml 66/67566/1
Cédric Ollivier [Thu, 11 Apr 2019 17:18:38 +0000 (19:18 +0200)]
Update .travis.yml

It now selects Ubuntu Xenial and libssl1.0.0.
It fixes all issues about SSL [1].

[1] https://travis-ci.org/collivier/functest/builds/518874638

Change-Id: Ib7217afc1cfbe3a7c675961b37ad9c097afca037
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix doc links 33/67533/1
Cédric Ollivier [Thu, 11 Apr 2019 06:50:56 +0000 (08:50 +0200)]
Fix doc links

It removes 1 link to ask.openstack.org which is being stopped.
It also bypasses the issues due to LFN false certificates [1].

[1] https://travis-ci.org/collivier/functest/jobs/518170144

Change-Id: Iccfbc2d91aedb4617f2e29e9d03ba01e0fc58175
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoApply blacklist for OVN noha scenario as well 16/67516/1
Michael Polenchuk [Wed, 10 Apr 2019 09:21:04 +0000 (13:21 +0400)]
Apply blacklist for OVN noha scenario as well

Change-Id: I1dd51a54f39967fcf6b3a522e2a548f81e5646a9
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
5 years agoUpdate tab results 08/67508/1
Cédric Ollivier [Tue, 9 Apr 2019 18:46:45 +0000 (20:46 +0200)]
Update tab results

It also removes all refs to components and to the former binaries.

Change-Id: I4f7e3308673ba6ba4dd9c28a7a053e3d558c289d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoSet cinder service type in rally tests 97/67497/4
Juha Kosonen [Mon, 8 Apr 2019 11:36:10 +0000 (14:36 +0300)]
Set cinder service type in rally tests

As a precondition for executing scenarios requiring volume, Rally
expects the presence of service named as "cinder". In a case when
there is only cinderv2 and cinderv3 configured in the system, Rally
fails to validate a testcase even the volume service is working ok.

Testcases in question changed to use v3.

Change-Id: I42e7f846e80d3647df274b2e03add94c9f0a34d6
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years agoRemove 1 Patrole test with a hardcoded vxlan id 64/67464/1
Cédric Ollivier [Mon, 1 Apr 2019 22:58:45 +0000 (00:58 +0200)]
Remove 1 Patrole test with a hardcoded vxlan id

It may fail when testing OpenStack in production or when running
testcases in parallel [1] because vxlan 200 is hardcoded [2]

[1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-smoke-hunter-patrole-run-75/results/patrole/tempest-report.html
[2] https://github.com/openstack/patrole/blob/master/patrole_tempest_plugin/tests/api/network/test_networks_rbac.py#L208

Change-Id: Ibfaed6f3a95d016790baafebd203e49e152a889b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate network context in selected rally tests 56/67456/1
Juha Kosonen [Mon, 1 Apr 2019 09:35:22 +0000 (12:35 +0300)]
Update network context in selected rally tests

Network context not needed in following scenarios:

NeutronNetworks.create_and_delete_routers
NeutronNetworks.create_and_list_routers
NeutronNetworks.create_and_list_subnets
NeutronNetworks.create_and_update_routers
NeutronNetworks.create_and_update_subnets
NeutronNetworks.create_and_show_routers

Router not needed in network context in following scenarios:

NeutronNetworks.create_and_update_ports
NeutronNetworks.create_and_delete_ports
NeutronNetworks.create_and_delete_subnets
NeutronNetworks.create_and_list_ports
NeutronNetworks.create_and_show_ports
NeutronNetworks.create_and_show_subnets

This completes the patch skipping router creation [1].

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

Change-Id: I80ea145a21168fd984cc9ef88d50af227f0d6ed4
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years agoMerge "Skip router creation in selected rally tests"
Juha Kosonen [Fri, 29 Mar 2019 14:45:23 +0000 (14:45 +0000)]
Merge "Skip router creation in selected rally tests"

5 years agoUse absolute dir when removing vmtp src dir 36/67436/1
Cédric Ollivier [Fri, 29 Mar 2019 01:51:16 +0000 (02:51 +0100)]
Use absolute dir when removing vmtp src dir

Change-Id: I7254201f97e9615d5d34ab9c199b33ef9de3680c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoSkip router creation in selected rally tests 29/67429/1
Juha Kosonen [Thu, 28 Mar 2019 15:40:30 +0000 (17:40 +0200)]
Skip router creation in selected rally tests

Do not create routers in those rally_sanity tests where the test does
not require it.

Change-Id: I6dd8a2b7579e11ca6ecc3b7383fa4d09a1e56ec3
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years agoUpdate ujson (Alpine 3.9) 22/67422/1
Cédric Ollivier [Thu, 28 Mar 2019 12:11:49 +0000 (13:11 +0100)]
Update ujson (Alpine 3.9)

ujson v1.35 can't work vs Alpine 3.9 [1].
upper-constraints are overriden to include the patch needed [2].

It fixes rally testcases (gnocchi).

[1] https://github.com/esnme/ultrajson/issues/326
[2] https://github.com/esnme/ultrajson/commit/d25e024f481c5571d15f3c0c406a498ca0467cfd

Change-Id: Iac9975b0669d5975c63d76ddefb64058e5183369
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix other broken links 85/67385/1
Cédric Ollivier [Mon, 25 Mar 2019 19:42:14 +0000 (20:42 +0100)]
Fix other broken links

https://git.opnfv.org/cgit doesn't provide a correct certificate and
then sphinx linkcheck fails [1].

[1] https://travis-ci.org/collivier/functest/jobs/510587514

Change-Id: I884535766c39839927ea863d7fac62684ebb5dac
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoClean OpenStack service tmp dirs 84/67384/1
Cédric Ollivier [Mon, 25 Mar 2019 19:20:14 +0000 (20:20 +0100)]
Clean OpenStack service tmp dirs

They can be safely removed once all policy.json are generated.

Change-Id: I4eec21650fd661a616647502ee9e30589d67bb89
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix the broken link in docs 81/67381/1
Cédric Ollivier [Mon, 25 Mar 2019 18:29:40 +0000 (19:29 +0100)]
Fix the broken link in docs

git.opnfv.org doesn't provide a correct certificate and then sphinx
linkcheck fails [1].

[1] https://travis-ci.org/collivier/functest/jobs/510587514

Change-Id: I4e9b8d07fa8e2da2d1b185668b834a8904cf35a3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove snaps testcases from site.yml 78/67378/1
Cédric Ollivier [Mon, 25 Mar 2019 18:07:16 +0000 (19:07 +0100)]
Remove snaps testcases from site.yml

Change-Id: I5f979b5ad704f8d9b35dd54deda33f910fe08a25
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix manifest-tool builds 72/67372/4
Cédric Ollivier [Sun, 24 Mar 2019 12:57:11 +0000 (13:57 +0100)]
Fix manifest-tool builds

It now selects the last release to allow compiling it [1]

[1] https://travis-ci.org/collivier/functest-xtesting/jobs/510384544

Change-Id: If1c2c1d7bdcc5bc0a6a221dfe5f628b75f9d9608
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate Alpine tag in ansible/site.yml and build.sh 58/67358/1
Cédric Ollivier [Sat, 23 Mar 2019 15:03:59 +0000 (16:03 +0100)]
Update Alpine tag in ansible/site.yml and build.sh

It complete the previous commit updating Alpine [1].

[1] https://git.opnfv.org/functest/commit/docker/core/Dockerfile?id=ee700ae5c7ab1fa3e761c330686f89f3ddefbfd3

Change-Id: Icec39d36c661ba3eb3e79c9abb592897f46efa22
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove hardcoded tempos in heat_ims 42/67342/1
Cédric Ollivier [Fri, 22 Mar 2019 21:15:34 +0000 (22:15 +0100)]
Remove hardcoded tempos in heat_ims

It adds loops to wait for services.
It sets dns forwarders to allow sending Heat signal at last
instructions.

Change-Id: I3ae29ddbaee5f8b2086078bd5245e140348f0dcf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMerge "Set ext net and name server in Shaker templates"
Cedric Ollivier [Thu, 21 Mar 2019 20:41:45 +0000 (20:41 +0000)]
Merge "Set ext net and name server in Shaker templates"

5 years agoSet ext net and name server in Shaker templates 30/67330/1
Cédric Ollivier [Thu, 21 Mar 2019 19:45:07 +0000 (20:45 +0100)]
Set ext net and name server in Shaker templates

It sets the shaker args to override ext net and name servers [1].

[1] https://pyshaker.readthedocs.io/en/latest/tools.html

Change-Id: I1cc6d52837e3c370db5ff59f024e96d7423be63a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate RefStack list to 2018.11 18/67318/2
Cédric Ollivier [Wed, 20 Mar 2019 19:06:54 +0000 (20:06 +0100)]
Update RefStack list to 2018.11

It sets max_microversion to latest because if both values are not
specified, Tempest avoids tests which require a microversion [1].
Then test_keypairsv22_create_list_show_with_type is skipped and
refstack_defcore fails [2].

It also partially reverts "Allow building containers when
refstack.openstack.org is down" [3].

[1] https://docs.openstack.org/tempest/latest/sampleconf.html
[2] http://artifacts.opnfv.org/functest/functest-opnfv-functest-smoke-latest-refstack_defcore-run-147/results/refstack_defcore/tempest-report.html
[3] https://gerrit.opnfv.org/gerrit/#/c/67232/

Change-Id: Ia87543bb476d3047684e71ddfd05c2aa3f10bbfe
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate rest-client for IMS testing 16/67316/1
Cédric Ollivier [Wed, 20 Mar 2019 19:01:40 +0000 (20:01 +0100)]
Update rest-client for IMS testing

It has to be updated to conform with Alpine 3.9 [1]

[1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-vnf-latest-cloudify_ims-run-95/results/cloudify_ims/ims_test_output.txt

Change-Id: Ic4130d86789537867372f6fbdc026929c28370f2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMerge "Update to Apine 3.9"
Cedric Ollivier [Tue, 19 Mar 2019 19:33:07 +0000 (19:33 +0000)]
Merge "Update to Apine 3.9"

5 years agoMerge "Do not allow testcase skipping in refstack"
Cedric Ollivier [Tue, 19 Mar 2019 13:00:04 +0000 (13:00 +0000)]
Merge "Do not allow testcase skipping in refstack"

5 years agoUpdate to Apine 3.9 94/67294/3
Cédric Ollivier [Mon, 18 Mar 2019 20:21:54 +0000 (21:21 +0100)]
Update to Apine 3.9

It updates to the latest Alpine release [1]

[1] https://www.alpinelinux.org/posts/Alpine-3.9.0-released.html

Change-Id: I62ed47547dd8767ca50221840455ed0f7336b438
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoDo not allow testcase skipping in refstack 79/67279/3
Juha Kosonen [Mon, 18 Mar 2019 11:40:05 +0000 (13:40 +0200)]
Do not allow testcase skipping in refstack

Set the result of refstack_defcore as failed if there were skipped testcases
in a run.

Change-Id: Id782c2dee511cefbafd5b4440f386fd66f934a47
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years agoAvoid killing create_number.py 85/67285/1
Cédric Ollivier [Mon, 18 Mar 2019 17:04:40 +0000 (18:04 +0100)]
Avoid killing create_number.py

create_numbers.py has been killed by other services as described in [1].
It's now called when ellis is up and running.

It adds few sleeps to ensure the right boot orders (signals must be send
before switching DNS).

[1] http://www.projectclearwater.org/using-start-stop-daemon-with-the-python-interpreter/

Change-Id: I87ad3828c10d3ccbc707ed8f4ab99987c6968f09
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoPrint monit summary before running IMS testing 70/67270/1
Cédric Ollivier [Sat, 16 Mar 2019 18:28:11 +0000 (19:28 +0100)]
Print monit summary before running IMS testing

Change-Id: I94310aa609d2c56609e0a5f0e46932af4aee02eb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoAdd sleeps and debugs in heat_ims 68/67268/1
Cédric Ollivier [Sat, 16 Mar 2019 14:45:39 +0000 (15:45 +0100)]
Add sleeps and debugs in heat_ims

It allows checking all the services and hardening the asynchronuous
configurations.

It will ease understanding the remaining race conditions in gates.

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

5 years agoMerge "Revert Snaps in upper-constraints.txt"
Cedric Ollivier [Fri, 15 Mar 2019 08:19:25 +0000 (08:19 +0000)]
Merge "Revert Snaps in upper-constraints.txt"

5 years agoRevert Snaps in upper-constraints.txt 62/67262/1
Cédric Ollivier [Thu, 14 Mar 2019 19:56:42 +0000 (20:56 +0100)]
Revert Snaps in upper-constraints.txt

Change-Id: Ie437b8ea6a33871516d42bf022a1f46cdd488d48
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoAdd file program to the feature container 46/67246/2
Venkata Harshavardhan Reddy Allu [Tue, 12 Mar 2019 09:03:56 +0000 (14:33 +0530)]
Add file program to the feature container

JIRA: SFC-139

File program is required by the osmclient to identify the mime-type of
given descriptor packages.

upstream[osmclient]: https://osm.etsi.org/gerrit/#/c/7112/

Change-Id: Iedbe87114e8d20d6124d38e5a9a812702d95c4aa
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
5 years agoBoot Cassandra at the end of heat_ims stack 48/67248/1
Cédric Ollivier [Wed, 13 Mar 2019 08:35:24 +0000 (09:35 +0100)]
Boot Cassandra at the end of heat_ims stack

Cassandra sometimes doesn't start when it boots in parallel of the other services.
It now selects eth0 instead of forcing ipv6 on lo.

Change-Id: Id9f8a4e19a43e85fc8a04fbc4c8f138f0adea417
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove Snaps-based testcases 44/67244/2
Cédric Ollivier [Mon, 11 Mar 2019 12:55:40 +0000 (13:55 +0100)]
Remove Snaps-based testcases

Snaps hasn't been synchronized for a while regarding requirements.
We do remove it due to the inactivity.

All test result tabs will be updated in a second change.

Change-Id: I834afd902829ed3883b0e88e92aa806ec43d6fcf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoAdd deps in clearwater.yaml 38/67238/1
Cédric Ollivier [Tue, 12 Mar 2019 13:55:12 +0000 (14:55 +0100)]
Add deps in clearwater.yaml

Ellis must be started right after dns to publish the shared config.

Change-Id: I99fb7ff88e55c5c6a963b3a6db65d8d83b212eda
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMerge "Allow building containers when refstack.openstack.org is down"
Cedric Ollivier [Mon, 11 Mar 2019 14:57:26 +0000 (14:57 +0000)]
Merge "Allow building containers when refstack.openstack.org is down"

5 years agoAllow building containers when refstack.openstack.org is down 32/67232/3
Cédric Ollivier [Mon, 11 Mar 2019 12:59:49 +0000 (13:59 +0100)]
Allow building containers when refstack.openstack.org is down

It has been down for days and break our gates.

Change-Id: I2e18a95abaced050f85f6efb8e849e0a5d497ea1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove inactive committers 27/67227/1
Cédric Ollivier [Sun, 10 Mar 2019 17:40:50 +0000 (18:40 +0100)]
Remove inactive committers

It follows the last guidelines from TSC (1-year inactivity).
It stop listing contributors as it's worse than git log.

Change-Id: If8fb1ab7371d34798c9f72d8885f4ec092f138ac
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoAdd dependencies in heat_ims 13/67213/2
Cédric Ollivier [Sat, 9 Mar 2019 16:46:46 +0000 (17:46 +0100)]
Add dependencies in heat_ims

It avoids useless loops for cloud init messages.
It now conforms with clearwater-docker (disable ipv6 in cassandra).

Change-Id: I6f469cf48224296b2eaa079d342642c5caca65f5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove SDNVPN as it doesn't participate to hunter 01/67201/1
Cédric Ollivier [Fri, 8 Mar 2019 09:51:42 +0000 (10:51 +0100)]
Remove SDNVPN as it doesn't participate to hunter

Change-Id: Iddeaa3890635103b66042a918ab66cabd8fdee60
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMerge tempest.py and conf_utils.py 83/67183/2
Juha Kosonen [Wed, 6 Mar 2019 08:55:03 +0000 (10:55 +0200)]
Merge tempest.py and conf_utils.py

Change-Id: I597abdbb5bd3de023aa7b66fa27764ca2ec27f0d
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years agoInstall SFC package as Feature third-party 94/67194/1
Cédric Ollivier [Thu, 7 Mar 2019 12:18:27 +0000 (13:18 +0100)]
Install SFC package as Feature third-party

It completes the previous patch enabling SFC [1].

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

Change-Id: I1246d9e3117d94674a65643b53f26024454256cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoModify the upstream Clearwater Heat files 90/67190/3
Cédric Ollivier [Thu, 7 Mar 2019 00:38:44 +0000 (01:38 +0100)]
Modify the upstream Clearwater Heat files

It forces a single network for both management and signaling traffic.
It meets the OPNFV deployment requirements and the Functest SUT ones.

The security group will be improved in a second step to first quickly
fix the testcase in gambia. Private IPs may be registered in DNS to
avoid network address translations.

Change-Id: Ic19cf336ac5c2d07c52c6dd37b06271790145cf9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoStop overriding ssh default timeout 66/67166/1
Cédric Ollivier [Sun, 3 Mar 2019 12:31:15 +0000 (13:31 +0100)]
Stop overriding ssh default timeout

It should be modified by tempest custom yaml file instead.
It's safe as the default timeout is bigger than the previous one.

It also cleans the obsolete tempest/rally data in config_functest.yaml.

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

Change-Id: Ibad02d8aaf90f154c82f3b60a6d3f04fc37bd7de
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoStop forcing non default operator role 64/67164/1
Cédric Ollivier [Sun, 3 Mar 2019 10:27:09 +0000 (11:27 +0100)]
Stop forcing non default operator role

Member is the default value [1] and SwiftOperator is not created by
default in OpenStack gates (devstack)

This role should be modified by tempest custom yaml file instead.

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

Change-Id: Ie77b91e36a7011e5730cbf5998e029c07ec7fe2f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMerge "Change password generator"
Cedric Ollivier [Sat, 2 Mar 2019 08:15:10 +0000 (08:15 +0000)]
Merge "Change password generator"

5 years agoChange password generator 57/67157/1
Cédric Ollivier [Fri, 1 Mar 2019 18:20:13 +0000 (19:20 +0100)]
Change password generator

It adds lower and upper letters

JIRA: DOVETAIL-747

Change-Id: I4bdfcbf31a6dae4aa555fca3d42bbdec514a2b6b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMerge "Updated from global requirements"
Cedric Ollivier [Fri, 1 Mar 2019 10:31:01 +0000 (10:31 +0000)]
Merge "Updated from global requirements"

5 years agoMerge "Enable SFC OPNFV Features"
Cedric Ollivier [Thu, 28 Feb 2019 13:39:55 +0000 (13:39 +0000)]
Merge "Enable SFC OPNFV Features"

5 years agoUpdated from global requirements 45/67145/1
Cédric Ollivier [Thu, 28 Feb 2019 13:35:49 +0000 (14:35 +0100)]
Updated from global requirements

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