134 Commits

Author SHA1 Message Date
Zuul
7f647fd223 Merge "Limit usage of resources in the fullstack tests job" into stable/train 2021-02-04 16:13:56 +00:00
Zuul
816638b051 Merge "Re-enable networking-ovn job" into stable/train 2021-01-22 15:22:09 +00:00
Slawek Kaplonski
6d1c96e36e Limit usage of resources in the fullstack tests job
To limit usage of resources (mostly memory) in the fullstack job and
to avoid oom killer to kill e.g. mysqld service, this patch:

* Makes number of API workers changeable by tests, as a parameter to
  EnvironmentDescription and defaults its value to 1. As neutron server
  is spawned separately for each test and is used only to process just
  few API requests during that single test so this should be still
  enough there, and where more API workers are needed (like some dhcp HA
  tests: TestDhcpAgentHARaceCondition) it can be changed,
* reduces number of test run workers from 4 to 3 - job will run slower
  but hopefully more stable,
* in the functional and fullstack tests job definition disable etcd3
  service - this will not save us a lot of memory but still it's not
  needed at all so why to run it there.

Conflicts:
    neutron/tests/fullstack/resources/environment.py
    neutron/tests/fullstack/test_dhcp_agent.py
    zuul.d/base.yaml

Change-Id: If19803ab6db144e2d17d6805d379c1c76d8fa343
Closes-Bug: #1906366
(cherry picked from commit f63dc09206a41c85edc92117c3e9cf3a3d49b820)
2021-01-18 14:53:46 +01:00
Rodolfo Alonso Hernandez
ef37b3a39a Dropping lower constraints testing (stable Train)
This topic was discussed on the ML and QA team proposed to
to test lower-constraints [1].

As decided in Neutron meeting, stable branches will drop this
CI job [2].

[1]http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html
[2]http://eavesdrop.openstack.org/meetings/networking/2021/networking.2021-01-12-14.00.log.html

Change-Id: Ibf9b20b993ab59b64bd4c954cfcd34f14e0e078c
2021-01-12 15:49:54 +00:00
Zuul
c5b4e8889e Merge "Switch tripleo standalone job to content provider" into stable/train 2021-01-12 13:21:21 +00:00
Bernard Cafarelli
b37f0df935
Re-enable networking-ovn job
It was disabled in previous commit to allow pip resolver fixes for
neutron and networking-ovn to go in. Once the later is merged, we can
get the job back

Change-Id: Iafa68a98861f971f62c373d69e16c4dbaad383e9
Depends-On: https://review.opendev.org/c/openstack/networking-ovn/+/767424
2021-01-05 12:21:47 +01:00
Bernard Cafarelli
c9416b1013
[train] Fix tests with new pip resolver
Bump minimum keystoneauth1 as openstacksdk needs a newer version
Bump minimum debtcollerctor, ovsdbapp as os-vif needs a newer version
In lower-constraints, bump os-service-types, and fix pycodestyle bound
to align with test requirements

This change also caps bandit to <= 1.6.2 after the now yanked 1.6.3
release dropped py27 support [1][2]. 1.7.0 has since been released [3]
but is still present in the universal wheel and thus will be pulled in
by py27 incorrectly.

Also disable networking-ovn-tempest-dsvm-ovs-release job to allow
https://review.opendev.org/c/openstack/networking-ovn/+/767424 fix to
merge (they depend on each other), follow-up patch will restore it

[1] https://github.com/PyCQA/bandit/releases/tag/1.6.3
[2] https://github.com/PyCQA/bandit/pull/615
[3] https://github.com/PyCQA/bandit/releases/tag/1.7.0

Depends-On: https://review.opendev.org/c/openstack/devstack/+/768256
Depends-On: https://review.opendev.org/c/openstack/swift/+/766214

Change-Id: Idb98850d1ef09e4ae82b42a7f1930b99ae74e0a1
2021-01-05 12:20:12 +01:00
Rafael Folco
fd22aad5c2 Switch tripleo standalone job to content provider
Content provider job builds and shares the artifacts among
consumer jobs. This removes dependency on docker.io pulls.

Conflicts:
    zuul.d/project.yaml

Change-Id: Ib2b9f541e6e287c3b0bfd091310e3ce267fc6adb
(cherry picked from commit e0e7f1b64e16a12f57201d316708f44cd3556fc8)
2020-11-02 11:47:54 +01:00
Bernard Cafarelli
da0bad4acc
[Stable only] Drop *-master jobs
These jobs are used to test neutron against current master branches of
external projects (os-ken).

Stable branches are not expected to run with this setup so we can drop
the jobs there (especially as some of these jobs are periodic ones).

Conflicts:
	.zuul.yaml

This is adapted to the older single .zuul.yaml file layout

Change-Id: I2b1f4c4e951b691fb0c66119699b26540b0babd8
(cherry picked from commit 21719a875d63adc9a823de7feacb119e5887f5af)
2020-08-19 10:25:54 +02:00
Ghanshyam Mann
c5e00e551c Migrate neutron grenade multinode jobs to be native Zuul v3
This commit migrates neutron-grenade multinode jobs.

This is manual backport of this as zuul dir structure is
changed in ussuri and clean backport is not possible.
- https://review.opendev.org/#/c/735948/3

Change-Id: I20533a034d28d5e405b3f7d49855cdc8e0815e90
2020-06-18 22:43:27 -05:00
Bernard Cafarelli
b38dc02d74
Use rally-openstack 1.7.0 for stable/train
Master branch now has requirements incompatible with stable branches
constraints [0], so this switches to last tag compatible.

Longer term fix will be to run rally in a virtualenv, but this is lower
priority than other tasks. This can be revisited at the time, though for
older branches we will probably stick with pinned version

[0] 5776e015f1

Change-Id: I24fad07d3a15c62d4de711a957f19d375862c28d
Closes-Bug: #1868691
2020-03-24 15:33:56 +01:00
Slawek Kaplonski
c36f1fc292 Remove one of iptables_hybrid jobs
In check queue there were 2 iptables_hybrid jobs. One was run on Ubuntu
and one on Fedora.
During the Shanghai PTG we agreed to remove one of those jobs and left
only one of them to be run in both check and gate queues.

This commit removes iptables_hybrid job based on Fedora image.

Fedora jobs also make less sense for stable branches

Change-Id: If0adb7ca4e254f5b19375b471679bcc18e0c7790
(cherry picked from commit a2fdf8aa72859be748918d56c819736b9ae048c2)
2020-01-29 13:08:59 +00:00
Zuul
998d93bf75 Merge "Switch to stable/train neutron-tempest-plugin jobs in train branch" into stable/train 2019-11-29 01:26:36 +00:00
Dirk Mueller
e3f83c216a switch to the newly created opensuse-15 nodeset
opensuse-150 nodeset is referring to openSUSE 15.0, which is still in
maintenance but openSUSE 15.1 has been released already. "opensuse-15"
is going to refer to the "latest openSUSE 15.x" build released and
working for OpenStack going forward, so add this nodeset and use
it by default going forward.

This is the remaining work to be done after https://review.opendev.org/#/c/667539
got merged earlier

Change-Id: I6b3881a77de0419e0c3612661bf60cc2e55da0a7
Depends-On: https://review.opendev.org/#/c/682843
(cherry picked from commit 0528068a35b8ffecaf69d1cffb325604b97d30ed)
2019-10-16 19:15:17 +00:00
Slawek Kaplonski
bbbf6f3ace Switch to stable/train neutron-tempest-plugin jobs in train branch
Depends-On: https://review.opendev.org/#/c/685213/
Change-Id: I185031e5b9cfbd391e5fba34a71ff9070a4b5382
2019-09-27 10:11:44 +02:00
Zuul
027d13338d Merge "Revert "Temporary switch broken CI jobs to non-voting"" 2019-09-23 17:23:49 +00:00
Rodolfo Alonso Hernandez
4a8e737441 Revert "Temporary switch broken CI jobs to non-voting"
This reverts commit f5bcca87d13c0bbf7dfdda1371cd19856dfbcb99.

1. rally: the problem was fixed in [1] and it's included
   in version 2.0.0 [2].

2. neutron-tempest-iptables_hybrid-fedora: now devstack
   points to Fedora 29 [3].

[1] https://review.opendev.org/#/c/681001/
[2] https://review.opendev.org/#/c/682162/
[3] https://review.opendev.org/#/c/662529/

Change-Id: Ie900ec00c116c740aca972fb88ed5bcfe05e81b5
Related-Bug: #1843282
Related-Bug: #1843413
2019-09-20 16:35:27 +00:00
Slawek Kaplonski
4d60457d51 Add correct UPPER_CONSTRAINTS_FILE to neutron-functional job
This patch sets UPPER_CONSTRAINTS_FILE that it points to file created by
zuul.
Due to this change requirements with "speculative future changes" can be
used in gate. So zuul will be now able to use requirements file from
patch which is also in gate but is not merged yet.

Change-Id: Ib3cc25460bea7030b4352fdc36147a0a16c7e422
2019-09-12 21:28:58 +02:00
Slawek Kaplonski
f5bcca87d1 Temporary switch broken CI jobs to non-voting
Let's unblock Neutron gate until issues with:

1. rally, rally-openstack and jsonschema versions,
   see https://bugs.launchpad.net/neutron/+bug/1843282
   for details,

2. neutron-tempest-iptables_hybrid-fedora,
   see https://bugs.launchpad.net/neutron/+bug/1843413
   for details

will be fixed.

Change-Id: I275a7caac2e791b5fa2b90121d222d109ed96153
Related-Bug: #1843282
Related-Bug: #1843413
2019-09-10 12:46:47 +02:00
Ghanshyam Mann
f4bdcb0031 Run 'tempest-ipv6-only' job in gate
As part of Train community goal 'Support IPv6-Only Deployments and Testing'[1],
Tempest has defined the new job 'tempest-ipv6-only'(adding
in Depends-On patch) which will deploy services on IPv6 and run smoke
tests and IPv6 related tests present in Tempest.

This job will be part of Nova, Neutron, Cinder, Keystone, Glance, Swift
gate.

Verification structure will be:
- 'devstack-IPv6' deploy the service on IPv6
- 'devstack-tempest-ipv6' run will verify the IPv6-only setting and listen address
- 'tempest-ipv6-only' will run the smoke + IPv6 related test case.

This commit adds the new job 'tempest-ipv6-only' run on gate.

Story: #2005477
Task: #35908

Depends-On: https://review.opendev.org/#/c/671231/

[1] https://governance.openstack.org/tc/goals/train/ipv6-support-and-testing.html

Change-Id: I6a1d8e40a8cb606b60ebede99bac7e570f761a5a
2019-07-24 08:40:50 +00:00
Slawek Kaplonski
b28d7281e0 Rename tripleo-ci-centos-7-scenario007-standalone job
We need to change name of "tripleo-ci-centos-7-scenario007-standalone"
to not conflict with job defined in tripleo-ci.

Change-Id: Idb2272e8b17a0efc343cb68323a96f114d0c6f64
2019-07-19 15:25:06 +02:00
Zuul
886a8824e2 Merge "Switch neutron tempest jobs to run only networking related tests" 2019-07-19 12:17:37 +00:00
Zuul
d7faa7e1d7 Merge "Remove tempest-full jobs from Neutron CI" 2019-07-18 19:39:17 +00:00
Zuul
8fa84c468a Merge "Add TripleO container based job to Neutron's check queue" 2019-07-18 18:25:23 +00:00
Slawek Kaplonski
951c46c3b7 Switch neutron tempest jobs to run only networking related tests
In commit [1] neutron replaced using "integrated-gate" template with
new "integrated-gate-networking" tempate to run only tests related
to Neutron and Nova in Neutron CI.

This patch switches tempest jobs defined in neutron directly:
* neutron-tempest-dvr
* neutron-tempest-linuxbridge
* neutron-tempest-iptables_hybrid
* neutron-tempest-with-uwsgi

to inherit from this new "tempest-integrated-networking" job and
run also only tests related to Neutron and Nova.

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

Change-Id: I2aa60fa1aa98e79f8b2597e490c00f7410f2a93d
2019-07-15 20:07:57 +00:00
Slawek Kaplonski
8996940b58 Remove tempest-full jobs from Neutron CI
In commit [1] neutron replaced using "integrated-gate" template, which
provides tempest-full job with new "integrated-gate-networking" tempate,
which provides "tempest-integrated-networking" job to run only tests related
to Neutron and Nova in Neutron CI.
Unfortunatelly tempest-full and tempest-full-py3 jobs were also
configured in Neutron's zuul file separately so we ended up with running
all 3 of those jobs in our check and gate queue.

So this patch removed "tempest-full" and "tempest-full-py3" jobs from
Neutron's check and gate queue and left only new
"tempest-integrated-networking" job to be run there.

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

Change-Id: Ia74454c0986d0ef24b9a42ab1e2e0f296511cd3f
2019-07-15 20:07:03 +00:00
Slawek Kaplonski
442a4e0078 Add TripleO container based job to Neutron's check queue
This patch adds non-voting tripleo-ci-centos-7-scenario007-standalone
job which will use TripleO to deploy Neutron in containers.

Change-Id: I9593122c961002bc209a89a7fee129e49e6952a4
2019-07-14 19:13:21 +02:00
Slawek Kaplonski
f3a61fb747 Replace "integrated-gate" template with new "integrated-gate-networking"
New integrated gate template will run only tests related to
compute and networking projects.
There is no need to run e.g. Cinder related tests in Neutron's gate.

This change was agreed during last PTG in Denver. For more details
please check [1] and [2].

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-May/005871.html
[2] https://etherpad.openstack.org/p/qa-train-ptg

Change-Id: Ieaac27baee652236db890f0e10c4008e5da1ac02
2019-07-09 10:20:43 +02:00
Zuul
69d4d5e481 Merge "Make networking-ovn-tempest-dsvm-ovs-release job voting" 2019-06-28 05:38:45 +00:00
Swaminathan Vasudevan
52b537ca22 DVR: Modify DVR flows to allow ARP requests to hit ARP Responder table
DVR does the ARP table update through the control plane, and does not
allow any ARP requests to get out of the node.

In order to address the allowed address pair VRRP IP issue with DVR,
we need to add an ARP entry into the ARP Responder table for the
allowed address pair IP ( which is taken care by the patch in [1])

This patch adds a rule in the br-int to redirect the packet
destinated to the router to the actual router-port and also moves
the arp filtering rule to the tunnel or the physical port based on the
configuration.

By adding the above rule it allows the ARP requests to reach the
ARP Responder table and filters the ARP requests before it reaches
the physical network or the tunnel.

[1] https://review.opendev.org/#/c/601336/
Related-Bug: #1774459

Change-Id: I3905ea56ca0ff35bdd96c818719e6d63a3eb5a72
2019-05-30 08:11:31 +00:00
Zuul
eceb40bfb0 Merge "Integrate rally with osprofiler" 2019-05-24 18:31:18 +00:00
Slawek Kaplonski
ea8b466970 [Docs] Add summary of Tempest and Grenade jobs running in CI
This patch adds summary of Tempest and Grenade jobs which we
have run in Neutron's check and gate queues.

Change-Id: I8b96413b33f037b601747ebaa0ff4f0791cad628
2019-05-22 07:22:46 +02:00
Slawek Kaplonski
a5b53ec6e3 Integrate rally with osprofiler
This patch adds integration of osprofiler with rally.
Rally provides possibility for such integration and when
osprofiler is configured in rally it will now place
osprofiler's report for each rally test iteration in
"Scenario Data" tab.

Change-Id: I730de963ef6fd0485be6ea947d085067057a500c
2019-05-20 09:58:59 +00:00
ZhongShengping
5f5918df8b Use openstack-python3-train-jobs template
This goal is to implement the process set out in the 2018-10-24 Python
Update Process TC resolution[1], for the Train cycle to ensure unit
testing is in place for all of the Tested Runtimes for Train[2].
In practice, this generally means adding unit tests for Python 3.7 and
dropping unit tests for Python 3.5.
For Neutron, which already runs py36 and py37 unit tests it generally
means switch to use the Zuul template openstack-python3-train-jobs
for Train.
Using this template will ensure that all projects that support Python3
will be tested against the agreed runtime versions, and make it easier
to update them in future.

[1]https://governance.openstack.org/tc/resolutions/20181024-python-update-process.html
[2]https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I41d232a10a40d97347566e189457d8044e3639db
Depends-On: https://review.opendev.org/#/c/641878/
2019-05-20 08:58:48 +00:00
Zuul
4c4dc08c52 Merge "Switch neutron-tempest-dvr-ha-multinode-full job to Python 3" 2019-05-03 05:14:22 +00:00
Slawek Kaplonski
579d70330e Switch neutron-tempest-dvr-ha-multinode-full job to Python 3
Change-Id: If24bf62ff32963e1ea62c59a261287e5ee095a8e
2019-05-01 14:47:12 +00:00
Slawek Kaplonski
70e5d9c343 Switch neutron-tempest-with-uwsgi job to python 3
Change-Id: Ifff3ebe1ce409e8fef59d0c86b796f5b193a8249
2019-05-01 05:43:47 -06:00
Nate Johnston
a97a8ee605 Move wsgi jobs from experimental to check queue
Since WSGI is more important, we should be collecting data on
compatibility more consistently.  So we shall move the WSGI jobs from
the experimental queue to the check queue, while maintaining their
nonvoting status.

Change-Id: I24aa7a0c2245973327e4d74039f96a7efb2a8988
2019-04-24 15:26:20 +00:00
OpenDev Sysadmins
5d607a13ba 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:38:27 +00:00
Ghanshyam Mann
ca0566c99b 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: I6cb8b66ce4b3e456a0e9ae534fd8168b49ac414f
2019-04-15 02:25:39 +00:00
Zuul
5cb501eac7 Merge "Revert "Switch all grenade jobs to be non voting and non gating temporary"" 2019-04-11 18:11:56 +00:00
Zuul
0dc638c388 Merge "Add a midonet non-voting job" 2019-04-09 17:10:35 +00:00
Slawek Kaplonski
ee72ded7ed Revert "Switch all grenade jobs to be non voting and non gating temporary"
This reverts commit 13a2f70024e9a35c0ffc3142a23d9381d7c64d10.

Related bug is fixed so we can switch grenade jobs to be voting again.

Change-Id: I027208171a85ea7f2ce8b61d46121f507e826a34
Related-bug: #1820892
2019-04-09 14:37:05 +00:00
Zuul
bb9edb25b0 Merge "Mark neutron-tempest-iptables_hybrid-fedora voting" 2019-04-03 19:31:26 +00:00
Nate Johnston
9f2b08c559 Make networking-ovn-tempest-dsvm-ovs-release job voting
Now that tripleo has shifted to use OVN by default, introducing bugs
that break OVN will have a side-effect of breaking tripleo.  Make the
crosscheck job for OVN voting to avoid those kinds of issues.

Change-Id: I190f7272ae468a8f6cd9d68f33103490f0bacf62
2019-04-03 13:35:56 +00:00
YAMAMOTO Takashi
9624ea7066 Add a midonet non-voting job
Ref: http://lists.openstack.org/pipermail/openstack-dev/2018-September/135273.html

Change-Id: I4f10b3384ce1016c5117e5af7c91345624e3c07b
2019-04-03 22:12:42 +09:00
Nate Johnston
7cc073519a Mark neutron-tempest-iptables_hybrid-fedora voting
The job has been stable, shows failure percentages within a percent or
two of the neutron-tempest-iptables_hybrid job, and is forward looking
for the next version of RHEL/Centos.

Change-Id: Iafccd55269b64d29aee081f096f6352ab5c15430
2019-04-03 07:21:59 +00:00
Slawek Kaplonski
699bb45a6c Revert "Disable fullstack job from gate and make it non-voting"
This reverts commit d33e5f5c17e66a95216fefcda1d161f9a4c1f779.

After bugs [1] and [2] are fixed, fullstack job got back to acceptable failure rates and we can make it again voting and gating.

[1] https://bugs.launchpad.net/neutron/+bug/1820865
[2] https://bugs.launchpad.net/neutron/+bug/1820870

Change-Id: I6feaaf563df93096f063e487a3ed086b93adcb0e
2019-04-03 06:26:42 +00:00
Slawek Kaplonski
13a2f70024 Switch all grenade jobs to be non voting and non gating temporary
Until related bug will not be fixed, grenade jobs are failing quite
often. Lets make them non voting to make our life easier.

This can be reverted when related bug will be fixed.

Change-Id: Iefe8d6ab2eea3e04e40cbf4ffaf0c646b51834c4
Related-Bug: #1820892
2019-04-02 17:12:23 +02:00
Ian Wienand
983d659d76
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: I4c9b513eb65ec4c50bdb9a66dfcc676360bdaa28
2019-03-25 11:31:17 +01:00