Commit Graph

23 Commits

Author SHA1 Message Date
Jan Gutter 738931d026 Update the default etcd3gw endpoint to v3
* Recent versions of etcd no longer support the /v3alpha/ endpoint
* It's probably better to skip directly to the /v3/ endpoint
  as a default.
* Note that this probably means a new minor version of tooz, while
  the behaviour can be worked around in config, this is enough to
  break existing systems on upgrade.
* Updated the test to test backwards compatibility.
* Updated the tests to use etcd 3.3.27, unfortunately we need
  a newer version of pifpaf that supports 3.4 before the default
  api can be used.
* The etcd backend tests have been removed: the deprecated backend
  uses the v2 api which is no longer provided - a future commit
  should remove the deprecated backend. The etcd3gw backend is the
  replacement.

This fix is required in pifpaf, but it's not in any release:
7496e5e1c3

Depends-On: https://review.opendev.org/c/openstack/devstack/+/891353
Change-Id: Ibb5e587f6b1348794b1bf4d6405bc4a32a653c2c
2023-09-27 09:26:52 +00:00
Ghanshyam 67bc01af4f Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit 4a18ae10b8.

Keeping Python 3.10 in setup.cfg classifier and testing py38 min and
py310 max version.

Reason for revert:

Needed-By: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/882175

TC has been discussing about re-adding the python 3.8
testing in current master 2023.2 release testing.

- https://meetings.opendev.org/meetings/tc/2023/tc.2023-04-25-18.00.log.html#l-191
- https://lists.openstack.org/pipermail/openstack-discuss/2023-April/033469.html

While governance changes are under review, TC agreed to add py3.8 testing
so that we do not see more project/lib dropping python 3.8 and make them
uninstalable on python 3.8

- https://meetings.opendev.org/meetings/tc/2023/tc.2023-05-02-18.00.log.html#l-17
- https://review.opendev.org/c/openstack/governance/+/882165

Also adding py3.8 testing back in job https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/882175

Change-Id: I18508891947649aa0a696372f71877c87b5c387e
2023-05-05 14:03:32 -05:00
Takashi Kajinami 4a18ae10b8 Moves supported python runtimes from version 3.8 to 3.10
Within 2023.2 python version 3.9 and 3.10 are the
supported python runtimes [1].
[1] https: //review.opendev.org/c/openstack/governance/+/872232

Change-Id: I73a909411d4896adf1fe5903afa1dec4640f8a0b
2023-04-10 13:13:32 +09:00
Hervé Beraud b21c20f79f Drop python3.6/3.7 support in testing runtime
In Zed cycle testing runtime, we are targetting to drop the
python 3.6/3.7 support, project started adding python 3.8 as minimum,

example nova:
- 56b5aed08c/setup.cfg (L13)

Also indicates that we support python 3.9.

Change-Id: I9f9e63fcea02a90a08bfb381755ed76cdd35ddef
2022-05-05 16:01:30 +02:00
Zuul ba16eadd8b Merge "Update CI to use unversioned jobs template" 2022-03-21 21:48:22 +00:00
Stephen Finucane 377a9a8a75 Update CI to use unversioned jobs template
As part of the migration of this project to the independent release
model, we failed to notice that the job template was still tied to a
specific release. We've now introduced a new unversioned job template,
'openstack-python3-jobs' [1], which was can and should use. Do this.

[1] https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/833286/

Depends-On: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/833286/
Change-Id: I51acac9189a6631eb530a25aa10f56d28179c7d0
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-03-15 15:09:56 +00:00
Tobias Urdin 7ee2780af8 Deprecate the etcd3 driver
The etcd3 driver depends on the python-etcd3 [1]
library that is currently stale and no has no
active maintenance [2] with a non-working CI
that blocks all PRs.

It's also currently blocking Tooz from supporting
newer versions of tenacity [3] that a lot of
projects is now pinning because newer version of
tenacity dropped old legacy compatibility code
that has been in there for years.

We currently have etcd3gw as an alternative driver
where the library the driver depends on is a
deliverable that we maintain.

[1] https://github.com/kragniz/python-etcd3
[2] https://github.com/kragniz/python-etcd3/issues/1719
[3] https://review.opendev.org/c/openstack/tooz/+/829412

Change-Id: Iff0cd3b51cfc45ecbddc831c55267e80e9c79cac
2022-03-15 10:35:09 +00:00
OpenStack Release Bot fb3f8ae916 Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ie3e8d7b8a85251682c1a55dcfa610c232f067c8b
2020-09-11 21:04:23 +00:00
Nick Maludy 80f379bfa2
Implements Group API for the Consul driver
Also fixes tox env for py38-consul tests
Update zuul script to use consul 1.7.4 (2020) vs 0.6.3 (2016)

Adds ACL tokens to all session management calls.

Change-Id: Iaddf21f14c434129541e7c9ec7134e0661f7be52
2020-06-15 11:24:49 -05:00
Andreas Jaeger b60eee68b4 Switch to Victoria tests
This repo has been using train tests and thus was missed by the bot to
update from ussuri to victoria, update manually. also, update other jobs
to use now py38.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ie1ef901d7b52800912365cfeae96b0e66108e1fc
2020-05-14 13:13:57 +02:00
Elod Illes 7147939860 Drop requirements-check job
Since tooz project has chosen to *NOT* consume upper-constraints.txt
there is no need for the requirements check job, so let's drop it.

Change-Id: I372cf0c9c9b1ff3d4b83cd84997f780e5de9709a
2020-03-31 17:15:55 +02:00
Andreas Jaeger ba27954b06 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

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

Parent tox py36/py37 jobs to openstack-tox-py36/37 so that the correct
interpreter is installed.

Change-Id: I14a01f0a9989195e30c3ed0dadec35490f41bd48
2020-02-03 22:19:47 +01:00
Corey Bryant 5f7a0e290e Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: Ie594497012dd65372c0014890f1fc989714a94b1
Story: #2005924
Task: #34234
2019-07-05 15:20:19 -04:00
Ben Nemec 8207427fff Unblock tooz gate
This is a squash of two commits needed to get gate tests passing
again on tooz. See below for details:

Move testing to py36

The base infra images no longer have python 3.5 available and are
all failing. We should be testing on py36 now anyway since that is
the minimum supported version for Train.

Stop redis-server before running tests

Just installing redis-server on Ubuntu Bionic starts the service,
which means when we try to start one via pifpaf it fails due to the
port already being in use.

This change adds a pre-run playbook that stops the redis-server
service so ours can run successfully.

Change-Id: I3f7f7ea9069d8c890a82f31ad14c9663e98c09dc
Closes-Bug: 1828610
2019-05-10 20:02:04 +00:00
Sahid Orentino Ferdjaoui de3a5f818b add python 3.7 unit test job
See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Story: #2004073
Co-authored-by: Corey Bryant <corey.bryant@canonical.com>
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
Change-Id: I438b44ee98df01dc2e870b4342ccb8a969a6c5c4
2019-02-26 15:59:40 +00:00
Andreas Jaeger f3566d3f04 Use templates for cover
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Remove jobs that are part of the templates.

Sort list of templates and place templates as first element of project
stanza to follow common practice.

Remove all branch conditions, those are implizit.

Change-Id: I458cb125bea7840b1a3931fa74929816d9ba4bd2
2018-09-18 05:59:21 +00:00
Doug Hellmann 36b7ff3d3a add lib-forward-testing-python3 test job
This is a mechanically generated patch to add a functional test job
running under Python 3 as part of the python3-first goal.

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

Change-Id: I7d517cdb8d338e4969d8cc5db69f3238b8ffd503
Story: #2002586
Task: #24322
2018-08-13 15:58:44 -04:00
Doug Hellmann 5eee5c6ce6 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

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

Change-Id: Ie201d037721c6f8fac778e1234b0cfe0c27af760
Story: #2002586
Task: #24322
2018-08-13 15:58:43 -04:00
Doug Hellmann 4eca5de830 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.

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

Depends-On: I8247a51c26dea4e8b2834b9655ffbb37b36a6af4
Change-Id: I7e9a3124a824d00623fdbb44ece9456b0901788a
Story: #2003250
2018-08-13 15:58:35 -04:00
Hoang Trung Hieu a85969877c Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: Ie0f8b8d18ebdb213b515d00f3b1390e176e4965a
2018-01-29 13:32:21 +07:00
Andreas Jaeger bbe3a4300a Use native Zuul v3 tox jobs
Convert all tox jobs to be Zuul v3 native. This uses the shared
openstack-tox as base.

Remove the now unused playbooks.

Change-Id: Ic89940a03e308fab051b8051ff281724e6488306
2017-12-20 15:16:20 +00:00
James E. Blair c69235b073 Zuul: add file extension to playbook path
Zuul now supports including the file extension on the playbook path
and omitting the extension is now deprecrated.  Update references
to include the extension.

Change-Id: I5f78f356123428fd9072d798d5cc81bd026b2424
2017-10-29 10:02:00 -07:00
Duong Ha-Quang ac4ecfb0a7 Move legacy jobs to project
This patch implements first step in zuulv3 migration guide [1]:

Move jobs to tooz repo

[1] https://docs.openstack.org/infra/manual/zuulv3.html#legacy-job-migration-details

Change-Id: I5511846b9fa87ffde3259ca024f6f1e1f439d51c
Co-Authored-By: Tovin Seven <vinhnt@vn.fujitsu.com>
2017-10-19 14:38:34 +07:00