Commit Graph

126 Commits

Author SHA1 Message Date
asarfaty eeac28dd80 Update master branch requirements
Bump neutron-lib, and osc-lib, and update some more requirements

Depends-on: Ie74ea517a403e6e2a7a4e0a245dd20e5281339e8
Change-Id: If34a9889fb0f137856f7c241788cf593e722d665
2020-12-09 21:32:11 +02:00
asarfaty 50afa71853 Fix broken Victoria branch
1.Upgrade pylint to 2.4.4, add exclusions to the tests, and
  fix some lint errors in the code

2. Fix user creation with GRANT in MySQL 8.0(Ubuntu Focal)
In Ubuntu Bionic (18.04) mysql 5.7 version used to create
the user implicitly when using using the GRANT.
Ubuntu Focal (20.04) has mysql 8.0 and with mysql 8.0 there
is no implicit user creation with GRANT. We need to
create the user first before using GRANT command.
See also commit I97b0dcbb88c6ef7c22e3c55970211bed792bbd0d

3. Remove fwaas from the zuul.yaml
4. Remove DB migration test which is failing ue to FWaaS migration
with py38
5. Fix cover tests python version in .tox
6. fix requirememnts

Change-Id: I22654a5d5ccaad3185ae3365a90afba1ce870695
2020-09-21 15:31:18 +02:00
asarfaty 5d2837c83a Removing dependency on the "mock" package
Now that we are python3 only, we should move to using the built
in version of mock that supports all of our testing needs and
remove the dependency on the "mock" package.

Also see commit: Ifcaf1c21bea0ec3c35278e49cecc90a101a82113

Change-Id: I58da980351fe14357c210c02eb167a6c0af9d09e
2020-05-10 17:21:14 +02:00
Boden R 17d031ca8d update test-requirements.txt to only what's needed
This patch slims down the test-requirements.txt and
lower-constraints.txt so that we only require what we really use/need.
It also updates the flake8 section of tox.ini to match [1] except H904
is not included herein since vmware-nsx doesn't translate messages.

[1] https://review.opendev.org/#/c/667723/1/tox.ini

Change-Id: I4e0b1564640cf38b90e084abb410bd4de6d76733
2019-06-27 11:11:19 -06:00
Boden R 5362c65416 update bandit, hacking and flake8 requirements
This patch bumps the hacking, bandit and flake8 requirements to match
suit with similar work (ex [1]). It also updates the code to fix a few
new pep8 errors as well as adds a local tox target for
requirements-check-dev.

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

Change-Id: I6caeb52dc1a5842338ec989a742ae5989608e0da
2019-05-31 08:42:37 -06:00
Adit Sarfaty d753ec6945 Remove neutron-lbaas support & dependencies
Commit Ia4f4b335295c0e6add79fe0db5dd31b4327fdb54 removed all the
neutron-lbaas code from the master (Train) branch

Change-Id: I9035f6238773aad0591436c856550b7a5e01e687
2019-05-19 11:16:45 +03:00
Boden R 3eca4def36 update constraints in prep for stein
This patch updates a few dependencies/constraints in prep for the
stein release.

Change-Id: Id301730ed803568c105f5da36908c9a875a0da5b
2019-03-15 08:35:04 -06:00
Boden R a97ef41278 test/prep lower-constraints with py36
This patch tests that the lower constraints job works with py36 as per
[1]. See [2] for the forthcoming change this patch addresses.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2018-December/001026.html
[2] I082160a29b51bd578d159a13cea4d511c1228e3e

Change-Id: I5e121d6325d93d83dc35a181b6063404b88dee1a
2018-12-18 10:03:38 -07:00
Boden R d2652a7b7e fix lower constraints
This patch adjusts the lower constraints and requirements to ensure
the lower-constraints job passes.

Change-Id: I99121a93c56f53cfe13ce519e66af9139a1678f3
2018-12-16 09:19:28 -07:00
Adit Sarfaty 4759889b5f Upgrade OSC security groups code
The openstack client new version added functionality that the
vmware_nsx code should also add.

Change-Id: Iac22f2204c5215f5d20dc9accdae2a5e75779de5
2018-07-29 10:25:50 +03:00
Boden R 5362bc4267 fix py27 gate failure due to astroid 2.0
Version 2.0 of astroid was recently released and it only supports
python 3. This version is pulled in by pylint 1.7.1 via an bug in pylint
that doesn't have upper constraints on astroid. This is fixed in newer
versions of pylint.

This patch bumps the test-requirements.txt to use pyline 1.7.6 that
will constrain astroid to 1.5.3.

Change-Id: Ia521dd9544708d1500b65e2048af3a583eaed1df
2018-07-16 15:30:41 -06:00
Boden R 2633ec0607 make python 3 the default for tox.ini
This patch is part of the community goals to enable python 3 first, and
only use python 2 when explict.

To do so, this patch:
- Makes python 3 the default env for non py27 tox targets.
- Adds a py3-dev target for running py3 locally.
- Refactors the pip install commands for stable dependency install into
their own target and refs them where needed.
- Updates the code to pass pep8 in python 3.
- Bumps the version of pylint to 1.7.1 to address some py3 issues in
earlier versions.

As part of this effort we should also look into making python 3 the
default for our VMware NSX 3rd party CI jobs.

Change-Id: Ibaa3e9d717f32ffb6479346163c14d4be7df50cf
2018-06-21 07:43:22 +00:00
Boden R 17f28070ed add stestr to test requirements
Commit https://review.openstack.org/#/c/549826/ already migrated to
stestr, but it didn't include an update to the test requirements to
specify stestr as a dependency. This patch adds stestr to
test-requirements

Change-Id: I30a5b8336ffe48f48abddf96e0bcde88d0f19043
2018-05-25 09:33:46 -06:00
Adit Sarfaty ea43183892 Fix vmware_nsx documentation
Fix documentation warnings

Change-Id: Icf2c01c6b4814b69221de4ad432d092164205b28
2018-04-18 05:04:46 +00:00
Adit Sarfaty 794ae68734 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: Ia65cd41c6d0f4a4847458188cc5afddb06035a23
2018-04-02 13:38:00 +03:00
OpenStack Proposal Bot 4cd1a99105 Updated from global requirements
Change-Id: Ic22bc10f9e6cb20bc19fb3796f2b60bcb6e4ec1f
2018-03-23 20:06:20 +00:00
Sean McGinnis 7dd27bfc7c Use the new PTI for document build
For compliance with the Project Testing Interface as described in:

https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detials information, please refer to:

http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I9cf0bac7edc5f4d45af2729428f92d8a6fd7860d
2018-02-02 07:58:29 +01:00
OpenStack Proposal Bot 3f4d10e2aa Updated from global requirements
Change-Id: I2104888d93fa18ffd8e6c8ae48bc87b9d2f01389
2018-01-18 03:39:17 +00:00
OpenStack Proposal Bot 21a381a68c Updated from global requirements
Change-Id: I9dcdaa1e84cbf430923479f0b39c7c7ded0e2295
2018-01-17 07:26:38 +00:00
OpenStack Proposal Bot 96d995b248 Updated from global requirements
Change-Id: I4c71ff753990a8d61ad1d5a5f906dee4b353e1b1
2017-11-16 11:31:20 +00:00
OpenStack Proposal Bot a55061e977 Updated from global requirements
Change-Id: I66e03cb5ec33a9e1c7a166efc7da4d0d578c6c9b
2017-11-15 00:49:03 +00:00
luke.li b3a954cefd Cleanup test-requirements
python-subunit is not used directly anywhere
and it is dependency of both testrepository and os-testr
(probably was used by some tox wrapper script before)

Change-Id: Id682fa9a76f96ac3d24af4ee3d010d665a368832
2017-11-05 07:17:16 +00:00
OpenStack Proposal Bot 0609b81e62 Updated from global requirements
Change-Id: Id8d670ad5fe2b8fe46048670d6ac131b2563cbe6
2017-10-06 19:05:03 +00:00
OpenStack Proposal Bot 50ca3333ae Updated from global requirements
Change-Id: Iea5322c04b22618e25a6c87876f5c6f806c33515
2017-09-14 08:32:34 +00:00
OpenStack Proposal Bot 7a0b5900ae Updated from global requirements
Change-Id: I63518b92ef3485f8ceb2852d10db49b2ebe7ef16
2017-09-11 23:42:57 +00:00
OpenStack Proposal Bot 9647840f46 Updated from global requirements
Change-Id: Ia76f4962ea5add191dea3b221843487d607379ed
2017-09-04 23:02:49 +00:00
OpenStack Proposal Bot 1174c55424 Updated from global requirements
Change-Id: I06c066c84cc1aa30ed3f369c368dc3ea8e629b4e
2017-09-01 14:10:10 +00:00
OpenStack Proposal Bot 24ed8b4410 Updated from global requirements
Change-Id: Idf528064bd45e1a3653b3a2f8a204620d1dd8641
2017-08-22 01:19:38 +00:00
OpenStack Proposal Bot 4733457d3d Updated from global requirements
Change-Id: I413906834936f3e4b1e08139a761d5970371a4d7
2017-08-18 11:44:57 +00:00
OpenStack Proposal Bot 2d6e95db40 Updated from global requirements
Change-Id: I78b759bf5eba1635b12f8426090d1885aeccbdca
2017-07-18 19:47:06 +00:00
Gary Kotton 5f4f514d0b Remove pyshark from test-requirements
This causes an exception on the updates of the global requirements

Change-Id: I6a5300bc0cb36aae547f0dc5e3d4cbc217b9efd4
2017-07-18 06:58:04 -07:00
Gary Kotton 50cd210d59 Use flake8-import-order plugin
Automate the process

Change-Id: I54451e78c24eef2016293be87760a349df07a384
2017-07-05 00:39:10 -07:00
ritesh.arya 02f25c3f57 Added compatibility to pyroute2>=0.4.15
Pyroute2 was updated, its change make some testcases failed.
This patch fix the problem with pyroute2 update.

Change-Id: I576a8d14fdd35703971b92c5b48499a9a1fa1374
2017-07-03 18:26:56 +05:30
Gary Kotton e0102ba2c9 Unbreak gate again
Commit 2280ad665f10320d44b710454d3b77feb67d83f8 broke us

Change-Id: Ic8cb5f7ee220f76c38d5c8af88615de7e81fcab3
2017-06-07 23:42:31 -07:00
Gary Kotton 4f3d934313 Address gate issues
Change-Id: I91e324b3ab64fddc8ba2c63d971ae9c0d777ab81
2017-06-07 21:16:08 -07:00
Gary Kotton b76d3ad6de Fix gate jobs
Change-Id: Ic323916666e14a60dca8f84b0089328f52ed42d2
2017-05-02 13:01:52 +03:00
Deepthi Kandavara Jayarama 90032da55b Adding pyshark requirements for QoS scenario testing
Change-Id: Ie64be6132013cb790d75515e4f9035a07d8cf701
2017-05-02 09:44:58 -07:00
Devang Doshi 5b65a7e652 Tempest: Moving from test.idempotent_id to decorators.idempotent_id
- Decorator idempotent_id() in tempest.test is deprecated and
tempest.lib.decorators.idempotent_id() should be used instead.
This patch will move all the tests on new decorator.

- Removed deprecated tempest-lib from test-requirements.txt

Change-Id: I0c007de3137b1236dc0977dc6d13ae22583dc811
2017-03-02 11:03:21 +00:00
OpenStack Proposal Bot 96da0ab73a Updated from global requirements
Change-Id: I74a05fb13e5d9d9e1751100fd6c014ee7ab9f7b8
2017-02-10 06:02:12 +00:00
OpenStack Proposal Bot 9f8efad42c Updated from global requirements
Change-Id: Id171f38f7042664bdfa7685d23d812fcb398b851
2017-01-18 18:21:01 +00:00
Rajiv Kumar ade538424d H402 hacking have been deprecated
H402 hacking have been removed since hacking 0.10.
https://github.com/openstack-dev/hacking/blob/master/setup.cfg.
So removed H402 ignore statement

Closes-Bug: #1654117
Change-Id: I31b160cc4267b9f3f77a6a75d671b695e509ee3f
2017-01-18 10:33:37 +05:30
OpenStack Proposal Bot cd26e3b74d Updated from global requirements
Change-Id: I3027dd6fbeadb27d9ea0f7653e29b4ab13ff1e4d
2017-01-11 09:35:34 +00:00
OpenStack Proposal Bot 909cd6d1d4 Updated from global requirements
Change-Id: Id1620a4ffba3765eae399073b8e9e5d6a6739980
2016-12-28 09:18:11 +00:00
Adit Sarfaty 03dc732f7d Add oslo.privsep and pyroute2 to test requirements
Thoss libreries were added to neutron and used in the modules
vmware_nsx imports

Change-Id: Id9f202bdd05df4d1097464bb9006fae9129b1a1a
2016-12-25 08:46:33 +02:00
OpenStack Proposal Bot 39a1d06bcc Updated from global requirements
Change-Id: Ic9d870495cd907111f24ff8db3729e875504ed76
2016-12-22 19:11:51 +00:00
OpenStack Proposal Bot b5c8401dde Updated from global requirements
Change-Id: I619edf7fd7e2568bd6044df23c76b79b292abd00
2016-11-16 00:23:30 +00:00
OpenStack Proposal Bot d1ad56f850 Updated from global requirements
Change-Id: Ic0e36cb22fb9428825e7fc97d0d1c81e0204b87c
2016-11-02 15:42:42 +00:00
Adit Sarfaty 62e5881010 OCS plugin + initial extensions support
Create an openstack client plugin for vmware nsx, and add the some of
the extensions suport: router-type, router-size, subnet dhcp-mtu and
dns-search-domain and port provider security groups and vnic index

Work for future patches:
- More unit tests (provider-security-groups)
- Add the rest of the extensions

Change-Id: I5b335de000b310cbcbb9a2f81483fd28f8d9afea
2016-10-30 12:33:03 +02:00
OpenStack Proposal Bot f08e03775a Updated from global requirements
Change-Id: Ia80206325e89a7e8837d44005a0175a6539948a1
2016-10-22 01:29:30 +00:00
Abhishek Raut e009eed875 Fix test_migration import
Model migration tests were not run because of incorrect import.
Run them in unit test mode instead of functional jobs.
Also fix existing migrations and models which are not in sync.

Change-Id: I4f7362972929308201776214fe01c007f14a6580
2016-09-14 00:01:08 -07:00