Commit Graph

38 Commits

Author SHA1 Message Date
Tim Burke 3de67228a8 CI: add py39 and py310 to experimental pipeline
The openstack-python3-jobs template covers py38 and py311, with the
assumption that intermediate Python releases should pass, too. Since
we already have an experimental pipeline to spot-check that tests
still pass on various Python versions, include those intermediate
releases as well.

Change-Id: I0b4e8839ec14a4ad7529a9929f1150e5bc586059
2024-02-27 08:50:27 -08:00
Tim Burke 0ec6246ac9 CI: skip func tests on irrelevant changes
These tests take 5-30x longer than the unit tests & style check; only
run them if there's a reason to think their outcome might have changed.

Change-Id: I2ccee79538f8bf6408e7bfb8a9826201180a41fe
2024-02-26 14:25:34 -08:00
Tim Burke eb5d5d464c Clean up CI jobs
We no longer need our own py311 job; there is now an openstack-tox-py311
included in openstack-python3-jobs (though we want to make it voting).

Additionally, that template has marked py39 and py310 jobs as voting, so
we no longer need to do that ourselves.

Change-Id: Ie964678af069d5255e463ef22b1b53957d28f918
2023-08-25 09:43:43 -07:00
Tim Burke 90f565009a Declare py311 support
Add a voting job, update trove classifiers.

Change-Id: I757b76e3af5f667a670cdf65687f23ef2b486666
2023-07-07 12:41:48 -07:00
Zuul d2a4a9d37d Merge "Switch to 2023.1 Python3 unit tests and generic template name" 2023-01-25 23:16:56 +00:00
Tim Burke 20cee12be6 Add experimental jobs for py36/37
Change-Id: I6452aa6019d66da21dd512a6b4267a896d4893d4
2023-01-05 17:47:25 -08:00
Tim Burke 7a83087a52 Mark Python 3.10 testing as voting
Change-Id: I4743973e34ef1fcba9e5b64e32b2f1f458de75ba
2023-01-05 17:45:20 -08:00
Tim Burke 3264fd6cfd Drop *_proxy from passenv
For tox 3.x and earlier, passenv was a space-separated list; as of tox
4.0.0, it's comma-separated. For a while, our spaces would be silently
included in the now-one-and-only passenv value parsed (which wasn't
great, but mostly just caused confusion) -- as of tox 4.0.6, however, it
became a hard error, and all tests would fail like

  pass_env values cannot contain whitespace, use comma to have multiple
  values in a single line, invalid values found 'SWIFT_* *_proxy'

Unfortunately, we don't really know what versions of tox all our various
stakeholders might want/need to use (though we currently set a
minversion of 3.18.0), and (to my knowledge) there's no way to specify
multiple values for passenv in a way that would be compatible with both
old and new tox.

Fortunately, as of 3.14.4, tox include HTTP_PROXY, HTTPS_PROXY, and
NO_PROXY in passenv by default. I'm fairly certain those were the only
reason we had *_proxy to begin with, so just drop it.

Change-Id: I8ddfbc6376434c39e231846135a99bd0bdca9497
2023-01-05 16:58:36 -08:00
OpenStack Release Bot d9d6257e3b Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

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

Change-Id: I4b8d75aab6b5d80756fbd83ffb62e5135365a685
2022-09-14 09:26:21 +00:00
Stephen Finucane 2636965f38 Drop support for Python 2
There's a lot of cleanup possible, but this is a start.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: Ia1176b7fd5434d52070d482a37abfbb98800cdb3
2022-03-16 15:06:19 -07:00
OpenStack Release Bot 22a05b2039 Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

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

Change-Id: Ia832ebda47bb798876edf3c013e9b9a583405c11
2022-03-14 15:20:49 -07:00
Tim Burke 00f5b89227 CI: Drop swiftclient-swift-functional-py2 job
It got busted somewhere between 2022-01-15 and 2022-02-11; looks like
needing to override devstack to install on bionic finally caught up with
us. ;-)

FWIW, it fails down in stack.sh while trying to pip install grpcio:

   commands.CommandError: We expect a missing `_needs_stub` attribute
   from older versions of setuptools. Consider upgrading setuptools.

Change-Id: Iff9094e9dd7a3d0bcdb0dee3b08fa5b61c9186d0
2022-03-09 16:50:51 -08:00
OpenStack Release Bot bcf19d47a3 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

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

Change-Id: Icf192aedeadf7fbed6e0f217da5b348172dc4478
2021-09-16 08:51:57 -07:00
Tim Burke abda44a87d Use upper-constraints for docs jobs
Looks like there are some issues with too-new-Sphinx and the PDF docs
builds.

Also, get devstack installing on bionic again for our py2 func test job.

Change-Id: I633398054694fe6ba1e0de50278f274daf69fefd
2021-05-25 12:20:23 -07:00
OpenStack Release Bot 6966fbea57 Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

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

Change-Id: Ic272b2583f9e0ff5f1b542ce9596af9d3bf8edef
2021-03-22 11:59:41 -07:00
Tim Burke 06b36ae0e2 Drop lower-constraints testing
The OpenStack community consensus seems to be that it's not worth the
hassle of fixing. *Maybe* we can revisit this if we ever drop py2
support?

Reasonable spot to start on ML threads:
http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019672.html

Change-Id: Ibf0c891782afe014cc453b713a94c187340d172e
Depends-On: https://review.opendev.org/c/openstack/requirements/+/777025
2021-02-22 16:05:25 -08:00
Tim Burke a5aebc3b9a Make py39 voting
Also, add trove classifier for py39.

Depends-On: https://review.opendev.org/#/c/758813/
Change-Id: I8d33b4dd6af990b09141acd52d36e44e9c871b3b
2020-10-19 11:08:23 -07:00
Tim Burke de5c74069e Remove some py38 job cruft
For a time, we wanted to flag it as being voting while it still wasn't
voting for most of OpenStack. It's not needed now, though.

Change-Id: Idccb731a0814335fc4d314eed5caa1f336212b22
2020-10-15 11:45:55 -07:00
Zuul ef7380048e Merge "Add Python3 wallaby unit tests" 2020-09-23 20:53:19 +00:00
OpenStack Release Bot 5728bf4a50 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: I9a2e832e8165232c15731cfb97d401c84abf95c0
2020-09-21 10:17:03 -07:00
Ghanshyam Mann 9f69908f75 [goal] 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).

- Keep py2 functional job run on Bionic node

Story: #2007865
Task: #40221

Change-Id: I578abeb1552d73a2e5c5a24ba7afab975508ea0c
2020-09-19 01:39:35 +00:00
Zuul 2baef86966 Merge "Add Python3 victoria unit tests" 2020-04-13 23:30:17 +00:00
OpenStack Release Bot 89ae9d77cb Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

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

Change-Id: I2fa8505451caadbe895cc3262c0bf1470795968b
2020-04-13 10:12:15 -07:00
Andreas Jaeger f9f2090a02 Drop pypy testing
The pypy job is always failing, drop it.

Change-Id: Ibc80d23846b364bfcd82043430ef71ad4b6e271b
2020-04-12 20:41:23 +02:00
Tim Burke 02e8f4f228 Blacklist stestr 3.0.0
It claims py2 support, but that's a lie.

Also, switch our tempest job to the py3 variant, now that glance (at
least) is py3-only and tempest-full is broken.

Change-Id: Ic30fe82ff72fe4d138ec4823d36f2a1cc56f1ac7
2020-04-08 12:48:36 -07:00
Tim Burke 0bbc2cdbec Make py38 job voting
Depends-On: https://review.opendev.org/#/c/693401/
Change-Id: Ifb4e466eda0c45b49c16e63b0c77023f65b039b8
2020-01-22 08:31:23 -08:00
kangyufei 9527d0497f Switch to Ussuri jobs
Change-Id: Ibf51928ce55e4a96f0d674c693559b2bf9256f11
2019-10-22 14:33:33 +08:00
Corey Bryant efe3d084de 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: I764b9765484e1d8217d56796d984f910aa5f9c5a
Story: #2005924
Task: #34249
2019-07-05 16:22:32 -04:00
OpenDev Sysadmins af4bac31fa 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:30 +00:00
Tim Burke d32deaaddd Add py37 check/gate jobs; add py37 to default tox env list
Change-Id: Ifbc6dc731df20b4bba905a110e71ea5c9cc52c0f
2019-02-27 11:11:12 -08:00
Andreas Jaeger 9da2636912 Use template for lower-constraints
Small cleanups:

* Use openstack-lower-constraints-jobs template, remove individual
  jobs.
* Sort list of templates

Change-Id: Idb31ca14478641cba6f896af35fa766d7bdb9e1e
Needed-By: https://review.openstack.org/623229
2018-12-20 21:52:45 +01:00
John Dickinson a6baf00e24 py2 functional testing
Change-Id: I24ff8fb28969a0b074313bc9491b299afac3b49c
2018-09-27 13:28:05 -07:00
Tim Burke 70e20b62e6 Use Swift's in-tree DSVM test
While we're at it, make a new job that inherits from it to bring the
legacy-swiftclient-dsvm-functional testing in-tree, too.

For naming, follow naming policy and remove "dsvm" from names.

Remove legacy jobs, they are not needed anymore.

Change-Id: I919c0b77ac4888350194f55a9c12e0742845024f
Depends-On: https://review.openstack.org/589270
2018-09-06 22:06:10 +02:00
Tim Burke edbc5d8e21 Make py36 unit test job voting
Change-Id: I42cd4e19bba89c9dd4d7d20c75ee59217b9ea75d
2018-08-31 16:37:41 +00:00
Nguyen Hai 5aee0732ff 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: I6fd051fd0b01a308d16734c5b12e11a12a38c3be
Story: #2002586
Task: #24337
2018-08-31 04:34:43 +00:00
Nguyen Hai 420be0c99e switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs 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: I510e70f2222006df661c6a3d9e26af57b68be835
Story: #2002586
Task: #24337
2018-08-31 04:34:28 +00:00
Nguyen Hai bd6a12c751 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: I59f4cbc0a21b8be3a1cae28a64f90d5adcf6be24
Story: #2002586
Task: #24337
2018-08-28 17:40:25 +00:00
Doug Hellmann b5ed14f90a add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

Update the dependencies needed to make the unit tests pass while
constrained to the lower bounds.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
Change-Id: I2a8f465c8b08370517cbec857933b08fca94ca38
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-25 09:33:54 -04:00