These excludes were removed from the requirements repo[1] and are now
detected as errors.
[1] 314734e938f107cbd5ebcc7af4d9167c11347406
Change-Id: I0399c328ecbf74529658d0be0f88868049e6ba5f
New pip version is quite strict and does not allow conflicting
minimum version deps in lower-constraints.
Change-Id: Ie524c54e3b982bc6b0786c875d34d177444ec6fc
This patch changes the lower-constraint requirements to make them
py3.8 compatible. See https://bugs.launchpad.net/nova/+bug/1886298
Markupsafe==1.1.1
PyMySQL==0.8.0
PyYAML==3.13
cffi==1.14.0
greenlet==0.4.15
kombu==5.0.1
lxml==4.5.0
oslo.db==6.0.0
paramiko==2.7.1
psycopg2==2.8
sqlalchemy-migrate==0.13.0
tenacity==6.1.0
Also update the test-setup.sh to work with recent version of mysql.
Change-Id: Ibe60d1e536f0e887eceea32b7cb4eec6318e96af
Partial-Bug: #1886298
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I4586bde1bd9f33dcdd803900bc648720073bdb62
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I8f764e9ba46a4e2055be61eb0fe97d155ab1c70e
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Update local hacking checks for new flake8.
Ignore new warnings, they will be fixed in followup.
Remove hacking and friends from lower-constraints, they are not needed
to be installed at run-time.
Add Pygments to lower-constraints to pass requirements-check.
Change-Id: I20da1309e4d65707130fe517f013d3ed625bf94c
There's a regression[0] in bandit 1.6.0 which causes bandit to stop
respecting excluded directories, and our tests throw a bunch of
violations. Blacklist this version, but allow newer versions as there is
already a pull request[1] to fix it, and I expect it will be included in
the next release.
Also fix the requirements job which was broken by
https://review.opendev.org/657890 adding a cap on Sphinx on Python 2.
[0] https://github.com/PyCQA/bandit/issues/488
[1] https://github.com/PyCQA/bandit/pull/489
Change-Id: Ieabcd4e8c5e5354125a63e89b9b60931c760858a
- Bumps some of the lower constraints
- Fixes common/endpoint_utils.py to fallback to use auth_uri.
Change-Id: Ief0868d5feef3ee6b0689c6be27649ff009fbbcc
remove os-testr and testrepository in favor of stestr,
and remove qpid-python (does not seem to be imported anywhere).
Also adjust docs to describe running tests with stestr instead of
testrepository.
Change-Id: I12088ea2bf2475963db58d6e8e83fd6abe6f9b3f
This patch adds doc8 check for .rst files to pep8.
Files that fail doc8 check are also fixed.
Ignore D001 of doc8 check. This requires lot of changes and
should be done in a separated patch.
Change-Id: I7732abc55ec27026efbf56663ba02ff27e8ec847
This patch propose to use heat tempest plugin for Integration tests
(with no co-gating potential) and configuration tests.
Also we will remove test_autoscaling_lb from tempest plugin as well,
since it's no longer been used.
Remove senario base, since we now move all senario tests to plugin.
Change-Id: Ice6a0e1fe8ce2e1de5253c674d11949b0f8a6e31
This patch propose to use heat tempest plugin for potential
co-gating integration tests.
These tests are consider as potential co-gating. And we now
already maintain them in heat tempest plugin.
This also disables all except two of the gate/test jobs, to enable us to
land this series and stop the carnage. The jobs will be re-enabled once
all of the duplicated tests have been eliminated.
Change-Id: I55e204b72cd5a2876576852b10ad09f24d04beb4
Remove tests which been planned to added to add-on trademark
program. We now maintain these tests in heat tempest plugin.
Change-Id: I458d39f988019c4f1d62c7e39a325a2082a98561
This makes tox use the latest version of the tool from os-testr repo,
which contains some valuable changes, like the one making the gate fail
if for some reason no tests are executed because all of them are
skipped.
Change-Id: If88be4b310d746ccc885e3d0c1db8a4dfabb2a28
With pbr2 landed, we should update our test requirement to prevent
package conflict.
Closes-Bug: #1669276
Change-Id: I46a357b87e67ceffd3e15040349774280b8849fc
This reverts commit d7f2d4f23eba13eea6c314bf5fde34df7a4df912.
ostestr spews what is IMHO an unmanageable amount of mostly worthless data when running tests - at least one line per test, of which there are 6351 at last count. There doesn't seem to be an option to quiet it down, so just revert it.
Change-Id: I7b12dc249e3e7041ab6f0ef36b3e5f0b082aeb7d
As a wrapper of testr, os-testr uses subunit-trace
for output and builds some helpful extra
functionality around testr
Reference link:
http://docs.openstack.org/developer/os-testr/index.html
Change-Id: I5eb1ea062334c06f5e95ef54367e427b98a17bac
Last summit we decided to add suite of gabbi tests
for REST API validation and then propose a subset of
these to tempest to be the defcore tests.
This adds the basic framework and few stack api tests
as a start.
Change-Id: I79a6fe971a97fdc4412616137ae963748cc349e5