We are glad to announce the release of: tempest 39.0.0: OpenStack Integration Testing This release is part of the dalmatian release series. The source is available from: https://opendev.org/openstack/tempest Download the package from: https://pypi.org/project/tempest Please report issues through: https://bugs.launchpad.net/tempest/+bugs For more details, please see below. 39.0.0 ^^^^^^ Prelude ******* This is an intermediate release during the 2024.2 development cycle to mark the end of support for Zed release in Tempest. After this release, Tempest will support below OpenStack Releases: * 2024.1 * 2023.2 * 2023.1 Current development of Tempest is for OpenStack 2024.2 development cycle. New Features ************ * We add a new argument, "--prefix", to "tempest cleanup" tool that will allow users delete only resources that match the prefix. When this option is used, "saved_state.json" file is not needed (no need to run with "--init-saved-state" first). If there is one, it will be ignored and the cleanup will be done based on the given prefix only. Note, that some resources are not named thus they will not be deleted when filtering based on the prefix. * A new config option in the "volume_feature_enabled" section, "volume_types_for_data_volume", is added to allow the user to specify which volume types can be used for data volumes in a new test "test_instances_with_cinder_volumes_on_all_compute_nodes". By default, this option is set to None. * A new interface "--resource-list" has been introduced in the "tempest cleanup" command to remove the resources created by Tempest. A new config option in the default section, "record_resources", is added to allow the recording of all resources created by Tempest. A list of these resources will be saved in "resource_list.json" file, which will be appended in case of multiple Tempest runs. This file is intended to be used with the "tempest cleanup" command if it is used with the newly added option "--resource-list". Upgrade Notes ************* * The following deprecated alias methods of the "ContainerClient" class has been removed. * "update_container_metadata", replaced by "create_update_or_delete_container_metadata" * "list_container_contents", replaced by "list_container_objects" * The following decorators are no longer available in the "tempest.test" module. Use the "tempest.common.utils" module instead. * "services" * "requires_ext" * "is_extension_enabled" * Default value of the "[image-feature-enabled] image_import" has been changed from "False" to "True", and now the image import feature is tested by default. * Default value of the "[image-feature-enabled] os_glance_reserved" has been changed from "False" to "True" and now the reservation of os_glance namespace is tested by default. * The deprecated "[compute-feature-enabled] xenapi_apis" option has been removed. Deprecation Notes ***************** * The "[image-feature-enabled] image_import" option has been deprecated. The image import feature works in both standalone mode and WSGI mode since Victoria and the image import feature can be always tested. * The "[image-feature-enabled] os_glance_reserved" option has been deprecatd because glance reserves the os_glance namespace since Wallaby. Changes in tempest 38.0.0..39.0.0 --------------------------------- 1a9c40d46 Enable tempest cleanup with record_resources in jobs f999b15bd Implement purge list for tempest cleanup 43cc313b0 Adds validation schema for compute aec7f39cb Add servers tests with LUN direct volume e2cf1e90f Pin stable/2024.1 constraint in tox to release 39.0.0 6eea5f92d End support for stable/zed 59e1cb442 Stop running jobs for stable/zed b42fc4905 Fix constraint usage for unmaintained/victoria|wallaby ba5cb852b Fix str to str comparison in live migration test cdbe43e2e Enable Secure RBAC in Keystone 851294621 Deprecate import_image 9fcc4a3ff Deprecate os_glance_reserved a85bdb47e [codespell] fix typos ea0bafde6 Remove xenapi_apis option 9052dfcc8 Allow tempest cleanup delete resources based on prefix 8db2b1c20 Create releasenotes page for tempest 37.0.0, 38.0.0 61bb9c66d Add Tempest gate job for stable/2024.1 0765568e7 Update integrated template for grenade-skip-level job bd0994060 Replace deprecated os_adm 23fa0d2de Remove deprecated alias of test decorators (1/2) 47880ca10 Remove deprecated object storage client interfaces 16f6a0d55 Switch to the master constraint in tox.ini d74459817 Add scenario test: test instances with cinder volumes dca4bc830 Add wait for location import task Diffstat (except docs and test files) ------------------------------------- playbooks/devstack-tempest-ipv6.yaml | 22 + playbooks/devstack-tempest.yaml | 3 +- ...resources-based-on-prefix-96d9562f1f30e979.yaml | 10 + ...volume_types_for_data_volume-config-option.yaml | 8 + ...ontainer-client-interface-6a9fe49072cfdb17.yaml | 8 + ...cleanup-decorator-aliases-e940b6e114e6f481.yaml | 9 + .../deprecate-import_image-e8c627aab833b64d.yaml | 12 + ...recate-os_glance_reserved-bace16f21facca3b.yaml | 11 + .../end-of-support-of-zed-43e2d5dd5608cb10.yaml | 12 + .../notes/remove-xenapi_apis-86720c0c399460ab.yaml | 5 + .../notes/resource-list-cbf9779e8b434654.yaml | 11 + releasenotes/source/index.rst | 2 + releasenotes/source/v37.0.0.rst | 6 + releasenotes/source/v38.0.0.rst | 6 + roles/run-tempest/README.rst | 2 +- roles/run-tempest/tasks/main.yaml | 14 +- roles/tempest-cleanup/README.rst | 15 + roles/tempest-cleanup/defaults/main.yaml | 2 + roles/tempest-cleanup/tasks/dry_run.yaml | 19 + roles/tempest-cleanup/tasks/main.yaml | 23 + tempest/api/compute/admin/test_agents.py | 125 ------ tempest/api/compute/admin/test_servers.py | 11 +- .../compute/admin/test_servers_on_multinodes.py | 2 +- tempest/api/compute/base.py | 2 +- tempest/api/compute/images/test_images.py | 2 +- .../images/test_images_oneserver_negative.py | 2 +- tempest/api/compute/servers/test_create_server.py | 2 +- .../servers/test_multiple_create_negative.py | 2 +- .../api/compute/servers/test_server_metadata.py | 7 - .../servers/test_server_metadata_negative.py | 35 -- tempest/api/compute/servers/test_server_rescue.py | 2 +- .../compute/servers/test_server_rescue_negative.py | 2 +- tempest/api/compute/volumes/test_attach_volume.py | 67 +++ tempest/api/network/test_allowed_address_pair.py | 2 +- tempest/api/network/test_floating_ips.py | 2 +- tempest/api/network/test_tags.py | 2 +- tempest/api/object_storage/test_container_sync.py | 2 +- tempest/api/volume/test_volumes_actions.py | 7 + tempest/clients.py | 10 + tempest/cmd/cleanup.py | 141 +++++- tempest/cmd/cleanup_service.py | 312 ++++++++++---- tempest/common/compute.py | 2 +- tempest/common/custom_matchers.py | 2 +- tempest/common/waiters.py | 2 +- tempest/config.py | 51 +-- .../api_schema/response/compute/v2_80/__init__.py | 0 .../response/compute/v2_80/migrations.py | 40 ++ .../api_schema/response/compute/v2_89/__init__.py | 0 .../api_schema/response/compute/v2_89/servers.py | 84 ++++ tempest/lib/api_schema/response/volume/volumes.py | 2 +- tempest/lib/cmd/check_uuid.py | 2 +- tempest/lib/common/dynamic_creds.py | 4 +- tempest/lib/common/rest_client.py | 80 +++- tempest/lib/decorators.py | 2 +- tempest/lib/services/compute/migrations_client.py | 5 +- .../lib/services/compute/server_groups_client.py | 11 +- tempest/lib/services/compute/servers_client.py | 10 +- tempest/lib/services/image/v2/images_client.py | 2 +- .../services/object_storage/container_client.py | 12 +- tempest/lib/services/volume/v3/volumes_client.py | 4 +- tempest/scenario/manager.py | 34 ++ .../scenario/test_instances_with_cinder_volumes.py | 225 ++++++++++ tempest/scenario/test_minimum_basic.py | 21 - .../scenario/test_network_advanced_server_ops.py | 6 +- tempest/scenario/test_network_basic_ops.py | 3 +- tempest/scenario/test_network_qos_placement.py | 4 +- tempest/scenario/test_stamp_pattern.py | 2 +- tempest/test.py | 17 +- tempest/test_discover/plugins.py | 2 +- tox.ini | 2 +- zuul.d/integrated-gate.yaml | 95 ++-- zuul.d/project.yaml | 26 +- zuul.d/stable-jobs.yaml | 40 +- zuul.d/tempest-specific.yaml | 2 + 84 files changed, 1884 insertions(+), 481 deletions(-)
participants (1)
-
no-reply@openstack.org