functest.git
5 years agoUpdate to tempest 20.0.0 47/67747/1
Cédric Ollivier [Fri, 3 May 2019 18:29:33 +0000 (20:29 +0200)]
Update to tempest 20.0.0

test_dualnet_multi_prefix_slaac which is uncovered (marked as slow) by
OpenStack gates [1] is failing on lf-virtual6 [2]. Updating to 20.0.0
is closer to the current OpenStack Neutron Rocky gates
(tempest==20.0.1.dev42) [3].

It's worth mentioning that we cannot downgrade to 19.0.0 because the
next commit is needed [4].

[1] http://logs.openstack.org/28/656428/1/check/tempest-multinode-full-py3/74d9cd7/testr_results.html.gz
[2] http://artifacts.opnfv.org/functest/functest-opnfv-functest-smoke-hunter-tempest_scenario-run-113/results/tempest_scenario/tempest-report.html
[3] http://logs.openstack.org/57/654957/2/check/neutron-tempest-multinode-full/e5eda83/job-output.txt.gz
[4] https://github.com/openstack/tempest/commit/3588bb3f5ef546a0ef4d4ad621fd1be381b5fdaf

Change-Id: I496df1272f26ad73daf388070b762b736e4e5fd8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoManage block_migration in Rally 42/67742/1
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>
(cherry picked from commit 940e49a6cdf7ae0f8286c953952a9757ba63a20b)

5 years agoUse block devices for live migration 31/67731/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>
(cherry picked from commit f1695eceb3d18501a603dcc89da020c676d9b617)

5 years agoLeverage on DEBUG env var 06/67706/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>
(cherry picked from commit d777f2e588a321d5c01e2e50ffa5c8fc5a27c77c)

5 years agoEnable stor4nfv in Hunter 05/67705/1
Cédric Ollivier [Thu, 25 Apr 2019 18:17:31 +0000 (20:17 +0200)]
Enable stor4nfv in Hunter

The branch is ready.

Change-Id: I0b246cf3bb83eb7ef0151509d2e99c45032b7a7e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMerge "Refactor modules to avoid duplicated code" into stable/hunter
Cedric Ollivier [Thu, 25 Apr 2019 10:51:26 +0000 (10:51 +0000)]
Merge "Refactor modules to avoid duplicated code" into stable/hunter

5 years agoRefactor modules to avoid duplicated code 88/67688/1
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>
(cherry picked from commit 9dcc30874194382a25c66baf359b863c6e013caf)

5 years agoSet max_microversion for placement and volume 73/67673/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>
(cherry picked from commit b9048a25355e1d6c29c84ca10a3d859841468f50)

5 years agoRemove all sdnvpn loggers 45/67645/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>
(cherry picked from commit 2f80c3c0a89622a673ef7957d0d53d56e75c14ee)

5 years agoBuild arm* functest-vnf containers via travis-ci 44/67644/1
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>
(cherry picked from commit 0c3ae6e09acd16fc50a516975631dd6bb76b8c53)

5 years agoUpdate all OpenStack refs to opendev.org 40/67640/2
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>
(cherry picked from commit 2ceebaa032f07c4162ed3701c6814dfe5cb683d4)

5 years agoUpdated from global requirements 26/67626/1
Cédric Ollivier [Thu, 18 Apr 2019 23:38:05 +0000 (01:38 +0200)]
Updated from global requirements

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

Change-Id: Ie7826cf2ef8eb537f1b4f213c92c384e0b48c311
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoStop forcing admin_scope_domain = True 95/67595/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>
(cherry picked from commit f038f387a8a0499d39b3fa5091c333b6b0ef5af7)

5 years agoSpeed up lxml build 81/67581/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>
(cherry picked from commit 1d190eb4039194d049cfc97b456978853d0d77d1)

5 years agoVerify py36 via travis-ci 77/67577/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>
(cherry picked from commit 8f1248484478813b7881e4642cf5ca6dbcf86f74)

5 years agoCross-compile arm and arm64 images 73/67573/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>
(cherry picked from commit 5f525ebaf9d503aa641996fe2ac780dc9dda1774)

5 years agoUpdate .travis.yml 72/67572/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>
(cherry picked from commit 43e0e08bc2a1a294c582bf79300c4ef34242974d)

5 years agoFix doc links 36/67536/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>
(cherry picked from commit 210803c3895ac9205c28868cc53761b20c2d6a01)

5 years agoApply blacklist for OVN noha scenario as well 32/67532/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>
(cherry picked from commit 3509982923786f91c03d05f26f61df4505299722)

5 years agoUpdate tab results 10/67510/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>
(cherry picked from commit e108f1ad405e788e0516a55875269adafb338c28)

5 years agoSet cinder service type in rally tests 04/67504/1
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>
(cherry picked from commit ebc2b41505299846faeb2163d34d820a8ef2bdb2)

5 years agoRemove 1 Patrole test with a hardcoded vxlan id 66/67466/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>
(cherry picked from commit 8ee279600186f2713b4c181965d8d290d2644cfb)

5 years agoUpdate network context in selected rally tests 62/67462/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>
(cherry picked from commit b4b2e7f9a5a3cb3379b45ac4ddd0ef949974a698)

5 years agoSkip router creation in selected rally tests 44/67444/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>
(cherry picked from commit d5e56ad6becd1bb2aa7dafbfccb37c6b84512955)

5 years agoUpdate ujson (Alpine 3.9) 23/67423/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>
(cherry picked from commit c6eb6eca4bb1919c8c943cf534b3e9c935e73118)

5 years agoFix other broken links 86/67386/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>
(cherry picked from commit daf01598d6030a29ccddc3023ee94fe9b0e3b320)

5 years agoFix the broken link in docs 82/67382/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>
(cherry picked from commit d35d774484de9e444a35322524357c142acd1859)

5 years agoRemove snaps testcases from site.yml 80/67380/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>
(cherry picked from commit 8be6277951925e0eeaecb078de2ec4c0b007a38a)

5 years agoFix manifest-tool builds 73/67373/2
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>
(cherry picked from commit 34b5f05cefa2b28e2ff9835cdd7415a0023474fe)

5 years agoUpdate Alpine tag in ansible/site.yml and build.sh 61/67361/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>
(cherry picked from commit 43d4ce6bd5d0778fb51b014d33a04afafa6a18bb)

5 years agoUpdate rest-client for IMS testing 60/67360/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>
(cherry picked from commit 6e4d9a3571bddf94065c9eb031b59731dad4b36d)

5 years agoUpdate to Apine 3.9 59/67359/1
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>
(cherry picked from commit ee700ae5c7ab1fa3e761c330686f89f3ddefbfd3)

5 years agoRemove hardcoded tempos in heat_ims 43/67343/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>
(cherry picked from commit ce305aa6d78ca62649d43b73b1d8f3b851584d81)

5 years agoMerge "Update RefStack list to 2018.11" into stable/hunter
Cedric Ollivier [Fri, 22 Mar 2019 09:54:29 +0000 (09:54 +0000)]
Merge "Update RefStack list to 2018.11" into stable/hunter

5 years agoSet ext net and name server in Shaker templates 29/67329/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>
(cherry picked from commit 492f85284cbe3b78c66d60e187081701c8eb4869)

5 years agoUpdate RefStack list to 2018.11 19/67319/2
Cédric Ollivier [Thu, 21 Mar 2019 06:46:50 +0000 (07:46 +0100)]
Update RefStack list to 2018.11

It sets max_microversion to 2.65 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: I609ad1586ad5d03a00196c28ff5c6c23228037ce
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoDo not allow testcase skipping in refstack 99/67299/1
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>
(cherry picked from commit cfd79ec4c39e215a25fc3d99fc5368e7d874f7bf)

5 years agoAvoid killing create_number.py 86/67286/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>
(cherry picked from commit 45708eda7ba8e4ddac85930dbb5defb14b9af88b)

5 years agoPrint monit summary before running IMS testing 72/67272/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>
(cherry picked from commit 7bc4e13a4c5409ed7d869ae5c0220feba70dbf65)

5 years agoAdd sleeps and debugs in heat_ims 71/67271/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)
(cherry picked from commit 49dd51392ced7555c59d94a21c7b2632e4cfe8e9)

5 years agoRevert Snaps in upper-constraints.txt 63/67263/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>
(cherry picked from commit bf94db59bb7347dadcfc31accfaf2b71ec288285)

5 years agoBoot Cassandra at the end of heat_ims stack 49/67249/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>
(cherry picked from commit 56245ada9aad65420f7958224e05c17cf4a1c59f)

5 years agoRemove Snaps-based testcases 47/67247/1
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>
(cherry picked from commit e44841210c53290207db9b958c66cb8019910cb7)

5 years agoAdd deps in clearwater.yaml 40/67240/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>
(cherry picked from commit d217430315c5ac571c0006c1178ff6ac50bd3d3a)

5 years agoAllow building containers when refstack.openstack.org is down 33/67233/1
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>
(cherry picked from commit a52900d8c926dc4370dea3b3ebe94d20d05e1357)

5 years agoRemove inactive committers 29/67229/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>
(cherry picked from commit 575916bee58a32b1290ec8d1a3fd707dba541149)

5 years agoAdd dependencies in heat_ims 20/67220/1
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>
(cherry picked from commit 464829a80878ede363537ec4020be30c21a5b859)

5 years agoRemove SDNVPN as it doesn't participate to hunter 02/67202/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>
(cherry picked from commit f799428f8839a59973ba7edb3b6e66819e27e5ee)

5 years agoMerge tempest.py and conf_utils.py 00/67200/1
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>
(cherry picked from commit 226e0f36ee86202c262444cd0712250f4691ab49)

5 years agoModify the upstream Clearwater Heat files 91/67191/1
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>
(cherry picked from commit 39ab5b6cab5d6c664dc96bbb92781a9eed0aa41d)

5 years agoStop overriding ssh default timeout 67/67167/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>
(cherry picked from commit 147f5a373b4c8659826f1f626bd9b6042afc3934)

5 years agoStop forcing non default operator role 65/67165/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>
(cherry picked from commit 543884f5c2100878692260fd840624a549843238)

5 years agoChange password generator 58/67158/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>
(cherry picked from commit 470bcd99fdabf53d4652d13280329243d5f81c4a)

5 years agoPin neutron to the last Rocky version 53/67153/1
Cédric Ollivier [Fri, 1 Mar 2019 10:25:58 +0000 (11:25 +0100)]
Pin neutron to the last Rocky version

networking sfc and bgpvpn depend on it.
If unpinned, neutron 14.0.0.0b2 is selected and raise side effects [1]

neutron 14.0.0.0b2 has requirement neutron-lib>=1.24.0, but you'll have neutron-lib 1.18.0 which is incompatible.
neutron 14.0.0.0b2 has requirement pyroute2>=0.5.3; sys_platform != "win32", but you'll have pyroute2 0.5.2 which is incompatible.

[1] https://build.opnfv.org/ci/job/functest-features-docker-build-amd64-hunter/125/console

Change-Id: Id4ff5e67b62e9162bd3e7d866ef57fb1012cd994
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoSelect SFC Hunter in stable/hunter 46/67146/1
Cédric Ollivier [Thu, 28 Feb 2019 13:42:21 +0000 (14:42 +0100)]
Select SFC Hunter in stable/hunter

SFC team just published stable/hunter [1]

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

Change-Id: Ie3abe7b07ac86d60a47ba2b0be57cff2dbbce47f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoConform heat_ims subnets with other testcases 38/67138/1
Cédric Ollivier [Wed, 27 Feb 2019 20:29:23 +0000 (21:29 +0100)]
Conform heat_ims subnets with other testcases

It will be enhanced in a second step to calculate options from configs.

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

5 years agoReduce Heat Ims resources 29/67129/1
Cédric Ollivier [Wed, 27 Feb 2019 14:56:10 +0000 (15:56 +0100)]
Reduce Heat Ims resources

It eases testing with less resources.
It conforms with the new values in the Cloudify part [1].

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

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

5 years agoEnsure boot order in heat_ims 28/67128/1
Cédric Ollivier [Wed, 27 Feb 2019 09:56:20 +0000 (10:56 +0100)]
Ensure boot order in heat_ims

Ellis publishes the shared config which mostly fails when resources are
allocated in parallel (conflict). Then nothing works when the shared
config is blank.

It still remains failures in IMS testing which are still under analysis.

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

5 years agoGather all skipped tempest test cases 23/67123/1
Panagiotis Karalis [Mon, 25 Feb 2019 12:56:18 +0000 (14:56 +0200)]
Gather all skipped tempest test cases

This patch applies a change to the regex responsible for
identifying Tempest test cases. With the current regex some
skipped test cases are erroneously ignored.

The condition has been updated in order to match both format of
skipped testcases ('skip:' and 'skip [xxx]:')

Change-Id: Ie7144b01e07cae92918eede0324f3f1f2582c4aa
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
(cherry picked from commit 692c50bbeb01b57c184cd8629a534a19f9b9ad73)

5 years agoRemove useless vyos_vrouter output dir 09/67109/2
Cédric Ollivier [Mon, 25 Feb 2019 18:39:08 +0000 (19:39 +0100)]
Remove useless vyos_vrouter output dir

It doesn't store any file.

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

5 years agoUpdate VyOS to 1.1.8 00/67100/1
Cédric Ollivier [Sun, 24 Feb 2019 19:30:55 +0000 (20:30 +0100)]
Update VyOS to 1.1.8

It's worth mentionning that the filesystem is hugely reduced.

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

5 years agoEase copying/pasting the private keys from logs 95/67095/1
Cédric Ollivier [Sun, 24 Feb 2019 09:58:40 +0000 (10:58 +0100)]
Ease copying/pasting the private keys from logs

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

5 years agoReduce Cloudify Ims resources 94/67094/1
Cédric Ollivier [Sat, 23 Feb 2019 22:15:35 +0000 (23:15 +0100)]
Reduce Cloudify Ims resources

It eases testing with less resources.

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

5 years agoStop downloading Cloudify container 89/67089/1
Cédric Ollivier [Sat, 23 Feb 2019 08:49:58 +0000 (09:49 +0100)]
Stop downloading Cloudify container

It selects the Docker image archive as proposed by Cloudify.

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

5 years agoEnrich Rally results output 58/67058/1
Stamatis Katsaounis [Thu, 14 Feb 2019 20:39:36 +0000 (22:39 +0200)]
Enrich Rally results output

This patch adds success/failure information of rally test cases to
summary output.

Change-Id: Ie4f9b4972a26e187bb7afdddfd5ce51b16f3db12
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
(cherry picked from commit 13777d607dd219ace0157e560ff11c3cd6f1aad0)

5 years agoOnly run bgpvpn tempest api tests 56/67056/1
Cédric Ollivier [Mon, 18 Feb 2019 11:22:29 +0000 (12:22 +0100)]
Only run bgpvpn tempest api tests

It conforms with SFC regex and fits OPNFV criteria.
Running scenarios may force the use of bagpipe [1].

The SUT (functest-virtual) is being updated to verify SFC and BGPVPN
apis.

[1] https://docs.openstack.org/networking-bgpvpn/latest/user/drivers/bagpipe/index.html

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

5 years agoHarden upper-constraints.txt operations 40/67040/5
Cédric Ollivier [Fri, 15 Feb 2019 10:08:20 +0000 (11:08 +0100)]
Harden upper-constraints.txt operations

It takes into account the wget exit values and avoids manipulating a
falsy empty file.

It won't help fixing the network outages in LF network which have been
highlighted by false failures in api_check (the wrong snaps package
is installed [1])

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-latest-api_check-run/100/console

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

5 years agoGenerate xunit reports (rally and tempest) 41/67041/2
Cédric Ollivier [Thu, 14 Feb 2019 21:21:53 +0000 (22:21 +0100)]
Generate xunit reports (rally and tempest)

It adds xunit reports for rally-based and tempest-based testcases.
It completes the reports provided by snaps (thanks to Xtesting).

All rally related operations are moved to rally.
It allows removing the rally dependency to tempest which was false.

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

5 years agoUpdate rally to support one global html 42/67042/3
Cédric Ollivier [Fri, 15 Feb 2019 15:19:46 +0000 (16:19 +0100)]
Update rally to support one global html

It isn't supported by Rally initally selected in Functest Hunter [1].

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-hunter-rally_sanity-run/15/console

Change-Id: I3182e73db580fc32959339c13b3b725283535b29
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoStop building components in travis-ci 38/67038/2
Cédric Ollivier [Fri, 15 Feb 2019 14:23:27 +0000 (15:23 +0100)]
Stop building components in travis-ci

It was removed by "Move rally_full in benchmarking" [1]

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

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

5 years agoSpecify which rally tests to run 23/67023/1
Stamatis Katsaounis [Fri, 8 Feb 2019 16:56:16 +0000 (18:56 +0200)]
Specify which rally tests to run

This patch adds the ability to specify which rally test to run by
setting the appropriate configuration value.

Change-Id: I6cbc9d12aada4f8eab68d2219d94ae1391a79021
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
(cherry picked from commit d0cb38d7ad5046700564f2700df9b8c92706b32c)

5 years agoPublish tempest details into database 17/67017/1
Cédric Ollivier [Wed, 13 Feb 2019 20:23:28 +0000 (21:23 +0100)]
Publish tempest details into database

It switches from tempest.log to rally.log to conform with rally/stestr.

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

5 years agoFix smoke testcase list 07/67007/1
Cédric Ollivier [Wed, 13 Feb 2019 12:56:02 +0000 (13:56 +0100)]
Fix smoke testcase list

Rally_jobs were moved into benchmarking.
It completes "Move testcases in the right tiers" [1]

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

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

5 years agoGenerate one single report for Rally testcases 99/66999/1
Cédric Ollivier [Sat, 9 Feb 2019 10:32:26 +0000 (11:32 +0100)]
Generate one single report for Rally testcases

It eases sharing one single report including all task results.
For the time being, rally_jobs only generates neutron.html.
Then it only adds one report for rally_full and rally_sanity.

We may consider generating only one json file but it asks for
a refactoring (result parsing) which can be done in a second
change.

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

5 years agoIncrease timeout to reach vnf API 97/66997/1
Cédric Ollivier [Tue, 12 Feb 2019 20:52:59 +0000 (21:52 +0100)]
Increase timeout to reach vnf API

It increases the timeout in cloudify-based and clearwater-based
testcases to allow running them in parallel (functest-virtual) [1].

[1] https://build.opnfv.org/ci/job/functest-latest-gate/54/

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

5 years agoSet gnocchi as optional in Rally testcases 87/66987/1
Cédric Ollivier [Tue, 12 Feb 2019 13:31:41 +0000 (14:31 +0100)]
Set gnocchi as optional in Rally testcases

ci/testcases.yaml was copied/pasted when moving the rally testcases.
It completes "Set Gnocchi scenario as optional in rally tests" [1].

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

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

5 years agoUpdate ansible/site.yml (rally_full) 77/66977/1
Cédric Ollivier [Mon, 11 Feb 2019 18:39:16 +0000 (19:39 +0100)]
Update ansible/site.yml (rally_full)

It conforms with "Move rally_full in benchmarking" [1]

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

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

5 years agoMove rally_full in benchmarking 75/66975/1
Cédric Ollivier [Mon, 11 Feb 2019 07:54:06 +0000 (08:54 +0100)]
Move rally_full in benchmarking

It allows merging all benchmarking testcases in one tiers and saves
lots of time as they could all run in parallel.

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

5 years agoRemove go cache dir 71/66971/1
Cédric Ollivier [Tue, 12 Feb 2019 09:07:17 +0000 (10:07 +0100)]
Remove go cache dir

It saves about 290M.

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

5 years agoSelect last git commit id from vyos blueprint 65/66965/1
Cédric Ollivier [Tue, 12 Feb 2019 08:27:55 +0000 (09:27 +0100)]
Select last git commit id from vyos blueprint

The pull request #4 fixing the blueprint [1] was merged [1].

[1] https://github.com/oolorg/opnfv-vnf-vyos-blueprint/commit/9b76d46a388d32d4985797620e67c2ed3315b3e4
[2] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-hunter-gate/4/console

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

5 years agoUpdate and enable Cloudify-based testcases 31/66931/1
Cédric Ollivier [Mon, 11 Feb 2019 05:45:34 +0000 (06:45 +0100)]
Update and enable Cloudify-based testcases

It switches from the Cloudify virtual machine to the community
container which allows deploying vyos_vrouter and cloudify_ims.

Last stable Cloudify OpenStack plugin (2.4.17) is now deployed.
It also updates the Cloudify python package to latest release.

It adds a delay before deleting the blueprint which may be
improved in a second change (it allows enabling the testcase in
the stable release).

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

5 years agoIncrease juju_epc timeout 29/66929/1
Cédric Ollivier [Sat, 9 Feb 2019 16:14:15 +0000 (17:14 +0100)]
Increase juju_epc timeout

It fails 4 times in functest-virtual (out of 34) due to a possible slow
bandwidth (e.g. [1]).

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

Change-Id: Ie1aa69464f8dd0fa1a15900e7d49576368187a44
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove tempest_smoke from smoke 27/66927/1
Cédric Ollivier [Mon, 11 Feb 2019 10:41:14 +0000 (11:41 +0100)]
Remove tempest_smoke from smoke

It completes "Move testcases in the right tiers" [1]

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

Change-Id: Ic2e6ebf9371de87caafbfdb54029a24440e6fd5b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMove testcases in the right tiers 75/66875/1
Cédric Ollivier [Wed, 6 Feb 2019 06:48:36 +0000 (07:48 +0100)]
Move testcases in the right tiers

Here are the moves:
  - tempest_smoke in healthcheck
  - tempest_full and tempest_scenario in smoke
  - rally_jobs in benchmarking

It avoids conflicts between benchmarking tools and few functional
tests (short timeouts).

Then it should allow running in parallel all testcases in one tiers.
It also allows cleaning the additional steps defined in releng.

rally_full could move in benchmarking in a second step.

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

5 years agoUpdate Cloudify images 41/66841/1
Cédric Ollivier [Sat, 2 Feb 2019 18:39:43 +0000 (19:39 +0100)]
Update Cloudify images

The former image can't be downloaded and then breaks all gates.
It will be completed by changes in vnf if needed.

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

5 years agoOverride tempest upper-contraints 25/66825/1
Cédric Ollivier [Fri, 1 Feb 2019 23:59:02 +0000 (00:59 +0100)]
Override tempest upper-contraints

Change-Id: Ieadf7ec3d1b05eefa6634db5f3d0ea264e9994af
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate tempest to fix interfaces_by_fixed_ip 03/66803/1
Cédric Ollivier [Thu, 31 Jan 2019 16:39:33 +0000 (17:39 +0100)]
Update tempest to fix interfaces_by_fixed_ip

It includes [1] which allows testing even if one shared network is
defined.

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

Change-Id: I8bd72ad351a3702e9f72014a1ae43542e5d8e927
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove CreateInstanceVolumeTests (snaps_smoke) 53/66753/1
Cédric Ollivier [Mon, 28 Jan 2019 22:56:29 +0000 (23:56 +0100)]
Remove CreateInstanceVolumeTests (snaps_smoke)

The volume and the virtual machine created are not deleted.

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

5 years agoDecrease volume_size in all Rally tests 47/66747/1
Cédric Ollivier [Mon, 28 Jan 2019 19:37:29 +0000 (20:37 +0100)]
Decrease volume_size in all Rally tests

Devstack allocates a 24G disk image by default [1].
It can be easily reached by setting volume size to 5G or 10G.

[1] https://github.com/openstack-dev/devstack/blob/master/stackrc#L779

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

5 years agoAllow running latest tempest_full 27/66727/1
Cédric Ollivier [Sun, 27 Jan 2019 22:27:28 +0000 (23:27 +0100)]
Allow running latest tempest_full

It allows running test_user_update_own_password [1]

[1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-components-latest-tempest_full-run-8/results/tempest_full/tempest-report.html

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

5 years agoWait for apps being active (juju_epc) 21/66721/1
Cédric Ollivier [Mon, 28 Jan 2019 15:56:57 +0000 (16:56 +0100)]
Wait for apps being active (juju_epc)

It seems that juju-wait doesn't wait for all apps.
Juju_epc passes in functest-virtual thanks to that additional tries.

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

5 years agoClean project/user if snaps tests are skipped 01/66701/1
Cédric Ollivier [Mon, 28 Jan 2019 14:13:21 +0000 (15:13 +0100)]
Clean project/user if snaps tests are skipped

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

5 years agoMerge "Stop using urljoin when adding v3" into stable/hunter
Cedric Ollivier [Sun, 27 Jan 2019 10:45:41 +0000 (10:45 +0000)]
Merge "Stop using urljoin when adding v3" into stable/hunter

5 years agoMerge "Set Gnocchi scenario as optional in rally tests" into stable/hunter
Cedric Ollivier [Sun, 27 Jan 2019 10:45:35 +0000 (10:45 +0000)]
Merge "Set Gnocchi scenario as optional in rally tests" into stable/hunter

5 years agoRemove Snaps NeutronUtilsFloatingIpTests 69/66669/2
Cédric Ollivier [Sat, 26 Jan 2019 23:24:27 +0000 (00:24 +0100)]
Remove Snaps NeutronUtilsFloatingIpTests

It has been fixed in Snaps [1] but we can't sync its requiremets [2].
Then we have to remove the test.

[1] https://gerrit.opnfv.org/gerrit/#/c/66625/
[2] https://gerrit.opnfv.org/gerrit/#/c/66627/1

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

5 years agoStop using urljoin when adding v3 63/66663/2
Cédric Ollivier [Sat, 26 Jan 2019 23:06:32 +0000 (00:06 +0100)]
Stop using urljoin when adding v3

urljoin works here only if url ends by /.
It replaces identity by v3 when running vs devstack.

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

5 years agoSet Gnocchi scenario as optional in rally tests 71/66671/1
Juha Kosonen [Sat, 26 Jan 2019 10:53:26 +0000 (12:53 +0200)]
Set Gnocchi scenario as optional in rally tests

The execution of an optional scenario is skipped if the corresponding
openstack service does not exist.

Change-Id: I8721f26ebc253ce02138b85d6c88e659c5afae80
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit 3b7b393ca643bcf7db0361bcc4414b74fff953be)

5 years agoRemove test_get_endpoint_with_each_interface 57/66657/1
Cédric Ollivier [Sat, 26 Jan 2019 22:36:10 +0000 (23:36 +0100)]
Remove test_get_endpoint_with_each_interface

It checks all 3 endpoints for image but nothing forces to define them.
Here is the only endpoint created by devstack.

glance      | image          | RegionOne
            |                |   public: http://192.168.1.10/image

[1] keystoneauth1.exceptions.catalog.EndpointNotFound: internal endpoint for image service in RegionOne region not found

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

5 years agoSlightly improve heat_ims 31/66531/1
Cédric Ollivier [Sun, 20 Jan 2019 13:39:45 +0000 (14:39 +0100)]
Slightly improve heat_ims

It increases timeouts which could be reached if shared bandwidth
(functest-virtual [1]).

[1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-vnf-latest-heat_ims-run-4/results/functest.log

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