1803 Commits

Author SHA1 Message Date
Ihar Hrachyshka
86ddcd2fa5 refactor: Remove unused code from utils and tests
Since Iaca6fd3e6ed3c64ab3ca22817ad461479ecfa189, _verify_http_connection
is no longer used anywhere. Its removal also exposes two more utils
functions that are also not used anywhere.

Change-Id: I88423b89f30ef2c4cb4738bbee1246e019796d73
2024-09-09 12:02:08 -04:00
Zuul
f70313a236 Merge "zuul: remove obsolete job definitions" 2024-09-09 15:51:55 +00:00
Zuul
bd83688c8a Merge "Log console output on con.test_connection timeout" 2024-09-09 15:51:53 +00:00
Ihar Hrachyshka
3c3eace3e5 Log console output on con.test_connection timeout
When a test fails, it's helpful to see what was on the console when it
did. For example, if `nc` failed to start.

Change-Id: I36d1cd5a04691c09fb0d7c330444ae4a50bfe264
2024-09-06 13:04:43 -04:00
Zuul
bda354c8aa Merge "Add tests for the 'trusted' attribute in port resource" 2024-09-06 15:46:47 +00:00
Zuul
c62d9d2cc7 Merge "Test metadata query over IPv6 only network with OVS and LB" 2024-09-06 10:31:51 +00:00
Zuul
11fe004764 Merge "refactor: don't require host= for check_connectivity" 2024-09-05 22:17:06 +00:00
Zuul
1f538b5551 Merge "Revert "Switch networking-sfc job to be run with eventlet"" 2024-09-03 23:08:10 +00:00
Zuul
4ec36ba92c Merge "Update snat_rules_apply_to_nested_networks with ovn details" 2024-09-03 23:08:08 +00:00
Ihar Hrachyshka
9044cdf320 zuul: remove obsolete job definitions
I believe the transition noted in the TODO has been completed.

Change-Id: Icb72a455f73ea87fff527b3cecb8d0c46a19211d
2024-09-03 12:09:58 -04:00
Ihar Hrachyshka
2f8c95653a Switch enforce-scope job to ovn
OVN is the default driver now. There is nothing specific to ovs driver
in this job, I think.

Change-Id: Iec19280e587b82b27b64805289c573e74ef5a84a
2024-09-03 12:04:58 -04:00
Slawek Kaplonski
bccb6008c1 Revert "Make neutron-tempest-plugin-designate-scenario non voting"
This reverts commit 7c4473d55c31f147154cc60487859e5db05ab5e9.

Reason for revert: Should be fixed on the Designate side with
                   the Depends-on patch.

Depends-On: https://review.opendev.org/c/openstack/designate/+/927792

Change-Id: If549f21a38def48d094adea6cbfaa67f1855da17
2024-09-03 14:27:30 +00:00
Ihar Hrachyshka
9881eff48c Update snat_rules_apply_to_nested_networks with ovn details
Related-Bug: #2051935
Change-Id: I3f1d5083429308b18cc2b4a04ffa938de20f528d
2024-09-03 14:19:49 +00:00
Slawek Kaplonski
65b00c0ee0 Add tests for the 'trusted' attribute in port resource
This patch adds admin API tests for the trusted attribute of the port
resources. Tests are checking if port created with 'trusted' attribute
set have it set correctly in 'trusted' attribute and in the
binding:profile. Second test checks the same but using update port API
call.

Depends-On: https://review.opendev.org/c/openstack/neutron/+/926068

Related-Bug: #2060916
Change-Id: Idcadaed240f156312fbe38eb9b20c9699eea3282
2024-09-02 15:32:43 +02:00
Rodolfo Alonso
444a68e7ea Revert "Switch networking-sfc job to be run with eventlet"
This reverts commit c1fe2269e529ef8de9fb3ffc597494537ae6ad40.

Reason for revert: The issue reported and fixed in the related
patch is addressed and solved in [1][2].

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

Depends-On: https://review.opendev.org/c/openstack/neutron/+/926922

Change-Id: I483f0b36e2a00afee5e95c54659e0f831be63732
Closes-Bug: #2068727
Related-Bug: #2077790
2024-09-02 10:38:32 +00:00
Ghanshyam Mann
7c4473d55c Make neutron-tempest-plugin-designate-scenario non voting
neutron-tempest-plugin-designate-scenario is failing 100%
with the designate new RBAC
- https://review.opendev.org/c/openstack/neutron/+/926085

This job is non voting on neutron side but voting on designate
side. And merging the requirement change
(https://review.opendev.org/c/openstack/requirements/+/925464),
will break the designate gate.

Making this job non voting for everyone until we figure out the
root cause of this failure.

Related-Bug: #2078518
Change-Id: If0f521a74ce075b408b5495a0144f01e3bcbc818
2024-08-30 13:02:21 -07:00
Ihar Hrachyshka
279eea9c13 Use ovs and ovn from packages
Change-Id: I32f0eff348f9da6a223624051c2c3856b4999d63
2024-08-30 13:04:37 -04:00
Zuul
5a98d921fe Merge "Implement nested snat validation test scenario" 2024-08-29 09:30:09 +00:00
Zuul
e2cf5ab8c3 Merge "Remove unstable_test from FIP test_east_west" 2024-08-28 23:43:20 +00:00
Zuul
1448d18a71 Merge "[pagination tests] Do not fail on zero resources" 2024-08-28 23:08:15 +00:00
Ihar Hrachyshka
889566aa97 Implement nested snat validation test scenario
It's disabled for ovn because it's not, yet, implemented for the driver.

See: https://review.opendev.org/c/openstack/neutron/+/926495

(The feature also requires special configuration for the driver that we
probably won't enable in the gate. This can be discussed though.)

Related-Bug: #2051935
Change-Id: Ie2e49a53857009446e22300e2fff292355cef058
2024-08-26 19:34:36 -04:00
Zuul
876d5b9850 Merge "Revert "Make neutron-tempest-plugin-sfc job non-voting temporary"" 2024-08-26 21:30:23 +00:00
Slawek Kaplonski
8a74ef3259 Remove unstable_test from FIP test_east_west
Depends-On: https://review.openstack.org/#/c/618750/

Change-Id: I47cc5656ea2e1e6e085d4d6602dbc76f87463cc3
Related-Bug: #1717302
2024-08-26 16:15:25 -05:00
Ihar Hrachyshka
2d66355407 refactor: don't require host= for check_connectivity
When ssh_client is passed, the argument is not used.

Change-Id: Ibf73130fbf82c2ed85e16b3f69aacbc2930efb3d
2024-08-26 12:48:07 -04:00
a8c221ca48 [pagination tests] Do not fail on zero resources
Since the tests running in parallel, when resources
are deleted by concurrent tests, GET call can return
0 resources, adjust tests to not fail when there are
0 items returned.

This is in continuation of previous patch[1].

[1] https://review.opendev.org/926201

Related-Bug: #2076328
Change-Id: I37c1a3855cb5c37aadec5cda26c89cd3f99e074f
2024-08-26 17:04:10 +05:30
c37caf4b6d Revert "Make neutron-tempest-plugin-sfc job non-voting temporary"
This reverts commit 74a78a4b4d7a966c67bab323191c3658ef943c58.

Reason for revert: Bug #2068727 resolved by switching back to eventlet.

Change-Id: I5d979a7313ab24d8b9101a37a3ed8d080569d7c3
Related-Bug: #2068727
2024-08-26 04:05:41 +00:00
Zuul
20dec4e823 Merge "Switch networking-sfc job to be run with eventlet" 2024-08-22 19:32:18 +00:00
Slawek Kaplonski
c1fe2269e5 Switch networking-sfc job to be run with eventlet
It seems that sfc job is failing due to some RPC message timeouts when
running Neutron with uwsgi so lets switch it to the eventlet for now to
make that scenario job to be green finally.

Related-bug: #2068727
Change-Id: I2d13095bdc57cf1c5d8d1c9a90e4ca862094c0c5
2024-08-22 16:35:51 +02:00
Zuul
54e4ebe02d Merge "Test metadata query over IPv6 only network" 2024-08-22 02:54:04 +00:00
Miguel Lavalle
4a0b2343d7 Test metadata query over IPv6 only network with OVS and LB
This change enables the testing of querying the metadata service over an
IPv6 only network

Depends-On: https://review.opendev.org/c/openstack/neutron/+/922264

Change-Id: I56b1b7e5ca69e2fb01d359ab302e676773966aca
Related-Bug: #2069482
Closes-Bug: 2076916
2024-08-20 17:16:42 -05:00
0274381d31 Filter resources in pagination tests to avoid random failures
When running tempest with higher concurrency, pagination tests
randomly fails as returned resources also include resources
created from other concurrent tests.
Filtering the returned results with names should help.

Closes-Bug: #2076328
Change-Id: I72de57cc382bb06606187c62b51ebb613f76291c
2024-08-14 20:53:03 +05:30
Miguel Lavalle
e0d03fc6b2 Test metadata query over IPv6 only network
A test case is added to test querying the metadata service over an IPv6
only network

Depends-On: https://review.opendev.org/c/openstack/neutron/+/922264
Change-Id: I7db8b7cbd199fc15ecc3b28fe95e041c5957c574
Related-Bug: #2069482
Related-Bug: #2076916
2024-08-13 14:55:45 -05:00
Slawek Kaplonski
5225abc604 Fix check of the revision number in the resonse from API
In the test_router_interface_fip test module there was probably some
copy paste error which was checking if revision_number key exists in the
older response from the API then what was used in the assertion.
Now this is fixed.

TrivialFix

Change-Id: Ica10dfec9bb806c3dca2f0a2e0aff36006c9c092
2024-08-07 09:49:49 +02:00
Zuul
11a858ebfe Merge "[WSGI] Move all OVS jobs to use WSGI API module" 2024-07-26 16:41:04 +00:00
Zuul
73a385260d Merge "Add pre-commit configuration" 2024-07-19 16:49:52 +00:00
56d4dc94d1 Bump swap to 3GB in linuxbridge and openvswitch jobs
Since [1] linuxbridge and openvswitch jobs are randomly
failing as swap gets fully utilized and processes are
getting oom-killed, to avoid this increasing swap size
to 3GB.

[1] https://review.opendev.org/c/openstack/devstack/+/924094

Closes-Bug: #2073582
Change-Id: I3889beb4c3427dd14ba1d1cddc9027b366268c1b
2024-07-19 15:04:21 +05:30
a7a7ce8d34 Temporary switch lb/ovs/ovn scenario jobs to cirros-0.5.3
With cirros-0.6+ we hitting random issues as mentioned
in the related bug, until the cirros fix[1] merge and have
new cirros release let's switch to older cirros image.

[1] https://github.com/cirros-dev/cirros/pull/116
Related-Bug: #2045549

Depends-On: https://review.opendev.org/c/openstack/neutron/+/924213
Change-Id: I9f3a72da13212f735d51c7929b05706ba063f313
2024-07-16 14:46:11 +00:00
Slawek Kaplonski
5c5dc014bf Make neutron-tempest-plugin-designate-scenario non-voting temporary
This can be reverted once related bug will be fixed. For now lets
unblock our gate by making this job non-voting.

This job is not running in the gate queue neighter in
neutron-tempest-plugin nor neutron gate.

Related-bug: #2072627
Change-Id: Icab69e12c71d384d4573ca56154fc3812b6355c2
2024-07-10 10:23:55 +02:00
Rodolfo Alonso Hernandez
575840dad9 [WSGI] Move all OVS jobs to use WSGI API module
All the ML2/OVS jobs in master branch (Dalmatian 2024.2) are now using
the WSGI API module, instead of the eventlet server.

Related-Bug: #2069581
Topic: eventlet-deprecation
Change-Id: Iff105f644459b56ece054bdefb294b1c6da143f5
2024-07-08 19:52:47 +00:00
Rodolfo Alonso Hernandez
8f726129b2 Add a new client method: "get_loaded_network_extensions"
This method retrieves the extensions loaded by the Neutron API, instead
of reading the configured extensions in the tempest configuration.

This method can help during a extension implementation, as for example
in "subnet-external-network". This extension cannot be declared yet in
the neutron-tempest-plugin job definitions, because the extension has
not been implemented in Neutron. However, when the Neutron patch is
tested, the extension is missing in the configuration and the test
cannot correctly modify the API calls.

Related-Bug: #2051831
Change-Id: I3e6f570cd63e44df7ceb8f5013c2b4adebfe4286
2024-06-25 19:59:41 +00:00
96747587f1 [ovn jobs] collect northd and controller logs
These would help in troubleshooting issues.

Change-Id: I9e4c5251e62c81222eb50995eea8eb7c2161b7d2
2024-06-25 18:10:51 +05:30
Slawek Kaplonski
9aec7b695e Add test for the validate auto_allocated_topology API
This new test calls neutron API to check requirements for the auto
allocated topology and to make sure that it don't returns 404 for
example.

Depends-On: https://review.opendev.org/c/openstack/neutron/+/920360
Depends-On: https://review.opendev.org/c/openstack/neutron/+/920481
Depends-On: https://review.opendev.org/c/openstack/neutron/+/920482

Related-bug: #2066369
Change-Id: I9b46699cdf9361a49e558130b336722599419f0f
2024-06-21 14:38:00 +00:00
Zuul
839bbc9a6d Merge "Add Active Active L3 GW scenario test cases" 2024-06-15 00:47:37 +00:00
Zuul
1ab068537a Merge "Add wsgi enabled OVS and OVN tempest jobs" 2024-06-14 22:57:44 +00:00
elajkat
2fa58d9ca1 Add wsgi enabled OVS and OVN tempest jobs
Add experimental jobs for OVS and OVN with wsgi.
The same jobs can be used in the Neutron periodic queue.

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

Change-Id: I5a3bdcb0b7c399fed01bf08e211eb572edcd8d74
2024-06-14 12:09:29 +00:00
elajkat
74a78a4b4d Make neutron-tempest-plugin-sfc job non-voting temporary
Related-Bug: #2068727
Change-Id: I0bcd1ed38e20127927452ac4cef9e31e6527846e
2024-06-13 08:50:38 +00:00
Zuul
f24533d342 Merge "UM only: change zed to use unmaintained/" 2024-06-06 13:46:53 +00:00
elajkat
5019dce5fe UM only: change zed to use unmaintained/
As [1] merged stable/zed transformed to unmaintained/zed,
so the related jobs must be adopted.

[1]: https://review.opendev.org/c/openstack/releases/+/916492

Change-Id: I1df544fc9c37d2fea070775855e0e8d7c00801a9
2024-06-06 09:30:42 +00:00
Brian Haley
aa8581b69e Fix incorrect services/externaldns line
Using 'files:' section to always trigger the designate
scenario tests is incorrect. Change irrelevant-files
section to just ignore all the other services/*
directories instead until we figure out a better way.

Change-Id: I12bd45da7b76fb06e922fa50c86d5abba434a3c8
2024-06-05 11:27:28 -04:00
Brian Haley
671fdd3d61 Fix regex lines in zuul.d/* files
Commit c76727b97c040 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). This
fixes the issue by just not including the single
file we care about in each section.

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

Change-Id: I6f8445bcd2a409cc0e85943b7d20ce578e37dd55
2024-06-04 15:30:06 -04:00