Create job template for 2024.1 jobs: neutron-tempest-plugin-jobs-2024-1
and fill it with job definitions for all Neutron core and stadium
projects active during the 2024.1 (Caracal) cycle.
Change-Id: Ib5a368ce40ade222b12376855143fd483f669892
This patch modifies exisitng port_security_removed_added to be run
for both stateful and stateless SGs.
Change-Id: Idb49963618c45dbe5976e32d5db466f35ed534c8
Added extension "subnet-external-network" to:
* neutron-tempest-plugin-base
* neutron-tempest-plugin-openvswitch
* neutron-tempest-plugin-openvswitch-iptables_hybrid
The ``SubnetsSearchCriteriaTest.test_list_validation_filters`` test
case now filters the subnets by 'shared' and 'router:external' fields,
same as the network test case. It should behave the same with this
new extension.
Related-Bug: #2051831
Change-Id: I13144e3d722c06c918cd47860f378bf4bdaa0bf7
As our internal QE reported to us, ddt is producing more consistent
names of the same tests with different variables then testscenarios.
With testscenarios it is something like:
foo_tempest_plugin.tests.something.SomeClass.test_foo[id-123456](c1,c2)
and with ddt is more similar to tests without scenarios:
foo_tempest_plugin.tests.something.SomeClass.test_foo_1[id-123456]
Apparently due to this inconsistency results of some tests couldn't be
properly reported properly to some tools which we are using downstream.
So this patch proposes to remove usage of testscenarios in
neutron_tempest_plugin and replace it with ddt where it is needed.
Actually ddt was already used in some of the tests here so this will
make it also more consistent across the tests in that repo.
Also as part of this effort I relalised that in some cases testscenarios
where used, tests were running e.g. 2 times but actually variable set to
different value in different scenarios were not used at all. So in such
case I simply dropped usage of testscenarios and left only one variant
of the test to be run.
Change-Id: Ieabab4ccaa0e2a365939425dff0c0776839251eb
With [1], the ML2/OVN L3 plugin will have the "ha" API extension
enabled. The OVN L3 plugin does not have L3 agents; this check
should be skipped.
[1]https://review.opendev.org/c/openstack/neutron/+/910889
Related-Bug: #2020823
Change-Id: I09c12ba36b007d4f6fdd3723974ecfe9e4466b72
Now, only in master (Caracal 2024.1), the "neutron-tempest-plugin-ovn"
job used the OVN agent with the metadata extension, instead of the
OVN metadata agent. This functionality is implemented in the referred
link.
The OVN agent won't be used in stable releases.
Depends-On: https://review.opendev.org/c/openstack/neutron/+/898238
Related-Bug: #2017871
Change-Id: I92b85ec1ac609ada18fc1185e56f07c36d353518
test_floatingip_port_details was checking device_owner port field
against a hard-coded default value of 'compute:nova'. This was
causing a MismatchError in case custom availability zones were
configured on openstack environment.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2247268
Change-Id: Ibdb8bf6f90818c74f1198cd89d24778c74739f50
Change is needed to check "l3-ha" extension with OVN router flavors.
This change allows to check if OVN backend or not, and add test skips
accordingly.
The tests used to run only against OVS driver, a subset of them was
found useful also with OVN, for instance this bug noticed by altered
tests:
https://bugzilla.redhat.com/show_bug.cgi?id=2263225
Change-Id: I7c2c2f23417b3b43a2788b3c4bca2f8b532b7974
Added a new test to ``RoutersTest``. If a subnet has a router
interface, the subnet gateway IP cannot be modified or deleted.
Both operations will raise a ``GatewayIpInUse`` exception.
Depends-On: https://review.opendev.org/c/openstack/neutron/+/904713
Related-Bug: #2036423
Change-Id: I46a39c53017589e23e03ceabc45c2f144ca2f3bb
These decorators were moved to the common module in tempest 17.0.0[1].
[1] cd36841ca25b39b9c8ad1b83e0abd0a191d538a0
Change-Id: Ic7a8ac8e98f4b56b2ae2b76071c6dc64c0f34066
The glance-registry service was removed some time ago.
Also, quantum was renamed to neutron and 'quantum' in enabled services
has no effect now.
Change-Id: I9f177493bb4b870c3e88741d3ffd12cd51265702
There is a mismatch in some tests because sorted() sorts in ASCII
order - digits are followed by uppercase characters and then
lowercase characters. That doesn't work if a network's name starts
with a capital letter.
Closes-Bug: #2049211
Change-Id: I8328d7d8ca7b49b99feb24d77525abdc064aae80
This patch adds test which replaces fullstack test:
neutron.tests.fullstack.test_securitygroup.SecurityGroupRulesTest.test_normalized_cidr_in_rule
It is simple API test which can be done quickly in
neutron-tempest-plugin job. In fullstack instead it requires to prepare
whole environment with neutron-server, fake compute
node, agents, etc. so it takes much more time.
Change-Id: I4124f7f0a2edfe28c95693280b6490c8884fce11
This patch adds test which replaces fullstack test:
neutron.tests.fullstack.test_port_shut_down.PortShutDownTest
It is simple API test which can be done quickly in
neutron-tempest-plugin job. In fullstack instead it requires to prepare
whole environment with neutron-server, fake compute node, agents, etc.
so it takes much more time.
Change-Id: Ica5e72ab6d4c20fdcbd1f0dd38e6adcf627bcefd
This patch adds new test which checks if SG rules actually created
automatically for new default and non-default SG are matching template
rules from neutron DB.
Depends-On: https://review.opendev.org/c/openstack/neutron/+/884474
Related-bug: #1983053
Change-Id: Ica0810413bef7f0e3e6dff21f6c9e4cda1945a43
Some of the links and information were outdated here, update
and point to Neutron tree for installation and usage.
TrivialFix
Change-Id: Ia913a976dc2f60eb28548b2f099d924e160df2cf
Importing StatelessSecGroupDualStackDHCPv6StatelessTest was causing
a type error in case CONF.neutron_plugin_options.firewall_driver
was set to 'openvswitch' [1]. This patch fixes the issue by
separation code to a class with base functions, that is never skipped
and classes with tests that optionally can be skipped.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=2249407
Change-Id: I90b9cf495f35aca7a9171dc685696ae4cdd4d0f2
NetworksTestDHCPv6 [1] has better
functionality in tempest than in neutron-tempest-plugin, so with
removing these tests from neutron-tempest-plugin we can get rid
of whole module, reducing the test duplications.
[1]cc0e9b1817/tempest/api/network/test_dhcp_ipv6.py (L31)
Change-Id: I080b83965acd69c3d1b4693527c1be0b730e80a6
In the job "neutron-tempest-plugin-openvswitch-enforce-scope-old-defaults"
we will now test old policies in the Neutron project together with what
is used by default in other projects, like Nova, Glance, etc.
Change-Id: I4c2440f6f1546d22d4acebe69c6143eefe10335a
We should add the segmentation_id as tempest option,
so that it can be changed to match the deployment if needed.
Change-Id: I42bea9217462226e8650e55997449e1cc05f085c