Commit Graph

14800 Commits

Author SHA1 Message Date
Zuul 23302a5174 Merge "Use service_available option to detect Neutron" 2024-05-22 19:09:53 +00:00
Zuul 8842ed3fd4 Merge "Switch back the tox constraint to master" 2024-05-21 16:16:23 +00:00
Zuul 5b9b80e3c9 Merge "Pin stable/2024.1 constraint in tox to release 39.0.0" 2024-05-21 16:14:12 +00:00
Zuul c54fd8d9e6 Merge "End support for stable/zed" 2024-05-21 15:17:57 +00:00
Zuul de60d34499 Merge "Enable tempest cleanup with record_resources in jobs" 2024-05-21 14:21:17 +00:00
Zuul 06831f9811 Merge "Adds validation schema for compute" 2024-05-21 10:12:14 +00:00
Zuul e838ec9fa8 Merge "Implement purge list for tempest cleanup" 2024-05-21 06:13:54 +00:00
Martin Kopec 1a9c40d469 Enable tempest cleanup with record_resources in jobs
This enables tempest cleanup with record_resources in the tempest-all job
to create a list of all the resources created during the tempest run.
Then the list will be used to run 'tempest cleanup' to clean only
the resources in the list.

Also, enable the dry cleanup with record_resources in tempest-extra-tests
job.

Change-Id: Ia64a1c09d4b5e9815ff5926161d550b56433ec64
2024-05-20 13:05:15 +00:00
Katarina Strenkova f999b15bd4 Implement purge list for tempest cleanup
This patch adds an option to create purge list that logs every
resource created by Tempest. When used with tempest cleanup
command, it creates a new method of deleting resources created
during one or multiple Tempest runs.

This method solves the problem of accidentally deleting
resources which were not created by Tempest, but by users.

Change-Id: Ide81e6a41799bace211669951b4ceab8635b56ab
2024-05-20 12:35:13 +00:00
Amit Uniyal 43cc313b0b Adds validation schema for compute
- Adds user_id and project_id in list migrations for v2.80
- Adds attachment_id and bdm_uuid in volume attachment for v2.89
- Removes id from volume attachment list and show
- Update a microversion condition to call evacuate API.

Change-Id: I3a2fbcfad992799f7c7aec97bb18edf647cefa1c
2024-05-17 07:14:15 -04:00
Dan Smith aec7f39cbe Add servers tests with LUN direct volume
This tests the cases covered in nova bug #2065084

Depends-On: https://review.opendev.org/c/openstack/nova/+/918470
Change-Id: I857870de4afba862be60e9946dec877e8a707d88
2024-05-07 11:18:27 -07:00
Takashi Kajinami a4f57d3db5 Use service_available option to detect Neutron
... because nova-network was removed in Ussuri release.

To run basic neutron tests by default, the default value of
[service_available] neutron option is changed to True.

Change-Id: I74cc344a9c1ae2aa523af754d22392869ff059f5
2024-05-07 10:38:51 +09:00
Zuul ccd034eb3a Merge "Stop running jobs for stable/zed" 2024-05-06 20:45:11 +00:00
Zuul dba5f5cdde Merge "Add wait for location import task" 2024-05-03 20:45:30 +00:00
Zuul b18cc25bad Merge "Remove xenapi_apis option" 2024-05-03 20:45:27 +00:00
Ghanshyam Mann 2f9eb20adc Switch back the tox constraint to master
Tempest 39.0.0 release hash is prepared[1] so we can
revert back to use the master constraints by default.

[1] https://review.opendev.org/c/openstack/releases/+/918137

Change-Id: I29761a28dc4e1b097f660ff6beade8930dc45bed
2024-05-03 12:26:40 -07:00
Ghanshyam Mann e2cf1e90f7 Pin stable/2024.1 constraint in tox to release 39.0.0
We are going to release Tempest new tag 39.0.0 to declare
the end of support for stable/zed. stable/2024.1 constraint
is latest stable constraints tested with current tempest hash
which is going to be used for 39.0.0 release.

Further information:
 https://docs.openstack.org/tempest/latest/requirement_upper_constraint_for_tempest.html

Change-Id: Ie842d97be45cbcfe40419ae017c00fb147acb197
2024-05-03 12:24:22 -07:00
Ghanshyam Mann 6eea5f92db End support for stable/zed
This marks the end of support for stable/zed
which is moving to 'unmaintained' stage[1].
This adds the release note to mark the end of
support of Zed.

[1] https://review.opendev.org/q/topic:%22zed-unmaintained%22

Change-Id: Iadd5549a87614b893e3b284f926cb5c3dc185ef7
2024-05-03 12:20:24 -07:00
Dr. Jens Harbott 59e1cb442f Stop running jobs for stable/zed
The zed branch is transitioning to unmaintained, stop testing it and
drop the corresponding periodic jobs.

Change-Id: Ia6722d85b5f1350ab20db4d76f90640bfe979eae
2024-05-03 12:17:12 -07:00
Zuul 4fa5ce5da7 Merge "Remove deprecated object storage client interfaces" 2024-05-03 18:59:21 +00:00
Zuul 550784f306 Merge "Fix constraint usage for unmaintained/victoria|wallaby" 2024-04-30 11:42:30 +00:00
Zuul 1c3fc43c9d Merge "Deprecate import_image" 2024-04-24 16:10:44 +00:00
Zuul 790b8c82f6 Merge "Deprecate os_glance_reserved" 2024-04-24 09:10:09 +00:00
Zuul f6cbdf8145 Merge "Enable Secure RBAC in Keystone" 2024-04-24 09:10:06 +00:00
Ghanshyam Mann b42fc49058 Fix constraint usage for unmaintained/victoria|wallaby
vistoria and wallaby branches are renamed to unmaintained/
namespace. Fixing run-tempest role to adopt those new name
for those branches so that it can set the correct constraints
while installing the tempest.

Change-Id: I595c3530461173fe3c9ba258aeb1ae90314874bf
2024-04-18 11:59:28 -07:00
Martin Kopec ba5cb852b8 Fix str to str comparison in live migration test
The str to str comparison in the
test_server_connectivity_live_migration_compute uses a "<"
operation that does not work as intended. Let's fix that by using
the tempest module created for comparing string microversions.

Change-Id: Id6d18c93e8637d797404a62a23d3fcc61208fd4c
2024-04-18 13:23:29 +02:00
Douglas Mendizábal cdbe43e2e9 Enable Secure RBAC in Keystone
This patch enables Secure RBAC (enforce_scope and enforce_new_defaults)
in Keystone since the policies have been updated to accept both scoped
tokens as well as legacy "admin" role tokens. [1]

[1] f2f1a5c388

Depends-On: https://review.opendev.org/c/openstack/keystone/+/913999
Change-Id: I4d4c6f250a08a86bd5838679a3ef2c0ad887f265
2024-04-15 14:43:42 -04:00
Takashi Kajinami 8512946216 Deprecate import_image
This option was added because of a known issue in WSGI mode[1] which
was fixed during Vicotria release. Now the latest tempest supports Zed
and later we can start removing the option.

[1] https://bugs.launchpad.net/glance/+bug/1888713

Change-Id: Id75c7f5846575fba7e2494bc3182ce65b0892c47
2024-04-13 00:17:39 +09:00
Takashi Kajinami 9fcc4a3ffb Deprecate os_glance_reserved
The os_glance_reserved option was added to support old releases without
namespace reservation. The feature was added in Wallaby[1] and all of
the current supported versions (Zed and later) all support the feature.

[1] https://docs.openstack.org/releasenotes/glance/wallaby.html#upgrade-notes

Change-Id: I626ac99cd8f206b202bce3e743e419af40248638
2024-04-13 00:07:11 +09:00
Zuul c0da6e843a Merge "[codespell] fix typos" 2024-04-08 19:40:11 +00:00
Zuul aeb9b13e93 Merge "Add scenario test: test instances with cinder volumes" 2024-04-05 21:16:02 +00:00
Rajesh Tailor a85bdb47ef [codespell] fix typos
This change fixes typos in tempest code, doc, zuul yaml
and tox.ini file, which are found by codespell.

Change-Id: I8051d979e28f7dbf532181f339cbef9cd7220c76
2024-04-02 12:12:32 +05:30
Zuul 8794025588 Merge "Allow tempest cleanup delete resources based on prefix" 2024-03-31 23:41:12 +00:00
Zuul 1e0f5649ee Merge "Replace deprecated os_adm" 2024-03-30 07:00:01 +00:00
Takashi Kajinami ea0bafde65 Remove xenapi_apis option
Because ussuri is no longer supported by master, the option can be
removed now.

Note:
 - inject network infomation API is still valid so its test is restored
 - Disabled Metadata API tests are restored because these are not
   actually specific to xenapi virt driver.

Change-Id: I123bf1d605db294351c823ed41d2a70b81831087
2024-03-30 02:52:48 +00:00
Zuul 158b7b46f8 Merge "Add Tempest gate job for stable/2024.1" 2024-03-29 21:58:45 +00:00
Luigi Dino Tamagnone 9052dfcc85 Allow tempest cleanup delete resources based on prefix
A warning in command description of run cleanup first with dry-run
is added. The cleanup behavior is extended to allow users to delete
only resources if their name starts with a certain prefix.

Closes-Bug: #1945082
Change-Id: I65dfe051c891b3679538acec713e8616746c47f6
2024-03-29 20:14:15 +01:00
Ghanshyam Mann 8db2b1c203 Create releasenotes page for tempest 37.0.0, 38.0.0
Depends-On: https://review.opendev.org/c/openstack/releases/+/913952
Change-Id: I0840bbeafb3a2398998ccf199cab04067cb74b0c
2024-03-28 16:38:30 -07:00
Zuul 68e4a4b3e9 Merge "Update integrated template for grenade-skip-level job" 2024-03-28 23:06:39 +00:00
Ghanshyam Mann 61bb9c66de Add Tempest gate job for stable/2024.1
Now we have stable/2024.1 branch ready for devstack
and so does for all service projects.

This commit adds the Tempest testing for stable/2024.1
by adding new jobs running on stable/2024.1 version of
openstack.

Change-Id: I4b9370e7b50da2bb535ff40ebc34079d2b8772ce
2024-03-28 14:55:37 -07:00
Zuul 1dfa07524d Merge "Remove deprecated alias of test decorators (1/2)" 2024-03-28 20:33:59 +00:00
Ghanshyam Mann 0765568e79 Update integrated template for grenade-skip-level job
Current development cycle (2024.2) is non SLURP release and
we do not need run grenade-skip-level on non SLURP. If any
project want to run skip level upgrade testing in non SLURP
release they can use grenade-skip-level-always job (for example
Nova does).

Change-Id: I68521a4ffcac52144308f17cd1062b99630e4dd2
2024-03-28 18:19:23 +00:00
Takashi Kajinami bd09940602 Replace deprecated os_adm
It was deprecated in tempest 16.1.0[1] in favor of os_admin.

[1] 8160d31e58

Change-Id: Ia5fab50e683c3c414401b635c30ce64b2ede5f6d
2024-03-28 11:58:34 +09:00
Takashi Kajinami 23fa0d2de2 Remove deprecated alias of test decorators (1/2)
These were deprecated during Pike cycle[1] and multiple cycles have
passed since then.

[1] cd36841ca2

Change-Id: I15929c6f2cd472ad96a6b7086ccb8ac81ccbe7c5
2024-03-28 11:40:47 +09:00
Takashi Kajinami 47880ca10c Remove deprecated object storage client interfaces
These were deprecated during Queens cycle. Codesearch shows no usage
of these.

Change-Id: Iad5baa11aff0f4ecccd0852f50d29537a809b446
2024-03-27 04:31:08 +00:00
Ghanshyam Mann 16f6a0d55f Switch to the master constraint in tox.ini
To releas a new tag for Tempest 2024.1, we modified the
compatible constraint in tox.ini
- https://review.opendev.org/c/openstack/tempest/+/913950/

As new tag is released now so we can switch back to the master
constraint in tox.ini.

Change-Id: I1ec341903929f240ef3e796ee0db2acda9af9823
2024-03-22 13:00:13 +00:00
Ghanshyam Mann d5f63dbe33 Use stable constraint in tox to release new tag for 2024.1
We are going to release Tempest new tag to declare the start of
support for stable/2024.1. So that new tag use stable/2024.1
constraint in the tox env.

For example: if anyone use Tempest new tag in future say
1 year later then tox env also should use the 2024.1 contstraint for
compatibility instead master.

Also, making ironic-tempest-bios-ipmi-direct-tinyipa as
non voting to merge his change.

These need to be reverted once release is done.

Change-Id: I5ee1ce6b3ffbbb1f47e448fc15d540f74b21684f
2024-03-22 12:58:58 +00:00
Ghanshyam Mann cfdaf9a4b9 Add releasenote to tag the Tempest for 2024.1 release
Updating the doc for the same.

Change-Id: Id1e7ac3e21aa713aa1a21740d59b547fd566f23b
2024-03-21 23:20:29 -07:00
Zuul 905da972c9 Merge "Fix branch regex for unmaintained branch model" 2024-03-18 01:14:36 +00:00
Zuul 06552014ea Merge "Remove deprecated [network] dns_server options" 2024-03-17 21:03:34 +00:00