107 Commits

Author SHA1 Message Date
Hao Wang
0901ab0f3f Remove the support for Zaqar v1 apis
Remove the tempest tests for V1 APIs.

Change-Id: I1c76dc24941444481e80009fcd41b8c242f3b644
2025-01-08 10:36:31 -08:00
Ghanshyam Mann
7f637985a3 Update gate jobs as per the 2025.1 cycle testing runtime
As per 2025.1 testing runtime[1], we need to test on Ubuntu
Noble (which will be taken care by depends-on tempest and devstack
patches to move base jobs to Noble) and at least single job to run on
Ubuntu Jammy (for smooth upgrade from previous releases).

This commit adds a new job to run on Jammy which can be removed
in future cycle when testing runtime test next version of Ubuntu
as default.

Also bump the hacking version to fix the pepe8 erorr:
 -AttributeError: 'EntryPoints' object has no attribute 'get'

Depends-On: https://review.opendev.org/c/openstack/tempest/+/932156
[1] https://governance.openstack.org/tc/reference/runtimes/2025.1.html

Change-Id: Iba801148410e8e8a5acea55cc9cf02dc74ce80f2
2024-11-22 12:22:36 -08:00
Zuul
cc57df23c1 Merge "Bump hacking" 2024-11-16 14:13:39 +00:00
Takashi Kajinami
94e5078db8 Bump hacking
hacking 3.0.x is too old. Bump it to the version currently used in
tempest repo.

Depends-on: https://review.opendev.org/c/openstack/tempest/+/906634
Change-Id: I8da412cd73deba629a0c9488da537cbe8ef4caaf
2024-11-16 15:35:00 +09:00
Ghanshyam Mann
f0ab144aaf Remove stable/2023.1 job from master gate
stable/2023.1 is planned to be in unmaintained state[1]
and with python 3.8 drop from Tempest[2], we have to pin the
Tempest for stable/2023.1 testing[3]. This means Tempest and
its plugin master does not need to support stable/2023.1.

With that we can remove the stable/2023.1 jobs from tempest
plugin master jobs.

[1] https://lists.openstack.org/archives/list/openstack-discuss@>
[2] https://review.opendev.org/c/openstack/tempest/+/933398
[3] https://review.opendev.org/c/openstack/devstack/+/933704

Change-Id: I738701d964baff7865b1841277fbbc9483906d79
2024-11-06 11:39:08 -08:00
Takashi Kajinami
f1fd86805e Remove Python 3.8 support
Tempest is now removing Python 3.8 support from master[1]. So drop
the same from this plugin.

[1] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/FOWV4UQZTH4DPDA67QDEROAESYU5Z3LE/

Change-Id: Ieec4772eaa3701a0b636d7af8d800055314d5c9c
2024-10-27 03:15:57 +09:00
Takashi Kajinami
17a79a4cf1 Remove note about old pip's behavior
... and also add general note about lower constraints.

Change-Id: I81f8d846c080d86498c18bea81da999d3f87d9bb
2023.1-last 2.1.0
2024-10-27 00:14:12 +09:00
Zuul
62e3652a73 Merge "Updated from global requirements" 2024-10-26 14:31:31 +00:00
Zuul
5364cd4d25 Merge "Add stable branch jobs" 2024-10-24 18:14:12 +00:00
Takashi Kajinami
56d1951087 Add stable branch jobs
Tempest and its plugins should support all open branches. Add jobs
against stable branches to verify this compatibility.

Change-Id: Ie6cf502ed5018d68a3db40f2b191301c95b4b363
2024-10-25 01:37:36 +09:00
OpenStack Proposal Bot
237bcc87f1 Updated from global requirements
Change-Id: I26b839a61ea68202ac15e0c0ce00a141f1753e02
2024-10-25 01:12:34 +09:00
Zuul
f18bece9cb Merge "Prohibit installation in Python < 3.8" 2024-10-24 16:01:04 +00:00
Takashi Kajinami
84e08ea472 Prohibit installation in Python < 3.8
... and add Python 3.12 which is currently tested.

Change-Id: I4326d708510996e13e5f71f162812e00a217e868
2024-10-25 00:41:00 +09:00
Takashi Kajinami
a221bfaf45 Drop unnecessary 'x' bit from doc config file
This file is not actually executable.

Trivial-Fix

Change-Id: I42919e18db8be4dd6abab166436f329d162f2549
2024-10-21 21:13:10 +09:00
Takashi Kajinami
968c0bfffb Skip tempest jobs for non-functional change
Change-Id: I58cf063dc21b1a23313c00862c28551dec4cc8eb
2024-10-21 21:13:10 +09:00
Zuul
96a4ea24b7 Merge "Update python classifier in setup.cfg" 2.0.0 zed-last 2024-05-01 17:50:59 +00:00
Zuul
ffefe045df Merge "Remove six" 1.8.0 2024-02-21 02:30:32 +00:00
Zuul
5906bd6d00 Merge "Update deprecated zuul syntax" 2024-02-20 20:51:40 +00:00
Takashi Kajinami
e0ed95af66 Remove six
This plugin no longer supports python 2 thus usage of six is no longer
needed.

Change-Id: Ide365a91b434c015cf44c9aa900813237b752be9
2024-02-20 10:05:07 +09:00
Takashi Kajinami
026f0e732e zuul: Declare queue at top level
Zuul deprecated declaring shared queues at a pipeline level with
release 4.1.0[1]. This updates the job definition to use the top level
declaration instead.

See [2] for details.

[1] https://zuul-ci.org/docs/zuul/latest/releasenotes.html#relnotes-4-1-0-deprecation-notes
[2] http://lists.openstack.org/pipermail/openstack-discuss/2022-May/028603.html

Change-Id: Ia2b73c9cf7c927b774dc2731d32aa6a2e58136b7
2024-02-20 10:05:07 +09:00
Ghanshyam Mann
d5149660dc Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: I7e0809ce82168d8af5b04c3d5aa98c4abc2ed68d
2024-01-03 20:24:21 -08:00
Dr. Jens Harbott
e5fe8ad54c Update deprecated zuul syntax
Queues are now declared at the project level

https: //lists.openstack.org/pipermail/openstack-discuss/2021-November/025797.html
Change-Id: Ic67de5110fe7e6394bc1fa374a2da9bc14b639df
2023-08-21 17:30:04 +02:00
JyotiJauhari
3813c99e50 Migrate from testr to stestr
* Replace .testr.conf by .stestr.conf for migration and update
  .gitignore and test-requirements.txt file accordingly
* Use py3 as the default runtime for tox
* Add a new job, openstack-cover-jobs, to run the coverage in Zuul
* Use tox version 3.18.0 for using allowlist_externals

Signed-off-by: JyotiJauhari <jyotijauhari222@gmail.com>
Change-Id: Ifd6fc7b0c22919b91fff9eb136de8c023bce3849
1.4.0 1.5.0 ussuri-last victoria-last 1.6.0 wallaby-last 1.3.1 xena-last 1.7.0 yoga-last
2021-07-22 13:32:01 +05:30
Hervé Beraud
fef59164aa Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver [1] for the release team [2][3].
Removing specific doc requirements from test-requirements.txt.

The problem here is that this repos haven't doc/requirements.txt file
and by default in this case zuul will use the test-requirements.txt file
to pull requirements [4].

This requirements file contains extra requirements like flake8 that
collided with those allowed in our job environment and so the new pip
resolver fails to install these requirements and the job exits in error.

This project meet the conditions leading to the bug.

[1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
[3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html
[4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36

Change-Id: I2aebaf6be3ffc86659782f8272f03a2ea0463c8c
train-last 1.2.1 1.3.0
2021-01-07 17:29:03 +01:00
Luigi Toscano
9146cc9dbf New native Zuul v3 version of the tempest jobs
Create the jobs in this repository: they will be used from
zaqar repository, not the other way round as it is now.

The jobs have been renamed according the naming guidelines.
The IPv6 jobs has been added here as well to prevent regressions.

Change-Id: Icffb53316e4a7db67db22aef6988f15a3ff79b1f
1.1.0 1.2.0 stein-last
2020-08-22 23:23:22 +02:00
Andreas Jaeger
4195ae11b2 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove py2 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
- Switch to using sphinx-build
- Remove install_command from tox.ini, the default is fine
- Remove Babel from requirements, it's not needed for running.
- Remove obsolete babel.cfg
- Use TOX_CONSTRAINTS_FILE instead of obsolete UPPER_CONSTRAINTS_FILE.
- Update hacking to current 3.1.0 version
- Remove use of six library

Change-Id: I233dfc7a06cbd2e098499629f63d0b8f2db5258e
2020-06-09 14:37:58 +02:00
Andreas Jaeger
820a42650d Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I6e7b744bb8f56b0a237dc27da45635d99f3a0290
2020-06-01 16:26:29 +02:00
wanghao
ef3aee1250 Optimize the tempest job for zaqar-tempest-plugin
No need to copy the playbooks from zaqar, just use 'parent'.

Change-Id: I979c9c94bf5a3662bc9d5f0312b2abb6fa936d7e
1.0.0
2020-03-26 09:03:44 +08:00
wanghao
7d009cd2ff Add tempest jobs for zaqar tempest plugin
To avoid the breakages when code merge.

Change-Id: I6f37c55f7bba8b0bc7b1ce15636e12fb6d3c15ea
2020-03-25 11:20:33 +08:00
wanghao
2fb8cc5ef2 Fix bug/1863560
Change-Id: I81cb467bb63d60bd7cdd8d04d878fdc6bd6e8b69
2020-03-19 22:08:27 +08:00
wanghao
f2dd398a1b Fix bug 1863560
Closes-Bug: #1863560
Change-Id: Ic5b9cd9a2795c9c915cfc0554880718e2733fed1
2020-03-18 14:21:34 +08:00
Zuul
80aa2946c5 Merge "[ussuri][goal] Drop python 2.7 support and testing" 2020-02-24 10:56:31 +00:00
wanghao
8365718006 Add tempest test for querying queus with count
Change-Id: I0b35d3d4a0c0220478e13496d1d994e193fa1fa5
Implements: blueprint query-queues-with-count
Closes-Bug: #1863560
Signed-off-by: wanghao <sxmatch1986@gmail.com>
2020-02-24 10:49:49 +08:00
Andreas Jaeger
56345e681f Revert "Add tempest test for querying queus with count"
This change breaks zaqar.
See https://bugs.launchpad.net/puppet-openstack-integration/+bug/1863560

This reverts commit 04f720906d5b75b8efdcda29203086990efa6c75.

Change-Id: Ib946f57855ac22948792eaaa2bb901ad46704779
2020-02-23 19:13:01 +00:00
wanghao
04f720906d Add tempest test for querying queus with count
Change-Id: I0fca9cb65b65da6d8f386175fc5c29abf12c4311
Implements: blueprint query-queues-with-count
Signed-off-by: wanghao <sxmatch1986@gmail.com>
2020-02-12 22:10:26 +08:00
Ghanshyam Mann
4a32739cb3 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

zaqar-tempest-plugin is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I2417f29592bb87c9e3071b1918515a05f77cf8a3
2020-01-21 20:52:49 -06:00
wanghao
ad91e171db Fix incompatibility in python3
Fix the issue in tempest tests

Change-Id: I7db75adb06399003a82f4a522e4ea821ae6271e2
2019-12-16 16:30:19 +08:00
wanghao
f6211b4e5c Fix Tempest error
The url of listing subscription should be "{0}/queues/{1}/subscriptions"

Change-Id: Iaa0e114ce0f3876a0c2630ff1bdcbb4549592498
0.3.0
2019-05-25 15:56:54 +08:00
OpenDev Sysadmins
f89d4ba022 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:32:41 +00:00
wanghao
8662c91038 Update the outdated README.rst in zaqat_tempest_plugin
Now the command of running zaqar tempest tests in zaqar_tempest_plugin
is outdated and not working anymore.

This need to update and fix.

Change-Id: I9a96367e0de151ca114beadc9769eec3d09b1ca6
Closes-Bug: #1809719
0.2.0
2019-01-10 10:47:20 +08:00
huang.zhiping
1eddb5ace5 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ib158ce595bd14adf5b2dbdc64e0d3f59f5a762a0
2018-12-04 12:51:06 +00:00
Zuul
dfd41f524f Merge "import zuul job settings from project-config" 2018-09-13 06:41:51 +00:00
98k
53bff60366 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I179fc787fe38914a6d7dceaa0c7cc64cda4683b3
Story: #2002586
Task: #24346
2018-08-24 06:41:24 +00:00
wander.way
97abad9108 Remove the ambiguous test
If Zaqar is deployed under Apache, the empty input negative check
will return UnexpectedContentType which is not 405 error.

This patch remove this ambiguous test.

Change-Id: Ic384cd51581f0ad024bd2033eb9e00d022e253d4
2018-07-18 09:17:11 +00:00
Zuul
f6c761d213 Merge "Add test for claim for non existing queue" 0.1.0 rocky-em 2018-03-23 06:25:45 +00:00
Javier Pena
e0d4c41d5d Fix documentation build
contributing.rst had a mistake in the included path, and index.rst
was referencing a non-existing document.

Change-Id: I0d99893b57018e0e1f6206b10b197dfe14cecaa3
2018-03-15 10:30:38 +01:00
Thomas Herve
df888ccf1c Add test for claim for non existing queue
Change-Id: I7e2128f3a5608ed9a41d1e18bd72d771a2a4ddb3
Related-Bug: #1754061
2018-03-12 10:57:56 +01:00
lvxianguo
9051907cf7 fix error url
Change-Id: I15d2147f47ea895d88392980cd053c4d682e8231
2018-02-02 11:27:22 +08:00
yangzhenyu
92d57f52a1 Tempest plugin support for message body md5.
Add the property ``checksum`` for message schema.

Implement blueprint support-md5-of-body
Change-Id: Icb82042afb1759f129f09e55c2961f1802ae83b4
2018-01-21 17:52:37 +08:00
gecong1973
2c466738b2 Fix zaqar tempest plugin grenade ci failure
There are grenade ci failure in zaqar, this patch fix it

Change-Id: Iba6024354cc37c1b0d68292d44352014c343d58e
2018-01-03 21:38:37 -08:00