Skip to content

Commit

Permalink
Merge pull request #126 from coreycb/heat-tempest
Browse files Browse the repository at this point in the history
Add heat tempest testing
  • Loading branch information
freyes authored Nov 3, 2023
2 parents 51e674a + b3dbdbb commit 6af9208
Show file tree
Hide file tree
Showing 2 changed files with 130 additions and 2 deletions.
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ git+https://github.com/openstack-charmers/zaza.git#egg=zaza
git+https://github.com/openstack-charmers/zaza-openstack-tests.git#egg=zaza.openstack
git+https://opendev.org/openstack/cinder-tempest-plugin.git#egg=cinder-tempest-plugin;python_version>='3.6'
git+https://opendev.org/openstack/designate-tempest-plugin.git#egg=designate-tempest-plugin;python_version>='3.6'
git+https://opendev.org/openstack/heat-tempest-plugin.git#egg=heat-tempest-plugin;python_version>='3.6'
git+https://opendev.org/openstack/manila-tempest-plugin.git#egg=manila-tempest-plugin;python_version>='3.6'
git+https://opendev.org/openstack/watcher-tempest-plugin.git#egg=watcher-tempest-plugin;python_version>='3.6'
cinder-tempest-plugin;python_version<'3.6'
Expand Down
131 changes: 129 additions & 2 deletions tests/distro-regression/tests/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,22 @@ configure:
- jammy_upgrades: *focal_ussuri
tests:
- xenial_queens:
- zaza.openstack.charm_tests.status.tests.ProposedPackageReport
- zaza.openstack.charm_tests.tempest.tests.TempestTestWithKeystoneV3
- bionic_queens_security:
- zaza.openstack.charm_tests.status.tests.ProposedPackageReport
- zaza.openstack.charm_tests.tempest.tests.TempestTestWithKeystoneV3
- bionic_ussuri:
- zaza.openstack.charm_tests.status.tests.ProposedPackageReport
- zaza.openstack.charm_tests.tempest.tests.TempestTestWithKeystoneV3
- focal_ussuri:
- zaza.openstack.charm_tests.status.tests.ProposedPackageReport
- zaza.openstack.charm_tests.tempest.tests.TempestTestWithKeystoneV3
- focal_ussuri_security:
- zaza.openstack.charm_tests.status.tests.ProposedPackageReport
- zaza.openstack.charm_tests.tempest.tests.TempestTestWithKeystoneV3
- focal_wallaby:
- zaza.openstack.charm_tests.status.tests.ProposedPackageReport
- zaza.openstack.charm_tests.tempest.tests.TempestTestWithKeystoneV3
- focal_upgrades:
# ussuri->victoria
Expand Down Expand Up @@ -119,34 +125,87 @@ tests_options:
focal_ussuri_security:
overlay_ppas:
- ppa:ubuntu-security-proposed/ppa
openstack-upgrade:
detect-using-charm: keystone
tempest:
xenial_queens:
smoke: True
serial: True
include-list:
- "heat_tempest_plugin.tests.api.*"
- "heat_tempest_plugin.tests.functional.*"
exclude-list:
# designate tests fail with self.creds_client.assign_user_role_on_system 'No "reader" role found'
- "designate_tempest_plugin.tests.api.v2.test_recordset.RecordsetsTest"
- "designate_tempest_plugin.tests.api.v2.test_zones_exports.ZonesExportTest"
- "designate_tempest_plugin.tests.api.v2.test_zones_imports.ZonesImportTest"
# HTTP 401 unauthorized
- "heat_tempest_plugin.tests.functional.test_create_update_neutron_port.UpdatePortTest.test_update_with_mac_address"
- "heat_tempest_plugin.tests.functional.test_encryption_vol_type.EncryptionVolTypeTest.test_create_update"
# Need fixed demo network defined (ie. fixed_network_name=demo_project_network)
- "heat_tempest_plugin.tests.functional.test_encrypted_parameter.EncryptedParametersTest.test_db_encryption"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_add_delete_poolmember"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_create_update_loadbalancer"
- "heat_tempest_plugin.tests.functional.test_os_wait_condition.OSWaitCondition.test_create_stack_with_multi_signal_waitcondition"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_metadata"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_timeout_failed"
# testtools.matchers._impl.MismatchError: 'CREATE_FAILED' not in ['CREATE_IN_PROGRESS', 'CREATE_COMPLETE']
- "heat_tempest_plugin.tests.functional.test_stack_events.StackEventsTest.test_event"
# octavia test fails with self.creds_client.assign_user_role 'No "load-balancer_admin" role found'
- "octavia_tempest_plugin.tests.scenario.v2.test_traffic_ops.TrafficOperationsScenarioTest"
bionic_queens_security:
smoke: True
serial: True
include-list:
- "heat_tempest_plugin.tests.api.*"
- "heat_tempest_plugin.tests.functional.*"
exclude-list:
# designate tests fail with self.creds_client.assign_user_role_on_system 'No "reader" role found'
- "designate_tempest_plugin.tests.api.v2.test_recordset.RecordsetsTest"
- "designate_tempest_plugin.tests.api.v2.test_zones_exports.ZonesExportTest"
- "designate_tempest_plugin.tests.api.v2.test_zones_imports.ZonesImportTest"
# HTTP 401 unauthorized
- "heat_tempest_plugin.tests.functional.test_create_update_neutron_port.UpdatePortTest.test_update_with_mac_address"
- "heat_tempest_plugin.tests.functional.test_encryption_vol_type.EncryptionVolTypeTest.test_create_update"
# Need fixed demo network defined (ie. fixed_network_name=demo_project_network)
- "heat_tempest_plugin.tests.functional.test_encrypted_parameter.EncryptedParametersTest.test_db_encryption"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_add_delete_poolmember"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_create_update_loadbalancer"
- "heat_tempest_plugin.tests.functional.test_os_wait_condition.OSWaitCondition.test_create_stack_with_multi_signal_waitcondition"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_metadata"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_timeout_failed"
# testtools.matchers._impl.MismatchError: 'CREATE_FAILED' not in ['CREATE_IN_PROGRESS', 'CREATE_COMPLETE']
- "heat_tempest_plugin.tests.functional.test_stack_events.StackEventsTest.test_event"
# octavia test fails with self.creds_client.assign_user_role 'No "load-balancer_admin" role found'
- "octavia_tempest_plugin.tests.scenario.v2.test_traffic_ops.TrafficOperationsScenarioTest"
bionic_ussuri:
smoke: True
serial: True
include-list:
- "heat_tempest_plugin.tests.api.*"
- "heat_tempest_plugin.tests.functional.*"
exclude-list:
# designate tests fail with self.creds_client.assign_user_role_on_system 'No "reader" role found'
- "designate_tempest_plugin.tests.api.v2.test_zones_exports.ZonesExportTest"
- "designate_tempest_plugin.tests.api.v2.test_zones_imports.ZonesImportTest"
# HTTP 401 unauthorized
- "heat_tempest_plugin.tests.functional.test_create_update_neutron_port.UpdatePortTest.test_update_with_mac_address"
- "heat_tempest_plugin.tests.functional.test_encryption_vol_type.EncryptionVolTypeTest.test_create_update"
# Need fixed demo network defined (ie. fixed_network_name=demo_project_network)
- "heat_tempest_plugin.tests.functional.test_encrypted_parameter.EncryptedParametersTest.test_db_encryption"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_add_delete_poolmember"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_create_update_loadbalancer"
- "heat_tempest_plugin.tests.functional.test_os_wait_condition.OSWaitCondition.test_create_stack_with_multi_signal_waitcondition"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_metadata"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_timeout_failed"
# testtools.matchers._impl.MismatchError: 'CREATE_FAILED' not in ['CREATE_IN_PROGRESS', 'CREATE_COMPLETE']
- "heat_tempest_plugin.tests.functional.test_stack_events.StackEventsTest.test_event"
# octavia test fails with self.creds_client.assign_user_role 'No "load-balancer_admin" role found'
- "octavia_tempest_plugin.tests.scenario.v2.test_traffic_ops.TrafficOperationsScenarioTest"
focal_ussuri:
smoke: True
serial: True
include-list:
- "heat_tempest_plugin.tests.api.*"
- "heat_tempest_plugin.tests.functional.*"
- "manila_tempest_tests.tests.api.admin.test_admin_actions.AdminActionsTest.*"
- "manila_tempest_tests.tests.api.admin.test_share_instances.ShareInstancesTest.*"
- "manila_tempest_tests.tests.api.admin.test_share_snapshot_instances.ShareSnapshotInstancesTest.*"
Expand All @@ -164,6 +223,18 @@ tests_options:
# designate failures due to check_list_show_RBAC_enforcement returning "Unauthorized"
- "designate_tempest_plugin.tests.api.v2.test_zones_exports.ZonesExportTest.test_show_zone_export"
- "designate_tempest_plugin.tests.api.v2.test_zones_imports.ZonesImportTest.test_show_zone_import"
# HTTP 401 unauthorized
- "heat_tempest_plugin.tests.functional.test_create_update_neutron_port.UpdatePortTest.test_update_with_mac_address"
- "heat_tempest_plugin.tests.functional.test_encryption_vol_type.EncryptionVolTypeTest.test_create_update"
# Need fixed demo network defined (ie. fixed_network_name=demo_project_network)
- "heat_tempest_plugin.tests.functional.test_encrypted_parameter.EncryptedParametersTest.test_db_encryption"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_add_delete_poolmember"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_create_update_loadbalancer"
- "heat_tempest_plugin.tests.functional.test_os_wait_condition.OSWaitCondition.test_create_stack_with_multi_signal_waitcondition"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_metadata"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_timeout_failed"
# testtools.matchers._impl.MismatchError: 'CREATE_FAILED' not in ['CREATE_IN_PROGRESS', 'CREATE_COMPLETE']
- "heat_tempest_plugin.tests.functional.test_stack_events.StackEventsTest.test_event"
# Exclude the known failures due to issues with octavia/manila policy
- "manila_tempest_tests.tests.api.admin.test_share_networks.ShareNetworkAdminTest"
- "manila_tempest_tests.tests.api.test_share_networks.ShareNetworksTest"
Expand All @@ -182,6 +253,8 @@ tests_options:
smoke: True
serial: True
include-list:
- "heat_tempest_plugin.tests.api.*"
- "heat_tempest_plugin.tests.functional.*"
- "manila_tempest_tests.tests.api.admin.test_admin_actions.AdminActionsTest.*"
- "manila_tempest_tests.tests.api.admin.test_share_instances.ShareInstancesTest.*"
- "manila_tempest_tests.tests.api.admin.test_share_snapshot_instances.ShareSnapshotInstancesTest.*"
Expand All @@ -199,6 +272,18 @@ tests_options:
# designate failures due to check_list_show_RBAC_enforcement returning "Unauthorized"
- "designate_tempest_plugin.tests.api.v2.test_zones_exports.ZonesExportTest.test_show_zone_export"
- "designate_tempest_plugin.tests.api.v2.test_zones_imports.ZonesImportTest.test_show_zone_import"
# HTTP 401 unauthorized
- "heat_tempest_plugin.tests.functional.test_create_update_neutron_port.UpdatePortTest.test_update_with_mac_address"
- "heat_tempest_plugin.tests.functional.test_encryption_vol_type.EncryptionVolTypeTest.test_create_update"
# Need fixed demo network defined (ie. fixed_network_name=demo_project_network)
- "heat_tempest_plugin.tests.functional.test_encrypted_parameter.EncryptedParametersTest.test_db_encryption"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_add_delete_poolmember"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_create_update_loadbalancer"
- "heat_tempest_plugin.tests.functional.test_os_wait_condition.OSWaitCondition.test_create_stack_with_multi_signal_waitcondition"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_metadata"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_timeout_failed"
# testtools.matchers._impl.MismatchError: 'CREATE_FAILED' not in ['CREATE_IN_PROGRESS', 'CREATE_COMPLETE']
- "heat_tempest_plugin.tests.functional.test_stack_events.StackEventsTest.test_event"
# Exclude the known failures due to issues with octavia/manila policy
- "manila_tempest_tests.tests.api.admin.test_share_networks.ShareNetworkAdminTest"
- "manila_tempest_tests.tests.api.test_share_networks.ShareNetworksTest"
Expand All @@ -217,6 +302,8 @@ tests_options:
smoke: True
serial: True
include-list:
- "heat_tempest_plugin.tests.api.*"
- "heat_tempest_plugin.tests.functional.*"
- "manila_tempest_tests.tests.api.admin.test_admin_actions.AdminActionsTest.*"
- "manila_tempest_tests.tests.api.admin.test_share_instances.ShareInstancesTest.*"
- "manila_tempest_tests.tests.api.admin.test_share_snapshot_instances.ShareSnapshotInstancesTest.*"
Expand All @@ -234,6 +321,18 @@ tests_options:
# designate failures due to check_list_show_RBAC_enforcement returning "Unauthorized"
- "designate_tempest_plugin.tests.api.v2.test_zones_exports.ZonesExportTest.test_show_zone_export"
- "designate_tempest_plugin.tests.api.v2.test_zones_imports.ZonesImportTest.test_show_zone_import"
# HTTP 401 unauthorized
- "heat_tempest_plugin.tests.functional.test_create_update_neutron_port.UpdatePortTest.test_update_with_mac_address"
- "heat_tempest_plugin.tests.functional.test_encryption_vol_type.EncryptionVolTypeTest.test_create_update"
# Need fixed demo network defined (ie. fixed_network_name=demo_project_network)
- "heat_tempest_plugin.tests.functional.test_encrypted_parameter.EncryptedParametersTest.test_db_encryption"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_add_delete_poolmember"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_create_update_loadbalancer"
- "heat_tempest_plugin.tests.functional.test_os_wait_condition.OSWaitCondition.test_create_stack_with_multi_signal_waitcondition"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_metadata"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_timeout_failed"
# testtools.matchers._impl.MismatchError: 'CREATE_FAILED' not in ['CREATE_IN_PROGRESS', 'CREATE_COMPLETE']
- "heat_tempest_plugin.tests.functional.test_stack_events.StackEventsTest.test_event"
# Exclude the known failures due to issues with octavia/manila policy
- "manila_tempest_tests.tests.api.admin.test_share_networks.ShareNetworkAdminTest"
- "manila_tempest_tests.tests.api.test_share_networks.ShareNetworksTest"
Expand All @@ -252,6 +351,8 @@ tests_options:
smoke: True
serial: True
include-list:
- "heat_tempest_plugin.tests.api.*"
- "heat_tempest_plugin.tests.functional.*"
- "manila_tempest_tests.tests.api.admin.test_admin_actions.AdminActionsTest.*"
- "manila_tempest_tests.tests.api.admin.test_share_instances.ShareInstancesTest.*"
- "manila_tempest_tests.tests.api.admin.test_share_snapshot_instances.ShareSnapshotInstancesTest.*"
Expand All @@ -266,6 +367,18 @@ tests_options:
# - "watcher_tempest_plugin.tests.scenario.test_execute_host_maintenance"
# - "watcher_tempest_plugin.tests.scenario.test_execute_vm_workload_consolidation"
exclude-list:
# HTTP 401 unauthorized
- "heat_tempest_plugin.tests.functional.test_create_update_neutron_port.UpdatePortTest.test_update_with_mac_address"
- "heat_tempest_plugin.tests.functional.test_encryption_vol_type.EncryptionVolTypeTest.test_create_update"
# Need fixed demo network defined (ie. fixed_network_name=demo_project_network)
- "heat_tempest_plugin.tests.functional.test_encrypted_parameter.EncryptedParametersTest.test_db_encryption"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_add_delete_poolmember"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_create_update_loadbalancer"
- "heat_tempest_plugin.tests.functional.test_os_wait_condition.OSWaitCondition.test_create_stack_with_multi_signal_waitcondition"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_metadata"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_timeout_failed"
# testtools.matchers._impl.MismatchError: 'CREATE_FAILED' not in ['CREATE_IN_PROGRESS', 'CREATE_COMPLETE']
- "heat_tempest_plugin.tests.functional.test_stack_events.StackEventsTest.test_event"
# Exclude the known failures due to issues with octavia/manila policy
- "manila_tempest_tests.tests.api.admin.test_share_networks.ShareNetworkAdminTest"
- "manila_tempest_tests.tests.api.test_share_networks.ShareNetworksTest"
Expand All @@ -284,6 +397,8 @@ tests_options:
smoke: True
serial: True
include-list:
- "heat_tempest_plugin.tests.api.*"
- "heat_tempest_plugin.tests.functional.*"
- "manila_tempest_tests.tests.api.admin.test_admin_actions.AdminActionsTest.*"
- "manila_tempest_tests.tests.api.admin.test_share_instances.ShareInstancesTest.*"
- "manila_tempest_tests.tests.api.admin.test_share_snapshot_instances.ShareSnapshotInstancesTest.*"
Expand All @@ -298,6 +413,18 @@ tests_options:
# - "watcher_tempest_plugin.tests.scenario.test_execute_host_maintenance"
# - "watcher_tempest_plugin.tests.scenario.test_execute_vm_workload_consolidation"
exclude-list:
# HTTP 401 unauthorized
- "heat_tempest_plugin.tests.functional.test_create_update_neutron_port.UpdatePortTest.test_update_with_mac_address"
- "heat_tempest_plugin.tests.functional.test_encryption_vol_type.EncryptionVolTypeTest.test_create_update"
# Need fixed demo network defined (ie. fixed_network_name=demo_project_network)
- "heat_tempest_plugin.tests.functional.test_encrypted_parameter.EncryptedParametersTest.test_db_encryption"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_add_delete_poolmember"
- "heat_tempest_plugin.tests.functional.test_lbaasv2.LoadBalancerv2Test.test_create_update_loadbalancer"
- "heat_tempest_plugin.tests.functional.test_os_wait_condition.OSWaitCondition.test_create_stack_with_multi_signal_waitcondition"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_metadata"
- "heat_tempest_plugin.tests.functional.test_software_config.ParallelDeploymentsTest.test_deployments_timeout_failed"
# testtools.matchers._impl.MismatchError: 'CREATE_FAILED' not in ['CREATE_IN_PROGRESS', 'CREATE_COMPLETE']
- "heat_tempest_plugin.tests.functional.test_stack_events.StackEventsTest.test_event"
# Exclude the known failures due to issues with octavia/manila policy
- "manila_tempest_tests.tests.api.admin.test_share_networks.ShareNetworkAdminTest"
- "manila_tempest_tests.tests.api.test_share_networks.ShareNetworksTest"
Expand Down

0 comments on commit 6af9208

Please sign in to comment.