105 Commits

Author SHA1 Message Date
ca73925f42 Pin OVS_BRANCH to working commit
With [1] OVN main branch compilation fails, until
main branch is fixed to work with ovs master, let's
ping OVS_BRANCH to working commit.

[1] https://github.com/openvswitch/ovs/commit/b8bf410

Closes-Bug: #1999154
Change-Id: I3453aa86cab4997ea22d0f8cb5c107871e171f67
2022-12-08 20:52:22 +05:30
Zuul
77fc7cd285 Merge "Add tempest job which will run on the oldest Ubuntu release" 2022-11-23 04:44:31 +00:00
Slawek Kaplonski
01b11df1b5 Add tempest job which will run on the oldest Ubuntu release
As was discussed in the TC meeting during last PTG [1] we should run
at least one tempest job on the previosly supported Ubuntu version to
make sure that current release can work on older operating system and
that upgrade process can be as smooth as possible for operators.

[1] https://etherpad.opendev.org/p/tc-2023-1-ptg#L428

Depends-On: https://review.opendev.org/c/openstack/tempest/+/861110
Depends-On: https://review.opendev.org/c/openstack/rally-openstack/+/862219
Depends-On: https://review.opendev.org/c/openstack/devstack/+/862479

Change-Id: I8164d76b28904cde88f4de7da08d647f6bd98a10
2022-10-24 15:35:22 +02:00
Slawek Kaplonski
99339a9704 Clean "ovn ipv6 only" jobs templates
We had 2 different kinds of "ovn ipv6 only" jobs defined:

- neutron-ovn-tempest-ovs-release-ipv6-only
- neutron-ovn-tempest-ipv6-only

First of them was running only smoke tempest tests and we had it
in our periodic queue.
Second was run in the check and gate queues and was running all tempest
networking related tests.
That second one was also installing OVS and OVN from sources instead of
the packages provided by the distro.

This patch unifies those 2 jobs so we now have
abstract "neutron-ovn-tempest-ipv6-only-base" and derived from that
2 different jobs:

- neutron-ovn-tempest-ipv6-only-ovs-release - used in check/gate queue,
- neutron-ovn-tempest-ipv6-only-ovs-master - used in periodic queue

Additionally this patch removes "neutron-ovn-tempest-ovs-release" job
from the periodic queue as it is now in the check/gate queue.

Change-Id: I355c5eaca31e12bf980794b1867e1ca39aea96e0
2022-10-11 16:30:00 +02:00
Zuul
98d76ec6b4 Merge "Add "neutron-ovn-tempest-ovs-release" job to the check and gate queue" 2022-10-11 09:01:08 +00:00
Slawek Kaplonski
4551718bad Add "neutron-ovn-tempest-ovs-release" job to the check and gate queue
This job was run only in periodic queue until now but to avoid issues
like described in the related but, we should have this job run in
the check/gate queues as this is job which almost directly inherits from
the "tempest-integrated-networking" defined in the tempest.

Related-Bug: #1991962
Change-Id: I0ceaa9667a9218cb12a0f3b666a68d4bddeb6911
2022-10-10 14:24:50 +02:00
Rodolfo Alonso Hernandez
1920f2a4e3 Add new oslo master CI jobs to the periodic queue
Added three new jobs:
* neutron-functional-with-oslo-master
* neutron-ovs-tempest-with-oslo-master
* neutron-ovn-tempest-ovs-release-with-oslo-master

These jobs will be executed in the "periodic" queue and will test the
Neutron repository with the oslo libraries installed from source
(master branch).

Closes-Bug: #1993498
Change-Id: Ie89a623a81642ab900a0ddb4c254319f6dcf049d
2022-10-06 07:38:01 +02:00
Rodolfo Alonso Hernandez
7b15ad9433 Bump minimum OVN version to v21.06.0
Bumped minimum OVN version of "neutron-ovn-grenade-multinode" job
to v21.06.0

Now "neutron-ovn-tempest-ipv6-only" and "neutron-ovn-rally-task" will
use this specific verison too, instead of using the default OS package
(in Ubuntu 20.04, the released package is v20.03.2).

Related-Bug: #1990229
Change-Id: I077a8409773ca4ad057cb45d446971a2c3a3703f
2022-09-30 04:23:26 +02:00
0b2844b8a8 Add .pylintrc to irrelevant-files for non pep8 jobs
Only pep8 job is required to run on .pylintrc
changes, add .pylintrc to irrelevant-files for
all other jobs.

Change-Id: I6938dea3ee5e919a51083d50b19d1e3b54cda1db
2022-09-27 10:51:50 +05:30
f7578e51f2 Collect ovn/ovs logs in singlenode jobs
ovs/ovn logs missing from some jobs, collect
these as these helpful when debugging issues.

Change-Id: If6fa5407bfd0eb43072aa7662a631295d81db40f
2022-09-14 20:26:32 +05:30
Slawek Kaplonski
c72b3d1f38 Switch Fedora based job to Centos Stream
Now it's better to use Centos Stream than Fedora as it should be more
stable and closer to RHEL really. So lets switch Fedora based
periodic/experimental job to the Centos 9 Stream.

Change-Id: I8aa5d563134b988afb6369a59fa76d44e1f6db6e
2022-07-27 12:36:45 +02:00
Slawek Kaplonski
ff1c6936b8 Remove linuxbridge mech driver from the ovs based jobs
Change-Id: I76e2b2c6f2ece72143233043be19ac2cee67303b
2022-07-19 11:03:37 +02:00
Sean Mooney
c5807cbcf5 update neutron-linuxbridge-tempest for bug 1980948
change Ib18efa3f472736b58c8967847b1061da0e3897d7
made linuxbridge an experimental feature but
it did not enable linuxbridge in the linuxbridge jobs

this job is used by both nova and devstack and perhaps
other project on an as needed basis. As a result
this is causing gate failures in neutron when some files
are modifed such as the netwroking module or vif.py files

This change enabled linux brdige in the base linux bridge
job and removes an old duplicate job defintion since
nova and devstack now use the new name.

Change-Id: I290027fbac47bd1df7bcdd08c405db107ed63db0
Closes-Bug: #1980948
2022-07-15 16:33:09 +01:00
Zuul
2a66dda182 Merge "Revert "[fips jobs] blacklist AttachInterfacesTestJSON tempest test"" 2022-07-04 08:56:44 +00:00
Elvira García Ruiz
a630fc79a5 Revert "Temporary blacklist test_reboot_server_hard in OVN IPv6 job"
This reverts commit 7c95150c84d77f3eae69def5b1328243ccec248a.

Reason for revert: The bug related to this change has been fixed for a while: https://bugs.launchpad.net/neutron/+bug/1906490

Change-Id: Icd8208d63be413f45fcd0c8652ab02a3a53ffc3a
2022-07-01 11:51:48 +02:00
f879d1f957 Revert "[fips jobs] blacklist AttachInterfacesTestJSON tempest test"
This reverts commit a1384678b88fc7ffb5eeccfbfc0da16a9cb8910a.

Reason for revert: https://bugzilla.redhat.com/show_bug.cgi?id=2092856 fixed in libvirt-8.4.0-3.el9 and available in CentOS 9-Stream.

Change-Id: I2f33543fa7ee65ce3d25f70af49a18b69f799aec
Related-Bug: #1979047
Related-Bug: rhbz#2092856
2022-07-01 05:39:14 +00:00
a1384678b8 [fips jobs] blacklist AttachInterfacesTestJSON tempest test
libvirt-8.4.0-1.el9 caused a regression which resulted into
AttachInterfacesTestJSON and test_hotplug_nic tempest test to
fail, until fixed libvirt version is available in CentOS 9-Stream
repos, let's exclude these tests from jobs running
on CentOS 9-Stream.

Related-Bug: #1979047
Related-Bug: rhbz#2092856
Change-Id: Ia97fc084dcbdfbced0c2cc79f127a97b4d97d1e3
2022-06-21 12:55:38 +05:30
51360b5a08 Set nslookup_target in FIPS jobs
FIPS jobs reboot nodes after enabling FIPS,
but unbound service takes some time to
be ready and until then DNS resolution fails.
[1] added support to check DNS is ready after
reboot, in order to utilize it we need to
set "nslookup_target" job var.

[1] https://review.opendev.org/c/zuul/zuul-jobs/+/844704

Closes-Bug: #1978938
Change-Id: Ia39753f7cc533ba9959136b95bc3401d2f34cad4
2022-06-20 20:59:53 +05:30
3d54f965a9 Skip non-functional jobs on functional roles/playbooks changes
Since these jobs do not use roles and playbooks for
configuring functional jobs let's add these
to irrelevant-files.

Needed By:- https://review.opendev.org/c/openstack/neutron/+/843252.

Change-Id: I79dcf96a2b0fdaeeb2e81501f2a546e5fadffa35
2022-05-31 11:32:39 +05:30
Slawek Kaplonski
35fd49c014 Remove requirements.txt from irrelevant files in CI jobs
Changes in requirements.txt file should trigger all our CI jobs
to make sure that new requirements aren't breaking anything for sure.

This patch also removes test-requirements.txt from the irrelevant files
of the functional and fullstack jobs as those jobs are using
test-requirements.txt too so changes in that file should trigger those
jobs as well.

Change-Id: I150e80f1fac9c570bed39b2709635b73c57077e0
2022-05-27 12:07:58 +02:00
Slawek Kaplonski
e41b8d0a94 Switch fips scenario jobs to Centos stream 9
Those jobs from periodic pipeline were run on Centos Stream 8
so far but lets switch them to new Centos Stream 9.

Change-Id: I9d87d1c6d2c5415a4bd602cb6968db4d155f15e1
2022-04-07 14:08:10 +00:00
a98d96f4ef Switch to cirros uec image in ovn tempest jobs
Seen couple of kernel panic issues in these jobs,
switch to cirros uec image to avoid it.

This is already done in non-scenario jobs defined
in neutron-tempest-plugin[1].

[1] https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/821067

Change-Id: Ic57f828c08f1793226759baedb3eb2f646191e1f
2022-02-24 17:27:51 +05:30
Zuul
5498d4be42 Merge "Add FIPS enabled scenario jobs" 2022-02-07 20:01:24 +00:00
ca8b40403f Update irrelevant-files to skip run of untouched jobs
Currently when a job config is updated, all other
jobs are triggered unnecessary.

This patch updates irrelevant files to ignore changes
in all job config files except zuul.d/project.yaml(as
this contains the list of jobs to run not their definitions).
With this only the jobs whose definitions are updated(along with
it's child jobs) will be triggered because by default
match-on-config-updates is set to true for a job[1] and
that ignores files or irrelevant-files for a job inclusion.

[1] https://zuul-ci.org/docs/zuul/latest/config/job.html#attr-job.match-on-config-updates

Change-Id: Ida7c3ac974058769eb7ff901715e9b17a998bf79
2022-02-03 12:47:09 +00:00
722fca928d Update irrelevant-files for non scenario jobs
Update irrelevant-files for non scenario jobs to
avoid unnecessary jobs, like skip ovs/linuxbridge
jobs on ovn related changes, same for non-ovn jobs.

Also skip running these jobs on functional and
fullstack tests changes.

Change-Id: Id127675793cfd3b9d4e7e328fde64f8595c7b00d
2022-01-27 18:15:26 +05:30
Ade Lee
a1a895a6e5 Add FIPS enabled scenario jobs
Add ML2/OVS and ML2/OVN tempest jobs with FIPS enabled.
Right now, the FIPS jobs run on Centos 8 stream.

For now those jobs are added to the experimental queue but
we should think about adding them to periodic maybe.

Co-Authored-By: Slawek Kaplonski <skaplons@redhat.com>

Depends-On: https://review.opendev.org/c/openstack/tempest/+/822560
Change-Id: I974c7d04d13a87bbbd4de6164578724a2cfd85cc
2022-01-26 10:59:40 +00:00
770b64b90e Fix tunnel_types in ml2 ovs sample config
Without this port binding fails with below error:-

Network <nw> is type of vxlan but agent <host> or mechanism
driver only support ['gre', 'local', 'flat', 'vlan'].

Also fix permissions of /opt/stack/devstack in ml2 ovs testing
documentation and added these files to irrelevant-files to skip
running functional jobs as these files are not used in those jobs.

Related-Bug: #1934466
Change-Id: I3ca2ea19bf5e316e580669caab4c607447034a11
2021-11-23 20:52:01 +05:30
Zuul
6a73a362c5 Merge "Remove some scenario jobs from the check and gate queues" 2021-11-17 23:20:56 +00:00
Slawek Kaplonski
5357689002 Remove some scenario jobs from the check and gate queues
After discussing this topic again during the PTG I spent some time
checking our scenario jobs which runs in the check and gate queues.
After analysis this patch proposes to:

* remove neutron-ovs-tempest-slow job from both check and gate queue as
  slow tests are already run also in the
  neutron-ovs-tempest-multinode-full job,
* remove neutron-ovn-tempest-slow job from both check and gate queue as
  slow tests are already run also in the
  neutron-ovn-tempest-ipv6-only job - of course this job is using IPv6
  instead of IPv4 but I don't really think it's big issue in that case,
  neutron-ovn-tempest-slow job was multinode job, unfortunately
  neutron-ovn-tempest-ipv6-only is single node job and for now it isn't
  possible to make ipv6-only job to be multinode job so we will keep it
  like single node job and hopefully move to be multinode job when zuul
  will provide required data in the job's inventory,
* move neutron-ovn-tempest-ovs-release and
  neutron-ovn-tempest-ovs-release-ipv6-only jobs to periodic queue - I
  think that running those tests once per day should be enough.

Additionally this patch removes definition of the neutron-ovs-tempest-slow
and neutron-ovn-tempest-slow jobs are those jobs aren't used anywhere now.

Change-Id: I657881c319d425470277885545240d6a8b66a1f6
2021-11-17 11:46:17 +01:00
elajkat
e68d89c3d4 Recheck irrelevant files
Change-Id: I1b5773d4ba02298f360f3ee1ae3e5de6479391e9
2021-11-04 12:02:00 +01:00
Zuul
280036f070 Merge "CI: add experimental jobs to be executed with n-lib master" 2021-10-18 13:15:47 +00:00
elajkat
8acf7ff096 CI: add experimental jobs to be executed with n-lib master
Add the following jobs to the experimental queue to test with
neutron-lib master:
- neutron-ovs-tempest-with-neutron-lib-master
- neutron-fullstack-with-uwsgi-with-neutron-lib-master
- neutron-functional-with-uwsgi-with-neutron-lib-master

Change-Id: I12c2381eef365f1249a3779685112cb682d752ee
2021-10-11 15:47:09 +00:00
Slawek Kaplonski
a18efdae26 Rename OVN's "master" branch to "main"
In the OVN repo [1] there is no "master" branch anymore.
There is "main" instead and that patch reflects that change in
the Neutron repo.

[1] https://github.com/ovn-org/ovn

Change-Id: Ia666e78b748567a63484752c99856c46c22630ec
2021-10-06 14:47:26 +02:00
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
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
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
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
Zuul
ba7cda8de3 Merge "[CI] Enable debugging iptables rule in the L3 agent" 2021-04-16 00:51:08 +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
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