2025-08-25 20:23:36,838 - INFO - Domain Default found not creating
2025-08-25 20:23:37,003 - INFO - Project ctest-TestBasicPolicyIpv4v6-10007468 not found, creating it
2025-08-25 20:23:37,524 - INFO - Created Project:ctest-TestBasicPolicyIpv4v6-10007468, ID : 0b77b05f-cbd6-4839-9483-185d289a34fb
2025-08-25 20:23:39,051 - INFO - ================================================================================
2025-08-25 20:23:39,051 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-08-25 20:23:39,051 - 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:39,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2025-08-25 20:23:39,179 - INFO - Initial checks done. Running the testcase now
2025-08-25 20:23:39,179 - INFO -
2025-08-25 20:23:39,762 - DEBUG - Response for create_network : {'network': {'id': 'dbfa7958-6de4-4102-9c2d-e146ec6dc816', 'name': 'ctest-vn-39078640', 'tenant_id': '0b77b05fcbd648399483185d289a34fb', 'project_id': '0b77b05fcbd648399483185d289a34fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyIpv4v6-10007468', 'ctest-vn-39078640'], 'port_security_enabled': True, 'description': ''}}
2025-08-25 20:23:39,902 - ERROR - Neutron Exception while creating subnet for vn with id dbfa7958-6de4-4102-9c2d-e146ec6dc816
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-1949d372-53a1-4e16-8818-49e31dcb08d0']
2025-08-25 20:23:40,015 - ERROR - Neutron Exception while creating subnet for vn with id dbfa7958-6de4-4102-9c2d-e146ec6dc816
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-ad628b9f-71c7-49ba-b9ca-2c73e13ff0ca']
2025-08-25 20:23:40,031 - INFO - Created VN ctest-vn-39078640
2025-08-25 20:23:40,084 - DEBUG - VN ctest-vn-39078640 UUID is dbfa7958-6de4-4102-9c2d-e146ec6dc816
2025-08-25 20:23:40,399 - DEBUG - Response for create_network : {'network': {'id': '4473fb03-64eb-423e-b40a-f05c369c0fa0', 'name': 'ctest-vn-90175757', 'tenant_id': '0b77b05fcbd648399483185d289a34fb', 'project_id': '0b77b05fcbd648399483185d289a34fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyIpv4v6-10007468', 'ctest-vn-90175757'], 'port_security_enabled': True, 'description': ''}}
2025-08-25 20:23:40,533 - ERROR - Neutron Exception while creating subnet for vn with id 4473fb03-64eb-423e-b40a-f05c369c0fa0
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-ae808281-fd1f-4924-84b8-d01529455db1']
2025-08-25 20:23:40,689 - ERROR - Neutron Exception while creating subnet for vn with id 4473fb03-64eb-423e-b40a-f05c369c0fa0
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-ecc0a190-5f6c-449c-bbc9-1cc9f30deeec']
2025-08-25 20:23:40,707 - INFO - Created VN ctest-vn-90175757
2025-08-25 20:23:40,764 - DEBUG - VN ctest-vn-90175757 UUID is 4473fb03-64eb-423e-b40a-f05c369c0fa0
2025-08-25 20:23:40,901 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyIpv4v6-10007468:ctest-vn-39078640, 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-TestBasicPolicyIpv4v6-10007468:ctest-vn-90175757, 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, rule_sequence = None, rule_uuid = None, direction = <>, protocol = 58, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicyIpv4v6-10007468:ctest-vn-39078640, 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-TestBasicPolicyIpv4v6-10007468:ctest-vn-90175757, 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:41,260 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dbfa7958-6de4-4102-9c2d-e146ec6dc816', 'name': 'ctest-vn-39078640', 'tenant_id': '0b77b05fcbd648399483185d289a34fb', 'project_id': '0b77b05fcbd648399483185d289a34fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyIpv4v6-10007468', 'ctest-vn-39078640'], 'policys': [['default-domain', 'ctest-TestBasicPolicyIpv4v6-10007468', 'ctest-policy-allow-all-48519866']], 'port_security_enabled': True, 'description': ''}}
2025-08-25 20:23:41,511 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4473fb03-64eb-423e-b40a-f05c369c0fa0', 'name': 'ctest-vn-90175757', 'tenant_id': '0b77b05fcbd648399483185d289a34fb', 'project_id': '0b77b05fcbd648399483185d289a34fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyIpv4v6-10007468', 'ctest-vn-90175757'], 'policys': [['default-domain', 'ctest-TestBasicPolicyIpv4v6-10007468', 'ctest-policy-allow-all-48519866']], 'port_security_enabled': True, 'description': ''}}
2025-08-25 20:23:41,688 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-08-25 20:23:41,992 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-08-25 20:23:42,022 - DEBUG - Requesting: http://10.0.0.242:8082/domain/5d5f8548-17f5-4173-99c5-bd5c5a182438
2025-08-25 20:23:42,037 - DEBUG - Requesting: http://10.0.0.242:8082/project/0b77b05f-cbd6-4839-9483-185d289a34fb
2025-08-25 20:23:42,117 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dbfa7958-6de4-4102-9c2d-e146ec6dc816
2025-08-25 20:23:42,482 - INFO - Deleted policy ctest-policy-allow-all-48519866
2025-08-25 20:23:42,482 - INFO - Deleting VN ctest-vn-90175757
2025-08-25 20:23:42,572 - DEBUG - Response for deleting network ()
2025-08-25 20:23:42,572 - INFO - Deleting VN ctest-vn-39078640
2025-08-25 20:23:42,655 - DEBUG - Response for deleting network ()
2025-08-25 20:23:42,780 - ERROR - KeyError
Python 3.6.8: /usr/bin/python3
Mon Aug 25 20:23:42 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=