functest.git
3 years agoRemove Rally Router testing if no tenant resources 31/71631/1
Cédric Ollivier [Fri, 4 Dec 2020 12:48:52 +0000 (13:48 +0100)]
Remove Rally Router testing if no tenant resources

It pleases airship which doesn't support neither routers and floating
ips.

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

3 years agoStop setting floating_ips in tempest_conf.yaml 22/71622/1
Cédric Ollivier [Fri, 4 Dec 2020 12:01:32 +0000 (13:01 +0100)]
Stop setting floating_ips in tempest_conf.yaml

It's now handled by tempest.py

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

3 years agoRemove list_routers call if no tenant network 08/71608/1
Cédric Ollivier [Wed, 2 Dec 2020 16:34:06 +0000 (17:34 +0100)]
Remove list_routers call if no tenant network

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

3 years agoClean obsolete OPNFV contraints. 58/71558/1
Cédric Ollivier [Sun, 29 Nov 2020 11:19:48 +0000 (12:19 +0100)]
Clean obsolete OPNFV contraints.

Most of the projects are closed or at best no longer integrated in
Functest features.

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

3 years agoStop duplicating connect_method 51/71551/1
Cédric Ollivier [Sat, 28 Nov 2020 09:27:37 +0000 (10:27 +0100)]
Stop duplicating connect_method

This config is now managed dynamically by tempest.py

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

3 years agoReplace git.openstack.org by opendev.org 44/71544/1
Cédric Ollivier [Fri, 27 Nov 2020 16:21:08 +0000 (17:21 +0100)]
Replace git.openstack.org by opendev.org

https://build.opnfv.org/ci/job/functest-smoke-docker-build-amd64-master/910/console

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

3 years agoProtect vs false detected external networks if l2-only 34/71534/1
Cédric Ollivier [Fri, 27 Nov 2020 12:26:46 +0000 (13:26 +0100)]
Protect vs false detected external networks if l2-only

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

3 years agoSkip dataplane benchmarkign if no tenant resources 26/71526/1
Cédric Ollivier [Thu, 26 Nov 2020 16:57:23 +0000 (17:57 +0100)]
Skip dataplane benchmarkign if no tenant resources

It asks for routers for instance.

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

3 years agoRemove former allow_no_fip logic 20/71520/1
Cédric Ollivier [Thu, 26 Nov 2020 16:40:26 +0000 (17:40 +0100)]
Remove former allow_no_fip logic

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

3 years agoAllow running cloudify without tenant network resources. 14/71514/1
Cédric Ollivier [Thu, 26 Nov 2020 16:31:58 +0000 (17:31 +0100)]
Allow running cloudify without tenant network resources.

It fits the Airship deployment where there is neither tenant networks
nor floating ips. It skips all VNF test cases as they ask for tenant
resources.

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

3 years agoAllow running tempest without tenant network resources. 08/71508/1
Cédric Ollivier [Thu, 26 Nov 2020 14:55:51 +0000 (15:55 +0100)]
Allow running tempest without tenant network resources.

It fits the Airship deployment where there is neither tenant networks
nor floating ips. It only updates the scenarios and must be completed
by other changes for all the advanced testcases (Rally, Tempest, etc)

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

3 years agoRemove rtd-requirements.txt 82/71482/1
Cédric Ollivier [Tue, 24 Nov 2020 10:26:23 +0000 (11:26 +0100)]
Remove rtd-requirements.txt

It's now useless (snaps was removed).

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

3 years agoRemove snaps from rtd requirements 68/71468/1
Cédric Ollivier [Mon, 23 Nov 2020 14:43:44 +0000 (15:43 +0100)]
Remove snaps from rtd requirements

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

3 years agoForce nics in NovaServers.boot_server_and_list_interfaces 22/71422/1
Cédric Ollivier [Thu, 19 Nov 2020 15:00:58 +0000 (16:00 +0100)]
Force nics in NovaServers.boot_server_and_list_interfaces

It stops leveraging auto_assign_nic which fails in case of Airship.

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

3 years agoUse EXTERNAL_NETWORK as a fallback if no tenant network 14/71414/1
Cédric Ollivier [Wed, 18 Nov 2020 15:16:23 +0000 (16:16 +0100)]
Use EXTERNAL_NETWORK as a fallback if no tenant network

It pleases the networking configuration proposed by Airship.

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

3 years agoFix branch when calling download_images.sh 01/71401/1
Cédric Ollivier [Sun, 15 Nov 2020 22:23:48 +0000 (23:23 +0100)]
Fix branch when calling download_images.sh

Change-Id: I71a58bd5503fea1cdfb4bdf0309ab300f8f68f04
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoAllow connecting vm to the external network 93/71393/1
Cédric Ollivier [Sat, 14 Nov 2020 14:31:43 +0000 (15:31 +0100)]
Allow connecting vm to the external network

It fits the Airship deployment where there is neither tenant networks
nor floating ips. It only updates the scenarios and must be completed
by other changes for all the advanced testcases (Rally, Tempest, etc)

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

3 years agoAdd timeout as needed by Gitlab CI/CD 87/71387/1
Cédric Ollivier [Thu, 12 Nov 2020 16:39:45 +0000 (17:39 +0100)]
Add timeout as needed by Gitlab CI/CD

Gitlab CI/CD sets 1h as default timeout.
The timeout is valid for all test cases in tiers (current XtestingCI
design).

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

3 years agoRun vnfs in parallel 63/71363/1
Cédric Ollivier [Mon, 9 Nov 2020 16:47:47 +0000 (17:47 +0100)]
Run vnfs in parallel

Jenkins slaves must be limited to 2 (default setup) if needed.

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

3 years agoSplit Gates in a dedicated site.yml 62/71362/1
Cédric Ollivier [Mon, 9 Nov 2020 16:51:06 +0000 (17:51 +0100)]
Split Gates in a dedicated site.yml

Change-Id: I734e1d96f5122c961c163138498ab5da1ff0fa62
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoUpdate tempest_custom in userguide 41/71341/1
Cédric Ollivier [Tue, 3 Nov 2020 08:03:55 +0000 (09:03 +0100)]
Update tempest_custom in userguide

It was mostly only used by OVP (Functest leverages regexes).
It's now up-to-date about stevedore.

Functest users are free to overwrite any refstack list (e.g.
/home/opnfv/functest/data/refstack/platform.txt) if they want the same
behavior [1].

[1] https://git.opnfv.org/functest/tree/docker/smoke/platform.txt

Co-Authored-By: Roman Kuzmin <rkuzmin@mirantis.com>
Change-Id: I2b6c3ceda102319bfea810ab2a7bf2d911e20f6b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 5d3e55c9eec208276121b0c4929de568244a7330)

3 years agoSwith to active abot_charm repo 23/71223/1
Cédric Ollivier [Mon, 5 Oct 2020 11:36:19 +0000 (13:36 +0200)]
Swith to active abot_charm repo

We keep syncing both repos but it helps quickly integrating patches.

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

3 years agoModify smoke and benchmarking in Docker From 15/71215/1
Cédric Ollivier [Sun, 4 Oct 2020 14:20:27 +0000 (16:20 +0200)]
Modify smoke and benchmarking in Docker From

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

3 years agoAdd helm_vims in release notes and console outputs 52/71152/1
Cédric Ollivier [Wed, 16 Sep 2020 08:42:18 +0000 (10:42 +0200)]
Add helm_vims in release notes and console outputs

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

3 years agoUpdate kube_bench split in doc 17/71117/1
Cédric Ollivier [Sun, 13 Sep 2020 18:37:56 +0000 (20:37 +0200)]
Update kube_bench split in doc

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

3 years agoFi docker tags in site.cntt.yaml 61/71061/1
Cédric Ollivier [Wed, 9 Sep 2020 17:37:41 +0000 (19:37 +0200)]
Fi docker tags in site.cntt.yaml

Change-Id: Ie6a017e203d9a552c62987578cca41f96ed76843
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoUpdate Functest Kubernetes outputs 98/70998/1
Cédric Ollivier [Sun, 6 Sep 2020 20:15:39 +0000 (22:15 +0200)]
Update Functest Kubernetes outputs

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

3 years agoRemove build date which fails spellcheck 91/70991/1
Cédric Ollivier [Sun, 6 Sep 2020 17:08:41 +0000 (19:08 +0200)]
Remove build date which fails spellcheck

https://travis-ci.org/github/collivier/functest/jobs/724612517

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

3 years agoUpdate Xtesting to 0.91.0 61/70961/3
Cédric Ollivier [Sat, 5 Sep 2020 13:12:17 +0000 (15:12 +0200)]
Update Xtesting to 0.91.0

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

3 years agoUpdate K8s test case results in doc 71/70871/1
Cédric Ollivier [Sun, 23 Aug 2020 12:44:36 +0000 (14:44 +0200)]
Update K8s test case results in doc

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

3 years agoDelete vgpu testcase 09/70809/3
Cédric Ollivier [Mon, 17 Aug 2020 09:17:30 +0000 (11:17 +0200)]
Delete vgpu testcase

It's not longer executed and offered in any Functest container.

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

3 years agoBoot a VM to run juju 08/70808/1
Cédric Ollivier [Mon, 17 Aug 2020 09:06:04 +0000 (11:06 +0200)]
Boot a VM to run juju

It allows running juju_epc vs arm32 and arm64.
It stops offering juju in functest-vnf and rather installs it in a VM.

It also adds a couple of missing output decode()

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

3 years agoUpdate docs links 70/70670/1
Cédric Ollivier [Wed, 5 Aug 2020 15:01:56 +0000 (17:01 +0200)]
Update docs links

It takes into account Bitergia EOL.

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

3 years agoConform with git format-patch for last tempest patch 30/70630/1
Cédric Ollivier [Sat, 1 Aug 2020 09:55:58 +0000 (11:55 +0200)]
Conform with git format-patch for last tempest patch

The patch name must conform with the last commit update.

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

3 years agoRevert ssh_timeout to 196 in Functest 29/70629/1
Cédric Ollivier [Sat, 1 Aug 2020 09:43:42 +0000 (11:43 +0200)]
Revert ssh_timeout to 196 in Functest

The race condition has been fixed [1] and we can try the timeout used
in OpenStack gates.

[1] https://gerrit.opnfv.org/gerrit/c/functest/+/70606

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

3 years agoIncrease check_console_loop to 12 28/70628/1
Cédric Ollivier [Sat, 1 Aug 2020 09:42:04 +0000 (11:42 +0200)]
Increase check_console_loop to 12

It failed once when deeply testing in parallel [1].

https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-jerma-vyos_vrouter-run/80/console

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

3 years agoApply new Create-new-server-test_reboot_server_hard.patch 07/70607/1
Cédric Ollivier [Wed, 29 Jul 2020 10:26:37 +0000 (12:26 +0200)]
Apply new Create-new-server-test_reboot_server_hard.patch

test_reboot_server_hard sometimes fail in all gates [1].
This hack could highlight if they are side effects between
test_create_backup and test_reboot_server_hard.

[1] http://artifacts.opnfv.org/functest/E5AZMH89OOK6/functest-opnfv-functest-smoke-cntt-hunter-tempest_full_cntt-run-142/tempest_full_cntt/tempest-report.html

Change-Id: I230a6faa4b619e71646a312500ee38a3a8b1093c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoPrint data to debug ServerActionsTestJSON.test_reboot_server_hard 88/70588/1
Cédric Ollivier [Sun, 26 Jul 2020 16:18:35 +0000 (18:18 +0200)]
Print data to debug ServerActionsTestJSON.test_reboot_server_hard

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

3 years agoCreate new server test_reboot_server_hard 70/70570/3
Cédric Ollivier [Mon, 20 Jul 2020 23:26:44 +0000 (01:26 +0200)]
Create new server test_reboot_server_hard

It sometimes fail in all gates [1]
This hack could highlight if it's a timeout issue or race conditions
between all tempest tests.

[1] http://artifacts.opnfv.org/functest/E5AZMH89OOK6/functest-opnfv-functest-smoke-cntt-hunter-tempest_full_cntt-run-142/tempest_full_cntt/tempest-report.html

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

3 years agoUse default ssh_timeout (300) in Functest 60/70560/1
Cédric Ollivier [Sun, 19 Jul 2020 09:14:33 +0000 (11:14 +0200)]
Use default ssh_timeout (300) in Functest

196 is used in OpenStack gates but it doesn't fit the Functest model.
Functest runs all test cases in parallel vs the same SUT.

https://github.com/openstack/tempest/blob/master/tempest/lib/common/ssh.py#L38

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

3 years agoUpdate microversions (Train) in CNTT testing 44/70544/1
Cédric Ollivier [Tue, 14 Jul 2020 14:08:29 +0000 (16:08 +0200)]
Update microversions (Train) in CNTT testing

Baraque selects Train:
https://github.com/cntt-n/CNTT/pull/1782
https://github.com/cntt-n/CNTT/pull/1783

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

3 years agoEnable back manage_snapshot testing in CNTT 43/70543/1
Cédric Ollivier [Wed, 27 May 2020 12:05:53 +0000 (14:05 +0200)]
Enable back manage_snapshot testing in CNTT

Baraque selects Train:
https://github.com/cntt-n/CNTT/pull/1782
https://github.com/cntt-n/CNTT/pull/1783

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

3 years agoEnable back RemoteStack testing from tempest_heat_cntt 42/70542/1
Cédric Ollivier [Tue, 14 Jul 2020 13:19:59 +0000 (15:19 +0200)]
Enable back RemoteStack testing from tempest_heat_cntt

Baraque selects Train:
https://github.com/cntt-n/CNTT/pull/1782
https://github.com/cntt-n/CNTT/pull/1783

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

3 years agoUpdate functest/ci/testcases.yaml 36/70536/1
Cédric Ollivier [Sun, 7 Jun 2020 14:46:58 +0000 (16:46 +0200)]
Update functest/ci/testcases.yaml

It takes all CNTT changes into account.

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

3 years agoFix tempest_scenario 50/70450/1
Cédric Ollivier [Fri, 3 Jul 2020 17:11:40 +0000 (19:11 +0200)]
Fix tempest_scenario

It completes "min_computes_nodes is also used as max values".

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

3 years agomin_computes_nodes is also used as max values 44/70444/1
Cédric Ollivier [Fri, 3 Jul 2020 15:13:41 +0000 (17:13 +0200)]
min_computes_nodes is also used as max values

Its max value is now 10 according to the default quota.

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

3 years agoApply "object storage: fix and cleanup header checks" 99/70399/2
Cédric Ollivier [Thu, 25 Jun 2020 09:28:12 +0000 (11:28 +0200)]
Apply "object storage: fix and cleanup header checks"

It was highlighted as a fix needed by CNTT during the CNTT RC field
trial [1].

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

Change-Id: I7e85c952d2a5c9ce5006aa7034eaca6cd1f528ea
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoSimplify hypervisor list logic in vmtp 07/70407/1
Cédric Ollivier [Mon, 29 Jun 2020 11:36:43 +0000 (13:36 +0200)]
Simplify hypervisor list logic in vmtp

It completes the previous change "Allow listing hypervisors in VMTP" [1].

[1] https://gerrit.opnfv.org/gerrit/c/functest/+/70359

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

3 years agoRemove build data in CNTT playbook 74/70374/1
Cédric Ollivier [Wed, 24 Jun 2020 08:08:23 +0000 (10:08 +0200)]
Remove build data in CNTT playbook

It's useless from a CNTT point of view.
It remains in the classical IaaS verification to ease creating
Functest Jenkins Jobs.

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

3 years agoAllow listing hypervisors in VMTP 66/70366/1
Cédric Ollivier [Thu, 18 Jun 2020 14:46:29 +0000 (16:46 +0200)]
Allow listing hypervisors in VMTP

It allows listing the compute under tests via VMTP_HYPERVISORS.
They are no additional log in Functest and the note in VMTP is still
valid [1].

[1] https://opendev.org/x/vmtp/src/branch/master/vmtp/vmtp.py#L833

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

3 years agoIncrease timeout in shaker and vmtp 53/70353/1
Cédric Ollivier [Mon, 15 Jun 2020 09:58:10 +0000 (11:58 +0200)]
Increase timeout in shaker and vmtp

Running them in parallel of rally full and jobs asks for a increase.

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

3 years agoStop leveraging on neutron plugins and extra 43/70343/2
Cédric Ollivier [Sun, 14 Jun 2020 13:11:00 +0000 (15:11 +0200)]
Stop leveraging on neutron plugins and extra

Neutron leverages on the upstream Rally task in Stein and newer.
Leveraging on the upstream task may fix the side effects which
sometimes occured on Vmtp and Shaker [1] and filled better the CNTT
model.

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

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

3 years agoCompile lxml with optimization in smoke 42/70342/2
Cédric Ollivier [Mon, 15 Jun 2020 06:41:42 +0000 (08:41 +0200)]
Compile lxml with optimization in smoke

Else cross compilation raises travis-ci.org's timeouts [1]

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

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

3 years agoClone repositories instead of wgetting constraints 41/70341/2
Cédric Ollivier [Sun, 14 Jun 2020 10:51:22 +0000 (12:51 +0200)]
Clone repositories instead of wgetting constraints

It stops leveraging on wget to get constraints as it fails since
opendev was created. Then functest and requirements are no longer
removed for functest-core which simplifies all child Dockerfile.

It also fix the current incompatibilities in OpenStack constraints
ERROR: cliff 3.2.0 has requirement cmd2!=0.8.3,<0.9.0,>=0.8.0, but you'll have cmd2 1.1.0 which is incompatible.
https://github.com/openstack/requirements/blob/master/upper-constraints.txt#L230
https://github.com/openstack/requirements/blob/master/upper-constraints.txt#L416

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

3 years agoSkip EncryptionVolTypeTest in Iaas verification and CNTT Conformance 28/70328/1
Cédric Ollivier [Fri, 12 Jun 2020 13:25:42 +0000 (15:25 +0200)]
Skip EncryptionVolTypeTest in Iaas verification and CNTT Conformance

Attaching an encryted volume is optional in CNTT [1].

This test fails if the volume type already exists and if it runs
twice in parallel [2]. As this single test doesn't fullfil the Functest
requirements, it's skiped in the classical verification as well.

[1] https://github.com/cntt-n/CNTT/blob/master/doc/ref_arch/openstack/chapters/chapter05.md
[2] https://storyboard.openstack.org/#!/story/2007804

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

3 years agoRemove RemoteStack testing from tempest_heat_cntt 23/70323/1
Cédric Ollivier [Fri, 12 Jun 2020 08:04:16 +0000 (10:04 +0200)]
Remove RemoteStack testing from tempest_heat_cntt

Trusts redelegation is supported by Train [1][2] which forces to skip
RemoteStack as CNTT Baldy is designed for Pike (the support is
incomplete in case of trust [3]).

[1] https://docs.openstack.org/releasenotes/heat/train.html#relnotes-13-0-0-stable-train
[2] https://github.com/openstack/heat/commit/e377658586c737150dad1bfd80b7b2267d46be51
[3] https://bugs.launchpad.net/heat/+bug/1701498

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

3 years agoAdd missing tempest_octavia in patches 17/70317/1
Cédric Ollivier [Mon, 8 Jun 2020 21:25:30 +0000 (23:25 +0200)]
Add missing tempest_octavia in patches

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

3 years agoUpdate all patches proposed by Functest 10/70310/1
Cédric Ollivier [Mon, 8 Jun 2020 21:05:27 +0000 (23:05 +0200)]
Update all patches proposed by Functest

It mostly takes into account the last changes in test case names and
new cntt-related test cases.

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

3 years agoUpdate aarch64 configs 00/70300/1
Cédric Ollivier [Sun, 7 Jun 2020 15:06:17 +0000 (17:06 +0200)]
Update aarch64 configs

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

3 years agoStop increase thread stack size 92/70292/2
Cédric Ollivier [Sun, 7 Jun 2020 07:00:06 +0000 (09:00 +0200)]
Stop increase thread stack size

It seems useless and then it limits the diff to Rally.

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

3 years agoSwitch back to concurrency = 4 in tempest testcases 79/70279/1
Cédric Ollivier [Fri, 5 Jun 2020 06:59:49 +0000 (08:59 +0200)]
Switch back to concurrency = 4 in tempest testcases

3 seems good enough and stable which allows trying 4 as before

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

3 years agoRun VNF in parallel in Functest default playbook 74/70274/1
Cédric Ollivier [Fri, 5 Jun 2020 06:51:05 +0000 (08:51 +0200)]
Run VNF in parallel in Functest default playbook

They pass in parallel if the bandwidth is good enough.
https://build.opnfv.org/ci/view/functest/job/functest-latest-daily/679/

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

3 years agoRename patch name and removes debug logs 70/70270/1
Cédric Ollivier [Thu, 4 Jun 2020 08:14:06 +0000 (10:14 +0200)]
Rename patch name and removes debug logs

The debug logs works only vs py3.8 and breaks backport to Iruya.

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

3 years agoSwitching to Threading instead of multiprocessing 64/70264/1
Cédric Ollivier [Wed, 3 Jun 2020 13:25:58 +0000 (15:25 +0200)]
Switching to Threading instead of multiprocessing

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

3 years agoSwitch to queue.Queue() in Rally 58/70258/1
Cédric Ollivier [Wed, 3 Jun 2020 08:06:29 +0000 (10:06 +0200)]
Switch to queue.Queue() in Rally

It's still failing.

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

3 years agoSwitch to SimpleQueue() 50/70250/1
Cédric Ollivier [Mon, 1 Jun 2020 15:06:29 +0000 (17:06 +0200)]
Switch to SimpleQueue()

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

3 years agoSwitch to fork in Python multiprocessing (python2 default) 45/70245/1
Cédric Ollivier [Mon, 1 Jun 2020 08:25:00 +0000 (10:25 +0200)]
Switch to fork in Python multiprocessing (python2 default)

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

3 years agoRetry increasing Stack size 44/70244/1
Cédric Ollivier [Thu, 28 May 2020 08:21:37 +0000 (10:21 +0200)]
Retry increasing Stack size

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

4 years agoSkip manage_snapshot in CNTT 26/70226/1
Cédric Ollivier [Wed, 27 May 2020 12:05:53 +0000 (14:05 +0200)]
Skip manage_snapshot in CNTT

As detected by Orange's RC Field trial, Ceph doesn't support this
feature before Rocky [1].
"AttributeError: 'RBDDriver' object has no attribute 'unmanage_snapshot'"

manage_snapshot testing is fully passing in Functest SUT because CNTT
is verified vs OpenStack Rocky and newer.

Ceph is selected by RI as backend and is widely reused by the ecosytem.
It's similar to [2].

[1] https://bugs.launchpad.net/cinder/+bug/1645288
[2] https://gerrit.opnfv.org/gerrit/c/functest/+/69888

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

4 years agoRemove test_gnocchi.GnocchiGabbiTest.test_live 20/70220/2
Cédric Ollivier [Tue, 26 May 2020 09:50:44 +0000 (11:50 +0200)]
Remove test_gnocchi.GnocchiGabbiTest.test_live

It sometimes fails in our gates and it seems unverified in OpenStack [1].
"Archive policy gabbilive is still in use"

[1] http://artifacts.opnfv.org/functest/DET32CBF0L0F/functest-opnfv-functest-smoke-jerma-tempest_telemetry-run-29/tempest_telemetry/tempest-report.html

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

4 years agoPrecise validation configs in Neutron 09/70209/1
Cédric Ollivier [Sun, 24 May 2020 10:04:16 +0000 (12:04 +0200)]
Precise validation configs in Neutron

ServerActionsTestJSON.test_reboot_server_hard [1] sometimes fails in
gates. We may increase timeouts if it stills fails.

[1] http://artifacts.opnfv.org/functest/LIQH38CPR30X/functest-opnfv-functest-smoke-hunter-tempest_full-run-649/tempest_full/tempest-report.html

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

4 years agoPrevent microversion conflicts 89/70189/2
Cédric Ollivier [Thu, 14 May 2020 06:11:45 +0000 (08:11 +0200)]
Prevent microversion conflicts

CNTT selects Pike as baseline and Hunter matches Rocky.

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

4 years agoAdd other debug messages in Rally 84/70184/1
Cédric Ollivier [Wed, 13 May 2020 12:36:54 +0000 (14:36 +0200)]
Add other debug messages in Rally

It would allow debugging our Rally failures.

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

4 years agoAdd tempest_telemetry 57/70157/1
Cédric Ollivier [Wed, 29 Apr 2020 18:34:43 +0000 (20:34 +0200)]
Add tempest_telemetry

It runs all telemetry-tempest-plugin tests except test_autoscaling
which is currently failing in our gates.

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

4 years agoFix load_balancer options if ovn 51/70151/1
Cédric Ollivier [Mon, 4 May 2020 18:36:28 +0000 (20:36 +0200)]
Fix load_balancer options if ovn

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

4 years agoEnable network_v6 testing in CNTT 45/70145/1
Cédric Ollivier [Mon, 4 May 2020 10:31:52 +0000 (12:31 +0200)]
Enable network_v6 testing in CNTT

req.inf.ntw.16 is a MUST requirement.

Fixes cntt-n/CNTT#1556

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

4 years agoUpdate octavia regexes 40/70140/1
Cédric Ollivier [Sun, 3 May 2020 18:03:54 +0000 (20:03 +0200)]
Update octavia regexes

It stops using noop drivers and adds all scenarios except:
 - .*api.v2.test_availability_zone
 - .*api.v2.test_availability_zone_profile
 - .*api.v2.test_member.MemberAPITest.test_member_ipv4_create
 - .*api.v2.test_member.MemberAPITest.test_member_ipv6_create

It doesn't run ipv6 which asks for a deep dive (ipv6 from containers?)
It increases threads to 3 as the other testcases.

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

4 years agoUpdate all results printed in docs 36/70136/3
Cédric Ollivier [Sun, 3 May 2020 16:43:39 +0000 (18:43 +0200)]
Update all results printed in docs

Change-Id: Ia5372729d400545951b62530d1517ac3d9134e97
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoStop overriding tempest_conf.yaml in CNTT 32/70132/1
Cédric Ollivier [Sun, 3 May 2020 15:14:24 +0000 (17:14 +0200)]
Stop overriding tempest_conf.yaml in CNTT

It's useless as they are skipped by regexes (vnc_console).

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

4 years agoAvoid useless ssh in juju_epc 24/70124/1
Cédric Ollivier [Sat, 2 May 2020 19:37:26 +0000 (21:37 +0200)]
Avoid useless ssh in juju_epc

scp + ssh calls are replaced by the right scp call.

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

4 years agoUse official images instead of multiarch 07/70107/1
Cédric Ollivier [Fri, 1 May 2020 14:04:26 +0000 (16:04 +0200)]
Use official images instead of multiarch

Change-Id: I5031a19691966f1a5d63dc7dbd9c3254beed9a03
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoRemove py27 in .travis-ci 05/70105/1
Cédric Ollivier [Fri, 1 May 2020 11:37:43 +0000 (13:37 +0200)]
Remove py27 in .travis-ci

py27 cannot be gated due to Rally.
https://travis-ci.org/github/collivier/functest/jobs/681899038

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

4 years agoExclude tests.scenario.test_octavia_lbaas in CNTT regexes 00/70100/1
Cédric Ollivier [Fri, 1 May 2020 10:18:54 +0000 (12:18 +0200)]
Exclude tests.scenario.test_octavia_lbaas in CNTT regexes

It may be skipped as well (the behavior differs if it's enabled or not
via config).

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

4 years agoRename barbican->tempest_barbican & octavia->tempest_octavia 92/70092/1
Cédric Ollivier [Fri, 1 May 2020 08:49:21 +0000 (10:49 +0200)]
Rename barbican->tempest_barbican & octavia->tempest_octavia

It unifies all test case names.

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

4 years agoRemove neutron_trunk; networking_bgpvpn and networking_sfc 87/70087/1
Cédric Ollivier [Fri, 1 May 2020 08:39:03 +0000 (10:39 +0200)]
Remove neutron_trunk; networking_bgpvpn and networking_sfc

They were all merged in neutron-tempest-plugin.

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

4 years agoSkip LoadBalancerTest in Functest Gates 76/70076/1
Cédric Ollivier [Thu, 30 Apr 2020 15:17:14 +0000 (17:17 +0200)]
Skip LoadBalancerTest in Functest Gates

It seems failing due to octavia noop driver as in-used.

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

4 years agoDebug rally race conditions 73/70073/2
Cédric Ollivier [Thu, 30 Apr 2020 11:50:57 +0000 (13:50 +0200)]
Debug rally race conditions

It will be reverted as soon as the root cause is found.

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

4 years agoSelect tag instead of commit id 22/70022/1
Cédric Ollivier [Tue, 28 Apr 2020 10:31:37 +0000 (12:31 +0200)]
Select tag instead of commit id

Change-Id: I7da5b383c3c724f4616c54a21ba9c746f146f18f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoRename neutron_tempest_plugin_api to tempest_neutron 19/70019/1
Cédric Ollivier [Tue, 28 Apr 2020 08:48:30 +0000 (10:48 +0200)]
Rename neutron_tempest_plugin_api to tempest_neutron

It conforms with the other test case names

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

4 years agoComplete "Skip CfnInitIntegrationTest in tempest_heat" 11/70011/1
Cédric Ollivier [Tue, 28 Apr 2020 06:56:08 +0000 (08:56 +0200)]
Complete "Skip CfnInitIntegrationTest in tempest_heat"

http://artifacts.opnfv.org/functest/SXA8X2BBP3L4/functest-opnfv-functest-smoke-cntt-latest-tempest_heat_cntt-run-1/tempest_heat_cntt/tempest-report.html

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

4 years agoMove static data to tempest_conf.yaml 06/70006/1
Cédric Ollivier [Mon, 27 Apr 2020 23:25:18 +0000 (01:25 +0200)]
Move static data to tempest_conf.yaml

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

4 years agoSkip CfnInitIntegrationTest in tempest_heat 02/70002/1
Cédric Ollivier [Mon, 27 Apr 2020 23:16:35 +0000 (01:16 +0200)]
Skip CfnInitIntegrationTest in tempest_heat

It sometimes fails due to other test resources [1].

[1] http://artifacts.opnfv.org/functest/83IV2XRCU05K/functest-opnfv-functest-smoke-latest-tempest_heat-run-53/tempest_heat/tempest-report.html

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

4 years agoAdd tempest_heat in CNTT smoke 91/69991/1
Cédric Ollivier [Mon, 27 Apr 2020 13:41:00 +0000 (15:41 +0200)]
Add tempest_heat in CNTT smoke

It increases Heat coverage [1].

[1] http://artifacts.opnfv.org/functest/24ELW4C5RKD4/functest-ovn-opnfv-functest-smoke-latest-tempest_heat-run-34/tempest_heat/tempest-report.html

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

4 years agoAdd libstdc++ in runtime dependencies 84/69984/1
Cédric Ollivier [Sat, 25 Apr 2020 08:48:21 +0000 (10:48 +0200)]
Add libstdc++ in runtime dependencies

https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-jerma-tempest_heat-run/34/console

Change-Id: I6dc949360100125bc718cc88b5f8ad8ed189e2d0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoUse ujson version asked by OpenStack master requirement 78/69978/2
Cédric Ollivier [Wed, 22 Apr 2020 18:51:50 +0000 (20:51 +0200)]
Use ujson version asked by OpenStack master requirement

It's newer than the former tag selected [1].
The version asks by OpenStack train and older cannot work vs Alpine.

ImportError: Error relocating /usr/lib/python3.7/site-packages/ujson.cpython-37m-x86_64-linux-gnu.so: strreverse: symbol not found

[1] https://github.com/openstack/requirements/blob/master/upper-constraints.txt

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

4 years agoProtect password in juju_epc 67/69967/2
Cédric Ollivier [Mon, 20 Apr 2020 09:14:24 +0000 (11:14 +0200)]
Protect password in juju_epc

It sometimes fails according to the special chars selected [1].

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

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

4 years agoRun sequentially tempest_heat 61/69961/1
Cédric Ollivier [Sun, 19 Apr 2020 10:48:33 +0000 (12:48 +0200)]
Run sequentially tempest_heat

It's forced by design else it remains a few resources.
It also sets fixed_subnet_name and network_for_ssh to avoid falsy
discovery as it seems [1]

[1] http://artifacts.opnfv.org/functest/X5GDYF3B0R2B/functest-opnfv-functest-smoke-jerma-tempest_heat-run-18/tempest_heat/tempest-report.html

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

4 years agoMerge "Decrease volume size in boot_server_attach_created_volume_and_live_migrate...
Cedric Ollivier [Tue, 14 Apr 2020 15:21:03 +0000 (15:21 +0000)]
Merge "Decrease volume size in boot_server_attach_created_volume_and_live_migrate" into stable/jerma

4 years agoDecrease volume size in boot_server_attach_created_volume_and_live_migrate 52/69952/1
Cédric Ollivier [Tue, 14 Apr 2020 12:31:28 +0000 (14:31 +0200)]
Decrease volume size in boot_server_attach_created_volume_and_live_migrate

It now conforms with the other tasks which sets 1 Gb as default.

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

4 years agoBackport Fixes-race-condition-in-test_add_remove_fixed_ip 50/69950/1
Cédric Ollivier [Tue, 14 Apr 2020 09:34:01 +0000 (11:34 +0200)]
Backport Fixes-race-condition-in-test_add_remove_fixed_ip

It has sometimes failed in gates and Orange reported the issue.
Backporting is the best approach as for swift testing.

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