Complete tempest_full for CNTT Compliance 15/69015/2
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 26 Nov 2019 12:17:35 +0000 (13:17 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 26 Nov 2019 13:39:28 +0000 (14:39 +0100)
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.

Change-Id: Ib4678cb9e9fc37b16fcf21d8418931eae0f667d0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
docker/smoke-cntt/tempest_conf.yaml
docker/smoke-cntt/testcases.yaml
functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml

index 288abed..7877d76 100644 (file)
@@ -20,6 +20,9 @@ compute-feature-enabled:
     rdp_console: false
     rescue: true
     resize: true
+    scheduler_available_filters: "AvailabilityZoneFilter,ComputeFilter,\
+      ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,\
+      ServerGroupAffinityFilter,SameHostFilter,DifferentHostFilter"
     serial_console: false
     shelve: true
     snapshot: true
index 073dd6d..0dd8768 100644 (file)
@@ -106,6 +106,8 @@ tiers:
                 project_name: functest
                 criteria: 100
                 blocking: false
+                deny_skipping: true
+                tests_count: 1295
                 description: >-
                     The list of test cases is generated by
                     Tempest automatically and depends on the parameters of
@@ -114,11 +116,23 @@ tiers:
                 run:
                     name: tempest_common
                     args:
-                        mode: "(?!.*test_fixed_ips)(?!.*test_fixed_ips_negative)\
+                        mode: "(?!.*test_fixed_ips)\
+                          (?!.*test_fixed_ips_negative)\
+                          (?!.*test_auto_allocate_network)(?!.*test_floating_ips_bulk)\
+                          (?!.*test_live_migration.LiveAutoBlockMigrationV225Test.test_iscsi_volume)\
                           (?!.*test_live_migration.LiveAutoBlockMigrationV225Test.test_volume_backed_live_migration)\
                           (?!.*test_live_migration.LiveMigrationTest.test_iscsi_volume)\
                           (?!.*test_live_migration.LiveMigrationTest.test_volume_backed_live_migration)\
+                          (?!.*test_live_migration.LiveMigrationRemoteConsolesV26Test)\
+                          (?!.*certificates.test_certificates)\
                           (?!.*test_quotas_negative.QuotasSecurityGroupAdminNegativeTest)\
+                          (?!.*test_novnc)(?!.*test_server_personality)\
+                          (?!.*test_servers.ServerShowV263Test.test_show_update_rebuild_list_server)\
+                          (?!.*test_servers_negative.ServersNegativeTestJSON.test_personality_file_contents_not_encoded)\
+                          (?!.*servers.test_virtual_interfaces)\
+                          (?!.*test_server_actions.ServerActionsTestJSON.test_change_server_password)\
+                          (?!.*test_server_actions.ServerActionsTestJSON.test_get_vnc_console)\
+                          (?!.*test_server_actions.ServerActionsTestJSON.test_reboot_server_soft)\
                           (?!.*test_security_group_default_rules)\
                           (?!.*test_security_groups_negative.SecurityGroupsNegativeTestJSON.test_security_group_create_with_duplicate_name)\
                           (?!.*test_security_groups_negative.SecurityGroupsNegativeTestJSON.test_security_group_create_with_invalid_group_description)\
@@ -133,7 +147,14 @@ tiers:
                           (?!.*identity.admin.v2)(?!.*identity.v2)\
                           (?!.*image.v1)\
                           (?!.*test_metering_extensions)(?!.*network.test_tags)\
+                          (?!.*test_routers.RoutersIpV6Test.test_create_router_set_gateway_with_fixed_ip)\
+                          (?!.*test_routers.RoutersTest.test_create_router_set_gateway_with_fixed_ip)\
+                          (?!.*test_group_snapshots.GroupSnapshotsV319Test.test_reset_group_snapshot_status)\
                           (?!.*test_multi_backend)\
+                          (?!.*test_volume_retype.VolumeRetypeWithMigrationTest)\
+                          (?!.*test_volume_delete_cascade.VolumesDeleteCascade.test_volume_from_snapshot_cascade_delete)\
+                          (?!.*test_volumes_backup.VolumesBackupsTest.test_volume_backup_create_get_detailed_list_restore_delete)\
+                          (?!.*test_volumes_extend.VolumesExtendAttachedTest.test_extend_attached_volume)\
                           (?!.*\\[.*\\bslow\\b.*\\])(^tempest.api)"
                         option:
                             - '--concurrency=4'
index e78f2fa..5e55f39 100644 (file)
@@ -20,7 +20,9 @@ compute-feature-enabled:
     rdp_console: false
     rescue: true
     resize: true
-    scheduler_available_filters: AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,SameHostFilter,DifferentHostFilter
+    scheduler_available_filters: "AvailabilityZoneFilter,ComputeFilter,\
+      ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,\
+      ServerGroupAffinityFilter,SameHostFilter,DifferentHostFilter"
     serial_console: true
     shelve: true
     snapshot: true