2025-08-25 20:23:49,284 - INFO - Domain Default found not creating
2025-08-25 20:23:49,431 - INFO - Project ctest-TestBasicPolicy-59285551 not found, creating it
2025-08-25 20:23:49,916 - INFO - Created Project:ctest-TestBasicPolicy-59285551, ID : 63a6fff0-3f19-4701-a92a-c6e3383fa6ca
2025-08-25 20:23:51,343 - INFO - ================================================================================
2025-08-25 20:23:51,344 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-08-25 20:23:51,344 - 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-08-25 20:23:51,483 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2025-08-25 20:23:51,483 - INFO - Initial checks done. Running the testcase now
2025-08-25 20:23:51,483 - INFO -
2025-08-25 20:23:52,063 - DEBUG - Response for create_network : {'network': {'id': '44ce1d47-a323-428f-8c83-1a17fe747088', 'name': 'ctest-vn-22467126', 'tenant_id': '63a6fff03f194701a92ac6e3383fa6ca', 'project_id': '63a6fff03f194701a92ac6e3383fa6ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59285551', 'ctest-vn-22467126'], 'port_security_enabled': True, 'description': ''}}
2025-08-25 20:23:52,260 - ERROR - Neutron Exception while creating subnet for vn with id 44ce1d47-a323-428f-8c83-1a17fe747088
Traceback (most recent call last):
File "/contrail-test/fixtures/quantum_test.py", line 128, in create_subnet
subnet_rsp = self.obj.create_subnet({'subnet': subnet_req})
File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 848, in create_subnet
return self.post(self.subnets_path, body=body)
File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 359, in post
headers=headers, params=params)
File "/usr/local/lib/python3.6/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.6/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.6/site-packages/neutronclient/v2_0/client.py", line 93, in exception_handler_v20
request_ids=request_ids)
neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.
Neutron server returns request_ids: ['req-e058029a-ac2a-43c6-92c7-e9f627f69cba']
2025-08-25 20:23:52,277 - INFO - Created VN ctest-vn-22467126
2025-08-25 20:23:52,328 - DEBUG - VN ctest-vn-22467126 UUID is 44ce1d47-a323-428f-8c83-1a17fe747088
2025-08-25 20:23:52,661 - DEBUG - Response for create_network : {'network': {'id': '519d7c4f-26e6-4e42-89b0-ebb408a6f8ba', 'name': 'ctest-vn-26959223', 'tenant_id': '63a6fff03f194701a92ac6e3383fa6ca', 'project_id': '63a6fff03f194701a92ac6e3383fa6ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59285551', 'ctest-vn-26959223'], 'port_security_enabled': True, 'description': ''}}
2025-08-25 20:23:52,829 - ERROR - Neutron Exception while creating subnet for vn with id 519d7c4f-26e6-4e42-89b0-ebb408a6f8ba
Traceback (most recent call last):
File "/contrail-test/fixtures/quantum_test.py", line 128, in create_subnet
subnet_rsp = self.obj.create_subnet({'subnet': subnet_req})
File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 848, in create_subnet
return self.post(self.subnets_path, body=body)
File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 359, in post
headers=headers, params=params)
File "/usr/local/lib/python3.6/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.6/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.6/site-packages/neutronclient/v2_0/client.py", line 93, in exception_handler_v20
request_ids=request_ids)
neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.
Neutron server returns request_ids: ['req-bdd6de74-7267-4178-beb0-a8c4c24b929a']
2025-08-25 20:23:52,848 - INFO - Created VN ctest-vn-26959223
2025-08-25 20:23:52,900 - DEBUG - VN ctest-vn-26959223 UUID is 519d7c4f-26e6-4e42-89b0-ebb408a6f8ba
2025-08-25 20:23:53,032 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59285551:ctest-vn-22467126, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59285551:ctest-vn-26959223, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None]
2025-08-25 20:23:53,348 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44ce1d47-a323-428f-8c83-1a17fe747088', 'name': 'ctest-vn-22467126', 'tenant_id': '63a6fff03f194701a92ac6e3383fa6ca', 'project_id': '63a6fff03f194701a92ac6e3383fa6ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59285551', 'ctest-vn-22467126'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59285551', 'ctest-policy-allow-all-25990185']], 'port_security_enabled': True, 'description': ''}}
2025-08-25 20:23:53,588 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '519d7c4f-26e6-4e42-89b0-ebb408a6f8ba', 'name': 'ctest-vn-26959223', 'tenant_id': '63a6fff03f194701a92ac6e3383fa6ca', 'project_id': '63a6fff03f194701a92ac6e3383fa6ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59285551', 'ctest-vn-26959223'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59285551', 'ctest-policy-allow-all-25990185']], 'port_security_enabled': True, 'description': ''}}
2025-08-25 20:23:53,756 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-08-25 20:23:54,058 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-08-25 20:23:54,084 - DEBUG - Requesting: http://10.0.0.242:8082/domain/5d5f8548-17f5-4173-99c5-bd5c5a182438
2025-08-25 20:23:54,098 - DEBUG - Requesting: http://10.0.0.242:8082/project/63a6fff0-3f19-4701-a92a-c6e3383fa6ca
2025-08-25 20:23:54,178 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/44ce1d47-a323-428f-8c83-1a17fe747088
2025-08-25 20:23:54,494 - INFO - Deleted policy ctest-policy-allow-all-25990185
2025-08-25 20:23:54,494 - INFO - Deleting VN ctest-vn-26959223
2025-08-25 20:23:54,589 - DEBUG - Response for deleting network ()
2025-08-25 20:23:54,589 - INFO - Deleting VN ctest-vn-22467126
2025-08-25 20:23:54,687 - DEBUG - Response for deleting network ()
2025-08-25 20:23:54,809 - ERROR - KeyError
Python 3.6.8: /usr/bin/python3
Mon Aug 25 20:23:54 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=