2026-08-14 09:20:26,053 - INFO - Domain Default found not creating
2026-08-14 09:20:26,224 - INFO - Project ctest-TestCRUD-88601135 not found, creating it
2026-08-14 09:20:26,733 - INFO - Created Project:ctest-TestCRUD-88601135, ID : ccc598e6-e2c7-4b23-897c-c82b9dc4b80c
2026-08-14 09:20:28,512 - INFO - Creating Security group: ['default-domain', 'admin', 'ctest-admin-sg1-80334212']
2026-08-14 09:20:29,507 - INFO - Creating Security group: ['default-domain', 'admin', 'ctest-admin-sg2-67080284']
2026-08-14 09:20:30,616 - INFO - Creating Security group: ['default-domain', 'ctest-TestCRUD-88601135', 'ctest-proj-sg1-02451787']
2026-08-14 09:20:31,416 - INFO - Creating Security group: ['default-domain', 'ctest-TestCRUD-88601135', 'ctest-proj-sg2-00784406']
2026-08-14 09:20:32,205 - INFO - ================================================================================
2026-08-14 09:20:32,205 - INFO - STARTING TEST : test_network_tags_crud
2026-08-14 09:20:32,205 - INFO - TEST DESCRIPTION : Tag CRUD on a network: set/list/append/show/delete/delete-all/
filter. Regression guard for OpenSDN-io/community#124.
2026-08-14 09:20:32,468 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.17': '0'}} with
2026-08-14 09:20:32,468 - INFO - Initial checks done. Running the testcase now
2026-08-14 09:20:32,468 - INFO -
2026-08-14 09:20:32,932 - INFO - Deleting Security group: ['default-domain', 'ctest-TestCRUD-88601135', 'ctest-proj-sg2-00784406']
2026-08-14 09:20:33,005 - INFO - Deleting Security group: ['default-domain', 'ctest-TestCRUD-88601135', 'ctest-proj-sg1-02451787']
2026-08-14 09:20:33,080 - INFO - Deleting Security group: ['default-domain', 'admin', 'ctest-admin-sg2-67080284']
2026-08-14 09:20:33,157 - INFO - Deleting Security group: ['default-domain', 'admin', 'ctest-admin-sg1-80334212']
2026-08-14 09:20:33,473 - ERROR - NotFound
Python 3.9.25: /usr/bin/python3
Fri Aug 14 09:20:32 2026
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/scripts/neutron/test_crud.py in test_network_tags_crud(self=)
601
602 # set (replace-all)
603 c.replace_tag('networks', net_id, {'tags': ['a', 'b']})
604 assert tags() == {'a', 'b'}, 'replace_tag did not persist'
605
c =
c.replace_tag = >
net_id = 'a30013a8-aac9-4746-8eb7-0eb52e1082e5'
/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in replace_tag(self=, resource_type='networks', resource_id='a30013a8-aac9-4746-8eb7-0eb52e1082e5', body={'tags': ['a', 'b']}, **_params={})
2096 def replace_tag(self, resource_type, resource_id, body, **_params):
2097 """Replace tags on the resource."""
2098 return self.put(self.tags_path % (resource_type, resource_id), body)
2099
2100 def remove_tag(self, resource_type, resource_id, tag, **_params):
self =
self.put = >
self.tags_path = '/%s/%s/tags'
resource_type = 'networks'
resource_id = 'a30013a8-aac9-4746-8eb7-0eb52e1082e5'
body = {'tags': ['a', 'b']}
/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in put(self=, action='/networks/a30013a8-aac9-4746-8eb7-0eb52e1082e5/tags', body={'tags': ['a', 'b']}, headers=None, params=None)
360
361 def put(self, action, body=None, headers=None, params=None):
362 return self.retry_request("PUT", action, body=body,
363 headers=headers, params=params)
364
self =
self.retry_request = >
action = '/networks/a30013a8-aac9-4746-8eb7-0eb52e1082e5/tags'
body = {'tags': ['a', 'b']}
headers = None
params = None
/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in retry_request(self=, method='PUT', action='/networks/a30013a8-aac9-4746-8eb7-0eb52e1082e5/tags', body={'tags': ['a', 'b']}, headers=None, params=None)
328 for i in range(max_attempts):
329 try:
330 return self.do_request(method, action, body=body,
331 headers=headers, params=params)
332 except (exceptions.ConnectionFailed, ksa_exc.ConnectionError):
self =
self.do_request = >
method = 'PUT'
action = '/networks/a30013a8-aac9-4746-8eb7-0eb52e1082e5/tags'
body = {'tags': ['a', 'b']}
headers = None
params = None
/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in do_request(self=, method='PUT', action='/v2.0/networks/a30013a8-aac9-4746-8eb7-0eb52e1082e5/tags', body='{"tags": ["a", "b"]}', headers=None, params=None)
292 if not replybody:
293 replybody = resp.reason
294 self._handle_fault_response(status_code, replybody, resp)
295
296 def get_auth_info(self):
self =
self._handle_fault_response = >
status_code = 404
replybody = '{"NeutronError": {"type": "SubnetNotFound", "mes..."Subnet None could not be found.", "detail": ""}}'
resp =
/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in _handle_fault_response(self=, status_code=404, response_body='{"NeutronError": {"type": "SubnetNotFound", "mes..."Subnet None could not be found.", "detail": ""}}', resp=)
267 error_body = self._convert_into_with_meta(des_error_body, resp)
268 # Raise the appropriate exception
269 exception_handler_v20(status_code, error_body)
270
271 def do_request(self, method, action, body=None, headers=None, params=None):
global exception_handler_v20 =
status_code = 404
error_body = {'NeutronError': {'type': 'SubnetNotFound', 'mes...'Subnet None could not be found.', 'detail': ''}}
/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in exception_handler_v20(status_code=404, error_content={'NeutronError': {'type': 'SubnetNotFound', 'mes...'Subnet None could not be found.', 'detail': ''}})
89 client_exc = exceptions.NeutronClientException
90
91 raise client_exc(message=error_message,
92 status_code=status_code,
93 request_ids=request_ids)
client_exc =
message undefined
error_message = 'Subnet None could not be found.'
status_code = 404
request_ids = ['req-0980197d-b80e-4deb-90d2-232172975aa3']
NotFound: Subnet None could not be found.
Neutron server returns request_ids: ['req-0980197d-b80e-4deb-90d2-232172975aa3']
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {'_error_string': "Subnet None could not be found.\nNeutron server r...ids: ['req-0980197d-b80e-4deb-90d2-232172975aa3']", 'message': "Subnet None could not be found.\nNeutron server r...ids: ['req-0980197d-b80e-4deb-90d2-232172975aa3']", 'request_ids': ['req-0980197d-b80e-4deb-90d2-232172975aa3'], 'status_code': 404}
__dir__ =
__doc__ = None
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__module__ = 'neutronclient.common.exceptions'
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
__weakref__ = None
_error_string = "Subnet None could not be found.\nNeutron server r...ids: ['req-0980197d-b80e-4deb-90d2-232172975aa3']"
args = ()
message = "Subnet None could not be found.\nNeutron server r...ids: ['req-0980197d-b80e-4deb-90d2-232172975aa3']"
req_ids_msg = 'Neutron server returns request_ids: %s'
request_ids = ['req-0980197d-b80e-4deb-90d2-232172975aa3']
status_code = 404
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/neutron/test_crud.py", line 603, in test_network_tags_crud
c.replace_tag('networks', net_id, {'tags': ['a', 'b']})
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 2098, in replace_tag
return self.put(self.tags_path % (resource_type, resource_id), body)
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 362, in put
return self.retry_request("PUT", action, body=body,
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 330, in retry_request
return self.do_request(method, action, body=body,
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 294, in do_request
self._handle_fault_response(status_code, replybody, resp)
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response
exception_handler_v20(status_code, error_body)
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20
raise client_exc(message=error_message,
neutronclient.common.exceptions.NotFound: Subnet None could not be found.
Neutron server returns request_ids: ['req-0980197d-b80e-4deb-90d2-232172975aa3']
2026-08-14 09:20:33,480 - DEBUG - No XMPP flaps were noticed during the test
2026-08-14 09:20:33,480 - INFO -
2026-08-14 09:20:33,480 - INFO - END TEST : test_network_tags_crud : FAILED[0:00:01]
2026-08-14 09:20:33,480 - INFO - --------------------------------------------------------------------------------
2026-08-14 09:20:33,489 - INFO - Creating Security group: ['default-domain', 'admin', 'ctest-admin-sg1-96419132']
2026-08-14 09:20:34,292 - INFO - Creating Security group: ['default-domain', 'admin', 'ctest-admin-sg2-94724733']
2026-08-14 09:20:35,106 - INFO - Creating Security group: ['default-domain', 'ctest-TestCRUD-88601135', 'ctest-proj-sg1-08069526']
2026-08-14 09:20:35,884 - INFO - Creating Security group: ['default-domain', 'ctest-TestCRUD-88601135', 'ctest-proj-sg2-64434157']
2026-08-14 09:20:36,773 - INFO - ================================================================================
2026-08-14 09:20:36,774 - INFO - STARTING TEST : test_router_crud
2026-08-14 09:20:37,045 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.17': '0'}} with
2026-08-14 09:20:37,045 - INFO - Initial checks done. Running the testcase now
2026-08-14 09:20:37,045 - INFO -
2026-08-14 09:20:37,046 - INFO - Router create Request {'router': {'name': 'name-20332515'}}
2026-08-14 09:20:37,123 - INFO - Router create Response : {'router': {'id': 'b4c7337c-2652-45b3-b5dc-db959d88a46e', 'name': 'name-20332515', 'tenant_id': '7af3efd281404d86803ff4260adcd0a9', 'admin_state_up': True, 'status': 'ACTIVE', 'external_gateway_info': None, 'fq_name': ['default-domain', 'admin', 'name-20332515'], 'description': '', 'project_id': '7af3efd281404d86803ff4260adcd0a9'}}
2026-08-14 09:20:37,124 - INFO - Router create PASSED ,Body : {'router': {'name': 'name-20332515'}}
2026-08-14 09:20:37,142 - INFO - Attribute id is created
2026-08-14 09:20:37,142 - INFO - Attribute name is created
2026-08-14 09:20:37,142 - INFO - Attribute admin_state_up is created
2026-08-14 09:20:37,142 - INFO - Attribute status is created
2026-08-14 09:20:37,143 - INFO - Attribute tenant_id is created
2026-08-14 09:20:37,625 - INFO - Router show with fields ['name', 'admin_state_up', 'status', 'tenant_id'] passed
2026-08-14 09:20:37,625 - INFO - Router Update request {'router': {'name': 'name-48767508'}}
2026-08-14 09:20:37,670 - INFO - Router Update request PASSED,Body : {'router': {'name': 'name-48767508'}}
2026-08-14 09:20:37,670 - INFO - Response : {'router': {'id': 'b4c7337c-2652-45b3-b5dc-db959d88a46e', 'name': 'name-48767508', 'tenant_id': '7af3efd281404d86803ff4260adcd0a9', 'admin_state_up': True, 'status': 'ACTIVE', 'external_gateway_info': None, 'fq_name': ['default-domain', 'admin', 'name-20332515'], 'description': '', 'project_id': '7af3efd281404d86803ff4260adcd0a9'}}
2026-08-14 09:20:37,670 - INFO - Updation of Router b4c7337c-2652-45b3-b5dc-db959d88a46e with body {'router': {'name': 'name-48767508'}} passed
2026-08-14 09:20:37,670 - INFO - --------------------------------------------------------------------------------
2026-08-14 09:20:37,671 - INFO - Router Update request {'router': {'admin_state_up': 'False'}}
2026-08-14 09:20:37,718 - INFO - Router Update request PASSED,Body : {'router': {'admin_state_up': 'False'}}
2026-08-14 09:20:37,718 - INFO - Response : {'router': {'id': 'b4c7337c-2652-45b3-b5dc-db959d88a46e', 'name': 'name-48767508', 'tenant_id': '7af3efd281404d86803ff4260adcd0a9', 'admin_state_up': False, 'status': 'ACTIVE', 'external_gateway_info': None, 'fq_name': ['default-domain', 'admin', 'name-20332515'], 'description': '', 'project_id': '7af3efd281404d86803ff4260adcd0a9'}}
2026-08-14 09:20:37,718 - INFO - Updation of Router b4c7337c-2652-45b3-b5dc-db959d88a46e with body {'router': {'admin_state_up': 'False'}} passed
2026-08-14 09:20:37,718 - INFO - --------------------------------------------------------------------------------
2026-08-14 09:20:37,718 - INFO - Deleting router b4c7337c-2652-45b3-b5dc-db959d88a46e
2026-08-14 09:20:37,863 - ERROR - Result of delete router b4c7337c-2652-45b3-b5dc-db959d88a46e: ()
2026-08-14 09:20:37,863 - INFO - ================================================================================
2026-08-14 09:20:37,863 - INFO - Router create Request {'router': {'tenant_id': 'ccc598e6-e2c7-4b23-897c-c82b9dc4b80c', 'name': 'name-33116845'}}
2026-08-14 09:20:38,002 - INFO - Router create Response : {'router': {'id': '554fbc7c-7fde-4640-82f4-39cca7298282', 'name': 'name-33116845', 'tenant_id': 'ccc598e6e2c74b23897cc82b9dc4b80c', 'admin_state_up': True, 'status': 'ACTIVE', 'external_gateway_info': None, 'fq_name': ['default-domain', 'ctest-TestCRUD-88601135', 'name-33116845'], 'description': '', 'project_id': 'ccc598e6e2c74b23897cc82b9dc4b80c'}}
2026-08-14 09:20:38,002 - INFO - Router create PASSED ,Body : {'router': {'tenant_id': 'ccc598e6-e2c7-4b23-897c-c82b9dc4b80c', 'name': 'name-33116845'}}
2026-08-14 09:20:38,031 - INFO - Attribute id is created
2026-08-14 09:20:38,031 - INFO - Attribute name is created
2026-08-14 09:20:38,031 - INFO - Attribute admin_state_up is created
2026-08-14 09:20:38,031 - INFO - Attribute status is created
2026-08-14 09:20:38,031 - INFO - Attribute tenant_id is created
2026-08-14 09:20:38,660 - INFO - Router show with fields ['name', 'admin_state_up', 'status', 'tenant_id'] passed
2026-08-14 09:20:38,660 - INFO - Router Update request {'router': {'name': 'name-09708317'}}
2026-08-14 09:20:38,720 - INFO - Router Update request PASSED,Body : {'router': {'name': 'name-09708317'}}
2026-08-14 09:20:38,720 - INFO - Response : {'router': {'id': '554fbc7c-7fde-4640-82f4-39cca7298282', 'name': 'name-09708317', 'tenant_id': 'ccc598e6e2c74b23897cc82b9dc4b80c', 'admin_state_up': True, 'status': 'ACTIVE', 'external_gateway_info': None, 'fq_name': ['default-domain', 'ctest-TestCRUD-88601135', 'name-33116845'], 'description': '', 'project_id': 'ccc598e6e2c74b23897cc82b9dc4b80c'}}
2026-08-14 09:20:38,721 - INFO - Updation of Router 554fbc7c-7fde-4640-82f4-39cca7298282 with body {'router': {'name': 'name-09708317'}} passed
2026-08-14 09:20:38,721 - INFO - --------------------------------------------------------------------------------
2026-08-14 09:20:38,721 - INFO - Router Update request {'router': {'admin_state_up': 'False'}}
2026-08-14 09:20:38,772 - INFO - Router Update request PASSED,Body : {'router': {'admin_state_up': 'False'}}
2026-08-14 09:20:38,772 - INFO - Response : {'router': {'id': '554fbc7c-7fde-4640-82f4-39cca7298282', 'name': 'name-09708317', 'tenant_id': 'ccc598e6e2c74b23897cc82b9dc4b80c', 'admin_state_up': False, 'status': 'ACTIVE', 'external_gateway_info': None, 'fq_name': ['default-domain', 'ctest-TestCRUD-88601135', 'name-33116845'], 'description': '', 'project_id': 'ccc598e6e2c74b23897cc82b9dc4b80c'}}
2026-08-14 09:20:38,773 - INFO - Updation of Router 554fbc7c-7fde-4640-82f4-39cca7298282 with body {'router': {'admin_state_up': 'False'}} passed
2026-08-14 09:20:38,773 - INFO - --------------------------------------------------------------------------------
2026-08-14 09:20:38,773 - INFO - Deleting router 554fbc7c-7fde-4640-82f4-39cca7298282
2026-08-14 09:20:38,865 - ERROR - Result of delete router 554fbc7c-7fde-4640-82f4-39cca7298282: ()
2026-08-14 09:20:38,865 - INFO - ================================================================================
2026-08-14 09:20:38,865 - INFO - Router create Request {'router': {'name': 'name-27158225', 'admin_state_up': 'True'}}
2026-08-14 09:20:38,956 - INFO - Router create Response : {'router': {'id': 'b512bcf3-0284-4425-a627-223569de52e4', 'name': 'name-27158225', 'tenant_id': '7af3efd281404d86803ff4260adcd0a9', 'admin_state_up': True, 'status': 'ACTIVE', 'external_gateway_info': None, 'fq_name': ['default-domain', 'admin', 'name-27158225'], 'description': '', 'project_id': '7af3efd281404d86803ff4260adcd0a9'}}
2026-08-14 09:20:38,956 - INFO - Router create PASSED ,Body : {'router': {'name': 'name-27158225', 'admin_state_up': 'True'}}
2026-08-14 09:20:38,980 - INFO - Attribute id is created
2026-08-14 09:20:38,981 - INFO - Attribute name is created
2026-08-14 09:20:38,981 - INFO - Attribute admin_state_up is created
2026-08-14 09:20:38,981 - INFO - Attribute status is created
2026-08-14 09:20:38,981 - INFO - Attribute tenant_id is created
2026-08-14 09:20:39,439 - INFO - Router show with fields ['name', 'admin_state_up', 'status', 'tenant_id'] passed
2026-08-14 09:20:39,440 - INFO - Router Update request {'router': {'name': 'name-08078386'}}
2026-08-14 09:20:39,487 - INFO - Router Update request PASSED,Body : {'router': {'name': 'name-08078386'}}
2026-08-14 09:20:39,488 - INFO - Response : {'router': {'id': 'b512bcf3-0284-4425-a627-223569de52e4', 'name': 'name-08078386', 'tenant_id': '7af3efd281404d86803ff4260adcd0a9', 'admin_state_up': True, 'status': 'ACTIVE', 'external_gateway_info': None, 'fq_name': ['default-domain', 'admin', 'name-27158225'], 'description': '', 'project_id': '7af3efd281404d86803ff4260adcd0a9'}}
2026-08-14 09:20:39,488 - INFO - Updation of Router b512bcf3-0284-4425-a627-223569de52e4 with body {'router': {'name': 'name-08078386'}} passed
2026-08-14 09:20:39,488 - INFO - --------------------------------------------------------------------------------
2026-08-14 09:20:39,488 - INFO - Router Update request {'router': {'admin_state_up': 'False'}}
2026-08-14 09:20:39,535 - INFO - Router Update request PASSED,Body : {'router': {'admin_state_up': 'False'}}
2026-08-14 09:20:39,535 - INFO - Response : {'router': {'id': 'b512bcf3-0284-4425-a627-223569de52e4', 'name': 'name-08078386', 'tenant_id': '7af3efd281404d86803ff4260adcd0a9', 'admin_state_up': False, 'status': 'ACTIVE', 'external_gateway_info': None, 'fq_name': ['default-domain', 'admin', 'name-27158225'], 'description': '', 'project_id': '7af3efd281404d86803ff4260adcd0a9'}}
2026-08-14 09:20:39,535 - INFO - Updation of Router b512bcf3-0284-4425-a627-223569de52e4 with body {'router': {'admin_state_up': 'False'}} passed
2026-08-14 09:20:39,535 - INFO - --------------------------------------------------------------------------------
2026-08-14 09:20:39,535 - INFO - Deleting router b512bcf3-0284-4425-a627-223569de52e4
2026-08-14 09:20:39,621 - ERROR - Result of delete router b512bcf3-0284-4425-a627-223569de52e4: ()
2026-08-14 09:20:39,622 - INFO - ================================================================================
2026-08-14 09:20:39,622 - INFO - Deleting Security group: ['default-domain', 'ctest-TestCRUD-88601135', 'ctest-proj-sg2-64434157']
2026-08-14 09:20:39,699 - INFO - Deleting Security group: ['default-domain', 'ctest-TestCRUD-88601135', 'ctest-proj-sg1-08069526']
2026-08-14 09:20:39,792 - INFO - Deleting Security group: ['default-domain', 'admin', 'ctest-admin-sg2-94724733']
2026-08-14 09:20:39,875 - INFO - Deleting Security group: ['default-domain', 'admin', 'ctest-admin-sg1-96419132']
2026-08-14 09:20:40,249 - DEBUG - No XMPP flaps were noticed during the test
2026-08-14 09:20:40,249 - INFO - END TEST : test_router_crud : PASSED[0:00:04]
2026-08-14 09:20:40,249 - INFO - --------------------------------------------------------------------------------
2026-08-14 09:20:41,085 - INFO - Deleted project: ctest-TestCRUD-88601135, ID : ccc598e6-e2c7-4b23-897c-c82b9dc4b80c