This patch makes tox 4 the default so that we can hopefully catch
problems locally before they block the gate.
tox changes:
- removed skipsdist=True, which in tox 4 appears to break the
pep8 testenv (which runs check-uuid)
- made 4.0.0 the tox minversion
zuul changes:
- make the tgt job non-voting (it's failing on jammy, and we may
be removing tgt support anyway)
Change-Id: Ic5ebb60b96d795ac0f14882772d26e6d4adca37b
This patch adds a "uuidgen" command that will fix all issues
related to idempotent IDs in our tests. Also modifies pep8 to
detect these issues.
This command already exists in tempest and is required for cinder
tempest plugin as we had undetected issues in our tests that
got merged which are also fixed in this patch. The issues are as
follows:
1) Missing idempotent IDs in test_capabilities
2) Duplicate idempotent IDs in the following backup tests
a) test_backup_create_and_restore_to_an_existing_volume
b) test_incr_backup_create_and_restore_to_an_existing_volume
Change-Id: I6b34fd67af4c302ff17244143506d8c8a8247eb6
We don't really have unit tests in the repository and any py3x venv
would not really be useful (the tests are executed through tempest),
but let's remove the old dependency anyway and depend on stestr
like all the other OpenStack projects.
Change-Id: I52d06f1c1e141cb455fb7a823a27be532afb4c16
It doesn't seem to provide any benefit and is also removed from cinder
project.
For detailed reason, please look into the commit message of the cinder
patch[1].
[1] b0a56ddd25
Change-Id: I9a7749288706c8b326c1acd0cef6edd5ea91503e
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7.3 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Remove install_command from tox.ini, the default is fine
- Switch to hacking 3.0, ignore W503 and W504 (as in cinder repo)
- Use TOX_CONSTRAINTS instead of obsolete UPPER_CONSTRAINTS
Change-Id: Ia623c8af7f03c25bce7e4600693a7e834ab70000
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I56e633ab1483297f5403aaa77ba98d17012d60d8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Minor cleanup of things not needed for our tempest plugin.
Change-Id: Ib309cb1f87211e82eae0d27fa2464ec13a9deca6
Needed-by: I5ff95ca13f02ed6e0afb35f0d6bb5c36d4111f5a
Implements: blueprint goal-split-tempest-plugin
This tempest plugin is being split out of the main keystone project in
accordance with Queens goal "Split Tempest Plugins into Separate
Repos/Projects"[1]. This patch applies the standard boilerplate files
for OpenStack projects so that it can stand on its own.
[1] https://governance.openstack.org/tc/goals/queens/split-tempest-plugins.html