Commit Graph

14775 Commits

Author SHA1 Message Date
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
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
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
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
jskunda d744598179 Add scenario test: test instances with cinder volumes
This patch adds a scenario test instances with cinder volumes launches
on all available compute nodes, up to CONF.compute.min_compute_nodes.
Also 1 additional configuration is added: volume_types_for_data_volume.

Also function for create and add security group to server is moved
to tempest/scenario/manager.py to avoid code duplication.

Change-Id: I346a9505bc942e66aedad2029215617d0918a885
2024-03-15 18:29:36 +01:00
Ghanshyam Mann 1b38bd66a4 Fix branch regex for unmaintained branch model
Fixing a few more job branches variant to cover the
unmaintained branches namespace.

Change-Id: Id48d986f8a306b25e67db97fa0e4e579125b7bdf
2024-03-14 21:29:42 -07:00
Zuul 6f92b52575 Merge "Make plugin sanity check job voting again" 2024-03-13 20:07:31 +00:00
Martin Kopec 26dce72617 Make plugin sanity check job voting again
The job hasn't fail with the reason it was marked non-voting for,
for a while now.

Closes-Bug: #2053026
Change-Id: I035925416c9420624ea5d55b6bc5c1b08fcacf25
2024-03-11 11:06:25 +01:00
lkuchlan dcbf502ba0 Test create a backup when latest incremental backup is deleted
This patch is uploaded, since there is a bug report, while
creating a volume backup when the latest incremental backup
is deleted.

Change-Id: I2f766c1e516ce0e1c490bfc1f9d4660ad51cff86
Related-Bug: #1703011
2024-03-10 06:46:44 +00:00
Zuul f7f2ea5d57 Merge "Fix branch regex to cover unmaintained branches" 2024-03-09 03:00:43 +00:00
Zuul ec8a1b73f0 Merge "Add ovs and ovn logs to be collected in all devstack jobs" 2024-03-08 21:05:31 +00:00
Slawek Kaplonski 7042abd91f Add ovs and ovn logs to be collected in all devstack jobs
ML2/OVN is default Neutron backend in Devstack since couple of cycles
already and it would be useful to have ovs/ovn logs collected in all
such jobs.

Related-Bug: #2052787
Change-Id: Icce8f469b3bc1154b6ac46382f35ee6ff91682f3
2024-03-08 09:52:38 +01:00
yatinkarel 1c5f341c41 Fix branch regex to cover unmaintained branches
Required to keep running jobs when branches are
renamed from stable to unmaintained.

yoga already transitioned to unmaintained. victoria,
wallaby and xena are in progress.

Related-Bug: #2056276
Change-Id: I12eac55c9864eeeed255f426c537b7e53e908521
2024-03-08 10:37:26 +05:30
Zuul 2a65693914 Merge "Drop EOL branches from job definitions" 2024-03-07 10:13:10 +00:00
Zuul fa5e69d455 Merge "Add prefix to images created in *ImagesNegativeTest tests" 2024-03-06 03:46:00 +00:00
Abhishek Kekane 5636402787 Add coverage for caching image on remote node
Added test coverage to verify image is cached on remote glance
node as well.

Note: Removed potential race condtion logic where earlier we were
checking for image stays in queued state.

Depends-On: https://review.opendev.org/c/openstack/glance/+/900419
Change-Id: I866abe25e9c8204bcfb452dd2fac6181b6dfd7e0
2024-03-04 15:04:53 +00:00
Zuul d0731b78c5 Merge "Add set-src-dest-host role" 2024-02-28 21:12:59 +00:00
Zuul 1b548f951f Merge "Add option to specify source and destination host" 2024-02-28 21:03:16 +00:00
Zuul 4b2c551687 Merge "cli auth: only inject project name if provided" 2024-02-28 19:30:06 +00:00
Zuul 89c86299c8 Merge "Change the parameter passed to the API call" 2024-02-26 22:13:21 +00:00
Dr. Jens Harbott c41af9dcc4 Drop EOL branches from job definitions
Stein, Train and Ussuri branches are all completely EOL not and should
be dropped.

Depends-On: https://review.opendev.org/c/openstack/devstack-plugin-nfs/+/910217
Change-Id: If1bcde49c9aabd380e4f3709b0db38a9f57ec2d7
2024-02-26 11:15:38 +00:00
Martin Kopec 450096d30a Add set-src-dest-host role
The role will find out the available hosts and set
compute.migration_source_host and compute.migration_dest_host
options in tempest.conf if tempest_set_src_dest_host is set to
True.

Change-Id: Ic01970b100a7bb30d9c78229204c7de67681108c
2024-02-24 22:35:29 +01:00
jskunda 5a7ed97b7f Add option to specify source and destination host
This patch adds new class of tests, in which it is possible to
specify source and destination host to migration.

Closes-Bug: #2028540
Change-Id: If07355464d1567c18bedbf07c479e61874ec2031
2024-02-24 22:34:55 +01:00
Martin Kopec b641452a46 Make tempest-tox-plugin-sanity-check n-v
Making tempest-tox-plugin-sanity-check job non-voting
until we fix this issue that makes the job constantly
failing:

https: //bugs.launchpad.net/tempest/+bug/2053026
Change-Id: I1d50b8e81425fa228e03d37a81aaaffdfa5c089c
2024-02-14 18:01:17 +01:00
Yosi Ben Shimon bce267e799 Change the parameter passed to the API call
The args should be passed instead of kwargs
Reason:
args contains all the parameter computed in the method

Change-Id: I80fbc5a157f7e34d3b9ba6f05b54b38d65b143be
Signed-off-by: Yosi Ben Shimon <ybenshim@redhat.com>
2024-02-14 11:03:09 +02:00
Julia Kreger 41a06110b2 cli auth: only inject project name if provided
One can create and need to execute execute functional
tests which may operate with a different scope, i.e. without
a project name. This was not previously functional as the
tempest method would always inject a project name when
none was provided, which would then result in commands
being executed with "--os-project-name None" which would
result in the command failing.

Change-Id: Ieeed191addb277f0c39c7a11f1f77034915be7fc
2024-02-10 15:51:07 -08:00
Zuul 0edee3b8d8 Merge "Use 'tempest run --slowest' in integrated-compute" 2024-02-08 20:28:11 +00:00
Zuul 16131abab5 Merge "Add '--slowest' option to 'tempest run'" 2024-02-08 20:28:08 +00:00