functest.git
3 years agoAllow connecting vm to the external network 96/71396/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 89/71389/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 agoAdd rally and xrally_kubernetes in upper-constraints.txt 71/71371/3
Cédric Ollivier [Tue, 10 Nov 2020 13:49:05 +0000 (14:49 +0100)]
Add rally and xrally_kubernetes in upper-constraints.txt

It's needed by functest_kubernetes.

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

3 years agoRun vnfs in parallel 68/71368/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 67/71367/1
Cédric Ollivier [Mon, 9 Nov 2020 16:54:29 +0000 (17:54 +0100)]
Split Gates in a dedicated site.yml

Change-Id: I45d10d4ffa36b1f5de0781d3991b3f3522911aef
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoUpdate tempest_custom in userguide 42/71342/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 25/71225/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 17/71217/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 50/71150/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 19/71119/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 agoFix docker tags in site.cntt.yaml 63/71063/1
Cédric Ollivier [Wed, 9 Sep 2020 17:37:41 +0000 (19:37 +0200)]
Fix 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 00/71000/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 93/70993/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 62/70962/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 73/70873/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 agoBoot a VM to run juju 12/70812/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 agoRemove neutron_trunk from Functest playbook 01/70701/1
Cédric Ollivier [Sun, 9 Aug 2020 13:18:48 +0000 (15:18 +0200)]
Remove neutron_trunk from Functest playbook

Change-Id: I3778b8c7e84d7b8283fcca379d93d0e67c7565df
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoUpdate docs links 72/70672/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 36/70636/1
Cédric Ollivier [Sat, 1 Aug 2020 10:16:49 +0000 (12:16 +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 911fee8cd8ab6c8e221145fbc935fd1f5c41d0a5)

3 years agoRevert ssh_timeout to 196 in Functest 35/70635/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)
(cherry picked from commit aa2f20598c42a4235bb85b6a8f9dc262bb791465)

3 years agoIncrease check_console_loop to 12 34/70634/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)
(cherry picked from commit c6006d9fee0fadc339f63a5eeb234584866cc59f)

3 years agoApply new Create-new-server-test_reboot_server_hard.patch 03/70603/1
Cédric Ollivier [Wed, 29 Jul 2020 10:11:00 +0000 (12:11 +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 90/70590/1
Cédric Ollivier [Sun, 26 Jul 2020 16:21:45 +0000 (18:21 +0200)]
Print data to debug ServerActionsTestJSON.test_reboot_server_hard

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

3 years agoCreate new server test_reboot_server_hard 73/70573/2
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 62/70562/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 functest/ci/testcases.yaml 38/70538/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 52/70452/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 46/70446/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 agoMerge "Apply "object storage: fix and cleanup header checks"" into stable/hunter
Cedric Ollivier [Thu, 2 Jul 2020 17:29:45 +0000 (17:29 +0000)]
Merge "Apply "object storage: fix and cleanup header checks"" into stable/hunter

3 years agoUpdates Kubernetes versions 29/70429/2
Cédric Ollivier [Thu, 2 Jul 2020 07:17:07 +0000 (09:17 +0200)]
Updates Kubernetes versions

Kubernetes client selected by OpenStack is too old compared to K8s
testing.

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

3 years agoApply "object storage: fix and cleanup header checks" 01/70401/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>
(cherry picked from commit d8326132a9049c063a95e40c46f708387713a9de)

3 years agoSimplify hypervisor list logic in vmtp 09/70409/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 76/70376/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 68/70368/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 46/70346/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.
It reverts the previous change which doesn't change the right
parameters [1].

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

Change-Id: Ib2369d384ac839fb46031411e1985ac402da0c1e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoStop leveraging on neutron plugins and extra 34/70334/1
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>
3 years agoSkip EncryptionVolTypeTest in Iaas verification and CNTT Conformance 30/70330/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 25/70325/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 agoIncrease Shaker and Vmtp timeouts 20/70320/1
Cédric Ollivier [Wed, 10 Jun 2020 07:21:20 +0000 (09:21 +0200)]
Increase Shaker and Vmtp timeouts

They now run in parallel of rally_full and rally_jobs which increases
all operation durations.

Change-Id: I72014b9d87a716b09f3ace819ba91faf30d2b9a1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoUpdate all patches proposed by Functest 14/70314/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 agoAllow running Functest vs profiles defined by GSMA 13/70313/1
Cédric Ollivier [Sat, 8 Jun 2019 15:41:52 +0000 (17:41 +0200)]
Allow running Functest vs profiles defined by GSMA

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

It allows a full OpenStack verification conformed with that profiles.

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

3 years agoUpdate aarch64 configs 01/70301/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 agoRename patch name and removes debug logs 85/70285/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 agoSwitch back to concurrency = 4 in tempest testcases 81/70281/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 76/70276/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)

4 years agoSkip manage_snapshot in CNTT 28/70228/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 agoPrecise validation configs in Neutron 07/70207/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>
4 years agoPrevent microversion conflicts 86/70186/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>
4 years agoProtect Placement max microversion 87/70187/2
Cédric Ollivier [Thu, 14 May 2020 06:25:12 +0000 (08:25 +0200)]
Protect Placement max microversion

Change-Id: I911f396da0a904d193c74a58d6384f7f1c90420d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoFinx neutron options if ovn 53/70153/1
Cédric Ollivier [Mon, 4 May 2020 18:50:57 +0000 (20:50 +0200)]
Finx neutron options if ovn

Change-Id: Icbb99e74d441faf797a45e406bee790cd96129b0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoEnable network_v6 testing in CNTT 47/70147/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 all results printed in docs 37/70137/3
Cédric Ollivier [Sun, 3 May 2020 17:31:02 +0000 (19:31 +0200)]
Update all results printed in docs

Change-Id: I827d73d6e774c93d5319b89f9a502b18a02d4257
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoStop overriding tempest_conf.yaml in CNTT 34/70134/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 26/70126/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 09/70109/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>
(cherry picked from commit 29cfe2a019663911e7ca5b2fee637e3bf494e1d6)

4 years agoExclude tests.scenario.test_octavia_lbaas in CNTT regexes 02/70102/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 94/70094/1
Cédric Ollivier [Fri, 1 May 2020 08:56:05 +0000 (10:56 +0200)]
Rename barbican->tempest_barbican

Change-Id: Ia62394795db3555fba56a7a333d9f0db226cedbe
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoRemove neutron_trunk 89/70089/1
Cédric Ollivier [Fri, 1 May 2020 08:43:56 +0000 (10:43 +0200)]
Remove neutron_trunk

It was merged in neutron-tempest-plugin.

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

4 years agoMerge "Skip LoadBalancerTest in Functest Gates" into stable/hunter
Cedric Ollivier [Thu, 30 Apr 2020 23:54:25 +0000 (23:54 +0000)]
Merge "Skip LoadBalancerTest in Functest Gates" into stable/hunter

4 years agoSkip LoadBalancerTest in Functest Gates 78/70078/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 agoUpdated from global requirements 50/70050/1
Cédric Ollivier [Wed, 29 Apr 2020 10:25:13 +0000 (12:25 +0200)]
Updated from global requirements

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

4 years agoSelect tag instead of commit id 24/70024/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>
(cherry picked from commit fb67fc715ac4dace0c1b217a683847fa54cad135)

4 years agoRename neutron_tempest_plugin_api to tempest_neutron 16/70016/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" 13/70013/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 08/70008/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 04/70004/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 93/69993/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 agoUse ujson version asked by OpenStack requirement 79/69979/2
Cédric Ollivier [Wed, 22 Apr 2020 18:51:50 +0000 (20:51 +0200)]
Use ujson version asked by OpenStack requirement

It's newer than the former tag selected [1].

[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 69/69969/1
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 63/69963/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:16 +0000 (15:21 +0000)]
Merge "Decrease volume size in boot_server_attach_created_volume_and_live_migrate" into stable/hunter

4 years agoDecrease volume size in boot_server_attach_created_volume_and_live_migrate 54/69954/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 47/69947/3
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>
(cherry picked from commit ab26ce1cc28c590115ac07ea4a51b9f75f902c9a)
(cherry picked from commit a710d74306c0a49c19c63676e0aab2f4e093aa26)

4 years agoConform with the upstream create_and_delete_subnets 40/69940/1
Cédric Ollivier [Thu, 9 Apr 2020 18:45:26 +0000 (20:45 +0200)]
Conform with the upstream create_and_delete_subnets

Ovn fails vs rally_full [1] but passes vs rally_jobs.
It reverts the small diff between rally_full and rally_jobs added by
"Update network context in selected rally tests". Then it may raise
side effects in case of L2-only testing [2]

[1] http://artifacts.opnfv.org/functest/JDD0PPKUOYO5/functest-ovn-opnfv-functest-benchmarking-cntt-jerma-rally_full_cntt-run-9/rally_full_cntt/rally_full_cntt.html
[2] https://github.com/opnfv/functest/commit/b4b2e7f9a5a3cb3379b45ac4ddd0ef949974a698

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

4 years agoRemove false "apk del .build-deps" 37/69937/1
Cédric Ollivier [Sat, 11 Apr 2020 17:53:16 +0000 (19:53 +0200)]
Remove false "apk del .build-deps"

https://build.opnfv.org/ci/job/functest-healthcheck-docker-build-amd64-hunter/307/console

Change-Id: If0eb7500e2343a3e4e7ab1ea9ba9552bd929a101
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoAdd OVN tempest_conf.yaml 35/69935/1
Cédric Ollivier [Sat, 11 Apr 2020 14:23:25 +0000 (16:23 +0200)]
Add OVN tempest_conf.yaml

Change-Id: Iaabe4de2c2b631f0ba823dda2d0e0a172aa04622
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoAdd healthcheck Horizon tests 32/69932/1
Cédric Ollivier [Sat, 26 Oct 2019 13:30:28 +0000 (15:30 +0200)]
Add healthcheck Horizon tests

It runs TestDashboardBasicOps as proposed by tempest-horizon [1].
It's skipped if DASHBOARD_URL is unset (default).

[1] https://opendev.org/openstack/tempest-horizon

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

4 years agoSkip VolumeBackupRestoreIntegrationTest in temptest_heat 31/69931/1
Cédric Ollivier [Tue, 7 Apr 2020 10:24:37 +0000 (12:24 +0200)]
Skip VolumeBackupRestoreIntegrationTest in temptest_heat

It's linked to vbd which is false in many cases [1].
e.g. IMAGE_PROPERTIES=hw_scsi_model:virtio-scsi,hw_disk_bus:scsi

Enabling it requires upstream changes to configure the right device.

[1] http://artifacts.opnfv.org/functest/FHHSBCPDUV6C/functest-opnfv-functest-smoke-latest-tempest_heat-run-7/tempest_heat/tempest-report.html

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

4 years agoAdd tempest_heat (heat-tempest-plugin) 26/69926/1
Cédric Ollivier [Thu, 2 Apr 2020 16:37:30 +0000 (18:37 +0200)]
Add tempest_heat (heat-tempest-plugin)

It asks for the Fedora-Cloud-Base image and a second user account.
It should be noted that heat-tempest-plugin duplicates all configs from
tempest.

Minimal image is still Cirros and the first account is the admin one.
Then it conforms with the TempestCommon logic.

AodhAlarmTest is skipped by default because pre conditions are missing.
SoftwareConfigIntegrationTest is skipped as in gates because it
requires a custom image [1]

[1] https://github.com/openstack/heat/blob/master/devstack/lib/heat#L444

Change-Id: I8b39dc65ef3714411cd828e17b95e124f2e90f34
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoSet concurrency and containers_per_tenant to 1 23/69923/1
Cédric Ollivier [Fri, 10 Apr 2020 14:46:58 +0000 (16:46 +0200)]
Set concurrency and containers_per_tenant to 1

Most of the rally_full runs failed vs our new SUTs (radosgw) .
This two params fail the testing when higher than 1 (verified
independently).

As the new test config works when hugely tested in //, it makes sens to
merge the new config to fix the gates.

This patch will be safely reverted if the issue is confirmed on SUT.

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

4 years agoFix the Glance tasks 03/69903/1
Cédric Ollivier [Sun, 5 Apr 2020 11:54:33 +0000 (13:54 +0200)]
Fix the Glance tasks

http://artifacts.opnfv.org/functest/ONA0SEFCMPR5/functest-opnfv-functest-smoke-latest-rally_sanity-run-688/functest.log

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

4 years agoUpdate server_kwargs to boot_server_kwargs 98/69898/1
Cédric Ollivier [Sun, 5 Apr 2020 10:42:35 +0000 (12:42 +0200)]
Update server_kwargs to boot_server_kwargs

It takes into account "Remove deprecated stuff. Part 1" [1] and then fixes
rally_sanity and rally_full
(NovaKeypair.boot_and_delete_server_with_keypair [2])

[1] https://github.com/openstack/rally-openstack/commit/4436258d8fbb758a1771f908726e78c29e309c8a#diff-a80e66732701c545c7fc540d02ee1066
[2] http://artifacts.opnfv.org/functest/HG7XUW226S1T/functest-opnfv-functest-smoke-latest-rally_sanity-run-687/rally_sanity/rally_sanity.html#/NovaKeypair.boot_and_delete_server_with_keypair/failures

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

4 years agoReduce Tempest multi threads 93/69893/1
Cédric Ollivier [Sat, 4 Apr 2020 19:56:45 +0000 (21:56 +0200)]
Reduce Tempest multi threads

It decreases the threads from 4 to 3 to allow running the testcases in
parallel. Else a few tests sometimes fail.

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

4 years agoSkip test_container_synchronization 87/69887/2
Cédric Ollivier [Sat, 4 Apr 2020 15:17:30 +0000 (17:17 +0200)]
Skip test_container_synchronization

It's not supported by radosgw which is now used in Functest SUTs [1][2].
It's removed from CNTT which seems leveraging on ceph (at least RI) [3]

[1] https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/3.2/html/release_notes/bug-fixes
[2] http://artifacts.opnfv.org/functest/E46RCZLBRYCC/functest-opnfv-functest-smoke-hunter-tempest_slow-run-127/tempest_slow/tempest-report.html
[3] http://artifacts.opnfv.org/cntt/WKFRPQODPW34/cntt-opnfv-functest-smoke-latest-tempest_slow-run-37/tempest_slow/tempest-report.html

cntt-n/CNTT#1440

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

4 years agoFix upper-constraints in tempest-based containers 82/69882/1
Cédric Ollivier [Fri, 3 Apr 2020 11:40:19 +0000 (13:40 +0200)]
Fix upper-constraints in tempest-based containers

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

4 years agoRename CNTT specific testcases 64/69864/1
Cédric Ollivier [Wed, 1 Apr 2020 06:11:04 +0000 (08:11 +0200)]
Rename CNTT specific testcases

Test DB and API don't support suites which raise side effects in Cachet
if both IaaS verification and CNTT conformance are executed.

Vmtp and Shaker haven't been modified for CNTT. They will be renamed
once CNTT asks for new post processing.

http://testresults.opnfv.org:8080/

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

4 years agoApply Accept-custom-registered-endpoints 56/69856/1
Cédric Ollivier [Sun, 29 Mar 2020 11:59:04 +0000 (13:59 +0200)]
Apply Accept-custom-registered-endpoints

This patch is needed to verify Ceph RadosGW and then has to be
backported to Hunter (CNTT).

Tempest maybe simply updated in a few branches (Jerma, Iruya?)
depending on the side effects.

Updating Tempest in Hunter would ask for an deep update of CNTT RC.

https://github.com/openstack/tempest/commit/1d500e79156ada6bc6fdb628ed1da0efd4121f6a

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

4 years agopcre-dev is now needed 53/69853/1
Cédric Ollivier [Sat, 28 Mar 2020 18:10:16 +0000 (19:10 +0100)]
pcre-dev is now needed

https://build.opnfv.org/ci/job/functest-smoke-docker-build-amd64-hunter/298/console

Change-Id: Ia0d2ff72869e0ccf1b657532404f0000b77546e0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoIncrease Shaker timeout before init message in console 51/69851/1
Cédric Ollivier [Sat, 28 Mar 2020 08:52:24 +0000 (09:52 +0100)]
Increase Shaker timeout before init message in console

It failed in parallel of rally_full [1].

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-benchmarking-hunter-shaker-run/397/console
[2] https://build.opnfv.org/ci/job/functest-opnfv-functest-benchmarking-hunter-shaker-run/395/console

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

4 years agoCheck the login prompt in console in SingleVm1 45/69845/3
Cédric Ollivier [Thu, 26 Mar 2020 12:56:17 +0000 (13:56 +0100)]
Check the login prompt in console in SingleVm1

It also checks the second vm2 console log in case of vping_ssh.

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

4 years agoRemove duplicated g++ in vnf/Dockerfile 38/69838/1
Cédric Ollivier [Tue, 24 Mar 2020 07:50:29 +0000 (08:50 +0100)]
Remove duplicated g++ in vnf/Dockerfile

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

4 years agoDoesn't redirect stderr when getting verifier id 35/69835/3
Cédric Ollivier [Sun, 22 Mar 2020 12:13:53 +0000 (13:13 +0100)]
Doesn't redirect stderr when getting verifier id

The logic fails when rally produces warnings [1].
It also updates Rally OpenStack and checks if the previous error
has been solved[2].

TypeError: _discover_or_create_flavor() missing 1 required positional
argument: 'flv_disk' [3]

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-latest-tempest_smoke-run/757/console
[2] https://github.com/openstack/rally-openstack/commit/e62315115af20e53f6c7205494ba0008634047ed
[3] https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-latest-tempest_smoke-run/629/console

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

4 years agoUpdate xtesting to 0.87.0 13/69813/1
Cédric Ollivier [Tue, 17 Mar 2020 20:07:49 +0000 (21:07 +0100)]
Update xtesting to 0.87.0

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

4 years agoRemove a duplicated package 12/69812/1
Cédric Ollivier [Tue, 17 Mar 2020 20:04:11 +0000 (21:04 +0100)]
Remove a duplicated package

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

4 years agoAdd oauth1 as optional Keystone features 59/69759/1
Cédric Ollivier [Thu, 5 Mar 2020 07:55:35 +0000 (08:55 +0100)]
Add oauth1 as optional Keystone features

It was not listed in Keystone which defacto sets it as optional.
It may be considered as mandatory in a second step.

It should be noted that it's not working in CNTT RI and there is no
true plan to update CNTT RI from the time writing.

Close cntt-n/CNTT#1253

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

4 years agoSkip a few tests in tempest_full and tempest_slow 14/69714/1
Cédric Ollivier [Fri, 21 Feb 2020 10:47:11 +0000 (11:47 +0100)]
Skip a few tests in tempest_full and tempest_slow

It completes the first patch updating neutron-tempest-plugin-api [1].
The same dvr regex is used in tempest_slow, a new one is defined for
tempest_full which will be added in CNTT doc
(test_network_basic_ops.TestNetworkBasicOps.test_router_rescheduling).

Close cntt-n/CNTT#1106

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

4 years agoBlacklick test_add_subport if OVN 09/69709/1
Cédric Ollivier [Tue, 18 Feb 2020 10:40:11 +0000 (11:40 +0100)]
Blacklick test_add_subport if OVN

https://bugs.launchpad.net/neutron/+bug/1863707

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

4 years agoUpdate test case list in neutron-tempest-plugin-api 00/69700/2
Cédric Ollivier [Tue, 18 Feb 2020 10:34:21 +0000 (11:34 +0100)]
Update test case list in neutron-tempest-plugin-api

It takes into account latest changes in CNTT [1]

[1] https://github.com/cntt-n/CNTT/pull/1107

Close cntt-n/CNTT#1106

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

4 years agoExclude vxlan testing in CNTT 88/69688/1
Cédric Ollivier [Sun, 16 Feb 2020 14:27:30 +0000 (15:27 +0100)]
Exclude vxlan testing in CNTT

Close cntt-n/CNTT#1077

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

4 years agoRun test_agent_management vs OVN 87/69687/1
Cédric Ollivier [Sat, 15 Feb 2020 17:18:11 +0000 (18:18 +0100)]
Run test_agent_management vs OVN

They must not longer be blacklisted as opposed to
test_dhcp_agent_scheduler [1].

https://bugs.launchpad.net/networking-ovn/+bug/1863432

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