815 Commits

Author SHA1 Message Date
Dan Smith
aa8d42c51d Allow wait_for_image_status() to have multiple
This lets us wait for one of multiple target states so we can more
effectively avoid race conditions where we miss an intermediate state
and first poll the final one.

Change-Id: If12c35d38c03fa329ebbf536e2fcd3ff2bd136de
2024-11-13 07:24:42 -08:00
Dan Smith
2ba7ed8e39 Avoid image format tests if glance is enforcing
If glance refuses to allow bad images to be uploaded, then we cannot
even register them to then test against nova or other services. Gate
these tests on a knob indicating whether or not glance will allow
them to be uploaded. The ListUserImagesTest class depends entirely on
being able to upload random data as every format/container, which is
fundamentally not something we can do with glance enforcing content
rules.

This makes the tempest-slow-py3 job disable glance image format
inspection so that we can get the compute tests to run.

Depends-On: https://review.opendev.org/c/openstack/devstack/+/931026
Change-Id: I05bb233cf1482895b96396852a15532295d3829b
2024-11-01 07:13:58 -07:00
Ghanshyam Mann
3e5592f58c End support for stable/2023.1
This marks the end of support for stable/2023.1
which is moving to 'unmaintained' stage[1].

This adds the release note to mark the end of
support of 2023.1 as well as drop the job.

https: //lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/UDQAC7SR5JAQJE5WBAG54A2MTBVBTJ44/

Change-Id: Ia91d9f4590f0b595a306a15f2c776cbabee169ab
2024-10-30 11:39:44 -07:00
Eduardo Olivares
0e599c0d1f Remove python 3.8 support
In this cycle, oslo library are dropping the
python3.8 support. Without oslo libs, Tempest
cannot support the python 3.8. Tempest can be run
in virtual env and upstream CI also test the stable
supported branches in virtual env. If anyone want to
test the cloud on python 3.8, they can still run the
Tempest in virtual env python 3.9.

This patch removes the support of python 3.8 and its testing.

Change-Id: I3f540da045c5e89a3f09ce2cf94877c1560f3436
2024-10-25 14:10:20 -07:00
Pierre Riteau
c887976ac6 Fix typo in release note
Change-Id: Id17e4d4285660f0e7ec91635aa89cdd17d51330b
2024-10-22 19:46:10 +02:00
Zuul
868ee068ee Merge "config: Change [volume] catalog_type default" 2024-10-07 15:19:19 +00:00
Ghanshyam Mann
50151d68df Create releasenotes page for tempest 41.0.0
Change-Id: I5da9e38d8c4acde3202d217beb5e3b0a18283311
2024-09-25 12:37:23 -07:00
Stephen Finucane
1a744c8042 config: Change [volume] catalog_type default
Start using the 'block-storage' catalog type, which for DevStack has
pointed to the Cinder v3 API for many years now [1].

[1] https://review.opendev.org/c/openstack/devstack/+/565479

Change-Id: I8c9e5bfc2722ccd493c062cbb5e52cbc98f5ddc7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-09-25 11:23:47 +01:00
Zuul
2e4355129b Merge "Add releasenote to tag the Tempest for 2024.2 release" 2024-09-23 20:29:55 +00:00
Ghanshyam Mann
b98ab0b2b4 Add releasenote to tag the Tempest for 2024.2 release
Updating the doc for the same.

Change-Id: Id3f8d7fa8f344fc9b7df79637108f3522eb2e84f
2024-09-23 20:00:39 +00:00
Zuul
b1a9ea85ae Merge "Parametrize target_dir for the timestamp" 2024-09-23 19:17:18 +00:00
Martin Kopec
9086dca536 Parametrize target_dir for the timestamp
The default location where we write timestamp files is
/tmp, however, this location does not work for all systems -
/tmp directory cannot be expected to persist across reboots
of an instance.

This commit allows users to set their preferred location and
override the default (/tmp) target dir.

Closes-Bug: #2051268
Change-Id: Id23ae70001525c8eb95d6baf0aca2b4d399e63a1
2024-09-11 12:00:16 +02:00
Martin Kopec
ef2ad57d90 Add releasenotes page for version 40.0.0
Tempest 40.0.0 has been released [1].
This commit adds a new page for 40.0.0 release notes.

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

Change-Id: I246e88b6dc261783fc397ff3bed9d39d3e7a2735
2024-09-11 10:02:29 +02:00
Zuul
b7a621ea2c Merge "Add credential generation for manager personas" 2024-09-09 19:42:57 +00:00
Markus Hentsch
a0199bfcd0 Add credential generation for manager personas
Prepares credentials for domain manager and project manager personas,
required for RBAC tests in Keystone.

Related-Bug: https://review.opendev.org/c/openstack/keystone/+/924132
Change-Id: I2d133326eddb3cf70e2bb1711d8e20f4514f8fca
2024-09-09 13:17:58 +02:00
Martin Kopec
3ba975fce2 Add release notes for 2024.2 cycle intermediate release
This is to make new functionality available to plugins
and other consumers.

Change-Id: Ic49a928f26a368c7119e96b0d809da6c9721c672
2024-09-03 16:08:32 +02:00
jamepark4
9d8d631bdd Add configurable hostname pattern to filter hosts
Currently when aggregating potential target hosts via
get_host_other_than, it's hostname filtering only addresses the suffix
'-ironic'. In the event that pattern is located within the hostname e.g.
nova-cell1-compute-ironic-compute-0, then it will still be used as a
target candidate. Update tempest to allow for a configurable hostname
pattern to filter on when searching for candidates.

Also updated additional testcases that are still using the suffix only
check when removing guests with ironic in the name.

Change-Id: If5bab817e04412512186be2195cd2437bd310980
2024-08-16 10:06:44 -04:00
Zuul
e47f4457cb Merge "Drop identity v2 api tests" 2024-07-09 18:52:33 +00:00
Takashi Kajinami
c0c90279ce Drop identity v2 api tests
These tests can be removed now, because the identity v2 API was removed
from Keystone during Queens cycle and Queens is no longer supported
by current master of tempest.

This also deprecates the related options so that we can drop these
options later.

Change-Id: I0be2273890cecaa26da37624c185c1bd367b2acf
2024-07-09 11:16:56 +09:00
Zuul
1a7a5a4d80 Merge "Update http_image config option to use latest image" 2024-07-05 01:36:32 +00:00
Abhishek Kekane
9eea03cd57 Update http_image config option to use latest image
`http_image config` option of `image` section is still referring
to old cirros image `cirros-0.3.1-x86_64-uec.tar.gz`.

Updated it to use new cirros image `cirros-0.6.2-x86_64-uec.tar.gz`.

Change-Id: I55e2fbd062c476e839fe8404bae18e918e745bc5
2024-07-04 16:55:39 +00:00
Abhishek Kekane
cfdbbb0ac3 Reno for http_qcow2_image config option
Change-Id: I3a03657d155d82d87fef715a138e507670159053
2024-07-04 06:33:28 +00:00
Zuul
0bb9f6de1a Merge "Remove deprecated alias of test decorators (2/2)" 2024-07-02 11:48:20 +00:00
Zuul
5fb37931dd Merge "Adds placement resource provider traits API calls" 2024-07-02 09:15:24 +00:00
Zuul
832ce91985 Merge "Adds placement trait api calls" 2024-07-02 09:15:20 +00:00
Amit Uniyal
6587e780d6 Adds placement resource provider traits API calls
Change-Id: Iaaff5fa36a6559d30a64c8679a0c1852f9e00342
2024-06-27 00:37:14 -04:00
Amit Uniyal
3c3985c2ec Adds placement trait api calls
Change-Id: I0c4523c6916821781c3a67b01ed2e0091407734e
2024-06-26 03:07:40 -04:00
Maxim Sava
4bd81f8b17 Fix enable-volume-image-dep-tests config option
Replaced hyphen with underscore in config option

Change-Id: I5a34b57809fe2b3ef94e3b4b2ae3a6ea23003c0f
2024-06-25 11:17:16 +03:00
Maxim Sava
1be8cabb46 Add image dependencies test for image <-> instance snapshot
Detect problems related to Glance images not allowing
Glance images to be deleted.

Adds new option:
  CONF.volume_feature_enabled.enable_volume_image_dep_tests

Change-Id: Ia216f5be377bf5c35d7addb78d7f8aabb2393405
2024-06-19 23:42:18 +03:00
Zuul
c3200abba5 Merge "Add releasenote page for v39.0.0" 2024-05-27 06:17:49 +00:00
Ghanshyam Mann
cbd0897804 Add releasenote page for v39.0.0
Change-Id: Ifa42169ef047a73b31dc389687b41a6472b49fa5
2024-05-23 12:57:19 -07:00
Zuul
23302a5174 Merge "Use service_available option to detect Neutron" 2024-05-22 19:09:53 +00:00
Zuul
c54fd8d9e6 Merge "End support for stable/zed" 2024-05-21 15:17:57 +00:00
Zuul
e838ec9fa8 Merge "Implement purge list for tempest cleanup" 2024-05-21 06:13:54 +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
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
b18cc25bad Merge "Remove xenapi_apis option" 2024-05-03 20:45:27 +00: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
Zuul
4fa5ce5da7 Merge "Remove deprecated object storage client interfaces" 2024-05-03 18:59:21 +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
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
aeb9b13e93 Merge "Add scenario test: test instances with cinder volumes" 2024-04-05 21:16:02 +00:00
Zuul
8794025588 Merge "Allow tempest cleanup delete resources based on prefix" 2024-03-31 23:41:12 +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
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
1dfa07524d Merge "Remove deprecated alias of test decorators (1/2)" 2024-03-28 20:33:59 +00:00
Takashi Kajinami
033f78a4be Remove deprecated alias of test decorators (2/2)
The attr decorator was deprecated during Pike cycle[1] and multiple
cycles have passed since then.

[1] 3b46d27c90aa6289724f4c137a0838c89d116b62

Depends-on: https://review.opendev.org/908551
Change-Id: Ib24acdd68d1639cd0353f40db1bc9a32b3cecae8
2024-03-28 11:46:05 +09:00