410 Commits

Author SHA1 Message Date
4fa463adf7 [Stable Only] Switch to branched linux bridge job
Change-Id: I57e43a828462d72859d6830f26007849874a58d7
2024-09-09 18:01:41 +05:30
Brian Haley
0afdfb0ad5 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

Conflicts:
    zuul.d/base.yaml
    zuul.d/grenade.yaml
    zuul.d/job-templates.yaml
    zuul.d/project.yaml
    zuul.d/rally.yaml
    zuul.d/tempest-multinode.yaml
    zuul.d/tempest-singlenode.yaml

Related-bug: #2065821
Change-Id: I3bba89ac14414c6b7d375072ae92d2e0b5497736
(cherry picked from commit 11027e3e1ef9a58d5b2faa575a3764bd33cd2a08)
2024-08-01 11:40:18 +02:00
Zuul
22b502da1a Merge "[stable/2024.1 only] Drop -master jobs" into stable/2024.1 2024-07-30 16:34:27 +00:00
41f0e9ad04 [stable/2024.1 only] Drop -master jobs
Similar to previous stable branches, drop these
jobs as they only make sense for master branch.

Change-Id: I81dde474be6027cd8548dcbfcd7b3f74cf3e00c2
2024-07-30 17:32:48 +05:30
28466f849c [2024.1 only] Switch to 2024.1 neutron-tempest-plugin jobs
Change-Id: I3364f4880828f5153804f42d3fba7d9579e2838b
2024-07-30 10:23:29 +05:30
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
Rodolfo Alonso Hernandez
4bac350f68 Remove "neutron-ovn-tempest-ovs-release-ubuntu-old" job
Neutron is no longer tested in "Ubuntu Focal".

Closes-Bug: #2017500
Change-Id: I16b40c4b0a67370721a125ea377f483c7c08efa0
2023-04-28 14:15:45 +00:00
853dc2570d Add py39 jobs to tox override template
With [1] openstack-tox-py39 jobs are enabled
for 2023.2 release, this patch adds the job
to tox override template.

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

Change-Id: I6b60a46f73ae4db86c2cefb6248b9b5bd3539ac5
2023-04-25 15:50:05 +05:30
Zuul
1acc7eab2a Merge "Fix parent of neutron-ovn-tempest-with-uwsgi-loki" 2023-04-25 08:58:47 +00:00
2cafe0a9c4 Revert "Move to python3.9 as minimal python version"
This reverts commit f93c9be1c1058e210b551d7200882aa983c2332a.

Reason for revert: tooz bump is reverted with [1] and that unblocks
py38 jobs, other projects still rely on py38 for some functions and
neutron due to py39 constraints fails to install there. Until next
steps are clear for py38 support in 2023.2 let's revert.

[1] https://review.opendev.org/c/openstack/requirements/+/881329
Change-Id: Ibf6e4bb784c6e26a2e413e45ccc2e8e5269fd562
Related-Bug: #2017478
2023-04-25 04:25:57 +00:00
f93c9be1c1 Move to python3.9 as minimal python version
2023.2 release is targetting python3.9 as
minimal testing rutime[1]. openstack-tox-py38
job started to fail as libraries(like tooz) already
dropped py3.8 support.

This patch updates neutron py3 override job template
and setup.cfg to reflect the same.

[1] https://review.opendev.org/c/openstack/governance/+/872232

Closes-Bug: #2017478
Change-Id: I3ebbbd46a284b2f96172a90427b355f3ccd0c098
2023-04-24 12:21:21 +05:30
Zuul
47d070c71e Merge "Run master jobs only on master branch" 2023-04-20 16:02:56 +00:00
Zuul
137e3669ea Merge "Run periodic jobs in experimental queue too" 2023-04-17 13:57:32 +00:00
340fd3cfe7 Run master jobs only on master branch
Add branches: ^master$ so master only jobs
do not run on stable branches.

Cleanup of these jobs will still be required(like [1])
once stable branches are cut. This patch will just
ensure these jobs run only on master branch.

[1] https://review.opendev.org/q/topic:drop-master-jobs

Change-Id: Iad529caa693877c32357142859979f5cd601ee2c
2023-04-17 11:17:49 +00:00
706a0e0268 Fix parent of neutron-ovn-tempest-with-uwsgi-loki
Missed in [1], also drop reference of
neutron-tempest-with-uwsgi-loki from docs.

Also set NEUTRON_DEPLOY_MOD_WSGI: false for
parent ovn job[2].

[1] https://review.opendev.org/c/openstack/neutron/+/797051
[2] https://bugs.launchpad.net/neutron/+bug/1912359

Change-Id: If865a863971bb655ddc59a5237c4d1e57e46e407
2023-04-17 16:44:07 +05:30
73ac4510c7 [grenade] Collect ovn services logs
Would be useful investigating issues.

Related-Bug: #2015364
Change-Id: I5ef00b1150ebc4bbf03e1c9f192cf0cb884d0c08
2023-04-17 12:26:39 +05:30
2364327bd1 Run periodic jobs in experimental queue too
It was done in past with [1] but since then
list diverged again.

To avoid same happening again used yaml
aliases for periodic jobs. So from now
any job added to periodic queue will
also be added in experimental queue
automatically.

neutron-experimental-jobs template will
be used for experimental only jobs.

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

Change-Id: I551a5095429ca949e6886a98020c4ddd072de862
2023-04-14 21:30:53 +05:30