421 Commits

Author SHA1 Message Date
Rodolfo Alonso Hernandez
19208ebdae [WSGI] Move all OVS jobs to use WSGI API module
All the ML2/OVS tempest jobs are now using the WSGI API
module, instead of the eventlet server.

Related-Bug: #2069581
Topic: eventlet-deprecation
Change-Id: I35d700885e6de0f1b92537789ae9819f8b21db0c
2024-07-09 12:16:03 +00:00
Zuul
8ee0ddadf6 Merge "Add wsgi tempest job for OVS and OVN" 2024-06-17 20:30:30 +00:00
elajkat
b352917461 Add wsgi tempest job for OVS and OVN
Add wsgi tempest job for OVN and OVS in the
experimental and periodic queue.

Depends-On: https://review.opendev.org/c/919725
Depends-On: https://review.opendev.org/c/openstack/devstack/+/922012

Change-Id: Ibe2e5960f7c5daebda2a8ca3b1f619b0d93b7bc9
2024-06-14 12:09:49 +00:00
Slawek Kaplonski
e1cf0f2d59 [CI] Enable OVN grenade job in the check and gate queue
As was agreed on the CI meeting [1], this patch moves
neutron-ovn-grenade-multinode job from the experimental queue to the
check and gate queues.
Now in check/gate there are 2 grenade jobs: one ovs-multinode job and
one ovn-multinode job.

To not increase number of jobs in the check/gate, this patch also moves
neutron-ovs-grenade-dvr-multinode job to the periodic (and experimental)
queue.

[1] https://meetings.opendev.org/meetings/neutron_ci/2024/neutron_ci.2024-06-11-15.02.log.html#l-18

Change-Id: I22d0f9a59bca6f412dcf30005678229a859d5e4c
2024-06-12 09:42:32 +02:00
Brian Haley
11027e3e1e Fix regex lines in zuul.d/* files
Commit 260c968118934 broke the gate by causing jobs
to not get run when it added RE2 compatibility for
irrelevant-files. Digging found that RE2 doesn't
support negative lookahead (and won't ever), so it's
impossible to replace the previous pcre filter with a
similar RE2 filter.

Instead of reverting to the original filter, which
is considered obsolete by zuul, this patch fixes the
issue by explicitly listing all files under zuul.d/
except the one that we actually want to trigger the
jobs: zuul.d/project.yaml.

Listing all the files in the directory for every job
is not ideal, and we may revisit it later, or perhaps
even reconsider the extensive use of irrelevant-files
in the neutron tree. This will have to wait for when
the gate is in better shape though.

[0] https://github.com/google/re2/issues/156

Related-bug: #2065821
Change-Id: I3bba89ac14414c6b7d375072ae92d2e0b5497736
2024-06-06 11:37:52 +05:30
eaca8a360f Add some swap to tox-cover job
As mentioned in the related bug we are seeing
hign memory usage in the job since sqlalchemy
bump to 2.0 and this leads to gate instability.
Adding some swap to handle this until the issue
is fixed.

Also reverts the concurrency reduction change[1]
that was done for this issue as that shouldn't be
needed now.

[1] https://review.opendev.org/c/openstack/neutron/+/920766
Related-Bug: #2065821

Change-Id: I33c4869c1d5230c0c8cc2f0dd4f6d071600bf220
2024-06-06 11:13:54 +05:30
Zuul
4769811451 Merge "Make openstack-tox-py311-with-sqlalchemy-master non-voting" 2024-06-04 12:18:48 +00:00
260c968118 Use RE2 compatible regex for irrelevant-files
Zuul has deprecated the usage of negative regex[1] and
reports WARNINGs when these are used.
This patch switches the branches regex to the supported
one.

[1] https://review.opendev.org/c/zuul/zuul/+/916141

Change-Id: I56a286cf33afb574436039128095e260539f63d9
2024-06-03 12:08:20 +05:30
Ihar Hrachyshka
fd7ebe2960 Make openstack-tox-py311-with-sqlalchemy-master non-voting
The job can be affected by any patch landed in neutron-lib; the latter
repo doesn't run the job at all though.

We can add the job to neutron-lib check pipeline too (see bug referred
below), but more generally, we shouldn't gate on unreleased libraries.

The job is still extremely useful, but as advisory signal to anticipate
upcoming breakages.

Related-Bug: #2067515
Change-Id: Ia0be288b794b11659a5c98e4bd7c12a97c958926
2024-05-31 11:20:02 -04:00
Zuul
c89b50c639 Merge "Remove the Windows OS libraries" 2024-05-21 19:40:11 +00:00
2beb20f92b Update grenade_from_branch for skip level jobs
Skip level jobs were wrongly upgrading from stable/2023.1.
As master is currently 2024.2, upgrade from branch should
be 2023.2, this patch fixes it.

Related-Bug: #2066221
Change-Id: I568ebb93bc009951ca113a09ee750982f580b40d
2024-05-21 11:49:47 +05:30
45b39b84e5 Switch to cirros uec image in singlenode jobs
Seen couple of kernel panic issues in these jobs
even with libvirt_disable_apic=True workaround set.
switch to cirros uec image to avoid these issues.

Related-Bug: #1939108
Change-Id: Ib7f50f53368e2aea86ec47f73a1f8f50d9aac3be
2024-04-22 18:52:44 +05:30
Zuul
bcf1f707bc Merge "Disable skip-level jobs in check queue" 2024-03-27 09:26:21 +00:00
Rodolfo Alonso Hernandez
5f0a9a10f6 Remove the Windows OS libraries
Windows OS was deprecated in 2023.2 and removed in this release
(2024.2), as documented in [1].

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

Related-Bug: #2015844
Change-Id: I502fd3ee76f70ced3579f9d3e40853723fe473f8
2024-03-27 07:20:20 +00:00
Brian Haley
882885b806 Update jobs based on testing runtime for 2024.2
Based on [0] only py39, py311 and py312 (non-voting) jobs
are in the testing runtime for 2024.2, updated relevant
files accordingly. Added timeout override for py312
similar to other versions.

[0] https://review.opendev.org/c/openstack/governance/+/908862

Change-Id: I6c3e94a88b7ef50b1fc74abe0ef4640ce3a68be3
2024-03-21 14:50:49 -04:00
Brian Haley
eebfe79f5e Disable skip-level jobs in check queue
During this release (non-SLURP), these jobs are now executed in the
"periodic" and "experimental" queues, but not the "check" queue.

Change-Id: If317cc0292e26339475192ce3bcca49ac5033e88
2024-03-15 18:01:54 -04:00
5b49c507ba [OVN][CI] Update OVS_BRANCH to be compatible with ovn main
Required since [1].

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

Closes-Bug: #2051845
Change-Id: If1744f0f3d9905ccbe920581c9f39774ce5d7517
2024-01-31 18:54:10 +05:30
70f9dd926f update OVS_BRANCH to be compatible with ovn main branch
Required since [1] included in ovn repo.

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

Closes-Bug: #2049488
Change-Id: Ia50937dd81a33da8297576e91aa69e1897899529
2024-01-16 13:04:19 +05:30
Zuul
a921d14d9a Merge "Revert "Disable mysql gather performance in jobs"" 2024-01-15 10:24:49 +00:00
8d7d6f154b [CI] Remove py310-with-sqlalchemy-master job
It's all uses are removed with the Depends-On.

Depends-On: https://review.opendev.org/c/openstack/neutron-lib/+/901009
Change-Id: Ifecd75eb80355c96caa4135ce6abe40ac62ba57b
2023-11-15 16:39:00 +05:30
Brian Haley
fb9437ca25 Use py311 for all neutron jobs
There are three job definitions here for testing
neutron with the master branches of other projects,
specifically neutron-lib, oslo, and ovsdbapp. As
neutron is no longer testing py310 in its master
gate, start using the py311 versions of these jobs
so we can move forward.

Also moved the sqlalchemy job to start using py311
as well.

Depends-on: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/899745
Change-Id: Iec1d5fcdfd8c85a3edb5bc9a399d44839fbc879a
2023-11-15 16:29:45 +05:30
Zuul
56e39eda07 Merge "Revert "Make job openstack-tox-py310-with-sqlalchemy-master non-voting temporary"" 2023-11-10 16:02:55 +00:00
618478d304 Revert "Make job openstack-tox-py310-with-sqlalchemy-master non-voting temporary"
This reverts commit e1b4a065c73ef7a97ac5451a3d8f60ba30e086a1.

Depends-On: https://review.opendev.org/c/openstack/requirements/+/900517
Reason for revert: Issue fixed in oslo.utils 6.3.0
Closes-Bug: #2042939

Change-Id: Ia8e97c6dd2ae60ddfd180e580830a263c473c576
2023-11-09 12:57:53 +00:00
Zuul
3bccc6ff45 Merge "Make job openstack-tox-py310-with-sqlalchemy-master non-voting temporary" 2023-11-07 17:35:11 +00:00
Slawek Kaplonski
e1b4a065c7 Make job openstack-tox-py310-with-sqlalchemy-master non-voting temporary
Related-bug: #2042939
Change-Id: I3eee48af327687455453ab6b8d5afb9e137b547c
2023-11-07 15:29:39 +01:00
49b83c0561 Update job overrides for Caracal release
Target jobs are updated for Caracal release[1],
Let's update job overrides as per it.

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

Change-Id: Id8bcf25004bb52f91a412872269ab6d93fb04d53
2023-10-27 10:16:59 +05:30
Brian Haley
4f0a35c28f Revert "Disable mysql gather performance in jobs"
This reverts commit 1d0335810d89ede47cf3b54614382cb25d1986ae.

Reason for revert: So we can look at a neutron DB
performance issue with devstack, see vPTG etherpad
for more info.

Change-Id: If2875caf9d14f1d13cee7e40b737e573252f0a7a
2023-10-23 21:02:38 +00:00
Zuul
849930ba5b Merge "Bump skip-level lower version to stable/2023.1" 2023-10-17 17:35:55 +00:00
Brian Haley
1a9907756e Bump skip-level lower version to stable/2023.1
During the 2024.1 release, the lower version of grenade "skip-level"
jobs should be stable/2023.1.

During this release (SLURP), these jobs are now executed in the
"check" queue as voting.

Change-Id: I72ddd7657d219734bf44af38fc2f75e29bbc9547
2023-10-13 14:16:50 -04:00
Rodolfo Alonso Hernandez
daa0d1c5a2 Restore the tempest nftables jobs in experimental and periodic queues
The job names were changed but not replaced in the
"neutron-periodic-jobs" template.

This patch is also adding new binaries to the nftables installation
role, that includes all the "-save" and "-restore" ones.

Closes-Bug: #2039027

Change-Id: Ia4c140af74db29f4e40299648f1b5091b4801b51
2023-10-11 13:27:17 +00:00
Jakub Libosvar
095a35fdd2 Use compiled OVN version v23.09.0
This is the latest stable OVN release. As per the git submodule
command the required OVS version is v3.2.0-20-g1d78a3f31. This OVN
version contains additional_chassis column it its schema that is
required for functional testing of [1].

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

Change-Id: Idb564c589bd8f790bfcacd1b665780834b8fc686
Signed-off-by: Jakub Libosvar <libosvar@redhat.com>
2023-09-25 10:10:38 -04:00
c930196dd8 [CI] Bump OVS_BRANCH in ovs/ovn source deploy jobs
Since [1] OVN/OVS source deploy jobs running with
OVN_BRANCH=main fails to compile ovn as this now
requires newer ovs commits from branch-3.2.

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

Closes-Bug: #2034096
Change-Id: I5247ce2b1a8606bde807a1744ed37daff04438f1
2023-09-05 10:28:38 +05:30
Slawek Kaplonski
78bc33d300 [Fullstack] Use new DB for each running test
Until now neutron fullstack tests which were run by the same worker were
using same DB but after test content of the DB was cleaned.
This could cause problems e.g. for default security group rules which
weren't created properly in second test run by the same worker.

To fix that issue patch [1] was proposed and merged some time ago. But
this didn't solve the problem so this patch is effectively reverting [1]
and proposing another solution which will make each fullstack test to
use own DB and run db migration script.

As running DB migration before every test makes this jobs to run a bit
longer than it took before, this patch also increases timeout for the
fullstack job(s) to 3h (10800 seconds).

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

Related-bug: #1983053
Change-Id: Ia261b4c62db9a99ef6eb161acb4609520e45d101
2023-08-30 12:16:51 +02:00
Rodolfo Alonso Hernandez
7848eb0bf9 Add "openstack-tox-py310-with-sqlalchemy-master" to check queue
This job will help us during the SQLAlchemy 2.0 migration.

Related-Bug: #2031646
Change-Id: I53c339d8a55b6f1cebb411821478bf19da4b5cba
2023-08-22 11:15:47 +00:00
Rodolfo Alonso Hernandez
72b5120ac2 Remove local CI job "tox-py311" superseded by "openstack-tox-py311"
Related-Bug: #2032183
Change-Id: Ib177410848b6962c38f34ed2264150381ac6c4f3
2023-08-21 13:56:34 +00:00
019d3421f2 Update Cirros to 0.6.2
Devstack already moved to it with [1] and it's working
fine, let's update in neutron jobs too.

[1] https://review.opendev.org/c/openstack/devstack/+/886162
Change-Id: I1f5cf34ad3e561670265caddbf2896d0a80fcada

Change-Id: I70144bfc30631a50d96058291947dc64787566ef
2023-08-01 12:15:15 +05:30
Zuul
ce5c60640c Merge "Add "openstack-tox-py310-with-sqlalchemy-master" CI job" 2023-07-13 13:48:59 +00:00
Slawek Kaplonski
32121ee638 Add unit tests periodic jobs to the experimental queue
We agreed to have all periodic jobs in the experimental queue also to be
able to run them quickly if needed. And it was like that for most of the
jobs but jobs which came to the periodic queue from templates defined in
[1] were missing in the experimental queue.
This patch adds them to the experimental queue too.

Also added irrelevant-files to tox-py311 as it was
missing.

Related-bug: #2025753
[1] https://opendev.org/openstack/openstack-zuul-jobs/src/branch/master/zuul.d/project-templates.yaml

Change-Id: I933cfd66c22aeb0048e1a7c4717ffdf499f5b63c
2023-07-12 10:50:47 +05:30
Rodolfo Alonso Hernandez
b2f1cc724a Add "openstack-tox-py310-with-sqlalchemy-master" CI job
This new job is added to the periodic and experimental queues.

Change-Id: I3fc5fca06cc6bf9d7d49935f54884a2ec4d95e87
2023-07-07 22:52:04 +00:00
Zuul
6b9333d8df Merge "Switch fullstack/functional fips jobs to 9-stream" 2023-07-05 19:40:10 +00:00
Zuul
6245862423 Merge "[ovn][ipv6] Add some more tests to skiplist" 2023-07-04 19:34:40 +00:00
42ae944870 Switch fullstack/functional fips jobs to 9-stream
Master no longer support py3.6, so let's switch
these jobs to CentOS 9-stream which includes py3.9.

Also dbcounter[1] is not installable on CentOS 8-stream
and hence these jobs are currently broken.

Other fips jobs already switched with[2].

[1] https://review.opendev.org/c/openstack/devstack/+/839820
[2] https://review.opendev.org/c/openstack/neutron/+/833173

Closes-Bug: #1976323
Change-Id: Ie4e807b1490d59390316ec20b499b7676acfe410
2023-07-03 07:46:19 +00:00
Slawek Kaplonski
39e167ab27 Add neutron-tempest-plugin-linuxbridge job to the periodic queue
It was agreed on the Neutron CI meeting [1] that we will remove
this job from check and gate queues and add it to the periodic queue
to run it once a day.
Linuxbridge agent is marked as experimental since at least one cycle
already and this scenario job is getting less and less stable now so
it's probably time to move it out from our gate.

[1] https://meetings.opendev.org/meetings/neutron_ci/2023/neutron_ci.2023-06-27-15.00.log.html#l-127

Change-Id: Ic9a808da8819c0cdbb4af6570fade5be2a9dacba
2023-06-28 12:57:32 +02:00
add2a6eb8c [ovn][ipv6] Add some more tests to skiplist
This is same to already skipped test in [1][2].

[1] https://review.opendev.org/c/openstack/neutron/+/874112
[2] https://review.opendev.org/c/openstack/neutron/+/885074

Related-Bug: #2007166
Change-Id: Ie93833538056edeb4da4c38e5139390f1c124724
2023-06-28 13:19:52 +05:30
Zuul
ad81687e29 Merge "gate: bump ovn to the latest LTS release (22.03)" 2023-06-06 18:34:27 +00:00
Ihar Hrachyshka
1f5f8965c3 gate: bump ovn to the latest LTS release (22.03)
21.03 is no longer supported upstream. We should try to stick to LTS
releases of OVN if possible.

The patch locks the version as the latest git commit in branch-22.03
(ovs is also locked to the corresponding submodule version). This is
done to include a just merged fix for protocols used for ipv6 address
configuration (ra, na, mld*).

Once 22.03.3 is tagged in OVN repo, we can switch to it.

Depends-On: Id1328d7cba418fa7c227ae9db4fe83c09fd06035
Change-Id: I2a633741d5e95f0e46a6b33198903f0f44d449b6
2023-06-02 13:10:10 +00:00
Zuul
3ebccb3c55 Merge "Raise the timeout of "neutron-ovn-rally-task" to 9000" 2023-06-01 19:21:37 +00:00
2a8c7ff4f0 [ovn][ipv6] Skip test_update_router_admin_state
This is same to already skipped test in [1].

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

Related-Bug: #2007166
Change-Id: Iafc596e1ff13c7efde5c7da417db85bb562aa3f7
2023-06-01 21:25:45 +05:30
Rodolfo Alonso Hernandez
b6ce722324 Raise the timeout of "neutron-ovn-rally-task" to 9000
Closes-Bug: #2022070
Change-Id: Iffab13b68bcd875cf3d3d1db2be2d44d96bf3663
2023-05-29 08:11:36 +02:00
1d0335810d Disable mysql gather performance in jobs
We seeing random issue in CI as mentioned
in the related bug. As per the tests done
in [1] seems disabling it make the issue
appear less frequent. Let's try it atleast
until the root cause is fixed.

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

Related-Bug: #2015065
Change-Id: I2738d161d828e8ab0524281d72ed1930e08e194b
2023-05-19 14:59:29 +05:30