We are ecstatic to announce the release of: tempest 46.1.0 This release is part of the gazpacho 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. 46.1.0 ^^^^^^ Prelude ******* Tempest declares the following interface as a stable interface to be used by the tempest plugins: * tempest.common.compute * tempest.common.identity * tempest.common.image * tempest.common.object_storage New Features ************ * Add alt manager role to the dynamic credentials provider for project scope. * Add "run_concurrent_tasks" helper function in "tempest.common.concurrency" module to simplify writing concurrency tests for OpenStack services. This utility uses multiprocessing to execute operations in parallel and collect results in a shared list. It automatically handles process management, exception collection, and cleanup. Tempest plugins can use this function to test concurrent operations such as parallel volume creation, snapshot creation, or server operations. The number of concurrent processes is specified via the "resource_count" parameter, allowing plugins to pass their service-specific configuration values (e.g., "CONF.volume.concurrent_resource_count" for cinder, "CONF.share.concurrent_resource_count" for manila). * Added a new config option in the *identity* section, *use_system_token*, which will tell Tempest to use system scope token to test the keystone APIs. By default is disabled which means Tempest will use project scoped token. Bug Fixes ********* * Fixed bug #2132971. "test_rebuild_server" will no longer expect a floating ip when floating ip networks are disabled. Changes in tempest 46.0.0..46.1.0 --------------------------------- 8ddedd547 Add releasnotes page for 46.0.0 eb68d6c3f Replace deprecated FormatChecker.cls_checks 37644fc46 Use project_reader in security groups tests 9d20a0dd1 Mark airship/tempest-plugin inactive 32ebf094f disable horizon in tempest-full-py3 217648359 Remove grenade jobs from integrated-gate-networking 6237e1ad9 Test deleting volume snapshots while instance is stopped 7ee3b8125 Fix test_spice for rbac policy access error 9c1cce45e Retry `get_and_verify_metadata` if metadata service is not available yet 7e3c572a7 Add a conditional check for floating ip in rebuild server a93b603d5 Use project_reader in compute admin tests fdb4e1b15 Add setUp to ensure volume availability in snapshot tests 357169c4f Adjust QoS min bandwidth placement if existing external network available cd988b77e Use reader role for compute servers tests 8732781c6 Use system_reader in identity v3 admin tests a06cf36f3 Enforce minimum value for volume (extend) size f9a7a6d2c Switch back to built-in md5 method a4a84045b Add concurrency test support for tempest plugins 9e36fa64f Use reader role for network tests 5bf7cdb69 Use default python3_version in 9-stream stable jobs 95c6fd49f Add config option to use system token in keystone tests 81f7dfc02 Break out novnc connection validation to a mixin f719fdd13 Use reader role for GET requests in flavors tests 5bd1f5103 Declare a few more interface as stable interface 12a497cd9 Use reader role in test_list_servers_negative 4b69de4c0 Use project_reader in create server tests 31e13d302 Use project_reader in create server multi nic tests 49e333af6 Use project_reader in list servers filters tests e842fb072 Use local variable for live migration server client 8e2e85405 Fix tests for testtools 2.8.0 compatibility 352952a08 tox: Speed up bindep target 401f669b9 Remove "os-volume-type-access:is_public" from required properties in common_show_volume_type scheme 0adc84199 Switch back the tox constraint to master f5253aa23 Re-add the ironic job in gate e8f8434e4 New test case for Swift Policy quota limit added c2bd5af22 Add SRBAC alt manager persona to dynamic credentials Diffstat (except docs and test files) ------------------------------------- ...alt-manager-dynamic-creds-f8f1007862ea5dfb.yaml | 4 + ...currency-utility-function-e8d4f2a1c9b5e7f3.yaml | 14 ++ ...stone-system-token-config-1658eb05ed07e4da.yaml | 7 + .../notes/bug-2132971-a89a576348dcd1d6.yaml | 5 + .../plugin-sytable-interface-18f865ba3a415c70.yaml | 9 + releasenotes/source/index.rst | 1 + releasenotes/source/v46.0.0.rst | 6 + requirements.txt | 2 +- .../compute/admin/test_auto_allocate_network.py | 26 ++- .../api/compute/admin/test_availability_zone.py | 11 +- tempest/api/compute/admin/test_create_server.py | 14 +- tempest/api/compute/admin/test_delete_server.py | 7 +- tempest/api/compute/admin/test_flavors.py | 23 +- tempest/api/compute/admin/test_flavors_access.py | 19 +- .../api/compute/admin/test_flavors_extra_specs.py | 20 +- .../admin/test_flavors_extra_specs_negative.py | 12 +- .../compute/admin/test_flavors_microversions.py | 19 +- tempest/api/compute/admin/test_live_migration.py | 35 ++- .../compute/admin/test_live_migration_negative.py | 12 +- tempest/api/compute/admin/test_migrations.py | 29 ++- tempest/api/compute/admin/test_networks.py | 12 +- tempest/api/compute/admin/test_quotas.py | 28 ++- tempest/api/compute/admin/test_quotas_negative.py | 16 +- tempest/api/compute/admin/test_security_groups.py | 11 +- tempest/api/compute/admin/test_servers.py | 42 ++-- tempest/api/compute/admin/test_servers_negative.py | 9 +- .../compute/admin/test_servers_on_multinodes.py | 26 ++- .../api/compute/admin/test_simple_tenant_usage.py | 12 +- tempest/api/compute/admin/test_spice.py | 2 + tempest/api/compute/admin/test_volume.py | 41 +++- tempest/api/compute/admin/test_volume_swap.py | 38 ++-- tempest/api/compute/admin/test_volumes_negative.py | 30 ++- tempest/api/compute/base.py | 19 +- tempest/api/compute/flavors/test_flavors.py | 58 +++-- .../api/compute/flavors/test_flavors_negative.py | 10 +- tempest/api/compute/security_groups/base.py | 9 + .../security_groups/test_security_group_rules.py | 7 +- .../security_groups/test_security_groups.py | 20 +- .../test_security_groups_negative.py | 10 +- .../api/compute/servers/test_attach_interfaces.py | 31 ++- .../api/compute/servers/test_availability_zone.py | 11 +- tempest/api/compute/servers/test_create_server.py | 22 +- .../servers/test_create_server_multi_nic.py | 9 +- tempest/api/compute/servers/test_delete_server.py | 56 ++--- tempest/api/compute/servers/test_device_tagging.py | 6 +- tempest/api/compute/servers/test_disk_config.py | 56 ++--- .../api/compute/servers/test_instance_actions.py | 18 +- .../servers/test_instance_actions_negative.py | 6 +- .../compute/servers/test_list_server_filters.py | 67 +++--- .../compute/servers/test_list_servers_negative.py | 56 +++-- tempest/api/compute/servers/test_novnc.py | 148 ++---------- tempest/api/compute/servers/test_server_actions.py | 249 ++++++++++++--------- .../api/compute/servers/test_server_addresses.py | 14 +- .../servers/test_server_addresses_negative.py | 7 +- tempest/api/compute/servers/test_server_group.py | 25 ++- .../api/compute/servers/test_server_metadata.py | 50 +++-- .../servers/test_server_metadata_negative.py | 25 +-- .../api/compute/servers/test_server_password.py | 10 +- .../api/compute/servers/test_server_personality.py | 27 ++- tempest/api/compute/servers/test_server_rescue.py | 3 +- tempest/api/compute/servers/test_server_tags.py | 29 ++- tempest/api/compute/servers/test_servers.py | 83 ++++--- .../api/compute/servers/test_servers_negative.py | 96 ++++---- tempest/api/identity/admin/v3/test_domains.py | 37 ++- tempest/api/identity/admin/v3/test_endpoints.py | 38 +++- tempest/api/identity/admin/v3/test_groups.py | 32 ++- .../api/identity/admin/v3/test_list_projects.py | 23 +- tempest/api/identity/admin/v3/test_list_users.py | 23 +- tempest/api/identity/admin/v3/test_policies.py | 17 +- tempest/api/identity/admin/v3/test_projects.py | 51 +++-- tempest/api/identity/admin/v3/test_regions.py | 17 +- tempest/api/identity/admin/v3/test_roles.py | 45 ++-- tempest/api/identity/admin/v3/test_services.py | 23 +- tempest/api/identity/admin/v3/test_trusts.py | 15 +- tempest/api/identity/admin/v3/test_users.py | 34 ++- .../api/network/test_agent_management_negative.py | 15 +- tempest/api/network/test_allowed_address_pair.py | 11 +- tempest/api/network/test_dhcp_ipv6.py | 24 +- tempest/api/network/test_extensions.py | 17 +- tempest/api/network/test_extra_dhcp_options.py | 14 +- tempest/api/network/test_floating_ips.py | 16 +- tempest/api/network/test_networks.py | 106 +++++++-- tempest/api/network/test_networks_negative.py | 23 +- tempest/api/network/test_ports.py | 32 ++- tempest/api/network/test_routers.py | 30 ++- tempest/api/network/test_routers_negative.py | 12 +- tempest/api/network/test_security_groups.py | 27 ++- .../api/network/test_security_groups_negative.py | 20 +- tempest/api/network/test_service_providers.py | 15 +- tempest/api/network/test_subnetpools_extensions.py | 14 +- tempest/api/network/test_tags.py | 26 ++- tempest/api/network/test_versions.py | 18 +- tempest/api/object_storage/test_account_quotas.py | 51 +++++ tempest/api/object_storage/test_object_services.py | 15 +- tempest/api/object_storage/test_object_slo.py | 25 ++- tempest/api/volume/test_volumes_snapshots.py | 15 ++ tempest/common/compute.py | 121 ++++++++++ tempest/common/concurrency.py | 61 +++++ tempest/config.py | 10 +- .../lib/api_schema/response/volume/volume_types.py | 3 +- tempest/lib/common/cred_provider.py | 4 + tempest/lib/common/dynamic_creds.py | 6 +- tempest/lib/common/jsonschema_validator.py | 4 +- tempest/lib/common/preprov_creds.py | 8 +- tempest/lib/common/ssh.py | 5 +- tempest/scenario/test_network_qos_placement.py | 62 +++-- tempest/scenario/test_volume_boot_pattern.py | 55 +++++ test-requirements.txt | 2 +- tools/generate-tempest-plugins-list.py | 4 + tox.ini | 12 +- zuul.d/integrated-gate.yaml | 55 +---- zuul.d/project.yaml | 5 +- zuul.d/stable-jobs.yaml | 40 ++++ 118 files changed, 2257 insertions(+), 981 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index a1eff53d9..eafbe0aa0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3 +3 @@ cliff!=2.9.0,>=2.8.0 # Apache-2.0 -jsonschema>=3.2.0 # MIT +jsonschema>=4.5.0 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index b9259217d..f599d53d2 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4 +4 @@ oslotest>=3.2.0 # Apache-2.0 -flake8-import-order>=0.18.0,<0.19.0 # LGPLv3 +flake8-import-order>=0.19.0 # LGPLv3
participants (1)
-
no-reply@openstack.org