197 Commits

Author SHA1 Message Date
Rodolfo Alonso Hernandez
421dc2195c Redefine "neutron-ovn-tempest-ovs-master-fedora" CI job
The CI job "neutron-ovn-tempest-ovs-master-fedora" should be the same
as "neutron-ovn-tempest-ovs-master" but executed in the Fedora nodeset.

Related-Bug: #1942913
Change-Id: I89700030dedab33c28baf95993206cf5cdd1e6d6
2021-09-09 16:14:51 +00:00
Zuul
d726785687 Merge "neutron-lib: Skip functional tests for changes in unit tests code" 2021-09-06 14:24:15 +00:00
Balazs Gibizer
e4566031d6 Enable QoS min bw tempest in neutron-ovs-tempest-multinode-full
After I13fd2dc023b806ac74ab5c8d86cc99f807f0f702 the base job
tempest-multinode-full-py3 does not have the MinBwAllocationPlacementTest
tempest tests enabled by default. So enable it in
neutron-ovs-tempest-multinode-full not to lose any test covereage

Change-Id: I6967b55e8ce8d422422e943818145b718cd10f02
2021-08-26 14:28:12 +02:00
Takashi Kajinami
efbe2d3142 neutron-lib: Skip functional tests for changes in unit tests code
... because any change in unit tests code does never affect
functionality.

Change-Id: I05a828044785982d6555a93a3827bf105922840b
2021-08-22 14:28:03 +09:00
Oleg Bondarev
223e89c950 Make neutron-ovs-tempest-dvr-ha-multinode-full voting
DVR-HA check job has become pretty stable after latest DVR fix [1].
Let's make it voting to prevent further DVR-HA regressions.

[1] https://review.opendev.org/c/openstack/neutron/+/803211

Change-Id: Ieac9a8bf9f01a18069fc419cf52ca7a0624fec32
2021-08-11 10:56:33 +03:00
Slawek Kaplonski
02c0b47d22 Promote neutron-ovn-tempest-slow job to be voting and gating
This jobs is almost the same as tempest-slow-py3 since we switched
OVN to be default backend in Neutron. And that tempest-slow-py3 job
is used by many projects. So to avoid potential breaks of the gate for
other projects (like we did recently, see related bug for details)
let's make this job voting and gating.
As it is really used in many different projects as voting and gating
job already I don't think there is any issue with doing the same in
the Neutron gate.

Related-bug: #1936983
Related-bug: #1930402

Change-Id: I85d3830e9cc65162db846e4858871e1db547a04b
2021-07-21 08:57:43 +00:00
Zuul
d77b82935e Merge "Use OVS backend for testing os-ken library" 2021-06-28 18:55:31 +00:00
Zuul
804cc660e7 Merge "Make explicit the network backend used in the CI jobs" 2021-06-28 18:55:11 +00:00
Zuul
9a44dd0365 Merge "Enable tls-proxy support in the tempest jobs" 2021-06-26 20:02:10 +00:00
Rodolfo Alonso Hernandez
b189b0f322 Use OVS backend for testing os-ken library
Only OVS agent uses os-ken library, makes sense that the CI job
testing it uses this backend.

Closes-Bug: #1933626
Change-Id: I8b2eb11dfae5bc67ee9c3629f609e4b461e0ad7c
2021-06-25 08:54:32 +00:00
Rodolfo Alonso Hernandez
d7ca286e6c Make explicit the network backend used in the CI jobs
All Neutron CI jobs (except for unit, functional and fullstack jobs),
have explicitly defined the network backend used:
- linuxbridge
- ovs
- ovn

That was discussed and approved during the Neutron CI meetings [1].

[1]https://meetings.opendev.org/meetings/neutron_ci/2021/neutron_ci.2021-06-15-15.00.log.html

Change-Id: I036924f13b77dd5957ad5e60b9f536562deb9f05
2021-06-25 08:53:04 +00:00
Slawek Kaplonski
dbfa1b5d92 Remove tox_install_siblings=False from the functional job's definition
It is set to true by default in base jobs. Also e.g. in
functional job for neutron-dynamic-routing it is set to True so
it should be fine to use default value in the neutron-functional job as
well.

Related-bug: #1932483
Change-Id: I2c8392628dd63ca612c6d8428daab66724e88c20
2021-06-23 13:10:40 +02:00
Zuul
3f7b1300df Merge "Add "nova:live_migration_events" flag to subnode in multinode CI job" 2021-06-22 19:03:14 +00:00
Zuul
b14d2c2561 Merge "[OVN] Re-enable dstat for the OVN jobs" 2021-06-15 16:53:47 +00:00
ricolin
68d62fa18d Enable tls-proxy support in the tempest jobs
It wasn't enabled for neutron-tempest-iptables_hybrid and
neutron-ovn-tempest-ovs-master-fedora and that patch
enables it in both of those jobs.

Change-Id: I73240679055b943caf46646440f9c325cf21faf3
2021-06-14 08:24:41 +00:00
Rodolfo Alonso Hernandez
48af145d95 Add "nova:live_migration_events" flag to subnode in multinode CI job
Added "nova:live_migration_events" flag to subnode neutron.conf file in
"neutron-tempest-multinode-full-py3" CI job. That flag was missing in
the patch implementing this feature [1].

[1]https://review.opendev.org/c/openstack/neutron/+/766277

Change-Id: Idc938a1dc9de3ad77f558df4f4fb4ae5c3de3d21
Related-Bug: #1901707
2021-06-10 12:48:44 +00:00
Oleg Bondarev
730117ddb0 Switch neutron multinode jobs to ML2/OVS
After switch of the default Neutron backend to ML2/OVN
in devstack we need to set ML2/OVS for proper multinode
jobs explicitly.

This patch configures ML2/OVS as a backend in the
'neutron-tempest-slow-py3', 'neutron-tempest-multinode-full-py3',
'neutron-tempest-dvr-ha-multinode-full' jobs.

Change-Id: I4d59a42db3e50cb1cb156a46cac708425f641b25
2021-06-09 12:29:50 +00:00
Zuul
1ec3f46633 Merge "Add neutron-tempest-with-neutron-lib-master to the periodic queue" 2021-06-09 11:39:06 +00:00
Slawek Kaplonski
4de350a54a Switch neutron-rally-task job to ML2/OVS and skip "test_models_sync"
After switch of the default Neutron backend to the ML2/OVN
in the Devstack we had 2 rally jobs running actually with the
same Neutron backend.

This patch configures explicitly ML2/OVS as a backend in the
'neutron-rally-task' job so it is like it was before the change in
the Devstack repo.

In order to fix the CI, this patch also skips "test_models_sync" test
cases. Once [1] is fixed and released, we'll be able to create SQL
tables specifying the "_constraints_included" flag. When creating a
table, this flag should be set to "False" in order to be able to set
the "index" and "unique" parameters for each column in the table
definition, as we do now.

"test_update_router_admin_state" is excluded from
"neutron-ovn-tempest-slow" until LP#1890445 is fixed.

Set "test_restart_wsgi_on_sighup_multiple_workers" as unstable.

CI job "neutron-ovn-tempest-slow" has been set to non-voting until
LP#1930402 is fixed.

Related-Bug: #1929518
Related-Bug: #1890445
Related-Bug: #1930402
Related-Bug: #1930367

[1]https://github.com/sqlalchemy/alembic/issues/848

Change-Id: I38ed7931169434fecbbefa3762f51a522ef3c509
2021-06-02 17:19:54 +00:00
Lucas Alvares Gomes
c540f789af [OVN] Re-enable dstat for the OVN jobs
dstat has been replaced with pcp-dstat in DevStack.

Depends-On: https://review.opendev.org/c/openstack/devstack/+/791749
Change-Id: I680e534ecf7eb78e451a9a37959aab09b9091141
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2021-05-17 13:19:57 +00:00
Zuul
aa28685406 Merge "[OVN] Re-enable test_port_security_macspoofing_port for slow jobs" 2021-05-14 12:47:26 +00:00
Zuul
d5b5f1ac9c Merge "Configure branch on which tripleo jobs should be run" 2021-04-22 03:32:05 +00:00
Zuul
5d599b78be Merge "Add periodic jobs to test "nftables" binaries" 2021-04-21 18:04:10 +00:00
Slawek Kaplonski
02a6ddaa86 Add neutron-tempest-with-neutron-lib-master to the periodic queue
It will be useful to see tempest job with neutron-lib from master branch
to be sure that we will not break our gate once new neutron-lib release
will be made.

Change-Id: I996bf01765372a73069e5c565d98053b952f7121
2021-04-21 11:01:27 +02:00
Zuul
ba7cda8de3 Merge "[CI] Enable debugging iptables rule in the L3 agent" 2021-04-16 00:51:08 +00:00
Rodolfo Alonso Hernandez
f7d2c3608d Add periodic jobs to test "nftables" binaries
In order to check how the "nftables" binaries work with Neutron, two
new jobs have been added to the periodic queue:
- neutron-tempest-plugin-scenario-linuxbridge-nftables
- neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-nftables

In those two jobs, the binaries for "iptables", "ip6tables",
"arptables" and "ebtables" are replaced with the "nftables"
counterparts; by default, newer operating systems use the "nftables"
versions, providing the legacy API to the user but executing the
new packet handling in Netfilter.

Change-Id: Idec6d480886298f6d71b1dd649c9255ee6b7bebb
Related-Bug: #1508155
Related-Bug: #1922892
2021-04-12 09:48:11 +00:00
Slawek Kaplonski
f946773d1f Configure branch on which tripleo jobs should be run
Those jobs are run in the periodic queue and it seems that they are
using neutron from the last stable release instead of master.
So this patch sets explicitly master branch to be used.

Change-Id: Ibef0c6f33f68394797d623ced709e079fe6e22e0
Closes-Bug: #1923201
2021-04-09 17:01:20 +02:00
Lucas Alvares Gomes
07cf942015 [OVN] Re-enable test_port_security_macspoofing_port for slow jobs
This patch re-enables the test_port_security_macspoofing_port test on
the OVN slow jobs.

Change-Id: I5587992f54abc212e5a4662b0894c5847f784cdb
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2021-04-08 10:00:59 +01:00
Zuul
493286511d Merge "Add Python3 xena unit tests" 2021-03-29 22:06:18 +00:00
Zuul
21ee27c394 Merge "[OVN] Add single node tempest job with OVN master branch (exp. pipeline)" 2021-03-28 00:48:49 +00:00
b91ab3924e 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: Id13ad7e9dd8d40833680b0cf7b7612d648ba1ebe
2021-03-26 15:27:35 +00:00
Zuul
7e103f4d32 Merge "Switch neutron-grenade-dvr-multinode to be non voting temporary" 2021-03-25 02:08:51 +00:00
Lucas Alvares Gomes
1c2b7e1a58 [OVN] Add single node tempest job with OVN master branch (exp. pipeline)
This patch adds a new single node tempest job with OVN master branch to
the experimental pipeline because sometimes we need to test a feature
that is not yet included in the packaged version of OVN.

We do have a multi node job with OVN master branch in the experimetal
pipeline at the moment but, it's broken due to
https://review.opendev.org/c/zuul/zuul-jobs/+/762650. So it's no use at
the moment.

Depends-On: https://review.opendev.org/c/openstack/devstack/+/781971
Change-Id: I3f21ddc9ec97f2fa7ccb467893a37eb1b5342542
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2021-03-24 16:10:49 +00:00
Slawek Kaplonski
ae07a9d9f6 [CI] Enable debugging iptables rule in the L3 agent
It should helps us understand why in some (rare) cases rule to redirect
packets send 169.254.169.254:80 to port 9697 isn't installed in the
qrouter namespace.

Change-Id: I644ea3d6767db36bfe7f4122ec2c2afe9888dd07
Related-Bug: #1920778
2021-03-24 10:59:58 +01:00
Slawek Kaplonski
04e5a42f70 Switch neutron-grenade-dvr-multinode to be non voting temporary
This job is very unstable due to related bug. As we are just before
releasing new stable release, lets unblock our gate for now quickly by
making it non-voting and removing it from the gate queue temporary.

Change-Id: I971be39b50d521ea51090633ba465116a2118506
Related-Bug: #1920778
2021-03-22 16:09:06 +01:00
Lucas Alvares Gomes
2478dab841 [OVN] Set OVN_BUILD_FROM_SOURCE=True for ovs-master jobs
The OVN_BUILD_FROM_SOURCE was introduced by a patch in DevStack [0]
which allows for stacking OVN using packages instead of compiling it
from source (by default that flag is False). Now the jobs compiling OVN
(master ones) should include this flag.

Also since the logs are on different paths depending on how OVN is
installed, we are telling zuul to collect it properly for the compiled
version (this inconsistency is something that perhaps we should fix in
DevStack itself).

[0] https://review.opendev.org/c/openstack/devstack/+/763402

Change-Id: I46654762921aeec7603800005681239cdf202632
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2021-03-22 14:05:07 +00:00
Zuul
06c1bf2374 Merge "[OVN] zuul: make it clearer OVN+OVS packages are being used" 2021-03-13 12:49:01 +00:00
Zuul
241ead5639 Merge "Disable TLS proxy for periodic Fedora job" 2021-03-12 13:30:54 +00:00
Flavio Fernandes
24ac91b1b5 [OVN] zuul: make it clearer OVN+OVS packages are being used
As jobs install OVN (and OVS) from package [0], this change removes potentially
confusing lines.

For folks interested in launching zuul jobs using a specific repo and
branch of OVN, use gerrit [1] as a reference. And do not forget to reply
with the comment 'recheck experimental' to trigger the job.

[0]: https://review.opendev.org/c/openstack/devstack/+/763402
[1]: https://review.opendev.org/c/openstack/neutron/+/763403

Change-Id: Iad88a56ea48475cb59b6684c528bcbb0c811761d
2021-03-09 20:48:57 +00:00
Bernard Cafarelli
4f009a8ab2
Disable TLS proxy for periodic Fedora job
In this job (and this OS), deployment fails as ovsdb-server can not read
the tls certificates (it runs as openvswitch user and files are
user-readable only, owned by stack user). Disable tls-proxy service for
it, not needed anayway as it focuses on Neutron testing and not OVS.

Change-Id: Ibea391d503658ec738a60e34e19bdd6d809c845c
Closes-Bug: #1911128
2021-03-09 16:21:50 +01:00
Luigi Toscano
2bb4f5defd jobs: remove devstack-gate references
Not needed by native Zuul v3 jobs.

Change-Id: Ia1e7d35f0c81cc5df792f4227d8e091080af65f1
2021-03-08 11:56:42 +01:00
Jakub Libosvar
929a6a7007 ovn: Collect OVN logs
OVN logs have moved from /var/log/openvswitch that is collected by the
base job to /var/log/ovn

Co-Authored-By: Lucas Alvares Gomes <lucasagomes@gmail.com>

Change-Id: I1e9fe661f55e99ca509dfbc3c1334b358ddb7212
2021-02-25 11:31:39 +00:00
Slawek Kaplonski
adb3e943b1 Limit execution of the neutron CI jobs on some irrelevant file
This patch tries to make execution of the CI jobs in the Neutron
queue to be more smart. There is no need to e.g. run
linuxbridge scenario jobs job when only changed files in patch
are in e.g. the openvswitch agent module, or vice versa.

Change-Id: Ie33514da28991fa5952a1d8c289402ecb9ffee49
2021-02-22 09:43:21 +01:00
Zuul
fa5725f06c Merge "Make neutron-tempest-dvr-ha-multinode-full to be 2 nodes job" 2021-02-19 12:34:08 +00:00
Zuul
1641f75cae Merge "Move tempest job with neutron-lib master to the experimental queue" 2021-02-19 12:29:46 +00:00
Zuul
2abd57518a Merge "Revert "Temporary make rally job non-voting"" 2021-02-18 01:11:52 +00:00
Zuul
bd725020d8 Merge "[OVN] Re-enables neutron-ovn-tempest-slow job (voting)" 2021-02-17 19:20:57 +00:00
Slawek Kaplonski
af89eeed36 Revert "Temporary make rally job non-voting"
This reverts commit 9651c635b7ab412074b9366633a8bd20589ef91e.

Reason for revert: oslo.policy 3.6.1 have fix for our performance
degradation when secure rbac are used. So it is good to make rally
job voting again.

Change-Id: I6839a1c98ea00d827ba54e86864c3faa6bb3a031
2021-02-17 09:18:48 +00:00
Ghanshyam Mann
e22cc6e8cc Switch to new rolevar for run-temepst role
Tempest replaced the below rolevar for run-tempest role
- tempest_test_blacklist is replaced by tempest_test_exclude_list
- tempest_black_regex is replaced by tempest_exclude_regex

old name are still supported for compatiblity but we recommend
to switch to new one.

Depends-On: https://review.opendev.org/c/openstack/tempest/+/774835
Change-Id: I609c1714a4f630207562a4725456d3d7f87d698e
2021-02-17 08:38:47 +00:00
Lucas Alvares Gomes
a64d027da2 [OVN] Re-enables neutron-ovn-tempest-slow job (voting)
This job was moved to the experimental gate due to gate failures with
the multinode setup. Those failures are now fixed.

Change-Id: I4a5cb5d7085043b1a4e0e31bb793229a32290010
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2021-02-08 12:17:58 +00:00