21 Commits

Author SHA1 Message Date
Salvatore Orlando
624f312208 Various fixes for gate jobs
- Update BGP plugin for changes in neutron-dynamyic-routing
- Skip test for duplicate port MAC for NSX-V plugin
- Fix test for network creation in default AZ for NSX-V plugin
- Adapt .zuul.yaml for changes in tap-as-a-service
- Fix issues with requirements check job
- Minor changes to tox.ini

Change-Id: Idbf051e98d7c961273f46c6b6a1aaa9b358ab3d8
2021-08-19 14:35:44 -07: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
Ghanshyam Mann
a3b61c2d27 Use the networking-l2gw project new location
networking-l2gw and networking-l2gw-tempest-plugin are
imported to new location now and supposed to be retired from
openstack/namespace[1].

-https://review.opendev.org/#/c/744110/

Change-Id: I902ea79cdd3a8e56540ab44a7bd2f986f5d18bca
2020-09-08 07:34:08 +02:00
asarfaty
f121b1e4b9 Use victoria branch in zull tests
Change-Id: Id228e8ab400c5cbde388ba8676c1be72ff20c652
2020-06-19 10:45:14 +02:00
asarfaty
98b2832e4d Add coverage tests
As a first step add coverage test as non-voting with a low threshold,
and exclude older plugins.
Also removing some unused code, and relocating tests-only code, and adding
some unit tests to improve coverage.

Change-Id: Ib7af0b5de49e1a0ee2927b01f2a5f71acf633fb5
2020-04-13 06:13:32 +02:00
asarfaty
a3af5dc7e0 Support zuul & tox with py38
Commit Idbfefe85dc0ddb04bd2d88fafcf3f6e751a1c3d7 added py38 to
the gate jobs.
This patch adds the necessary configuration for the vmware-nsx

Change-Id: I47a8b8b553f4a8b852508ccc4e8df48a1cb87832
2020-01-27 09:18:47 +02:00
Adit Sarfaty
4a3e8191cd Stop testing python 2
Since it's no longer supported past Train, lets stop
running the tests.
Please also see the related neutron patch:
I1c171ab906a3b4c66558163ad26947ebf710a276

Change-Id: Ic5361ac8495493d45603a57fcaac5f8385c681b7
2019-11-02 08:21:10 +00:00
Boden R
c3bf87fd05 update for python3 train jobs
Change-Id: Ic104e1a67e69a2e06fb47db23896a14cacf9ca24
2019-07-10 12:07:07 -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
841fa1a720 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein [2][3].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2] https://governance.openstack.org/tc/reference/runtimes/stein.html
[3] https://governance.openstack.org/tc/reference/runtimes/train.html

Depends-On: I1b0496d3048f832cd60be70703a23cc712f8693d

Change-Id: I071bd473617691ee72e29547e320dd8d9781ee75
2019-04-22 06:33:18 -06:00
OpenDev Sysadmins
b3478c2635 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:46 +00:00
Andreas Jaeger
54bc5c0883 Update .zuul.yaml
Remove extra publish-openstack-python-branch-tarball job:

  With change https://review.openstack.org/609098 merged, we do not need
  required-projects for publish-openstack-python-branch-tarball anymore.

  The job can now be removed completely from the post pipeline since it
  is part of the python-jobs template.

Sort list of templates alphabetically to easily find them.

Remove job periodic-jobs-with-neutron-lib-master - this is a master only
job, it should stay in project-config to not confuse when branching.

Change-Id: Icd8838bab7c9ef288679b6b052e2702b71543571
2018-10-14 15:24:55 +02:00
Andreas Jaeger
e2c6bce350 Remove release pipeline
release jobs need to stay in project-config, they will not work in-repo
as expected. Remove them.

See also
https://docs.openstack.org/infra/manual/creators.html#central-config-exceptions

Change-Id: I2fc0fd299dfcfa18b9142237e656323a4ed77bc0
2018-10-10 04:58:19 +00:00
Zuul
2dea64def5 Merge "NSX|V+V3: Octavia driver" 2018-10-07 09:25:57 +00:00
Boden R
822f7c4cf7 add py36 jobs and tox target
As part of the python 3 first effort [1], this patch adds UT support for
python 3.6 by:
- Updating the zuul.yaml to include the py36 template and jobs.
- Adding a py36-dev target to tox.ini for local testing.
- Updating the upper constraints to use master rather than stable/rocky.
- Updating the version of eventlet used as previous 2x.x versions had
a python 3 bug for monkey patching.
- Consolidating the eventlet monkey patching in the code.

[1] https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I3c11ac9dff9a2e25b33e8310929c961ffd0bcc52
2018-10-02 08:23:08 -06:00
Kobi Samoray
83d9b3abdd NSX|V+V3: Octavia driver
Implementing the Octavia support for NSX-V & NSX-T.
Follow up patches will handle the TVD plugin, Status updates,
and migration.

Since Octavia is not (yet?) in the requirements, using a hack to allow unittests
to be skipped.

Co-Authored-by: Adit Sarfaty <asarfaty@vmware.com>
Change-Id: Iadb24e7eadcab658faf3e646cc528c2a8a6976e5
2018-10-02 11:19:55 +03:00
Andreas Jaeger
759f015542 use openstack-tox-docs job
With the new job, we do not need all the required-projects. thus, use
the new job openstack-tox-docs instead of build-openstack-sphinx-docs.

Change-Id: I8e36eb528d22b8d61d2f6ee77d271fc143e71314
2018-09-28 12:49:09 +02:00
Andreas Jaeger
c7c6484f9f Remove templates that will not work here
periodic-stable-jobs-neutron runs only on stable branches and needs to
stay in project-config.

The job publish-to-pypi-neutron needs to stay in project-config as well
to trigger on releases.

Change-Id: Ib9b38b17cbb1b91a599a9d34927b554b4880fd09
2018-09-28 12:39:57 +02:00
Boden R
776fced845 move per branch zuul config into repo
This is part of the python 3 workstream [1] and moves the per branch
zuul config into to vmware-nsx repo. The periodic and periodic-stable
jobs will stay in project config.

[1] https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ie4ebc4b33c08274acd9dc019b58989989396b6c5
2018-09-27 06:43:47 +00:00
Boden R
b42661c957 updated lower constraints jobs for include dependencies
This patch updates our local zuul.yaml to define the required projects
so they are pulled into the jobs.

Change-Id: I1e668f9413363954f148f35f88c4c0687ce4f2c0
2018-06-14 06:44:21 -06: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