functest.git
5 years agoBlacklist create_and_delete_stack if no floating ip 56/68456/1
Cédric Ollivier [Sat, 7 Sep 2019 16:29:36 +0000 (18:29 +0200)]
Blacklist create_and_delete_stack if no floating ip

One HeatStacks.create_and_delete_stack call asks for floating_network.

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

5 years agoPrevent occasional rally hangs 53/68453/1
Juha Kosonen [Wed, 4 Sep 2019 12:21:00 +0000 (15:21 +0300)]
Prevent occasional rally hangs

Set timeout on subprocess invocation instead of spawned child process.

Increase the timeout value for rally_full to 2h since the execution
typically takes ~90min [1].

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-benchmarking-latest-rally_full-run/22/

Change-Id: I0ca90bc2d85b4625336eb0396d8b2816a486b746
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
(cherry picked from commit 9f07e41cc85f3dbe6e5eb151a0c59743521a6c00)

5 years agoMerge "Switch to the classical ping (iputils)" into stable/hunter
Cedric Ollivier [Tue, 27 Aug 2019 11:34:07 +0000 (11:34 +0000)]
Merge "Switch to the classical ping (iputils)" into stable/hunter

5 years agoSupport regex in tempest blacklist 99/68399/1
Juha Kosonen [Mon, 26 Aug 2019 10:28:41 +0000 (13:28 +0300)]
Support regex in tempest blacklist

The expression both in the test cases as well as applicable scenarios
support regex in blacklist.

Change-Id: Id76297a1cfbf908bda67641bc7ba686db83d76e6
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years agoSwitch to the classical ping (iputils) 97/68397/1
Cédric Ollivier [Mon, 26 Aug 2019 20:14:02 +0000 (22:14 +0200)]
Switch to the classical ping (iputils)

Ping provided by busybox doesn't support -M (pmtudisc_opt) which is
asked by [1] (part of tempest_slow).

[1] tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_mtu_sized_frames

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

5 years agoConforms with latest changes in Xtesting ansible role. 80/68380/1
Cédric Ollivier [Thu, 22 Aug 2019 11:16:54 +0000 (13:16 +0200)]
Conforms with latest changes in Xtesting ansible role.

It selects the generic way to set execution-type [1].

[1] https://github.com/collivier/ansible-role-xtesting/commit/292ab576fb8f0a13519bacc5ec46561a3ed8f838

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

5 years agoClean orphan security groups 66/68366/1
Cédric Ollivier [Sun, 18 Aug 2019 14:12:37 +0000 (16:12 +0200)]
Clean orphan security groups

It removes all security groups which are not owned by a project.
This approach seems suitable as it works even if dynamic accounts
(tempest and rally). All other OpenStack resources are still
removed by the underlying framework.

It lists all orphan security groups in use as debug to avoid
misunderstanding the testcase results (it could happen if cloud admin
removes accounts without cleaning the virtual machines).

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

5 years agoFix last redirects in docs 61/68361/1
Cédric Ollivier [Sat, 17 Aug 2019 09:37:57 +0000 (11:37 +0200)]
Fix last redirects in docs

It takes into account last warnings from Sphinx linkcheck.

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

5 years agoAllow rally_jobs without external network 59/68359/1
Cédric Ollivier [Fri, 16 Aug 2019 19:36:14 +0000 (21:36 +0200)]
Allow rally_jobs without external network

rally_jobs can verify network providers by skipping:
  - NeutronNetworks.create_and_delete_floating_ips
  - NeutronNetworks.create_and_list_floating_ips
  - NeutronNetworks.associate_and_dissociate_floating_ips

Co-Authored-By: Juha Kosonen <juha.kosonen@nokia.com>
Change-Id: Ibda66e47f4d1101b53435ef4cd144dacbabff165
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 0dfe9d377b0170b74455129222f12ff1ccb99814)

5 years agoFix rally task file manipulation 55/68355/1
Juha Kosonen [Thu, 15 Aug 2019 13:15:21 +0000 (16:15 +0300)]
Fix rally task file manipulation

Remove empty workload entries when applying blacklist in RallyJobs.
Rally considers task file as invalid if it contains entries whose
workload list empty.

Change-Id: I34867c0aeea9c5ecf1294959d680e6de535be9cd
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years agoRun Functest unit tests and linters via CircleCI 42/68342/1
Cédric Ollivier [Sat, 10 Aug 2019 13:21:38 +0000 (15:21 +0200)]
Run Functest unit tests and linters via CircleCI

It runs tox and publishes the artifacts.
It's worth mentioning that all docker images are already built via
Travis CI (amd64, arm and arm64) [1].

https://travis-ci.org/collivier/functest

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

5 years agoIncrease verify venv list in travis-ci 04/68304/2
Cédric Ollivier [Sat, 3 Aug 2019 11:38:24 +0000 (13:38 +0200)]
Increase verify venv list in travis-ci

It cannot run perm due to the false umask in travis-ci [1].

[1] https://travis-ci.community/t/file-permissions-just-gone-up-to-664/1547/4

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

5 years agoRun perm when checking all changes 98/68298/1
Cédric Ollivier [Sat, 3 Aug 2019 11:02:05 +0000 (13:02 +0200)]
Run perm when checking all changes

It should be forbidden in releng jjbs if still needed.

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

5 years agoSelect the latest tempest version 80/68280/1
Cédric Ollivier [Sat, 27 Jul 2019 19:16:22 +0000 (21:16 +0200)]
Select the latest tempest version

It selects the first release including our fixes.

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

5 years agoEnable py36 unit tests 68/68268/1
Cédric Ollivier [Sat, 27 Jul 2019 10:16:24 +0000 (12:16 +0200)]
Enable py36 unit tests

It benefits from the swith to lf-virtual1.

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

5 years agoMerge "Add proxy in cloudify_ims" into stable/hunter
Cedric Ollivier [Fri, 26 Jul 2019 07:31:56 +0000 (07:31 +0000)]
Merge "Add proxy in cloudify_ims" into stable/hunter

5 years agoAdd proxy in cloudify_ims 58/68258/1
Thierry ALLENO [Wed, 24 Jul 2019 09:36:42 +0000 (11:36 +0200)]
Add proxy in cloudify_ims

Add http-proxy configuration for pip in cloudify_ims testcase.
Correct some errors.

Change-Id: I980fc78f48c5be5d6166388f8b72f40cb613162c
Signed-off-by: Thierry ALLENO <thierry.alleno@orange.com>
5 years agoUpdated from global requirements 57/68257/1
Cédric Ollivier [Wed, 24 Jul 2019 09:18:43 +0000 (11:18 +0200)]
Updated from global requirements

Change-Id: Id43d175f0a61915fc703169fa6e115ee3bcd7556
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoConform with new ODL urls 49/68249/1
Cédric Ollivier [Sun, 21 Jul 2019 13:34:44 +0000 (15:34 +0200)]
Conform with new ODL urls

It now clones https://git.opendaylight.org/gerrit/integration/test

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

5 years agoReuse same cidr in juju 31/68231/1
Cédric Ollivier [Thu, 11 Jul 2019 12:32:26 +0000 (14:32 +0200)]
Reuse same cidr in juju

It seems fine with latest juju updates and eases setting no_proxy
rules.

Change-Id: I30e66568ec7339fc038b27e5ca47b26959842bf8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoAllow scenarios without external network 25/68225/1
Cédric Ollivier [Wed, 10 Jul 2019 20:13:37 +0000 (22:13 +0200)]
Allow scenarios without external network

It allows creating testcases leveraging on Functest scenarios without
external network. Then Rally can verify network providers by only
skipping NovaServers.boot_server_associate_and_dissociate_floating_ip

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

5 years agoset proxies in ubuntu for juju_epc use case 13/68213/1
Thierry ALLENO [Fri, 5 Jul 2019 14:42:11 +0000 (16:42 +0200)]
set proxies in ubuntu for juju_epc use case

Modification in add_proxy.sh in order to set proxy for juju_epc in various middleware(maven, subversion,...).
And add some control for modification of cloudify container.
Remove some trailing lines and define http_proxy using http_proxy_host and http_proxy_port.

Change-Id: I9d85387f107b1b050ee96bf0ee6df9ba662b0df4
Signed-off-by: Thierry ALLENO <thierry.alleno@orange.com>
(cherry picked from commit 16bd94efa559df105c28b90c891c84088b0c651e)

5 years agoAdd warning messages in vyos_vrouter 04/68104/2
Cédric Ollivier [Mon, 24 Jun 2019 15:24:54 +0000 (17:24 +0200)]
Add warning messages in vyos_vrouter

Both Cloudify based testcases print the same warning messages if
NEW_USER_ROLE is admin. An additional whitespace is removed too.

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

5 years agoSet proxies in Cloudify container 03/68103/2
Cédric Ollivier [Mon, 24 Jun 2019 15:21:29 +0000 (17:21 +0200)]
Set proxies in Cloudify container

add_proxy.sh now modifies Cloudify containers to allow proxies.
It follows "Update and enable Cloudify-based testcases" [1]

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

Co-Authored-By: Thierry ALLENO <thierry.alleno@orange.com>
Change-Id: I54cfcd73685695c5f66f24acd32f126786acf48e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit f246dd3889df5302756c9c73d70b346695aca146)

5 years agoFix link in docs (E2 Testing in Kubernetes) 12/68112/1
Cédric Ollivier [Tue, 25 Jun 2019 13:54:21 +0000 (15:54 +0200)]
Fix link in docs (E2 Testing in Kubernetes)

It conforms with "Cleanup tombstone files in community/devel" [1] and
fixes the gates [2]

[1] https://github.com/kubernetes/community/commit/4bb72158434b2d29094b06af4c9bda284e5417fd
[2] https://build.opnfv.org/ci/job/functest-verify-iruya/111/

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

5 years agoMerge "Remove quota about instances in shaker" into stable/hunter
Cedric Ollivier [Fri, 21 Jun 2019 12:49:28 +0000 (12:49 +0000)]
Merge "Remove quota about instances in shaker" into stable/hunter

5 years agoRemove quota about instances in shaker 83/68083/1
Cédric Ollivier [Thu, 20 Jun 2019 08:17:36 +0000 (10:17 +0200)]
Remove quota about instances in shaker

The default quota could be inadequate if lots of computes.

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

5 years agoUpdate tempest commit id 75/68075/1
Cédric Ollivier [Wed, 19 Jun 2019 16:07:56 +0000 (18:07 +0200)]
Update tempest commit id

It includes "Fix region leaks after testing endpoints" [1].

[1] https://github.com/openstack/tempest/commit/e8088d1218eba0b8e4ed59fa5ca30ac9b664b7fb

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

5 years agoFix ShellCheck warnings 59/68059/2
Cédric Ollivier [Sat, 15 Jun 2019 10:05:43 +0000 (12:05 +0200)]
Fix ShellCheck warnings

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

5 years agoTurn all bashate warnings as errors 58/68058/1
Cédric Ollivier [Fri, 14 Jun 2019 15:40:53 +0000 (17:40 +0200)]
Turn all bashate warnings as errors

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

5 years agoAdd rally_jobs in config patches 29/68029/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>
(cherry picked from commit e39bc8e266d451f2e0ade7b26aae6d6895d07234)

5 years agoAdd one missing output decode in rally.py 26/68026/1
Cédric Ollivier [Sun, 9 Jun 2019 09:17:12 +0000 (11:17 +0200)]
Add one missing output decode in rally.py

It partially cherry-picks "Conform with latest Neutron rally job" [1]

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

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

5 years agoBlacklist test_list_metadef_namespaces (Patrole) 24/68024/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>
(cherry picked from commit 02b9592a129472ffd26206541f8efefe1f759957)

5 years agoUpdate all patches about functest configs 90/67890/3
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>
(cherry picked from commit dbb00ca3ee3e3349b42c8133dee6b1abdbcb10c3)

5 years agoPin ruamel.yaml.jinja2 18/68018/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>
(cherry picked from commit 3472870b0e42c135d004e0006ad3e3607036e553)

5 years agoUpdated from global requirements 99/67999/1
Cédric Ollivier [Tue, 4 Jun 2019 18:20:15 +0000 (20:20 +0200)]
Updated from global requirements

Change-Id: Ibc60387cd43bd18d49631afb1050c0cec0e371e1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoPublish rally logs 92/67992/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>
(cherry picked from commit bc88eff8f5850f8207431bb8d1958fe6b9cd09e8)

5 years agoMerge "correct permanent redirects in documentation" into stable/hunter
Cedric Ollivier [Sun, 2 Jun 2019 10:06:18 +0000 (10:06 +0000)]
Merge "correct permanent redirects in documentation" into stable/hunter

5 years agocorrect permanent redirects in documentation 88/67988/1
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) 86/67986/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 agoRemove PyNacl contraints in Features 63/67963/2
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>
(cherry picked from commit 7a628f087403089d282cda14bcba858d8b0bc6c3)

5 years agoStop downgrading pip 59/67959/2
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>
(cherry picked from commit 5819ff6a14e7e89b6c7004336bfcabed9f16baa4)

5 years agoInstall PyNaCl via package 58/67958/2
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>
(cherry picked from commit 6aad708727e41eaa8f61a104323386568a163dd3)

5 years agoRun bandit when verifying changes 51/67951/1
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>
(cherry picked from commit 0440ffcac18991395799e5aafc9243e028917ab6)

5 years agoSet utf-8 in decode and encode calls 42/67942/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>
(cherry picked from commit 5853dd1ef3c522a975f9685250b1b3e85588f738)

5 years agoDecode Bytes in logging calls 32/67932/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>
(cherry picked from commit 7d58f89103a8c44fd166c3e06b492ade63e5c5b3)

5 years agoMerge "Enable Vmtp if py3" into stable/hunter
Cedric Ollivier [Fri, 24 May 2019 07:15:32 +0000 (07:15 +0000)]
Merge "Enable Vmtp if py3" into stable/hunter

5 years agoEnable Vmtp if py3 17/67917/1
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>
(cherry picked from commit f994b9180b621ae6bb6397acd23de8f1a625c4cd)

5 years agoUpdate to Python3 13/67913/1
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>
(cherry picked from commit 2a0702ea914a574ffa7c6d6f83a5c606e24ebd0a)

5 years agoUpdate Pylint score (10/10) in Release notes 11/67911/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>
(cherry picked from commit ab5dfff578e7c9686882c844ff2c0fed1f663e6f)

5 years agoAvoid running local dnsmasq when testing IMS 96/67896/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>
(cherry picked from commit a82827bd4f93c318f0bc2554928ab2213d1ee766)

5 years agoUpdate tempest to avoid resource leaks in EndPointGroupsTest 87/67887/1
Cédric Ollivier [Sat, 18 May 2019 09:27:06 +0000 (11:27 +0200)]
Update tempest to avoid resource leaks in EndPointGroupsTest

It includes "Fix resource leaks in EndPointGroupsTest" [1] which
removes the 2 remaining tempest services.

It's worth mentioning they raised side effects when trying to connect
to Horizon.

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

5 years agoUpdate defcore.txt to the latest cached one 52/67852/1
Cédric Ollivier [Mon, 13 May 2019 19:03:58 +0000 (21:03 +0200)]
Update defcore.txt to the latest cached one

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

5 years agoAllow building containers when refstack.openstack.org is down 48/67848/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>
(cherry picked from commit 6b578b9068164eab33b2cc2d6002f59b9af88f8d)

5 years agoRevert "Disable Patrole network.test_agents_rbac" 32/67832/1
Cédric Ollivier [Sat, 11 May 2019 14:54:39 +0000 (16:54 +0200)]
Revert "Disable Patrole network.test_agents_rbac"

This reverts commit 4fd59de2b5751437ca6faf71415129cf6f64cf8f.
It should have been applied in master and iruya only.

Change-Id: I8f467e5cbe2f230a0a3f119a3f4ad80da8a5a6bf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdate neutron-tempest to 0.3.0 31/67831/1
Cédric Ollivier [Sat, 11 May 2019 14:51:51 +0000 (16:51 +0200)]
Update neutron-tempest to 0.3.0

It includes the fix "Cleanup Tempest tests legacy resources" [1]
which cleans all remaining routers and security groups detected
in Functest gates.

[1] https://github.com/openstack/neutron-tempest-plugin/commit/2de722ef0af284b4f68e952df53ad4f0d9d452be#diff-44d072bece4c5873f0e78df8ad7cacf2

Change-Id: I4da824447ab67e4b0aba044c39467f8f105b5630
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoDisable Patrole network.test_agents_rbac 98/67798/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>
(cherry picked from commit d4178d425312497412e9832fb6cb1a074e5099f3)

5 years agoEnable volume backup testing 51/67751/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>
(cherry picked from commit 305f9f41df7ecba640fc4552269bca8ee588b92c)

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)