Commit Graph

63 Commits

Author SHA1 Message Date
Takashi Kajinami e675206288 Remove six
This plugin no longer supports python 2 thus usage of six is no longer
needed.

Change-Id: Ifec8c68edc0c67f0dae937a9cf48598b5725d3f6
2024-02-14 13:44:14 +00:00
Takashi Kajinami 2dab92c317 Update stable branch testing
Remove tests for unmaintained branches and add a new test for 2023.2
release.

Change-Id: I97757045e4467525bd5db46d7d06aa1cbffcdeae
2024-02-08 23:06:04 +09:00
Zuul 599e5eea9c Merge "Cleanup py27 support" 2023-07-17 09:32:34 +00:00
Ghanshyam Mann a93eff4b2e Add stable/2023.1 jobs on master gate
As 2023.1 is released, we should add its job on master
gate to keep branchless tempest plugins compatible
to stable branch.

Ref: Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: Ic55417d33e0ab4f5ede51b92f9d91e5befc60107
2023-06-09 05:05:22 +00:00
niuke 66586bb1ee Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py

Change-Id: Iffda38282f00020b7b4da690217b9cddd13ab0c7
2023-05-26 14:35:14 +08:00
Ghanshyam Mann b62f468467 Remove stable/wallaby job from master gate
stable/wallaby is in EM state. As Tempest and
plugins masters does not support EM stable branches,
QA team is pinning tempest in devstack stable/wallaby
testing[1]. With that we do not need to test the
stable/wallaby jobs on master gate.

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

Change-Id: Ie7db6b07101db8c5a48cf5ad13be7ccf7278b52e
2023-01-27 08:10:51 +00:00
Ghanshyam Mann 8a1999ca0d Add stable/zed jobs on master gate
As zed is released, we should add its job on master
gate to keep branchless tempest plugins compatible
to stable branch.

Ref: Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: Idb8cf4124db69758d71e07b139422b5afafcef78
2022-10-15 22:44:52 -05:00
Ghanshyam Mann 5cf426861f Pin stable branch jobs nodeset to Ubuntu Focal (20.04)
In 2023.1 cycle. we are moving the default distro
version of Ubuntu to Jammy (22.04)[1] so we need to pin
the nodeset for stable branch job in master gate so that
they continue run on their supporting distro version which is
Ubuntu Focal since stable/victoria.

[1] https://governance.openstack.org/tc/goals/selected/migrate-ci-jobs-to-ubuntu-jammy.html

Change-Id: I986dc439249c9f31b72c8be5376e4b1f7566b2d3
2022-10-15 20:56:58 -05:00
Zuul 97cd523c43 Merge "Remove stable/victoria job from master gate" 2022-06-09 20:09:30 +00:00
Ghanshyam Mann 6ef31b044e Remove stable/victoria job from master gate
stable/victoria is in EM state and Tempest is pinned
there so we do not need to test the stable/victoria
jobs on master gate.

Change-Id: Ia10922e946c06f936bb7062086f110f225c17b46
2022-05-31 16:02:40 -05:00
Pierre Riteau 4d3a188a52 [CI] Move queue setting to project level
Per [1].

[1] http://lists.zuul-ci.org/pipermail/zuul-discuss/2022-May/001801.html

Change-Id: I1b44ff35b07b341cb246a1360cdceb2153b2a2bf
2022-05-20 10:39:48 +02:00
Ghanshyam Mann fe8ed3b94d Update 'Maintained' stable branch jobs on master gate
We have stable/yoga released and stable/ussuri is in
'Extended Maintenance' state. Current 'Maintained'
stable branches are yoga, xena, wallaby, and victoria.

As per tempest stable branch testing policy[1], adding the
newly released stable/yoga job and remove the EM stable/ussuri
job.

[1] https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: Ice08a4c26ae88359b958e9eb7e3044c6dd3f13a5
2022-04-14 20:24:35 -05:00
Zuul 03d07b84ef Merge "Update python testing classifier" 2022-02-07 17:06:29 +00:00
Ghanshyam Mann ac9b090516 Add stable/xena jobs on master gate
We have stable/xena released so we should add
their job on master gate to keep branchless tempest
plugins compatible to stable branch.

This also removes the stable/train job as that is in EM
state now.

Ref: Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: I18f469a60f70afeffa470dbf9db56b64871607f1
2022-01-18 18:39:01 -06:00
songwenping 74e213315b Update python testing classifier
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: Ied9ee5d61f7fb8a37a9718f6eed9e04bad80026b
2021-12-21 10:48:23 +00:00
Zuul b1117d5d59 Merge "Use py3 as the default runtime for tox" 2021-08-18 22:05:32 +00:00
Zuul b709752ea5 Merge "[ussuri][goal] Update contributor documentation" 2021-07-12 15:12:55 +00:00
Zuul 4c5ddd7ae2 Merge "Use TOX_CONSTRAINTS_FILE" 2021-07-12 15:12:40 +00:00
Ghanshyam Mann 984fd8f624 [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Story: #2007236
Task: #38517
Change-Id: I8a5dbb8b2614119d19c37ef197db3809d2d5a50d
2021-05-31 20:36:23 +00:00
wangzihao 018a0cdba7 Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: I378644df79feae8f90b4eba60bb979f5c9fbc60a
2021-05-20 10:52:11 +08:00
yangyawei 1c4e7b43ef setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I47bfd89850444ba894f54d373658bea2a1573ac0
2021-05-13 20:01:56 +08:00
Ghanshyam Mann d9b5aade5f Add victoria/wallaby stable branch jobs on master gate
We have stable/victoria and stable/wallaby released so we
should add their job on master gate to keep branchless
tempest plugins compatible to those branch.

This also removes the stable/stein job as that is in EM
state now.

Ref: Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: I2bd157aab1ec857fcb2acc0dcffc23b0cf1bab8f
2021-04-29 18:49:14 -05:00
songwenping 94121d4895 Use py3 as the default runtime for tox
Moving on py3 as the default runtime for tox to avoid to update this at
each new cycle.

Wallaby support officially the following runtimes [1]:
- Python 3.6
- Python 3.8

During Victoria Python 3.7 was used as the default runtime [2] however this
version isn't longer officially supported.

[1] https://governance.openstack.org/tc/reference/runtimes/wallaby.html#python-runtimes-for-wallaby
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: Ifa518bcfbb42030faa847d7d808d25c51ec3b69c
2021-04-20 02:41:04 +00:00
Zuul 0044403c8a Merge "Use tempest's ServiceClients rather than Manager" 2021-01-11 14:27:11 +00:00
Hervé Beraud 72752c4cdb 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].
Removed 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 however it doesn't
produce any doc or releasenotes, but uniformization can't hurt and help
us in the future.

/!\/!\/!\
Notice that I voluntarily added the doc directory even if no docs
are generated here because zuul will try to pull this requirements from
there first and the contained requirements are needed for reno but AFAIK
the releasenotes dir is ignored by zuul. c.f [4] for further details.
/!\/!\/!\

[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: I18fdf133b6c3ea9b60e784c0e1dfb7ce1217eda5
2021-01-05 16:40:03 +00:00
Martin Kopec 5f4e88bb2f Use tempest's ServiceClients rather than Manager
tempest.Manager has been deprecated for more than 4 years already
and will be removed by [1].
Tempest plugins are expected to consume
tempest.lib.services.clients.ServiceClients directly.

[1] https://review.opendev.org/c/openstack/tempest/+/767628

Change-Id: Ibd04c38c084f63e9129f0bfef1df988e410695db
2021-01-03 11:22:43 +00:00
Martin Kopec 05f144b90b Bump hacking max version to 3.0.1
pep8 job is failing because the version of flake8
(flake8<2.7.0,>=2.6.0) requested by hacking<1.2.0 is not
compatible with pyflakes>=2.1.1. Therefore the patch increases
the max version of hacking.

Change-Id: I04635509cc8b794f9aaad8ac43a25bf6ddd9b9e1
2021-01-03 11:01:33 +00:00
Zuul 6668426a73 Merge "Add stable branch jobs on the plugins master gate" 2020-08-18 20:29:59 +00:00
Zuul 2ce029ce15 Merge "Remove .testr.conf" 2020-08-18 20:19:19 +00:00
Zuul 7d184383b0 Merge "Add py38 package metadata" 2020-08-18 20:14:22 +00:00
Ghanshyam Mann 4ceb427d4f migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
- bug#1886296
Bump the pyflakes to 2.1.1 as min version to run pep8 jobs
on py3.8 which is default python vesion in ubuntu focal.

Story: #2007865
Task: #40180

Closes-Bug: #1886296
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html

Change-Id: I5628be1786bc098232db44d0b74b1b2d0b828bbd
2020-07-10 14:26:53 +00:00
inspurericzhang 071edd581a Add py38 package metadata
Change-Id: I60c05d6978ac8e230bc661abaaefeae6e9d2f364
2020-05-28 11:29:33 +08:00
Ghanshyam Mann 22a1465987 Add stable branch jobs on the plugins master gate
Supported stable branches in maintenance state
(stein, train, ussuri) use the Tempest and plugins master
version for their testing. To make sure master version (new
tests or any changes) is compatible with stable branch testing,
we need to add the stable branches job on the plugins master gate.
Tempest and many other plugins are already testing the stable
branches in same way[1].

Ussuri onwards, Tempest or plugins are py3 only, so we are
running only python3 version of stable jobs

Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

 [1] e8f1876aa6/.zuul.yaml (L646)

Change-Id: Ib55ee338e788fe9c529bdc0f12bc91899d6c8618
2020-05-05 17:15:09 -05:00
Masayuki Igawa cb676738ca
Remove .testr.conf
This commit removes .testr.conf since this repo already has
.stestr.conf. We just need .stestr.conf instead of .testr.conf.

Change-Id: Ia718139547f7435db3146fd8a9cb6f9a40185f52
2020-04-21 15:58:07 +09:00
Ghanshyam 44b8c4ed91 More cleanup for py2 drop
This commit cleanup requirement file and add
ignore_basepython_conflict flag into tox to avoid
python version conflct.

Change-Id: Ie7a80ac58dc425e66cf2b7334b99e22a07759dbc
2020-01-23 16:44:35 -06:00
Luka Peschke 91c85d04ca [ussuri][goal] Drop python 2.7 support and testing
This drops python2.7 support for cloudkitty-tempest-plugin. The lowest python
version now supported by cloudkitty-tempest-plugin is 3.6.

Depends-On: https://review.opendev.org/#/c/694434/
Change-Id: I2b4a57dae3f150b22c38cc2b83747ee4231b31fe
2019-11-25 10:38:14 +01:00
Justin Ferrieu 0d0a5a7e4a Split tests between the two current CloudKitty API versions
For convenience we split the tests between the two current versions
of CloudKitty.

Change-Id: Ib10a6ffe9e0dd6c628f05588b463230139bf42c8
Story: 2006578
Task: 36895
2019-10-11 13:23:12 +00:00
Luka Peschke e13403b9fb Update tempest jobs
This updates the cloudkitty tempest jobs. Work items:

* Rename existing jobs
* Add jobs introduced by https://review.opendev.org/#/c/679085/

Change-Id: Iec6ae6ca8ff1d4f956081daed08d8ae534fa10aa
2019-09-27 15:34:42 +02:00
pengyuesheng 25eeac4175 Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I4d5d24e96715b80b29a1996715a59f2a840ee22c
2019-09-26 10:46:41 +08:00
Kirti Kushwaha eebbf698a1 Modifying README for installation and test run information
Change-Id: I999f3d4108151992e791ec179b52e956f7de3d39
2019-08-19 10:16:50 +00:00
ljhuang ed63a24bdb Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Update some URLs to latest

Change-Id: I6c1ed891087602ec0a9bf8b53445fa4aef2b1f6c
2019-06-11 09:48:06 +00:00
zhouxinyong 62e26bab7c Change openstack-dev to openstack-discuss in setup.cfg
Change-Id: Ifde285715ea5618e6c1fc5135a9996deed2cc0ba
2019-05-20 10:35:29 +02:00
Le Hou e5ef84775b Use opendev repository
Change-Id: I837c7c1aff4d58ca36639a5e82340ef756ab6a47
2019-04-23 17:08:42 +08:00
OpenDev Sysadmins db1191b063 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:43:08 +00:00
Zuul ea0b694d89 Merge "Added python3 voting tempest job." 2019-02-05 15:04:06 +00:00
Zuul f3950a6bba Merge "Fix the "serialize" method of the client in python3" 2019-02-05 14:58:21 +00:00
Zuul e1a5051104 Merge "Update home-page" 2019-02-05 14:57:01 +00:00
Luka Peschke 575b24d61d Added python3 voting tempest job.
Depends-On: https://review.openstack.org/#/c/634885/
Change-Id: I9dc8f53ae3a8f5e3d56d5f236c0ec9c3e4929441
2019-02-05 10:54:32 +00:00
Luka Peschke 5e49179667 Fix the "serialize" method of the client in python3
The response body must be converted to a string before replacing characters in
it.

Depends-On: 634885
Change-Id: I078e7571179e3ef209c104a0a5426ae6fb9b63d8
2019-02-05 11:53:47 +01:00
huang.zhiping 1fffddb375 Update home-page
Change-Id: Ic7dd0993dbd424e55228ccc8d28315624566ebc3
2019-01-12 02:43:33 +00:00