2026-10-20 19:02:03,775 - INFO - Domain Default found not creating
2026-10-20 19:02:03,948 - INFO - Project ctest-TestCRUD-41047799 not found, creating it
2026-10-20 19:02:04,436 - INFO - Created Project:ctest-TestCRUD-41047799, ID : 82ead303-0cd4-4139-aee8-9427ce709a30
2026-10-20 19:02:06,328 - INFO - Creating Security group: ['default-domain', 'admin', 'ctest-admin-sg1-67776527']
2026-10-20 19:02:07,196 - INFO - Creating Security group: ['default-domain', 'admin', 'ctest-admin-sg2-83391197']
2026-10-20 19:02:08,430 - INFO - Creating Security group: ['default-domain', 'ctest-TestCRUD-41047799', 'ctest-proj-sg1-01992951']
2026-10-20 19:02:09,124 - INFO - Creating Security group: ['default-domain', 'ctest-TestCRUD-41047799', 'ctest-proj-sg2-54516721']
2026-10-20 19:02:09,818 - INFO - ================================================================================
2026-10-20 19:02:09,818 - INFO - STARTING TEST : test_network_tags_crud
2026-10-20 19:02:09,818 - INFO - TEST DESCRIPTION : Tag CRUD on a network: set/list/append/show/delete/delete-all/
filter. Regression guard for OpenSDN-io/community#124.
2026-10-20 19:02:10,078 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-10-20 19:02:10,078 - INFO - Initial checks done. Running the testcase now
2026-10-20 19:02:10,078 - INFO -
2026-10-20 19:02:10,189 - INFO - Deleting Security group: ['default-domain', 'ctest-TestCRUD-41047799', 'ctest-proj-sg2-54516721']
2026-10-20 19:02:10,246 - INFO - Deleting Security group: ['default-domain', 'ctest-TestCRUD-41047799', 'ctest-proj-sg1-01992951']
2026-10-20 19:02:10,314 - INFO - Deleting Security group: ['default-domain', 'admin', 'ctest-admin-sg2-83391197']
2026-10-20 19:02:10,391 - INFO - Deleting Security group: ['default-domain', 'admin', 'ctest-admin-sg1-67776527']
2026-10-20 19:02:10,712 - ERROR - InternalServerError
Python 3.9.25: /usr/bin/python3
Tue Oct 20 19:02:10 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 = 'e8ffd8e8-f172-4398-b534-7499675e60b9'
/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in replace_tag(self=, resource_type='networks', resource_id='e8ffd8e8-f172-4398-b534-7499675e60b9', 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 = 'e8ffd8e8-f172-4398-b534-7499675e60b9'
body = {'tags': ['a', 'b']}
/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in put(self=, action='/networks/e8ffd8e8-f172-4398-b534-7499675e60b9/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/e8ffd8e8-f172-4398-b534-7499675e60b9/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/e8ffd8e8-f172-4398-b534-7499675e60b9/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/e8ffd8e8-f172-4398-b534-7499675e60b9/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/e8ffd8e8-f172-4398-b534-7499675e60b9/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 = 500
replybody = '{"NeutronError": {"type": "HTTPInternalServerErr...r while processing your request.", "detail": ""}}'
resp =
/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in _handle_fault_response(self=, status_code=500, response_body='{"NeutronError": {"type": "HTTPInternalServerErr...r while processing your request.", "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 = 500
error_body = {'NeutronError': {'type': 'HTTPInternalServerErr...r while processing your request.', 'detail': ''}}
/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in exception_handler_v20(status_code=500, error_content={'NeutronError': {'type': 'HTTPInternalServerErr...r while processing your request.', '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 = 'Request Failed: internal server error while processing your request.'
status_code = 500
request_ids = ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']
InternalServerError: Request Failed: internal server error while processing your request.
Neutron server returns request_ids: ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {'_error_string': "Request Failed: internal server error while proc...ids: ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']", 'message': "Request Failed: internal server error while proc...ids: ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']", 'request_ids': ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f'], 'status_code': 500}
__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 = "Request Failed: internal server error while proc...ids: ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']"
args = ()
message = "Request Failed: internal server error while proc...ids: ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']"
req_ids_msg = 'Neutron server returns request_ids: %s'
request_ids = ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']
status_code = 500
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.InternalServerError: Request Failed: internal server error while processing your request.
Neutron server returns request_ids: ['req-7c50737f-e87a-4d00-ba52-a4699eb2be3f']
2026-10-20 19:02:10,718 - DEBUG - No XMPP flaps were noticed during the test
2026-10-20 19:02:10,718 - INFO -
2026-10-20 19:02:10,718 - INFO - END TEST : test_network_tags_crud : FAILED[0:00:01]
2026-10-20 19:02:10,718 - INFO - --------------------------------------------------------------------------------
2026-10-20 19:02:10,726 - INFO - Creating Security group: ['default-domain', 'admin', 'ctest-admin-sg1-31242666']
2026-10-20 19:02:11,407 - INFO - Creating Security group: ['default-domain', 'admin', 'ctest-admin-sg2-83563341']
2026-10-20 19:02:12,105 - INFO - Creating Security group: ['default-domain', 'ctest-TestCRUD-41047799', 'ctest-proj-sg1-50910334']
2026-10-20 19:02:12,827 - INFO - Creating Security group: ['default-domain', 'ctest-TestCRUD-41047799', 'ctest-proj-sg2-74972784']
2026-10-20 19:02:13,541 - INFO - ================================================================================
2026-10-20 19:02:13,542 - INFO - STARTING TEST : test_router_crud
2026-10-20 19:02:13,816 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-10-20 19:02:13,816 - INFO - Initial checks done. Running the testcase now
2026-10-20 19:02:13,816 - INFO -
2026-10-20 19:02:13,817 - INFO - Router create Request {'router': {'name': 'name-48634983'}}
2026-10-20 19:02:13,875 - INFO - Router create Response : {'router': {'id': 'd2dc8c18-db30-4c0d-ab28-f03fd1584df2', 'name': 'name-48634983', 'tenant_id': '51c1fad10bf24955b8c024c669e294c2', 'admin_state_up': True, 'status': 'ACTIVE', 'external_gateway_info': None, 'tags': [], 'fq_name': ['default-domain', 'admin', 'name-48634983'], 'description': '', 'project_id': '51c1fad10bf24955b8c024c669e294c2'}}
2026-10-20 19:02:13,875 - INFO - Router create PASSED ,Body : {'router': {'name': 'name-48634983'}}
2026-10-20 19:02:13,892 - INFO - Attribute id is created
2026-10-20 19:02:13,892 - INFO - Attribute name is created
2026-10-20 19:02:13,892 - INFO - Attribute admin_state_up is created
2026-10-20 19:02:13,892 - INFO - Attribute status is created
2026-10-20 19:02:13,892 - INFO - Attribute tenant_id is created
2026-10-20 19:02:14,201 - INFO - Router show with fields ['name', 'admin_state_up', 'status', 'tenant_id'] passed
2026-10-20 19:02:14,201 - INFO - Router Update request {'router': {'name': 'name-41797858'}}
2026-10-20 19:02:14,233 - INFO - Router Update request PASSED,Body : {'router': {'name': 'name-41797858'}}
2026-10-20 19:02:14,233 - INFO - Response : {'router': {'id': 'd2dc8c18-db30-4c0d-ab28-f03fd1584df2', 'name': 'name-41797858', 'tenant_id': '51c1fad10bf24955b8c024c669e294c2', 'admin_state_up': True, 'status': 'ACTIVE', 'external_gateway_info': None, 'tags': [], 'fq_name': ['default-domain', 'admin', 'name-48634983'], 'description': '', 'project_id': '51c1fad10bf24955b8c024c669e294c2'}}
2026-10-20 19:02:14,234 - INFO - Updation of Router d2dc8c18-db30-4c0d-ab28-f03fd1584df2 with body {'router': {'name': 'name-41797858'}} passed
2026-10-20 19:02:14,234 - INFO - --------------------------------------------------------------------------------
2026-10-20 19:02:14,234 - INFO - Router Update request {'router': {'admin_state_up': 'True'}}
2026-10-20 19:02:14,272 - INFO - Router Update request PASSED,Body : {'router': {'admin_state_up': 'True'}}
2026-10-20 19:02:14,272 - INFO - Response : {'router': {'id': 'd2dc8c18-db30-4c0d-ab28-f03fd1584df2', 'name': 'name-41797858', 'tenant_id': '51c1fad10bf24955b8c024c669e294c2', 'admin_state_up': True, 'status': 'ACTIVE', 'external_gateway_info': None, 'tags': [], 'fq_name': ['default-domain', 'admin', 'name-48634983'], 'description': '', 'project_id': '51c1fad10bf24955b8c024c669e294c2'}}
2026-10-20 19:02:14,272 - INFO - Updation of Router d2dc8c18-db30-4c0d-ab28-f03fd1584df2 with body {'router': {'admin_state_up': 'True'}} passed
2026-10-20 19:02:14,272 - INFO - --------------------------------------------------------------------------------
2026-10-20 19:02:14,272 - INFO - Deleting router d2dc8c18-db30-4c0d-ab28-f03fd1584df2
2026-10-20 19:02:14,326 - ERROR - Result of delete router d2dc8c18-db30-4c0d-ab28-f03fd1584df2: ()
2026-10-20 19:02:14,326 - INFO - ================================================================================
2026-10-20 19:02:14,327 - INFO - Router create Request {'router': {'tenant_id': '82ead303-0cd4-4139-aee8-9427ce709a30', 'name': 'name-18484103'}}
2026-10-20 19:02:14,398 - INFO - Router create Response : {'router': {'id': 'da56cd30-697f-4360-af34-6bd599edb8a3', 'name': 'name-18484103', 'tenant_id': '82ead3030cd44139aee89427ce709a30', 'admin_state_up': True, 'status': 'ACTIVE', 'external_gateway_info': None, 'tags': [], 'fq_name': ['default-domain', 'ctest-TestCRUD-41047799', 'name-18484103'], 'description': '', 'project_id': '82ead3030cd44139aee89427ce709a30'}}
2026-10-20 19:02:14,398 - INFO - Router create PASSED ,Body : {'router': {'tenant_id': '82ead303-0cd4-4139-aee8-9427ce709a30', 'name': 'name-18484103'}}
2026-10-20 19:02:14,412 - INFO - Attribute id is created
2026-10-20 19:02:14,412 - INFO - Attribute name is created
2026-10-20 19:02:14,412 - INFO - Attribute admin_state_up is created
2026-10-20 19:02:14,412 - INFO - Attribute status is created
2026-10-20 19:02:14,412 - INFO - Attribute tenant_id is created
2026-10-20 19:02:14,712 - INFO - Router show with fields ['name', 'admin_state_up', 'status', 'tenant_id'] passed
2026-10-20 19:02:14,712 - INFO - Router Update request {'router': {'name': 'name-06668616'}}
2026-10-20 19:02:14,744 - INFO - Router Update request PASSED,Body : {'router': {'name': 'name-06668616'}}
2026-10-20 19:02:14,745 - INFO - Response : {'router': {'id': 'da56cd30-697f-4360-af34-6bd599edb8a3', 'name': 'name-06668616', 'tenant_id': '82ead3030cd44139aee89427ce709a30', 'admin_state_up': True, 'status': 'ACTIVE', 'external_gateway_info': None, 'tags': [], 'fq_name': ['default-domain', 'ctest-TestCRUD-41047799', 'name-18484103'], 'description': '', 'project_id': '82ead3030cd44139aee89427ce709a30'}}
2026-10-20 19:02:14,745 - INFO - Updation of Router da56cd30-697f-4360-af34-6bd599edb8a3 with body {'router': {'name': 'name-06668616'}} passed
2026-10-20 19:02:14,745 - INFO - --------------------------------------------------------------------------------
2026-10-20 19:02:14,745 - INFO - Router Update request {'router': {'admin_state_up': 'False'}}
2026-10-20 19:02:14,783 - INFO - Router Update request PASSED,Body : {'router': {'admin_state_up': 'False'}}
2026-10-20 19:02:14,784 - INFO - Response : {'router': {'id': 'da56cd30-697f-4360-af34-6bd599edb8a3', 'name': 'name-06668616', 'tenant_id': '82ead3030cd44139aee89427ce709a30', 'admin_state_up': False, 'status': 'ACTIVE', 'external_gateway_info': None, 'tags': [], 'fq_name': ['default-domain', 'ctest-TestCRUD-41047799', 'name-18484103'], 'description': '', 'project_id': '82ead3030cd44139aee89427ce709a30'}}
2026-10-20 19:02:14,784 - INFO - Updation of Router da56cd30-697f-4360-af34-6bd599edb8a3 with body {'router': {'admin_state_up': 'False'}} passed
2026-10-20 19:02:14,784 - INFO - --------------------------------------------------------------------------------
2026-10-20 19:02:14,784 - INFO - Deleting router da56cd30-697f-4360-af34-6bd599edb8a3
2026-10-20 19:02:14,843 - ERROR - Result of delete router da56cd30-697f-4360-af34-6bd599edb8a3: ()
2026-10-20 19:02:14,843 - INFO - ================================================================================
2026-10-20 19:02:14,843 - INFO - Router create Request {'router': {'name': 'name-85526147', 'admin_state_up': 'True'}}
2026-10-20 19:02:14,900 - INFO - Router create Response : {'router': {'id': '5a911994-1490-4cfc-a890-add03de74514', 'name': 'name-85526147', 'tenant_id': '51c1fad10bf24955b8c024c669e294c2', 'admin_state_up': True, 'status': 'ACTIVE', 'external_gateway_info': None, 'tags': [], 'fq_name': ['default-domain', 'admin', 'name-85526147'], 'description': '', 'project_id': '51c1fad10bf24955b8c024c669e294c2'}}
2026-10-20 19:02:14,902 - INFO - Router create PASSED ,Body : {'router': {'name': 'name-85526147', 'admin_state_up': 'True'}}
2026-10-20 19:02:14,914 - INFO - Attribute id is created
2026-10-20 19:02:14,915 - INFO - Attribute name is created
2026-10-20 19:02:14,915 - INFO - Attribute admin_state_up is created
2026-10-20 19:02:14,916 - INFO - Attribute status is created
2026-10-20 19:02:14,916 - INFO - Attribute tenant_id is created
2026-10-20 19:02:15,230 - INFO - Router show with fields ['name', 'admin_state_up', 'status', 'tenant_id'] passed
2026-10-20 19:02:15,230 - INFO - Router Update request {'router': {'name': 'name-73586444'}}
2026-10-20 19:02:15,263 - INFO - Router Update request PASSED,Body : {'router': {'name': 'name-73586444'}}
2026-10-20 19:02:15,263 - INFO - Response : {'router': {'id': '5a911994-1490-4cfc-a890-add03de74514', 'name': 'name-73586444', 'tenant_id': '51c1fad10bf24955b8c024c669e294c2', 'admin_state_up': True, 'status': 'ACTIVE', 'external_gateway_info': None, 'tags': [], 'fq_name': ['default-domain', 'admin', 'name-85526147'], 'description': '', 'project_id': '51c1fad10bf24955b8c024c669e294c2'}}
2026-10-20 19:02:15,263 - INFO - Updation of Router 5a911994-1490-4cfc-a890-add03de74514 with body {'router': {'name': 'name-73586444'}} passed
2026-10-20 19:02:15,263 - INFO - --------------------------------------------------------------------------------
2026-10-20 19:02:15,263 - INFO - Router Update request {'router': {'admin_state_up': 'False'}}
2026-10-20 19:02:15,299 - INFO - Router Update request PASSED,Body : {'router': {'admin_state_up': 'False'}}
2026-10-20 19:02:15,299 - INFO - Response : {'router': {'id': '5a911994-1490-4cfc-a890-add03de74514', 'name': 'name-73586444', 'tenant_id': '51c1fad10bf24955b8c024c669e294c2', 'admin_state_up': False, 'status': 'ACTIVE', 'external_gateway_info': None, 'tags': [], 'fq_name': ['default-domain', 'admin', 'name-85526147'], 'description': '', 'project_id': '51c1fad10bf24955b8c024c669e294c2'}}
2026-10-20 19:02:15,299 - INFO - Updation of Router 5a911994-1490-4cfc-a890-add03de74514 with body {'router': {'admin_state_up': 'False'}} passed
2026-10-20 19:02:15,299 - INFO - --------------------------------------------------------------------------------
2026-10-20 19:02:15,299 - INFO - Deleting router 5a911994-1490-4cfc-a890-add03de74514
2026-10-20 19:02:15,367 - ERROR - Result of delete router 5a911994-1490-4cfc-a890-add03de74514: ()
2026-10-20 19:02:15,367 - INFO - ================================================================================
2026-10-20 19:02:15,368 - INFO - Deleting Security group: ['default-domain', 'ctest-TestCRUD-41047799', 'ctest-proj-sg2-74972784']
2026-10-20 19:02:15,434 - INFO - Deleting Security group: ['default-domain', 'ctest-TestCRUD-41047799', 'ctest-proj-sg1-50910334']
2026-10-20 19:02:15,498 - INFO - Deleting Security group: ['default-domain', 'admin', 'ctest-admin-sg2-83563341']
2026-10-20 19:02:15,555 - INFO - Deleting Security group: ['default-domain', 'admin', 'ctest-admin-sg1-31242666']
2026-10-20 19:02:15,873 - DEBUG - No XMPP flaps were noticed during the test
2026-10-20 19:02:15,873 - INFO - END TEST : test_router_crud : PASSED[0:00:02]
2026-10-20 19:02:15,873 - INFO - --------------------------------------------------------------------------------
2026-10-20 19:02:16,595 - INFO - Deleted project: ctest-TestCRUD-41047799, ID : 82ead303-0cd4-4139-aee8-9427ce709a30