pbr/pbr/tests
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
..
testpackage Use _ instead of - in setup.cfg directives 2023-05-31 13:25:23 -07:00
__init__.py Remove redundant testscenarios glue. 2015-10-07 14:51:23 +13:00
base.py trivial: Improve logging of run commands 2020-08-06 08:27:41 +00:00
test_commands.py Update hacking 2020-08-05 15:01:21 -07:00
test_core.py Remove sphinx doc building integration 2023-05-31 13:25:13 -07:00
test_files.py Fix white space handling in file names 2019-04-25 11:25:56 +01:00
test_hooks.py Skip test for testr hook being installed when testr is not available 2018-09-14 23:16:31 +02:00
test_integration.py Omnibus PBR CI fixups 2024-03-04 09:23:36 -08:00
test_packaging.py Add support for PEP-660 2023-11-01 12:53:18 -07:00
test_pbr_json.py remove explicit mock 2022-01-21 10:44:41 +01:00
test_setup.py Remove sphinx doc building integration 2023-05-31 13:25:13 -07:00
test_util.py Replace deprecated readfp method with read_file 2022-07-22 17:41:30 +08:00
test_version.py Support v<semver> version 2018-01-05 14:19:47 +00:00
test_wsgi.py Mark strings as raw 2019-08-27 16:57:23 +01:00
util.py Update to latest hacking 2019-08-27 16:57:23 +01:00