Use 'functional-without-sample-db-tests' tox env for placement nova job

NOTE(melwitt): This is a combination of 2 commits needed to fix the
gate, a chicken and egg problem where each fix depends on the other.

Nova defines (depends-on) a new tox env 'functional-without-sample-db-tests'
to run the nova functional test by exlcuding the api|notification
sample_tests, and db-related tests.

We can use that to fix the error  are facing currently for this job
- https://zuul.openstack.org/build/a8c186b2c7124856ae32477f10e2b9a4

Depends-On: https://review.opendev.org/c/openstack/nova/+/840717

Drop lower-constraints.txt and its testing

As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

Conflicts:
    .zuul.yaml
    lower-constraints.txt

NOTE(melwitt): conflict is due to branch specific settings (job
template names, lower constraints changes).

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: Ieba7daf39fa3323e8c9a7396747449f24189fcd5
(cherry picked from commit 03d567928e)
(cherry picked from commit 4d3df47ee3)
(cherry picked from commit f96984abd4)

Change-Id: If7e6060c867df21360a1f588ca872d65d75eb3c1
(cherry picked from commit 6d49b6df1d)
(cherry picked from commit 7422ed4d7a)
This commit is contained in:
Ghanshyam Mann 2021-10-12 12:33:15 -05:00 committed by melanie witt
parent adf525a8f1
commit 69dcdcb2b7
4 changed files with 7 additions and 108 deletions

View File

@ -9,7 +9,6 @@
- check-requirements
- integrated-gate-placement
- openstack-cover-jobs
- openstack-lower-constraints-jobs
- openstack-python3-wallaby-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
@ -68,8 +67,9 @@
Run the nova functional tests to confirm that we aren't breaking
the PlacementFixture.
vars:
# Skip the api and notification _sample_tests, and db-related tests
tox_extra_args: '^((?!(?:api|notification)_sample_tests|functional\.db\.).)*$'
# 'functional-without-sample-db-tests' tox env is defined in nova tox.ini
# to skip the api|notification _sample_tests and db-related tests.
tox_envlist: functional-without-sample-db-tests
- job:
name: placement-perfload

View File

@ -1,89 +0,0 @@
alembic==0.9.8
appdirs==1.4.3
attrs==17.4.0
bandit==1.1.0
colorama==0.3.9
coverage==4.0
debtcollector==1.19.0
decorator==3.4.0
extras==1.0.0
fasteners==0.14.1
fixtures==3.0.0
future==0.16.0
gabbi==1.35.0
gitdb2==2.0.3
GitPython==2.1.8
hacking==4.0.0
iso8601==0.1.11
Jinja2==2.10
jsonpath-rw==1.4.0
jsonpath-rw-ext==1.1.3
jsonschema==3.2.0
keystoneauth1==3.9.0
keystonemiddleware==4.18.0
linecache2==1.0.0
Mako==1.0.7
MarkupSafe==1.1.1
microversion-parse==0.2.1
monotonic==1.4
mox3==0.20.0
msgpack-python==0.5.6
netaddr==0.7.18
netifaces==0.10.4
os-client-config==1.29.0
os-resource-classes==0.5.0
os-service-types==1.2.0
os-traits==2.5.0
oslo.concurrency==3.26.0
oslo.config==6.7.0
oslo.context==2.22.0
oslo.db==4.40.0
oslo.i18n==3.20.0
oslo.log==4.3.0
oslo.middleware==3.31.0
oslo.policy==3.6.0
oslo.serialization==2.25.0
oslo.upgradecheck==1.3.0
oslo.utils==4.5.0
oslotest==3.5.0
osprofiler==1.4.0
pbr==3.1.1
pep8==1.5.7
pluggy==0.6.0
ply==3.11
prettytable==0.7.1
psycopg2==2.8
py==1.5.2
pycadf==2.7.0
PyMySQL==0.8.0
pyparsing==2.2.0
pytest==3.4.2
python-dateutil==2.7.0
python-editor==1.0.3
python-keystoneclient==3.15.0
python-mimeparse==1.6.0
python-subunit==1.2.0
pytz==2018.3
PyYAML==5.1
repoze.lru==0.7
requests==2.25.0
requestsexceptions==1.4.0
rfc3986==0.3.1
Routes==2.3.1
smmap2==2.0.3
SQLAlchemy==1.2.19
setuptools==21.0.0
sqlparse==0.2.4
statsd==3.2.2
stestr==1.0.0
stevedore==1.20.0
Tempita==0.5.2
testrepository==0.0.20
testresources==2.0.0
testscenarios==0.4
testtools==2.2.0
traceback2==1.4.0
unittest2==1.1.0
WebOb==1.8.2
wrapt==1.10.11
wsgi-intercept==1.7.0

View File

@ -1,3 +1,7 @@
# Requirements lower bounds listed here are our best effort to keep them up to
# date but we do not test them so no guarantee of having them all correct. If
# you find any incorrect lower bounds, let us know or propose a fix.
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.

16
tox.ini
View File

@ -179,19 +179,3 @@ usedevelop = False
deps = bindep
commands =
bindep test
[testenv:lower-constraints]
# When using pbr and in a git repo, 'setup.py install' does not install
# packages. 'setup.py develop', used when usedevelop is True, does.
usedevelop = False
# Use our own install_command to turn off upper constraints, which conflicts
# with lower constraints.
install_command = pip install {opts} {packages}
deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
# Test with both functional and unit tests.
commands =
{[testenv]commands}
stestr --test-path=./placement/tests run {posargs}