functest.git
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>
4 years agoConform with the upstream create_and_delete_subnets 38/69938/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 agoDisable VolumeBackupRestoreIntegrationTest if OVN 30/69930/1
Cédric Ollivier [Sat, 11 Apr 2020 08:11:41 +0000 (10:11 +0200)]
Disable VolumeBackupRestoreIntegrationTest if OVN

It completes "Skip VolumeBackupRestoreIntegrationTest in temptest_heat"

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

4 years agoSkip VolumeBackupRestoreIntegrationTest in temptest_heat 27/69927/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) 24/69924/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 21/69921/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 agoMerge "Update rally (3.0.0) and rally-openstack" into stable/jerma
Juha Kosonen [Tue, 7 Apr 2020 12:32:14 +0000 (12:32 +0000)]
Merge "Update rally (3.0.0) and rally-openstack" into stable/jerma

4 years agoAdd swift sections in OVN's tempest_conf.yaml 08/69908/1
Cédric Ollivier [Mon, 6 Apr 2020 07:21:04 +0000 (09:21 +0200)]
Add swift sections in OVN's tempest_conf.yaml

http://artifacts.opnfv.org/functest/4LM7FMUVFMML/functest-ovn-opnfv-functest-smoke-jerma-tempest_slow-run-41/tempest_slow/tempest-report.html

Change-Id: I1a3f684a9059eac21695bd655df976bceebf26f0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoUpdate rally (3.0.0) and rally-openstack 95/69895/3
Cédric Ollivier [Sun, 5 Apr 2020 09:05:20 +0000 (11:05 +0200)]
Update rally (3.0.0) and rally-openstack

It removes all warnings currently printed [1].
It also updates kubernetes according to latest changes in rally (chicken
and egg).

Switching to rally 3.0.0 forces droping py27.

[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-jerma-tempest_horizon-run/214/console

Change-Id: Ifa21b65c47729a277ccd765e4413477879fa5f21
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoSwith to coreutils timeout 04/69904/1
Cédric Ollivier [Sun, 22 Sep 2019 18:37:01 +0000 (20:37 +0200)]
Swith to coreutils timeout

juju is not correctly stopped when no internet.

https://build.opnfv.org/ci/job/functest-ovn-opnfv-functest-vnf-jerma-juju_epc-run/21/console
root           1       0  0 Apr04 ?        00:00:06 /usr/bin/python3.7 /usr/bin/run_tests -t juju_epc -r -p
root         139       1  0 Apr04 ?        00:00:03 [juju] <defunct>
root         141       1  0 Apr04 ?        00:00:00 [timeout] <defunct>

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

4 years agoFix the Glance tasks 01/69901/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 99/69899/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 91/69891/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 88/69888/3
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

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

4 years agoKeep the modified tempest 75/69875/3
Cédric Ollivier [Thu, 2 Apr 2020 16:54:58 +0000 (18:54 +0200)]
Keep the modified tempest

http://artifacts.opnfv.org/functest/CRY58ZS3031L/functest-ovn-opnfv-functest-healthcheck-jerma-tempest_smoke-run-37/tempest_smoke/tempest-report.html

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

4 years agoRename CNTT specific testcases 62/69862/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 54/69854/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>
4 years agoIncrease Shaker timeout before init message in console 49/69849/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 43/69843/2
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 36/69836/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>
4 years agoDoesn't redirect stderr when getting verifier id 33/69833/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 09/69809/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 08/69808/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 57/69757/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 agoBlacklist tests which are not mandatory in CNTT 48/69748/1
Cédric Ollivier [Tue, 3 Mar 2020 16:03:42 +0000 (17:03 +0100)]
Blacklist tests which are not mandatory in CNTT

CNTT rally_jobs must conform with CNTT RC whatever the OpenStack
version under tests. All tests added by neutron since Hunter must
be skipped in conformance.

Of course, the IaaS verification part is unchanged as this tests
are relevant.

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

4 years agoAdd OVN Controller Gateway agent in neutron_bind_l2_agent_types 45/69745/1
Cédric Ollivier [Tue, 3 Mar 2020 10:02:28 +0000 (11:02 +0100)]
Add OVN Controller Gateway agent in neutron_bind_l2_agent_types

It avoids blacklisting NeutronNetworks.create_and_bind_ports in case of
OVN. It conforms with the upstream testing [1] and then reverts the
previous change [2].

[1] https://github.com/openstack/networking-ovn/blob/master/zuul.d/networking-ovn-jobs.yaml#L299
[2] https://git.opnfv.org/functest/commit/?id=8e297c49c481961959b29c2080cc059fcc84e9ee

This reverts commit 8e297c49c481961959b29c2080cc059fcc84e9ee.

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

4 years agoClean former dirs 41/69741/1
Cédric Ollivier [Fri, 28 Feb 2020 11:54:20 +0000 (12:54 +0100)]
Clean former dirs

Change-Id: I9d6d2ba6bfdaac26e4c7d6ea6aaf69b000869b2d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoBlacklist NeutronNetworks.create_and_bind_ports if ovn 29/69729/1
Cédric Ollivier [Mon, 24 Feb 2020 15:59:27 +0000 (16:59 +0100)]
Blacklist NeutronNetworks.create_and_bind_ports if ovn

It only works for Linux Bridge and Open vSwitch.

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

4 years agoBlacklist tests asking for vxlan 27/69727/1
Cédric Ollivier [Sat, 22 Feb 2020 06:21:38 +0000 (07:21 +0100)]
Blacklist tests asking for vxlan

http://artifacts.opnfv.org/functest/B4HOI3WWLNVK/functest-ovn-opnfv-functest-smoke-jerma-neutron-tempest-plugin-api-run-4/neutron-tempest-plugin-api/tempest-report.html

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

4 years agoPublish tempest_conf.yaml for Functest OVN SUT 25/69725/1
Cédric Ollivier [Sat, 22 Feb 2020 05:36:52 +0000 (06:36 +0100)]
Publish tempest_conf.yaml for Functest OVN SUT

Change-Id: I32a93fa42fcb1993f6136a71a3f9e981e992f4b1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoUpdate patrole regex (OVN) 22/69722/1
Cédric Ollivier [Fri, 21 Feb 2020 20:24:45 +0000 (21:24 +0100)]
Update patrole regex (OVN)

It takes into account last changes in Patrole.
It was not covered since Apex stopped deploying OVN.

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

4 years agoSkip a few tests in tempest_full and tempest_slow 12/69712/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 07/69707/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 98/69698/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 80/69680/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 79/69679/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)

4 years agoSet dhcp_agent_scheduler as optional 78/69678/1
Cédric Ollivier [Sat, 15 Feb 2020 11:11:37 +0000 (12:11 +0100)]
Set dhcp_agent_scheduler as optional

dhcp_agent_scheduler [1] indirectly forces the Neutron backends
as highlighted by OVN testing.

[1] https://specs.openstack.org/openstack/neutron-specs/specs/api/agent_schedulers.html

Close cntt-n/CNTT#1073

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

4 years agoOrder regex in neutron-tempest-plugin-api (CNTT) 77/69677/1
Cédric Ollivier [Sat, 15 Feb 2020 10:36:33 +0000 (11:36 +0100)]
Order regex in neutron-tempest-plugin-api (CNTT)

It mostly adds admin as prefix.

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

4 years agoAdd Functest CNTT-specific containers in release notes 27/69627/1
Cédric Ollivier [Tue, 4 Feb 2020 05:18:15 +0000 (06:18 +0100)]
Add Functest CNTT-specific containers in release notes

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

4 years agoRemove Neutron from upper-constraints 79/69579/1
Cédric Ollivier [Sun, 26 Jan 2020 10:42:32 +0000 (11:42 +0100)]
Remove Neutron from upper-constraints

It takes into account the last change in Train upper-constraints.txt [1].
We could also leverage on neutron package instead but only Train is
putting this constraint from the time being.

[1] https://github.com/openstack/requirements/commit/1d0f6fc806ec197beee808674c57a7aa6b281e81

Change-Id: Icdbf13c2f6aa59ba48baeaf4e8f84cc041659f4f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoUpdate ODL git commit id (python3 migration) 49/69549/1
Cédric Ollivier [Tue, 14 Jan 2020 13:37:29 +0000 (14:37 +0100)]
Update ODL git commit id (python3 migration)

https://jira.opendaylight.org/browse/INTTEST-65

Co-Authored-By: Alexandru Avadanii <alexandru.avadanii@enea.com>
Change-Id: I40c9df7c7d80fc8d9709f0b75dda333d9ed9da12
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit be12a86a0afd2f7943377e1df94cfe00efbece07)

4 years agoRevert "Ease overriding tempest_conf.yaml" 31/69531/1
Cédric Ollivier [Thu, 9 Jan 2020 18:52:35 +0000 (19:52 +0100)]
Revert "Ease overriding tempest_conf.yaml"

It raises side effects if the file is missing (trying to mount a
directory onto a file) which is the default case.

This reverts commit 7f4dd42d8ef515b04e2436988d6b489ceb1c2995.

Change-Id: I950f8654d712f4fbca3f81b3312fac014678f764
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoRemove test_server_connectivity_cold_migration_revert from Compliance 27/69527/1
Cédric Ollivier [Thu, 9 Jan 2020 10:46:42 +0000 (11:46 +0100)]
Remove test_server_connectivity_cold_migration_revert from Compliance

It's skipped due to an upstream bug [1] highlighted by Jerma runs [2].

[1] https://launchpad.net/bugs/1836595
[2] http://artifacts.opnfv.org/functest/UXR96KDNMPTP/functest-opnfv-functest-smoke-cntt-jerma-tempest_slow-run-4/tempest_slow/tempest-report.html

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

4 years agoEase overriding tempest_conf.yaml 81/69481/1
Cédric Ollivier [Thu, 2 Jan 2020 11:58:06 +0000 (12:58 +0100)]
Ease overriding tempest_conf.yaml

It works asis in Functest gates but its values mays be modified by
users at their convenience.

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

4 years agoRemove test_server_connectivity_cold_migration_revert from exclusion list 69/69469/1
Cédric Ollivier [Mon, 30 Dec 2019 02:45:06 +0000 (03:45 +0100)]
Remove test_server_connectivity_cold_migration_revert from exclusion list

It has to be part of the Compliance testing

Co-Authored-By: Deepanshu Bhatia <deepanshu@voereir.com>
Change-Id: I16d35e3c3a14b6b18901b6b27e50fc709ce0559f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 4cbdef191c5c0f08043291f7c11167cd649880cc)

4 years agoSet port_security: true in tempest_conf.yaml 62/69462/1
Cédric Ollivier [Fri, 27 Dec 2019 17:54:35 +0000 (18:54 +0100)]
Set port_security: true in tempest_conf.yaml

It allows running
test_boot_into_disabled_port_security_network_without_secgroup.

It also sets a few default values.

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

4 years agoFully remove Quotas.nova_update_and_delete 58/69458/1
Cédric Ollivier [Fri, 27 Dec 2019 11:15:18 +0000 (12:15 +0100)]
Fully remove Quotas.nova_update_and_delete

It was blacklisted for a while and it's still failing [1][2].
It has to be removed from scenarios (blacklisting is useless and could
mislead endusers).

[1] http://artifacts.opnfv.org/functest/BYERCT6UZDWT/functest-opnfv-functest-benchmarking-iruya-rally_full-run-227/rally_full/rally_full.html
[2] http://artifacts.opnfv.org/functest/LYQLHFQB7CTI/functest-opnfv-functest-benchmarking-hunter-rally_full-run-329/rally_full/rally_full.html

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

4 years agoRemove former Rally blacklist 44/69444/1
Cédric Ollivier [Tue, 24 Dec 2019 15:35:54 +0000 (16:35 +0100)]
Remove former Rally blacklist

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

4 years agoFix Vmtp clone 37/69437/1
Cédric Ollivier [Sun, 22 Dec 2019 21:15:45 +0000 (22:15 +0100)]
Fix Vmtp clone

It also selects the last commit [1].

https://opendev.org/x/vmtp/commit/34a82c9f3598ec7f5d8de0a6d5139b92931db4cc

Change-Id: Ie2cd33ee6b88dda4779c58c90b1692dbd7699f6b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
4 years agoUpdate Xtesting to 0.86 24/69424/1
Cédric Ollivier [Sun, 22 Dec 2019 15:18:50 +0000 (16:18 +0100)]
Update Xtesting to 0.86

It eases dumping all logs for third-parties.

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

4 years agoRun tests sequentially in tempest_slow 79/69279/1
Cédric Ollivier [Sat, 7 Dec 2019 12:56:40 +0000 (13:56 +0100)]
Run tests sequentially in tempest_slow

concurrency is set to 2 in the upstream job [1] but it conflicts with
serial also passed.

As it fails once without any other test in parallel, the number of
executors should be decreased [2].

[0] https://799189c1bf6a1aa9c8de-48970bda2a30ee836a70a12e61555969.ssl.cf1.rackcdn.com/694893/1/check/tempest-slow/1bf5851/job-output.txt
[1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-smoke-cntt-hunter-tempest_slow-run-7/tempest_slow/tempest-report.html

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

4 years agoDisable false ansiblelint warnings 75/69275/1
Cédric Ollivier [Sat, 7 Dec 2019 12:38:47 +0000 (13:38 +0100)]
Disable false ansiblelint warnings

git commit has to be executed via shell module [1].
It also update ansible to conform with the latest changes in
XtestingCI.

[1] https://github.com/ansible/ansible/issues/50334

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

4 years agoDisable tempest serial_console testing 47/69247/1
Cédric Ollivier [Tue, 3 Dec 2019 14:32:09 +0000 (15:32 +0100)]
Disable tempest serial_console testing

DevStack seems incorrect when configuring serial console in case of
multinode deployment (missing proxyclient_address in master, missing
socket in Rocky, etc). Then the testing is disabled.

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

4 years agoVerify Shaker results via json report 41/69241/1
Cédric Ollivier [Mon, 2 Dec 2019 22:43:55 +0000 (23:43 +0100)]
Verify Shaker results via json report

As shaker always returns 0, it verifies the records and returns false
after the first failure.

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

4 years agoReturn result = 0 if failure in juju_epc 20/69220/1
Cédric Ollivier [Mon, 2 Dec 2019 06:31:52 +0000 (07:31 +0100)]
Return result = 0 if failure in juju_epc

Else it's falsy successfull [1]

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

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

4 years agoUpdate Xtesting to 0.85.0 10/69210/1
Cédric Ollivier [Sat, 30 Nov 2019 13:25:34 +0000 (14:25 +0100)]
Update Xtesting to 0.85.0

It fixes falsy hrefs returned by OPNFV Test API.

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

4 years agoSwitch xrally_kubernetes back to master 83/69183/3
Juha Kosonen [Fri, 29 Nov 2019 08:09:12 +0000 (10:09 +0200)]
Switch xrally_kubernetes back to master

The pull request [1] is now merged.

[1] https://github.com/xrally/xrally-kubernetes/pull/46

Change-Id: Ida258c279314cdbbacf255c50b3a4d1224ea803b
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
4 years agoPropose CNTT Compliance playbook 25/69125/1
Cédric Ollivier [Wed, 27 Nov 2019 09:51:21 +0000 (10:51 +0100)]
Propose CNTT Compliance playbook

It eases building CI/CD toolchains everywhere veryfing the compliance
between CNTT Chapter 5 API and local platforms.

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

4 years agoUpdate package list before installing in CircleCI 24/69124/1
Cédric Ollivier [Wed, 27 Nov 2019 09:42:41 +0000 (10:42 +0100)]
Update package list before installing in CircleCI

It currently fails:
https://app.circleci.com/jobs/github/collivier/functest/189

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

4 years agoAdd tempest_scenario and tempest_slow in smoke-cntt 10/69110/1
Cédric Ollivier [Tue, 26 Nov 2019 17:02:37 +0000 (18:02 +0100)]
Add tempest_scenario and tempest_slow in smoke-cntt

The testcases related to ipv6 are currenty not executed because they
cannot be covered by our SUTs.

Close cntt-n/CNTT#696

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

4 years agoAdd functest-benchmarking-cntt 09/69109/1
Cédric Ollivier [Tue, 26 Nov 2019 17:24:43 +0000 (18:24 +0100)]
Add functest-benchmarking-cntt

It configures Rally to verify the mandatory services asked by CNTT.
It also prepares the next benchmarking (API and dataplane) KPIs.

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

4 years agoComplete tempest_full for CNTT Compliance 18/69018/3
Cédric Ollivier [Tue, 26 Nov 2019 12:17:35 +0000 (13:17 +0100)]
Complete tempest_full for CNTT Compliance

It forbids skipping any test and counts the testcases executed.

It mosly avoids running tests accoring to the upstream skip tests
(known bugs), related to nova-network, glance v1, keystone v2 and
all features defined as optional by CNTT.

It fixes an issue highlighted by yallint.

Close cntt-n/CNTT#624

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

4 years agoAdd tempest_full in Compliance 17/69017/1
Cédric Ollivier [Tue, 26 Nov 2019 00:02:36 +0000 (01:02 +0100)]
Add tempest_full in Compliance

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

4 years agoUpdate scheduler_available_filters 11/69011/1
Cédric Ollivier [Tue, 26 Nov 2019 01:24:20 +0000 (02:24 +0100)]
Update scheduler_available_filters

Else few tests are skipped if DifferentHostFilter is not available.

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

4 years agoAdd rally_sanity 04/69004/1
Cédric Ollivier [Fri, 15 Nov 2019 21:18:02 +0000 (22:18 +0100)]
Add rally_sanity

Gnocchi and Barbican are not currently selected by CNTT.
Then they are removed from the optional list.

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

4 years agoVerify additional Nova features 03/69003/1
Cédric Ollivier [Thu, 21 Nov 2019 12:52:51 +0000 (13:52 +0100)]
Verify additional Nova features

Our SUT allows verifying the next Nova features
  - shelve
  - vnc_console
  - cold_migration

attach_encrypted_volume is now False because of ceph.

It writes the tempest default values to ease highlighting the overall
configuration.

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

4 years agoSwitch to OPNFV Clearwater repository 61/68961/3
Cédric Ollivier [Sun, 24 Nov 2019 11:39:41 +0000 (12:39 +0100)]
Switch to OPNFV Clearwater repository

Project Clearwater is backed by Metaswitch Networks [1].
They will therefore not be reinstating the 14.04 Project Clearwater
repo server.

Then all binaries have been compiled and published on
http://artifacts.opnfv.org/functest/clearwater/debian

Then it updates sources.list.d/clearwater.list

[1] https://www.projectclearwater.org/

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

4 years agoSet manage_volume_ref and manage_snapshot_ref 54/68954/1
Cédric Ollivier [Fri, 22 Nov 2019 19:43:53 +0000 (20:43 +0100)]
Set manage_volume_ref and manage_snapshot_ref

Ceph doesn't conform with the LVM driver and asks for modifying the
manage volume and snapshop refs [1].

It allows passing test_unmanage_manage_snapshot [2].

[1] https://opendev.org/openstack/tempest/commit/ebc752b59dd3e2164807930e31b313a92bce70d5
[2] http://artifacts.opnfv.org/functest/functest-opnfv-functest-smoke-latest-tempest_full-run-480/tempest_full/tempest-report.html

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