Complete tempest_full for CNTT Compliance 22/69022/1
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 15:32:00 +0000 (16:32 +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.

Close cntt-n/CNTT#624

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

docker/smoke-cntt/tempest_conf.yaml
docker/smoke-cntt/testcases.yaml
functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml

index 13e0012..4b89270 100644 (file)
@@ -20,6 +20,10 @@ compute-feature-enabled:
     rdp_console: false
     rescue: true
     resize: true
+    scheduler_available_filters: "RetryFilter,AvailabilityZoneFilter,\
+      ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,\
+      ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,SameHostFilter,\
+      DifferentHostFilter"
     serial_console: false
     shelve: true
     snapshot: true
index 8b42141..6a1d231 100644 (file)
@@ -21,7 +21,8 @@ tiers:
                 run:
                     name: tempest_common
                     args:
-                        mode: "(?!.*test_logging)(?!.*test_logging_negative)\
+                        mode: "(?!.*test_logging)\
+                            (?!.*test_logging_negative)\
                             (?!.*test_network_segment_range)\
                             (?!.*test_ports.PortTestCasesResourceRequest)\
                             (?!.*test_floating_ips.FloatingIPPoolTestJSON)\
@@ -106,6 +107,8 @@ tiers:
                 project_name: functest
                 criteria: 100
                 blocking: false
+                deny_skipping: true
+                tests_count: 1293
                 description: >-
                     The list of test cases is generated by
                     Tempest automatically and depends on the parameters of
@@ -114,11 +117,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 +148,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 01bbaa3..727f876 100644 (file)
@@ -20,7 +20,10 @@ compute-feature-enabled:
     rdp_console: false
     rescue: true
     resize: true
-    scheduler_available_filters: RetryFilter,AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,SameHostFilter,DifferentHostFilter
+    scheduler_available_filters: "RetryFilter,AvailabilityZoneFilter,\
+      ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,\
+      ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,SameHostFilter,\
+      DifferentHostFilter"
     serial_console: true
     shelve: true
     snapshot: true