Merge "Remove old excludes"
diff --git a/doc/source/conf.py b/doc/source/conf.py
old mode 100755
new mode 100644
diff --git a/neutron_tempest_plugin/api/admin/test_quotas_negative.py b/neutron_tempest_plugin/api/admin/test_quotas_negative.py
index 9c37d92..2a8e24d 100644
--- a/neutron_tempest_plugin/api/admin/test_quotas_negative.py
+++ b/neutron_tempest_plugin/api/admin/test_quotas_negative.py
@@ -39,6 +39,23 @@
self.admin_client.create_network, **net_args)
@decorators.attr(type='negative')
+ @decorators.idempotent_id('9f676a6e-d729-428b-adcd-4de2867c50e6')
+ def test_set_network_quota_lower_than_networks_amount(self):
+ tenant_id = self.create_project()['id']
+ high_quota = 3
+ low_quota = 1
+ new_quotas = {'network': high_quota}
+ self._setup_quotas(tenant_id, **new_quotas)
+ for _ in range(high_quota - 1):
+ self._create_network(tenant_id)
+ # TODO(mblue): remove check_limit=True when it is default
+ new_quotas.update({'network': low_quota, 'check_limit': True})
+
+ self.assertRaises(lib_exc.BadRequest,
+ self.admin_client.update_quotas,
+ tenant_id, **new_quotas)
+
+ @decorators.attr(type='negative')
@decorators.idempotent_id('0b7f99e3-9f77-45ce-9a89-b39a184de618')
def test_create_subnet_when_quotas_is_full(self):
tenant_id = self.create_project()['id']
diff --git a/neutron_tempest_plugin/api/base.py b/neutron_tempest_plugin/api/base.py
index b659637..7f056d1 100644
--- a/neutron_tempest_plugin/api/base.py
+++ b/neutron_tempest_plugin/api/base.py
@@ -531,7 +531,7 @@
@classmethod
def reserve_subnet_cidr(cls, addr, **ipnetwork_kwargs):
- """Reserve given subnet CIDR making sure it is not used by create_subnet
+ """Reserve given subnet CIDR making sure it's not used by create_subnet
:param addr: the CIDR address to be reserved
It can be a str or netaddr.IPNetwork instance
diff --git a/zuul.d/master_jobs.yaml b/zuul.d/master_jobs.yaml
index d47ff64..e51e419 100644
--- a/zuul.d/master_jobs.yaml
+++ b/zuul.d/master_jobs.yaml
@@ -1217,7 +1217,6 @@
parent: neutron-tempest-plugin-base
timeout: 10800
required-projects:
- - openstack/devstack-gate
- openstack/neutron-fwaas
- openstack/neutron
- openstack/neutron-tempest-plugin
@@ -1415,7 +1414,6 @@
roles:
- zuul: openstack/devstack
required-projects:
- - openstack/devstack-gate
- openstack/neutron
- openstack/neutron-tempest-plugin
- openstack/tap-as-a-service
diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml
index 35a3e7f..04f5f79 100644
--- a/zuul.d/project.yaml
+++ b/zuul.d/project.yaml
@@ -177,7 +177,6 @@
templates:
- build-openstack-docs-pti
- neutron-tempest-plugin-jobs
- - neutron-tempest-plugin-jobs-zed
- neutron-tempest-plugin-jobs-2023-1
- neutron-tempest-plugin-jobs-2023-2
- neutron-tempest-plugin-jobs-2024-1
@@ -187,33 +186,27 @@
check:
jobs:
- neutron-tempest-plugin-sfc
- - neutron-tempest-plugin-sfc-zed
- neutron-tempest-plugin-sfc-2023-1
- neutron-tempest-plugin-sfc-2023-2
- neutron-tempest-plugin-sfc-2024-1
- neutron-tempest-plugin-bgpvpn-bagpipe
- - neutron-tempest-plugin-bgpvpn-bagpipe-zed
- neutron-tempest-plugin-bgpvpn-bagpipe-2023-1
- neutron-tempest-plugin-bgpvpn-bagpipe-2023-2
- neutron-tempest-plugin-bgpvpn-bagpipe-2024-1
- neutron-tempest-plugin-dynamic-routing
- - neutron-tempest-plugin-dynamic-routing-zed
- neutron-tempest-plugin-dynamic-routing-2023-1
- neutron-tempest-plugin-dynamic-routing-2023-2
- neutron-tempest-plugin-dynamic-routing-2024-1
- neutron-tempest-plugin-fwaas
- - neutron-tempest-plugin-fwaas-zed
- neutron-tempest-plugin-fwaas-2023-1
- neutron-tempest-plugin-fwaas-2023-2
- neutron-tempest-plugin-fwaas-2024-1
- neutron-tempest-plugin-vpnaas
- neutron-tempest-plugin-vpnaas-ovn
- - neutron-tempest-plugin-vpnaas-zed
- neutron-tempest-plugin-vpnaas-2023-1
- neutron-tempest-plugin-vpnaas-2023-2
- neutron-tempest-plugin-vpnaas-2024-1
- neutron-tempest-plugin-tap-as-a-service
- - neutron-tempest-plugin-tap-as-a-service-zed
- neutron-tempest-plugin-tap-as-a-service-2023-1
- neutron-tempest-plugin-tap-as-a-service-2023-2
- neutron-tempest-plugin-tap-as-a-service-2024-1
diff --git a/zuul.d/victoria_jobs.yaml b/zuul.d/victoria_jobs.yaml
index 7e2549f..d98de84 100644
--- a/zuul.d/victoria_jobs.yaml
+++ b/zuul.d/victoria_jobs.yaml
@@ -2,7 +2,7 @@
name: neutron-tempest-plugin-api-victoria
parent: neutron-tempest-plugin-base
nodeset: openstack-single-node-focal
- override-checkout: stable/victoria
+ override-checkout: unmaintained/victoria
required-projects: &required-projects-victoria
- openstack/neutron
- name: openstack/neutron-tempest-plugin
@@ -134,7 +134,7 @@
- job:
name: neutron-tempest-plugin-scenario-openvswitch-victoria
parent: neutron-tempest-plugin-openvswitch
- override-checkout: stable/victoria
+ override-checkout: unmaintained/victoria
required-projects: *required-projects-victoria
vars:
tempest_test_regex: "\
@@ -162,7 +162,7 @@
- job:
name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-victoria
parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
- override-checkout: stable/victoria
+ override-checkout: unmaintained/victoria
required-projects: *required-projects-victoria
vars:
tempest_test_regex: "\
@@ -194,7 +194,7 @@
- job:
name: neutron-tempest-plugin-scenario-linuxbridge-victoria
parent: neutron-tempest-plugin-linuxbridge
- override-checkout: stable/victoria
+ override-checkout: unmaintained/victoria
required-projects: *required-projects-victoria
vars:
tempest_test_regex: "\
@@ -222,7 +222,7 @@
- job:
name: neutron-tempest-plugin-scenario-ovn-victoria
parent: neutron-tempest-plugin-ovn
- override-checkout: stable/victoria
+ override-checkout: unmaintained/victoria
required-projects: *required-projects-victoria
vars:
tempest_test_regex: "\
@@ -253,7 +253,7 @@
name: neutron-tempest-plugin-dvr-multinode-scenario-victoria
parent: neutron-tempest-plugin-dvr-multinode-scenario
nodeset: openstack-two-node-focal
- override-checkout: stable/victoria
+ override-checkout: unmaintained/victoria
required-projects: *required-projects-victoria
vars:
network_api_extensions_common: *api_extensions
@@ -261,7 +261,7 @@
- job:
name: neutron-tempest-plugin-designate-scenario-victoria
parent: neutron-tempest-plugin-designate-scenario
- override-checkout: stable/victoria
+ override-checkout: unmaintained/victoria
required-projects:
- openstack/neutron
- name: openstack/neutron-tempest-plugin
@@ -283,7 +283,7 @@
name: neutron-tempest-plugin-sfc-victoria
parent: neutron-tempest-plugin-sfc
nodeset: openstack-single-node-focal
- override-checkout: stable/victoria
+ override-checkout: unmaintained/victoria
required-projects: *required-projects-victoria
vars:
network_api_extensions_common: *api_extensions
@@ -292,7 +292,7 @@
name: neutron-tempest-plugin-bgpvpn-bagpipe-victoria
parent: neutron-tempest-plugin-bgpvpn-bagpipe
nodeset: openstack-single-node-focal
- override-checkout: stable/victoria
+ override-checkout: unmaintained/victoria
required-projects: *required-projects-victoria
vars:
network_api_extensions: *api_extensions
@@ -301,7 +301,7 @@
name: neutron-tempest-plugin-dynamic-routing-victoria
parent: neutron-tempest-plugin-dynamic-routing
nodeset: openstack-single-node-focal
- override-checkout: stable/victoria
+ override-checkout: unmaintained/victoria
required-projects: *required-projects-victoria
vars:
network_api_extensions_common: *api_extensions
@@ -310,7 +310,7 @@
name: neutron-tempest-plugin-vpnaas-victoria
parent: neutron-tempest-plugin-vpnaas
nodeset: openstack-single-node-focal
- override-checkout: stable/victoria
+ override-checkout: unmaintained/victoria
required-projects: *required-projects-victoria
vars:
network_api_extensions_common: *api_extensions
diff --git a/zuul.d/wallaby_jobs.yaml b/zuul.d/wallaby_jobs.yaml
index 8a771b8..48b56b2 100644
--- a/zuul.d/wallaby_jobs.yaml
+++ b/zuul.d/wallaby_jobs.yaml
@@ -2,7 +2,7 @@
name: neutron-tempest-plugin-api-wallaby
parent: neutron-tempest-plugin-base
nodeset: openstack-single-node-focal
- override-checkout: stable/wallaby
+ override-checkout: unmaintained/wallaby
required-projects: &required-projects-wallaby
- openstack/neutron
- name: openstack/neutron-tempest-plugin
@@ -98,7 +98,7 @@
- job:
name: neutron-tempest-plugin-scenario-openvswitch-wallaby
parent: neutron-tempest-plugin-openvswitch
- override-checkout: stable/wallaby
+ override-checkout: unmaintained/wallaby
required-projects: *required-projects-wallaby
vars:
tempest_test_regex: "\
@@ -118,7 +118,7 @@
- job:
name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-wallaby
parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
- override-checkout: stable/wallaby
+ override-checkout: unmaintained/wallaby
required-projects: *required-projects-wallaby
vars:
tempest_test_regex: "\
@@ -145,7 +145,7 @@
- job:
name: neutron-tempest-plugin-scenario-linuxbridge-wallaby
parent: neutron-tempest-plugin-linuxbridge
- override-checkout: stable/wallaby
+ override-checkout: unmaintained/wallaby
required-projects: *required-projects-wallaby
vars:
tempest_test_regex: "\
@@ -165,7 +165,7 @@
- job:
name: neutron-tempest-plugin-scenario-ovn-wallaby
parent: neutron-tempest-plugin-ovn
- override-checkout: stable/wallaby
+ override-checkout: unmaintained/wallaby
required-projects: *required-projects-wallaby
vars:
tempest_test_regex: "\
@@ -190,7 +190,7 @@
name: neutron-tempest-plugin-dvr-multinode-scenario-wallaby
parent: neutron-tempest-plugin-dvr-multinode-scenario
nodeset: openstack-two-node-focal
- override-checkout: stable/wallaby
+ override-checkout: unmaintained/wallaby
required-projects: *required-projects-wallaby
vars:
network_api_extensions_common: *api_extensions
@@ -198,7 +198,7 @@
- job:
name: neutron-tempest-plugin-designate-scenario-wallaby
parent: neutron-tempest-plugin-designate-scenario
- override-checkout: stable/wallaby
+ override-checkout: unmaintained/wallaby
required-projects:
- openstack/neutron
- name: openstack/neutron-tempest-plugin
@@ -213,7 +213,7 @@
name: neutron-tempest-plugin-sfc-wallaby
parent: neutron-tempest-plugin-sfc
nodeset: openstack-single-node-focal
- override-checkout: stable/wallaby
+ override-checkout: unmaintained/wallaby
required-projects: *required-projects-wallaby
vars:
network_api_extensions_common: *api_extensions
@@ -222,7 +222,7 @@
name: neutron-tempest-plugin-bgpvpn-bagpipe-wallaby
parent: neutron-tempest-plugin-bgpvpn-bagpipe
nodeset: openstack-single-node-focal
- override-checkout: stable/wallaby
+ override-checkout: unmaintained/wallaby
required-projects: *required-projects-wallaby
vars:
network_api_extensions: *api_extensions
@@ -231,7 +231,7 @@
name: neutron-tempest-plugin-dynamic-routing-wallaby
parent: neutron-tempest-plugin-dynamic-routing
nodeset: openstack-single-node-focal
- override-checkout: stable/wallaby
+ override-checkout: unmaintained/wallaby
required-projects: *required-projects-wallaby
vars:
network_api_extensions_common: *api_extensions
@@ -240,7 +240,7 @@
name: neutron-tempest-plugin-vpnaas-wallaby
parent: neutron-tempest-plugin-vpnaas
nodeset: openstack-single-node-focal
- override-checkout: stable/wallaby
+ override-checkout: unmaintained/wallaby
required-projects: *required-projects-wallaby
vars:
network_api_extensions_common: *api_extensions
diff --git a/zuul.d/xena_jobs.yaml b/zuul.d/xena_jobs.yaml
index 9f8e960..fc0b84f 100644
--- a/zuul.d/xena_jobs.yaml
+++ b/zuul.d/xena_jobs.yaml
@@ -2,7 +2,7 @@
name: neutron-tempest-plugin-api-xena
parent: neutron-tempest-plugin-base
nodeset: openstack-single-node-focal
- override-checkout: stable/xena
+ override-checkout: unmaintained/xena
required-projects: &required-projects-xena
- openstack/neutron
- name: openstack/neutron-tempest-plugin
@@ -100,7 +100,7 @@
- job:
name: neutron-tempest-plugin-scenario-openvswitch-xena
parent: neutron-tempest-plugin-openvswitch
- override-checkout: stable/xena
+ override-checkout: unmaintained/xena
required-projects: *required-projects-xena
vars:
tempest_test_regex: "\
@@ -120,7 +120,7 @@
- job:
name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-xena
parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
- override-checkout: stable/xena
+ override-checkout: unmaintained/xena
required-projects: *required-projects-xena
vars:
tempest_test_regex: "\
@@ -140,7 +140,7 @@
- job:
name: neutron-tempest-plugin-scenario-linuxbridge-xena
parent: neutron-tempest-plugin-linuxbridge
- override-checkout: stable/xena
+ override-checkout: unmaintained/xena
required-projects: *required-projects-xena
vars:
tempest_test_regex: "\
@@ -160,7 +160,7 @@
- job:
name: neutron-tempest-plugin-scenario-ovn-xena
parent: neutron-tempest-plugin-ovn
- override-checkout: stable/xena
+ override-checkout: unmaintained/xena
required-projects: *required-projects-xena
vars:
tempest_test_regex: "\
@@ -183,7 +183,7 @@
name: neutron-tempest-plugin-dvr-multinode-scenario-xena
parent: neutron-tempest-plugin-dvr-multinode-scenario
nodeset: openstack-two-node-focal
- override-checkout: stable/xena
+ override-checkout: unmaintained/xena
required-projects: *required-projects-xena
vars:
network_api_extensions_common: *api_extensions
@@ -191,7 +191,7 @@
- job:
name: neutron-tempest-plugin-designate-scenario-xena
parent: neutron-tempest-plugin-designate-scenario
- override-checkout: stable/xena
+ override-checkout: unmaintained/xena
required-projects: *required-projects-xena
vars:
network_api_extensions_common: *api_extensions
@@ -200,7 +200,7 @@
name: neutron-tempest-plugin-sfc-xena
parent: neutron-tempest-plugin-sfc
nodeset: openstack-single-node-focal
- override-checkout: stable/xena
+ override-checkout: unmaintained/xena
required-projects: *required-projects-xena
vars:
network_api_extensions_common: *api_extensions
@@ -209,7 +209,7 @@
name: neutron-tempest-plugin-bgpvpn-bagpipe-xena
parent: neutron-tempest-plugin-bgpvpn-bagpipe
nodeset: openstack-single-node-focal
- override-checkout: stable/xena
+ override-checkout: unmaintained/xena
required-projects: *required-projects-xena
vars:
network_api_extensions: *api_extensions
@@ -218,7 +218,7 @@
name: neutron-tempest-plugin-dynamic-routing-xena
parent: neutron-tempest-plugin-dynamic-routing
nodeset: openstack-single-node-focal
- override-checkout: stable/xena
+ override-checkout: unmaintained/xena
required-projects: *required-projects-xena
vars:
network_api_extensions_common: *api_extensions
@@ -249,7 +249,7 @@
name: neutron-tempest-plugin-vpnaas-xena
parent: neutron-tempest-plugin-vpnaas
nodeset: openstack-single-node-focal
- override-checkout: stable/xena
+ override-checkout: unmaintained/xena
required-projects: *required-projects-xena
vars:
network_api_extensions_common: *api_extensions
@@ -258,7 +258,7 @@
name: neutron-tempest-plugin-tap-as-a-service-xena
parent: neutron-tempest-plugin-tap-as-a-service
nodeset: openstack-single-node-focal
- override-checkout: stable/xena
+ override-checkout: unmaintained/xena
required-projects: *required-projects-xena
vars:
network_api_extensions_common: *api_extensions
diff --git a/zuul.d/yoga_jobs.yaml b/zuul.d/yoga_jobs.yaml
index 76cac3e..af7f97e 100644
--- a/zuul.d/yoga_jobs.yaml
+++ b/zuul.d/yoga_jobs.yaml
@@ -6,9 +6,7 @@
required-projects: &required-projects-yoga
- openstack/neutron
- name: openstack/neutron-tempest-plugin
- # Move to 2.6.0 once released
- # https://review.opendev.org/c/openstack/releases/+/908369
- override-checkout: 2.5.0
+ override-checkout: 2.6.0
- openstack/tempest
vars:
tempest_concurrency: 4