Commit Graph

29 Commits

Author SHA1 Message Date
Ghanshyam Mann f75e1056f1 Omnibus PBR CI fixups
These fixes have to go in together as they are not mergeable
individually.

First up remove the TripleO jobs

TripleO is retired so removing its jobs

- https://review.opendev.org/q/topic:%22retire-tripleo%22

Next the train EOL has largely completed and leaves us in an awkward
position for running tempest-full against python2. While branchless
tempest continues to define a tempest-full job this job is no longer
working after devstack's stable/train branch deletion. There are two
reasons for this. The first is checking out correct branches of
openstack software which we can address in a straightforward manner
through zuul branch checkout overrides from stable/train to train-eol.
The other issue is that we previously relied on zuul running the
stable/train version of devstack's base jobs under tempest-full. Now
that the branch is gone we're getting master devstack base jobs which
don't do things like setup virtualenv (needed for python2) or override
the nodeset to ubuntu-bionic.

Instead of trying to continue to make this job work we accept the
decrease in python2 coverage and will rely on python2 unittesting
instead. An alternative would be to set up functional testing with swift
since swift continues to maintain python2 compatibility in its newer
branches.

Finally we update a test case to check for modern pip's normalized
package names (previously installing pkg_b resulted in a normalized name
of pkg-b, but now pkg_b remains pkg_b and we need to check for that
instead). Check for both variations as we want the tests to pass
regardless of pip and setuptools versions used.

Co-Authored-By: Clark Boylan <clark.boylan@gmail.com>
Change-Id: I9d3417d5803b9ba3e4731fdebbd26778031effcd
2024-03-04 09:23:36 -08:00
Zuul e502ba1e94 Merge "Test on py310 and py311" 2024-01-26 12:05:35 +00:00
Tim Burke 8252a7d54e Fix tempest-full job
Also, Use an alias to reduce some duplication.

Change-Id: I11c19ab657ef0dfea5d6929ce937791b82e86941
2024-01-18 21:19:27 -08:00
Tim Burke 049282adbb Test on py310 and py311
Note that there are already many openstack projects using pbr on these
platforms, seemingly successfully.

Change-Id: If49434ff0b60b5382f374635ccaf2ac2e6489db9
2024-01-18 14:19:42 -08:00
Stephen Finucane 6df16432aa Fix PBR integration testing
The openstack installation test is failing because it checks for a file
that doesn't exist. This occurs because Nova no longer uses
sqlalchemy-migrate [1] which means it won't have a 'migrate.cfg' file.
Update references to use 'alembic.ini' instead.

The tempest-full job fails because stable/train is not a valid branch on
some projects like neutron, nova, and placement. We fix this by having
the job checkout train-eol for those projects. We also reduce the
tempest test set to the smoke tests to reduce the possibility for test
failures. We don't actually need to run all tempest tests to have a good
indiciation of whether or not package installation was successful. Smoke
tests should be sufficient for that.

[1] https://github.com/openstack/nova/commit/fd39e4b4b

Change-Id: Idfd234cf4f968d646346a0e2fc0dd1be2332bb52
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Co-authored-by: Clark Boylan <clark.boylan@gmail.com>
2023-11-01 11:29:38 -07:00
Clark Boylan 571e14581d Run PBR integration on Ubuntu Focal too
Python 3.10 on Jammy is not compatible with old pip and setuptools due
to collections.abc moves. It is still desireable to test modern PBR
functions against these old library versions because old distro installs
will often use latest PBR. Update our testing to also run PBR
integration testing on Focal selecting appropriate pip and setuptools
versions based on the running python version.

This should help ensure PBR continues to run on old platforms even as we
modernize pip.

Change-Id: Ib53f637d5826bb51a348e3e629fbdbabec2a95e0
2023-01-06 09:34:59 -08:00
Clark Boylan a6006f6085 Add python2 testing back to PBR
I think this was lost when we expanded the openstack-python job
templates to include more versions of python3. Oops.

Change-Id: I0ebaff67634857216ca8d565311ed7c63f687a16
2021-11-12 10:01:14 -08:00
Clark Boylan 11a1438036 Run python3.9 test jobs
We want to run python3.9 test jobs for PBR too. Also we explicitly list
out all the python jobs because the various openstack project-templates
for this are release specific and PBR is not release specific. PBR must
run against all of the releases at the same time. Just spell it out then
it becomes easy to add new versions of python.

Change-Id: I9c85731040a73fa57e45ad8da3924c4d13c5affc
2021-10-26 15:21:44 -07:00
manchandavishal 4849d82da7 Retire django-openstack-auth
``django_openstack_auth`` code was merged into the main horizon
repository during the queens release. This repo is already
deprecated and now we can retire it. This patch removes all
references of ``django_openstack_auth`` as mentioned in [1].

[1] https://docs.openstack.org/project-team-guide/repository.html#retiring-a-repository

Needed-By: https://review.opendev.org/c/openstack/project-config/+/800532/
Change-Id: Ib82098453691f605de80a8d87583cf62e15258fd
2021-07-13 22:47:11 +05:30
Hervé Beraud 8e47cad901 Dropping lower constraints testing
We facing errors related to the new pip resolver, this
topic was discussed on the ML and QA team proposed to
to test lower-constraints [1].

I propose to drop this test because the complexity and recurring pain needed
to maintain that now exceeds the benefits provided by this mechanismes.

Replace assertTrue by assertIn to fix with the latest flake8 version.
Add six in the documentation requirements to fix the build.
Fix the conflict status with hacking.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html

Change-Id: I580da15fefd6ad352e69749b77cc4664aef84f9c
2021-03-09 12:25:45 +01:00
Jeremy Stanley 1208f4b3dd Run tempest-full for stable/train
The tempest-full job runs Python 2.7 (as opposed to
tempest-full-py3) so will want to install Python library packages
which have been dropped in Focal in favor of their python3-.*
replacements. Switch this job to use stable/train branches of
required projects as they still expected 2.7 to work, and as a side
effect this will cause the appropriate nodeset to be chosen
automatically.

Change-Id: Id95eaae9351e8664aa1fa48a7b4bf59e4c463834
2020-10-16 19:26:58 +00:00
Clark Boylan 8e40b74e51 Cleanup old legacy devstack-gate jobs
These jobs have been replaced with zuulv3 aware jobs.

Change-Id: I36f0156b51301cdf892b980c6e689141a088cdfa
Depends-On: https://review.opendev.org/745189
2020-08-06 10:41:29 -07:00
Clark Boylan 9e229269b2 Begin work to modernize pbr's integration testing
PBR does integration testing by installing all of openstack's python
projects to ensure we can install all of them in a variety of different
ways with different pip versions. Unfortunately, these jobs are still
using devstack-gate. We can simplify them significantly because zuul is
now doing what devstack-gate does and provides repos configured the way
we want them to be.

This change updates the jobs to drop devstack-gate and simply consume
zuul's repo prep.

A follow up will remove the old legacy jobs as they need to be removed
from project-config first.

Needed-By: https://review.opendev.org/745189
Change-Id: I77a38c4611dc28db79d6f25d96ad0de36b224c98
2020-08-06 10:41:27 -07:00
Slawek Kaplonski 9224eb0566 Remove neutron-fwaas from the jobs' required project
Neutron-fwaas is going to be deprecated in master branch with [1].

[1] https://review.opendev.org/#/c/735828/

Change-Id: I968a719258ee9647a7d232f2e60b2054539682ec
2020-08-06 08:29:51 +00:00
xuanyandong b821df5f23 Switch to Ussuri jobs
Change-Id: I059ae377aed10e5dcb0e418c6aa427aca88cf9e1
2019-12-03 10:46:48 +08:00
Corey Bryant e4b89ae2cb 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: Ie9765e198e1204f56976476c8cfc9cc008c23d8f
Story: #2005924
Task: #34234
2019-07-17 10:03:07 -04:00
Zuul c1e4225c5a Merge "Remove neutron-lbaas" 2019-05-24 08:21:29 +00:00
Corey Bryant 20d95468bc Add openstack-tox-py37 job
Enables py37 testing while also being more friendly with developer
environments where not all python versions may be available.

Runs the docs jobs last as that one is the least likely to be needed.

Tox min version is needed for the new options used inside.

Change-Id: Icc6cb4979b2523a0edfc6375c5c032bb8be76b9f
Story: #2004073
Task: #27440
2019-05-23 10:42:30 +00:00
Andreas Jaeger 4428e34dc0 Remove neutron-lbaas
neutron-lbaas is getting retired, see [1]. Therefore remove use of it
from this repo.

[1]
http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006142.html

Change-Id: Icbff2f69cfea78e961a60ae7723ed7dc58f296a7
2019-05-23 09:15:38 +00:00
OpenDev Sysadmins 55429ef856 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:36:17 +00:00
Andreas Jaeger 58cccf098b Use templates for cover and lower-constraints
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Use openstack-lower-constraints-jobs template.

Remove jobs that are part of the templates.

Sort list of templates.

Add coverage to test-requirements, otherwise tox -e cover will fail.

Change-Id: I0eff88e5736243291d4777f642bc48c32deafa39
2018-10-05 13:26:23 +00:00
Zuul f69f3046a1 Merge "remove pypy jobs" 2018-09-25 14:25:44 +00:00
Ben Nemec a277e60239 Move pbr-installation jobs in-tree
These jobs are currently broken and to fix them we may need to make
changes to the job definitions.  Since they're pbr-specific we might
as well move them in-tree so we can iterate on them without going
through the global repo.


Needed-By: https://review.openstack.org/596535
Change-Id: I10313a8a534a64113fa03d7ee3b0ed28e49fbf8e
2018-08-25 14:43:37 +00:00
Doug Hellmann ef8b85616e remove pypy jobs
The pypy jobs are non-voting, do not work, and we don't really support
the tool in other libraries. Let's drop the jobs.

Change-Id: I5e75e4efffe927ccd394dc6bb4c0247777d7886b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-13 16:11:32 -04:00
Doug Hellmann e2fa6a6abe 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: I67c07c2689c3e836a8b0ba3b2daa466af3e71b13
Story: #2002586
Task: #24322
2018-08-11 18:20:09 -04:00
Doug Hellmann 8ab5416db7 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: Ib7bd8ec9615b25f000b5473c8a80e2ddf602ec62
Story: #2002586
Task: #24322
2018-08-07 16:17:29 -04:00
Doug Hellmann b8a51db85f 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: I8721027b63bc835185251b08c17b0e6ae3911cd8
Story: #2003250
2018-08-03 17:48:20 -04:00
Doug Hellmann 5a9d5acd80 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

Change-Id: I3320148c3757fd711b98024d795bd792c46df310
Story: #2003250
2018-08-03 17:42:23 -04:00
Doug Hellmann 7b0374d680 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.

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

Change-Id: Ic5a53fede983d15b8873708f213a87ce0f182277
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-29 16:07:24 +00:00