Commit Graph

47 Commits

Author SHA1 Message Date
Jeremy Stanley 106e2e3eff Zuul: Remove references to centos-7 job nodes
OpenDev is preparing to remove centos-7 nodes on March 15[*]. This
change drops Zuul configuration references to anything directly or
indirectly relying on that label.

[*] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/message/A2YIY5L7MVYSQMTVZU3L3OM7GLVVZPLK/

Change-Id: Ib22b06a42f8f5fefebd25cde2bb43fb3c77b6ec8
2024-03-12 22:34:07 +00:00
Bodo Petermann 256464aea6 VPNaaS support for OVN
Adds VPNaaS support for OVN.
Add a new stand-alone VPN agent to support OVN+VPN. Add OVN-specific
service and device drivers that support this new VPN agent. This will
have no impact on the existing VPN solution for ML2/OVS, the existing
L3 agent and its VPN extension will still work.

Add a new VPN agent scheduler that will schedule VPN services to VPN
agents on a per-router basis.

Add two new database tables: vpn_ext_gws (to store extra port IDs)
and routervpnagentbindings (to store VPN agent ID per router).

More details see spec (neutron-specs/specs/xena/vpnaas-ovn.rst).

This work is based on work of MingShuan Xian (xianms@cn.ibm.com),
see https://bugs.launchpad.net/networking-ovn/+bug/1586253

Depends-On: https://review.opendev.org/c/openstack/neutron/+/847005
Depends-On: https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/847007

Closes-Bug: #1905391
Change-Id: I632f86762d63edbfe225727db11ea21bbb1ffc25
2023-11-16 21:08:50 +01:00
elajkat b4c2bc4af6 py311: Add py311 job and sqlalchemy-main job to weekly
Change-Id: I6bb322be2d533ff8a96409f2982c94a09c8383ee
2023-09-29 09:04:05 +00:00
elajkat d1b1f94b1b CI: Add openstack-tox-py39-with-oslo-master to periodic weekly queue
Change-Id: I95fa73ebc4841061909b51dd8e2dba259c4c0c7c
2022-10-20 14:09:20 +02:00
OpenStack Release Bot 03fe2fbff9 Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

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

Change-Id: I4b384c47e618511b1d5016d966e3ccde496c82fe
2022-09-16 12:07:29 +00:00
Zuul 8422cbc689 Merge "Drop lower-constraints.txt and its testing" 2022-05-12 18:19:54 +00:00
elajkat 96adf1ac61 CI: Add Neutron to required-projects list
Unit tests jobs (openstack-tox-py3x) are better to run with latest
Neutron otherwise they can fail till a new Neutron release is out.

Change-Id: I83cb8ca8969567f0383f6842ccf66e1864e0a715
2022-05-10 10:49:17 +02:00
Ghanshyam Mann 130d6ddf1b 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.

[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: Iddb575ef94f8162f8d07f650db4611a5fd07b258
2022-04-30 20:16:07 -05:00
Zuul cca1ee1307 Merge "Add Python3 zed unit tests" 2022-04-27 07:07:42 +00:00
elajkat f9bf321be9 Add weekly jobs
Add jobs to the weekly periodic pipeline (see [1]).
Current jobs to be run weekly: openstack-tox-py39,
neutron-tempest-plugin-vpnaas and neutron-vpnaas-functional-sswan.

[1]: https://opendev.org/zuul/project-config/src/branch/master/zuul.d/pipelines.yaml#L130

Change-Id: I15de6577cf21023ca88270d59c69ac2f26dfe3f8
2022-04-21 03:41:22 +00:00
OpenStack Release Bot 3dfa52833b Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

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

Change-Id: If0fae164f26aaf69ce043c93c6922377ce204ddf
2022-04-21 03:40:36 +00:00
Mohammed Naser 73499f01c6 tests: restore functional testing
At this commit, all the things are fixed again and we can restore
testing once again.

Change-Id: Iea5454973cd12626703c64b74ef3ba08fc6250f2
2022-04-20 19:21:09 -04:00
Mohammed Naser d078eb07a8 ci: temporarily disable functional tests
This patch is mean to stop running functional tests so we can land
multiple independent smaller patches (since some will/can be back-
ported and other won't be).

Change-Id: Ic0a4def429942203416560491b85651a4c30c8e1
2022-04-20 18:50:58 -04:00
OpenStack Release Bot 794910d001 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

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

Change-Id: I7a0d890339572b67890687afd3715164fd856537
2021-09-17 16:10:31 +00:00
OpenStack Release Bot 68ac841456 Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

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

Change-Id: Ia5158ee79d10375b9098f814e60eae66748edd0c
2021-03-22 10:31:08 +00:00
OpenStack Release Bot af82c7a96f Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

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

Change-Id: I96496bd8efd3367cfec5109c845bbda99cf755e2
2020-09-23 12:44:06 +00:00
OpenStack Release Bot 773fe21732 Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

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

Change-Id: Ie62d3d2b503fe501ba463ae9983e1b908db8826d
2020-04-22 16:12:36 +00:00
Zuul d86582f04d Merge "Migrate functional tests job to the zuul v3 syntax" 2020-03-09 17:04:51 +00:00
Slawek Kaplonski 5da7b0176b Migrate functional tests job to the zuul v3 syntax
It migrates neutron-vpnaas-dsvm-functional-sswan job to the native
Zuulv3 syntax and renames it to be "neutron-vpnaas-functional-sswan".

Change-Id: Ibe6ac8677ace52e08edb7e47f3365616a3e6b29a
2020-03-04 11:43:35 +01:00
Slawek Kaplonski 547ce67459 Migrate neutron-vpnaas-dsvm-rally job to the zuul v3 syntax
It also renames job's name to neutron-vpnaas-rally.

Change-Id: I493e854c2d21d1d29e3f85d1dd73aefbb6c87e10
2020-03-02 21:29:44 +00:00
Bernard Cafarelli 7d851c6401
Drop python 2 support and testing
This is part of Ussuri goal tracked for Neutron stadium at:
https://etherpad.openstack.org/p/neutron-train-zuulv3-py27drop

Change-Id: Idcbecc3ee3e2140cdff45a58cd4628064f17181f
2019-12-17 15:04:40 +01:00
Miguel Lavalle 4077093c10 Complete move of neutron-vpnaas tempest tests to tempest plugin
As discussed in the neutron_ci meeting [1] the QA team would like to
move the tempest tests for the stadium projects from their repos to
repos specific to being tempest plugins. This is the second part of a two
stage move, by removing the tempest tests that were copied to the
neutron-tempest-plugin repo [2].

[1] http://eavesdrop.openstack.org/meetings/neutron_ci/2019/neutron_ci.2019-03-12-16.01.log.html#l-94
[2] https://etherpad.openstack.org/p/neutron_stadium_move_to_tempest_plugin_repo

Depends-On: https://review.opendev.org/#/c/649373
Change-Id: Iafc2cd1790175d58b3016624b8451c8bfceafa32
2019-12-11 10:10:51 -06:00
zhangboye 7b5a5a8552 Switch to Ussuri jobs
Change-Id: I1d7c3fe61367a7251658a2de3b8c2c86a2c6a853
2019-10-25 14:45:51 +08:00
Corey Bryant 5f23fa809c Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I1094b5f7c166b30e210c540c2e420d8e86894046
Story: #2005924
Task: #34225
2019-07-05 13:54:27 -04:00
Slawek Kaplonski 4f55b013e5 Switch neutron-vpnaas-tempest to Python 3
Change-Id: I425a322af3ac9299e0d40c956ac61b1c4a8a7512
2019-06-11 12:30:47 +00:00
Zuul 9ca29048b3 Merge "Make CentOS gate voting again" 2019-05-27 07:28:39 +00:00
Akihiro Motoki 7d874a5ec4 Make CentOS gate voting again
Cinder DB migration bug 1808709 has been fixed.

Change-Id: Ib20e8edc0aa5c83ff155a5a0fe91336ad7c88674
2019-05-24 01:36:41 +00:00
Zuul ed1c44c36b Merge "Dropping the py35 testing" 2019-05-02 12:57:13 +00:00
OpenDev Sysadmins be10a61abd 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:41:15 +00:00
Ghanshyam Mann 5b5b063519 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].

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
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: If536a6a251145a3923dfa692b3477d23797bf132
2019-04-15 02:36:26 +00:00
Ian Wienand 78f99d90fb Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I595d2589e375b006d629885c56794bb25082a483
2019-03-24 20:34:40 +00:00
Corey Bryant f539037ed5 add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: Id4f8825a4f4b5c0039abaf84fd346007b0b760a6
Story: #2004073
2019-02-20 15:37:22 -05:00
Boden R 8bf042180a Fix and skip gate failures
lower-constraints.txt is updated.
- ryu 4.24
- pecan 1.3.2

neutron-vpnaas-tempest-libreswan-centos is now non-voting
because Cinder DB migration fails on CentOS 7.

This patch also includes the changes from [1] as without them the tests
fail.

[1] https://review.openstack.org/#/c/599034/

Related-Bug: 1808709

Change-Id: Id6a2eadfacb3983cfc05142860a827d3233561dd
2018-12-19 07:01:03 -07:00
Doug Hellmann 1e98d017ad add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I7f39dd0e4a77abd294ab61cba97c7d8f8f04a4f6
Story: #2002586
Task: #24314
2018-09-12 14:59:02 +02:00
Doug Hellmann eaa2d1a4eb switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Fix tox.ini html files in right place.

Change-Id: I8493a3ef704b1da458153a8da3f9b26145f5bff2
Story: #2002586
Task: #24314
2018-09-12 14:58:09 +02:00
Andreas Jaeger e9b7acef8e Use templates for cover and lower-constraints
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Use openstack-lower-constraints-jobs template, remove the
definition of neutron-vpnaas-tox-lower-constraints, the neutron
template does this correctly.

Remove jobs that are part of the templates.

Change-Id: I7e39bc8e3348883b06a8f38a503dd5db14d20c5d
2018-09-08 16:40:15 +02:00
Doug Hellmann ac12494da9 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I5c06bc35d0ff9e68743b1d44cbba2541268b88ec
Story: #2002586
Task: #24314
2018-08-29 17:38:02 -04:00
Boden R bb165298e0 add py3-dev tox target and update lower constraints zuul job
This patch adds a py3-dev tox target for running py3 UTs locally.
It also updates the local .zuul.yaml for a neutron-vpnaas specific
lower constraints job that ensure neutron/master is installed.

Change-Id: Iab9f134b17b56d765d5ac523d9b5a4b4d4e00fb7
Partial-Bug: #1779335
2018-07-24 04:11:04 +00:00
Hunt Xu b6c8ea8a3c Make libreswan driver work with recent versions
LibreSwan 3.19 introduces a new commandline argument '--nssdir' for
pluto which defaults to '/etc/ipsec.d'. As older versions don't
understand such an option, we cannot just add it to the commandline.

The commandline arguments of LibreSwan are not stable enough to rely on.
For example, in 3.19, 'ipsec initnss' has the new argument '--nssdir',
and in 3.20, 'ipsec pluto' also gets this new argument '--nssdir', then
in 3.22, the argument '--ctlbase' is phased out.

In this commit, instead of trying new options and then fallback to old
ones for older versions, the bind-mount method used in StrongSwan driver
is adopted. With /etc and /var/run bind mounted, all the commandline
arguments related to configuration file places can be removed. This
ensures that changes of such arguments between different versions won't
bother as the default places are always used.

This commit also replaces 'auth=' by 'phase2=' in the configuration
template as the former is for a long time an alias of the latter and
removed in LibreSwan 3.19.

The virtual-private argument of 'ipsec pluto' has been put into the
configuration file to avoid commas(,) in the commandline so that the
netns_wrapper can work well.

A new tempest job for running LibreSwan as the device driver on CentOS 7
is also added to avoid regression.

This commit has been simply tested on CentOS 7.4 with the following
versions of LibreSwan provided by the CentOS repo:

  - libreswan-3.12-5.el7.x86_64.rpm
  - libreswan-3.12-10.1.el7_1.x86_64.rpm
  - libreswan-3.15-5.el7_1.x86_64.rpm
  - libreswan-3.15-8.el7.x86_64.rpm
  - libreswan-3.20-3.el7.x86_64.rpm
  - libreswan-3.20-5.el7_4.x86_64.rpm

and different versions of LibreSwan provided by libreswan.org[1]:

[1] https://download.libreswan.org/binaries/rhel/7/x86_64/

Change-Id: Iacb6f13187b49cf771f0c24662d6af9217c211b8
Closes-Bug: #1711456
2018-06-22 15:29:48 +08:00
Zuul 68fd474f73 Merge "Switch tempest zuul job to zuul v3 native" 2018-04-27 14:03:38 +00:00
Hunt Xu d802567198 Switch tempest zuul job to zuul v3 native
Change-Id: Ifa5678c2dace916c5fa0937a1c3d541c537c3cf3
2018-04-27 16:32:54 +08:00
Akihiro Motoki cbe0e150fc Fix patterns of unit test files in irrelevant-files
'neutron_vpnaas' is the correct module name.
Previously it was 'neutron-vpnaas' and as a result tempest and
functional tests are run unexpectedly.

Change-Id: I2e691dfcc10ebc7e28d2c546b171006601ea17d5
2018-04-02 02:07:14 +00:00
Doug Hellmann 9233ac27f8 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: I312f591a68fa30636502eadb563de5656faca3e9
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 16:37:09 -04:00
Cao Xuan Hoang bb68ebff50 Ignore unnecessary changes for tempest job
We don't need to run tempest job for unrelevant change
in the project.

Change-Id: Ica73aa077e2986b6dff5c3605c387aa009b2054d
2018-03-01 15:41:57 +07:00
Hoang Trung Hieu 0ecf82cd83 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I3407a96dd5f4fce5683386ffd9784118a2d7e6aa
2018-01-29 15:07:39 +07:00
Chandan Kumar bc7b1bf795 Switch to neutron-tempest-plugin for tempest tests
* https://review.openstack.org/519310 syncs the code from neutron
  project to neutron-tempest-plugin repo and it is better to depend
  on new one inorder to avoid the breakage.

Change-Id: Icf3ec7c186f45e86d602d5bc8754b91ddab47732
2018-01-23 11:36:34 +05:30
Duong Ha-Quang 3c57322fd2 Move legacy jobs to project
This patch implements first step in zuulv3 migration guide [1]:

Move jobs to neutron-vpnaas repo

[1] https://docs.openstack.org/infra/manual/zuulv3.html#legacy-job-migration-details

Needed-By: I6feeb874eedbb7e7278923c4f6f4e526f1def24c
Needed-By: I9ee5756c15ab6c8a393dd77680d6277fb35a7ee2

Co-Authored-By: Cao Xuan Hoang <hoangcx@vn.fujitsu.com>
Change-Id: If66846aa7bfc2afd42b9ffd077cdb179563f5995
2017-12-19 14:40:56 +07:00