2025-10-17 06:27:28,508 - INFO - Domain Default found not creating
2025-10-17 06:27:28,666 - INFO - Project ctest-TestBasicPolicy-66503809 not found, creating it
2025-10-17 06:27:29,124 - INFO - Created Project:ctest-TestBasicPolicy-66503809, ID : 6c4151ae-6caf-4281-810a-e2456b351f19
2025-10-17 06:27:30,580 - INFO - ================================================================================
2025-10-17 06:27:30,580 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-10-17 06:27:30,580 - INFO - TEST DESCRIPTION :
Create 2 Vns and allow icmp traffic between them and validate with pings
Update the policy to deny the same traffic
Check that pings fail
2025-10-17 06:27:30,836 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-10-17 06:27:30,836 - INFO - Initial checks done. Running the testcase now
2025-10-17 06:27:30,837 - INFO -
2025-10-17 06:27:31,396 - DEBUG - Response for create_network : {'network': {'id': '2dda6d7c-7b70-42a5-9ba6-9d8f2db1aaca', 'name': 'ctest-vn-69954882', 'tenant_id': '6c4151ae6caf4281810ae2456b351f19', 'project_id': '6c4151ae6caf4281810ae2456b351f19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66503809', 'ctest-vn-69954882'], 'port_security_enabled': True, 'description': ''}}
2025-10-17 06:27:31,596 - DEBUG - Response for create_subnet : {'subnet': {'id': '81457f68-0791-4905-ae78-3dfa9561980d', 'name': '', 'tenant_id': '6c4151ae6caf4281810ae2456b351f19', 'network_id': '2dda6d7c-7b70-42a5-9ba6-9d8f2db1aaca', 'ip_version': 4, 'cidr': '11.37.49.128/26', 'allocation_pools': [{'start': '11.37.49.130', 'end': '11.37.49.190'}], 'gateway_ip': '11.37.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.37.49.130', 'tags': [], 'project_id': '6c4151ae6caf4281810ae2456b351f19'}}
2025-10-17 06:27:31,613 - INFO - Created VN ctest-vn-69954882
2025-10-17 06:27:31,666 - DEBUG - VN ctest-vn-69954882 UUID is 2dda6d7c-7b70-42a5-9ba6-9d8f2db1aaca
2025-10-17 06:27:31,882 - ERROR - Some exception while doing Neutron net-list
Traceback (most recent call last):
File "/contrail-test/fixtures/quantum_test.py", line 276, in get_vn_obj_if_present
net_rsp = self.obj.list_networks(**query_dict)['networks']
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 817, in list_networks
return self.list('networks', self.networks_path, retrieve_all,
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 369, in list
for r in self._pagination(collection, path, **params):
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 384, in _pagination
res = self.get(path, params=params)
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 353, in get
return self.retry_request("GET", 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: The server has either erred or is incapable of performing the requested operation.
Neutron server returns request_ids: ['req-e198c8e9-7760-44d7-a99c-c9673c5f6213']
2025-10-17 06:27:31,882 - ERROR - Got exception as "The server has either erred or is incapable of performing the requested operation.
\n\n\n\nNeutron server returns request_ids: ['req-e198c8e9-7760-44d7-a99c-c9673c5f6213']" while creating ctest-vn-98456046
Traceback (most recent call last):
File "/contrail-test/fixtures/quantum_test.py", line 276, in get_vn_obj_if_present
net_rsp = self.obj.list_networks(**query_dict)['networks']
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 817, in list_networks
return self.list('networks', self.networks_path, retrieve_all,
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 369, in list
for r in self._pagination(collection, path, **params):
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 384, in _pagination
res = self.get(path, params=params)
File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 353, in get
return self.retry_request("GET", 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: The server has either erred or is incapable of performing the requested operation.
Neutron server returns request_ids: ['req-e198c8e9-7760-44d7-a99c-c9673c5f6213']
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/contrail-test/fixtures/vn_test.py", line 295, in _create_vn_orch
self.obj = self.orchestrator.get_vn_obj_if_present(self.vn_name,
File "/contrail-test/fixtures/openstack.py", line 184, in get_vn_obj_if_present
return self.quantum_h.get_vn_obj_if_present(vn_name, **kwargs)
File "/contrail-test/fixtures/quantum_test.py", line 282, in get_vn_obj_if_present
raise NetworkClientException(message=str(e))
quantum_test.NetworkClientException: "The server has either erred or is incapable of performing the requested operation.
\n\n\n\nNeutron server returns request_ids: ['req-e198c8e9-7760-44d7-a99c-c9673c5f6213']"
2025-10-17 06:27:31,884 - INFO - Deleting VN ctest-vn-69954882
2025-10-17 06:27:31,997 - DEBUG - Response for deleting network ()
2025-10-17 06:27:32,249 - ERROR - NetworkClientException
Python 3.9.21: /usr/bin/python3
Fri Oct 17 06:27:31 2025
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=
\\n\\n\\n\\nNeutron server returns request_ids: [\'req-e198c8e9-7760-44d7-a99c-c9673c5f6213\']"'
__cause__ = None
__class__ =
Neutron server returns request_ids: ['req-e198c8e9-7760-44d7-a99c-c9673c5f6213']
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/contrail-test/fixtures/vn_test.py", line 295, in _create_vn_orch
self.obj = self.orchestrator.get_vn_obj_if_present(self.vn_name,
File "/contrail-test/fixtures/openstack.py", line 184, in get_vn_obj_if_present
return self.quantum_h.get_vn_obj_if_present(vn_name, **kwargs)
File "/contrail-test/fixtures/quantum_test.py", line 282, in get_vn_obj_if_present
raise NetworkClientException(message=str(e))
quantum_test.NetworkClientException: "The server has either erred or is incapable of performing the requested operation.
\n\n\n\nNeutron server returns request_ids: ['req-e198c8e9-7760-44d7-a99c-c9673c5f6213']"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/policy/test_policy_basic.py", line 96, in test_basic_policy_allow_deny
vn2_fixture = self.create_vn()
File "/contrail-test/common/base.py", line 191, in create_vn
vn_fixture = self.create_only_vn(vn_name=vn_name,
File "/contrail-test/common/base.py", line 186, in create_only_vn
vn_fixture.setUp()
File "/contrail-test/fixtures/vn_test.py", line 439, in setUp
self.create()
File "/contrail-test/fixtures/vn_test.py", line 452, in create
self._create_vn_orch()
File "/contrail-test/fixtures/vn_test.py", line 337, in _create_vn_orch
raise NetworkClientException(message=str(e))
quantum_test.NetworkClientException: '"The server has either erred or is incapable of performing the requested operation.
\\n\\n\\n\\nNeutron server returns request_ids: [\'req-e198c8e9-7760-44d7-a99c-c9673c5f6213\']"'
2025-10-17 06:27:32,254 - DEBUG - No XMPP flaps were noticed during the test
2025-10-17 06:27:32,254 - INFO -