2026-06-17 14:31:05,053 - INFO - Domain Default found not creating
2026-06-17 14:31:05,267 - INFO - Project ctest-TestBasicPolicy-48017143 not found, creating it
2026-06-17 14:31:05,758 - INFO - Created Project:ctest-TestBasicPolicy-48017143, ID : 96d4f8a4-46bc-448c-849e-83e6ff7224da
2026-06-17 14:31:07,300 - INFO - ================================================================================
2026-06-17 14:31:07,301 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-17 14:31:07,301 - 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
2026-06-17 14:31:07,573 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2026-06-17 14:31:07,573 - INFO - Initial checks done. Running the testcase now
2026-06-17 14:31:07,574 - INFO -
2026-06-17 14:31:08,223 - DEBUG - Response for create_network : {'network': {'id': '4014b740-8354-4d35-bb0e-eb0af1646eff', 'name': 'ctest-vn-96198812', 'tenant_id': '96d4f8a446bc448c849e83e6ff7224da', 'project_id': '96d4f8a446bc448c849e83e6ff7224da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-vn-96198812'], 'port_security_enabled': True, 'description': ''}}
2026-06-17 14:31:08,378 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e2eeb16-93c3-473a-82c7-d3cf3c002251', 'name': '', 'tenant_id': '96d4f8a446bc448c849e83e6ff7224da', 'network_id': '4014b740-8354-4d35-bb0e-eb0af1646eff', 'ip_version': 4, 'cidr': '52.183.179.128/26', 'allocation_pools': [{'start': '52.183.179.130', 'end': '52.183.179.190'}], 'gateway_ip': '52.183.179.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.183.179.130', 'tags': [], 'project_id': '96d4f8a446bc448c849e83e6ff7224da'}}
2026-06-17 14:31:08,395 - INFO - Created VN ctest-vn-96198812
2026-06-17 14:31:08,446 - DEBUG - VN ctest-vn-96198812 UUID is 4014b740-8354-4d35-bb0e-eb0af1646eff
2026-06-17 14:31:08,778 - DEBUG - Response for create_network : {'network': {'id': '48ac8d60-63a3-48b6-b9b5-0d1c26d996dc', 'name': 'ctest-vn-04484712', 'tenant_id': '96d4f8a446bc448c849e83e6ff7224da', 'project_id': '96d4f8a446bc448c849e83e6ff7224da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-vn-04484712'], 'port_security_enabled': True, 'description': ''}}
2026-06-17 14:31:08,935 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c12d2e01-0a09-4430-92bc-093bb6a45c71', 'name': '', 'tenant_id': '96d4f8a446bc448c849e83e6ff7224da', 'network_id': '48ac8d60-63a3-48b6-b9b5-0d1c26d996dc', 'ip_version': 4, 'cidr': '58.250.155.128/26', 'allocation_pools': [{'start': '58.250.155.130', 'end': '58.250.155.190'}], 'gateway_ip': '58.250.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.250.155.130', 'tags': [], 'project_id': '96d4f8a446bc448c849e83e6ff7224da'}}
2026-06-17 14:31:08,950 - INFO - Created VN ctest-vn-04484712
2026-06-17 14:31:09,006 - DEBUG - VN ctest-vn-04484712 UUID is 48ac8d60-63a3-48b6-b9b5-0d1c26d996dc
2026-06-17 14:31:09,162 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-96198812, 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-48017143:ctest-vn-04484712, 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]
2026-06-17 14:31:09,466 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4014b740-8354-4d35-bb0e-eb0af1646eff', 'name': 'ctest-vn-96198812', 'tenant_id': '96d4f8a446bc448c849e83e6ff7224da', 'project_id': '96d4f8a446bc448c849e83e6ff7224da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2e2eeb16-93c3-473a-82c7-d3cf3c002251'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-vn-96198812'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-policy-allow-all-71899959']], 'subnet_ipam': [{'subnet_cidr': '52.183.179.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-17 14:31:09,694 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48ac8d60-63a3-48b6-b9b5-0d1c26d996dc', 'name': 'ctest-vn-04484712', 'tenant_id': '96d4f8a446bc448c849e83e6ff7224da', 'project_id': '96d4f8a446bc448c849e83e6ff7224da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c12d2e01-0a09-4430-92bc-093bb6a45c71'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-vn-04484712'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-policy-allow-all-71899959']], 'subnet_ipam': [{'subnet_cidr': '58.250.155.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-17 14:31:09,850 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-17 14:31:10,169 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-17 14:31:10,201 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bdf7433b-f8e1-4070-9bb1-b819b30db180
2026-06-17 14:31:10,213 - DEBUG - Requesting: http://10.0.0.249:8082/project/96d4f8a4-46bc-448c-849e-83e6ff7224da
2026-06-17 14:31:10,285 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4014b740-8354-4d35-bb0e-eb0af1646eff
2026-06-17 14:31:10,295 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4014b740-8354-4d35-bb0e-eb0af1646eff
2026-06-17 14:31:10,304 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/07d20cda-ea40-4c7d-9a0b-9d0408ea483a
2026-06-17 14:31:10,310 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/07d20cda-ea40-4c7d-9a0b-9d0408ea483a
2026-06-17 14:31:10,316 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/228ab861-1b6b-4826-8eb1-cc32e5f1cfcb
2026-06-17 14:31:10,321 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-17 14:31:10,321 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4014b740-8354-4d35-bb0e-eb0af1646eff
2026-06-17 14:31:10,329 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/07d20cda-ea40-4c7d-9a0b-9d0408ea483a
2026-06-17 14:31:10,341 - INFO - Verified VN network id 12 for VN 4014b740-8354-4d35-bb0e-eb0af1646eff
2026-06-17 14:31:10,341 - INFO - Verifications in API Server for VN ctest-vn-96198812 passed
2026-06-17 14:31:10,341 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4014b740-8354-4d35-bb0e-eb0af1646eff
2026-06-17 14:31:10,349 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/07d20cda-ea40-4c7d-9a0b-9d0408ea483a
2026-06-17 14:31:10,355 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/07d20cda-ea40-4c7d-9a0b-9d0408ea483a
2026-06-17 14:31:10,360 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/228ab861-1b6b-4826-8eb1-cc32e5f1cfcb
2026-06-17 14:31:10,369 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-96198812', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48017143', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4617517005670731061', 'uuid-lslong': '13478969166998564607'}, 'enable': 'true', 'created': '2026-06-17T14:31:08', 'last-modified': '2026-06-17T14:31:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923868'}
2026-06-17 14:31:10,374 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-17 14:31:10,374 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96198812 passed
2026-06-17 14:31:10,374 - DEBUG - ====Verifying policy data for ctest-vn-96198812 in API_Server ======
2026-06-17 14:31:10,374 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-17 14:31:10,379 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bdf7433b-f8e1-4070-9bb1-b819b30db180
2026-06-17 14:31:10,389 - DEBUG - Requesting: http://10.0.0.249:8082/project/96d4f8a4-46bc-448c-849e-83e6ff7224da
2026-06-17 14:31:10,451 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4014b740-8354-4d35-bb0e-eb0af1646eff
2026-06-17 14:31:10,459 - DEBUG - ==>Verifying data for policy with id: 1f7d8dcd-3cd1-422c-b30d-d66af9a8504a, fqn: ['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-policy-allow-all-71899959']
2026-06-17 14:31:10,459 - INFO - VN ctest-vn-96198812 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-17 14:31:10,459 - DEBUG - Verifying the vn in opserver
2026-06-17 14:31:10,459 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-96198812 virtual network link through opserver 10.0.0.249
2026-06-17 14:31:10,459 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-06-17 14:31:10,783 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-06-17 14:31:10,835 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-96198812', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-96198812?flat'}
2026-06-17 14:31:10,836 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-96198812 is found in opserver
2026-06-17 14:31:10,846 - DEBUG - Do not have enough data to verify VN in agent
2026-06-17 14:31:10,851 - DEBUG - VRF ids for VN ctest-vn-96198812: {}
2026-06-17 14:31:10,851 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-17 14:31:10,856 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bdf7433b-f8e1-4070-9bb1-b819b30db180
2026-06-17 14:31:10,867 - DEBUG - Requesting: http://10.0.0.249:8082/project/96d4f8a4-46bc-448c-849e-83e6ff7224da
2026-06-17 14:31:10,937 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48ac8d60-63a3-48b6-b9b5-0d1c26d996dc
2026-06-17 14:31:10,946 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48ac8d60-63a3-48b6-b9b5-0d1c26d996dc
2026-06-17 14:31:10,954 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3f15cbcb-356f-4e9d-9441-880364e403c5
2026-06-17 14:31:10,960 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3f15cbcb-356f-4e9d-9441-880364e403c5
2026-06-17 14:31:10,965 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1229f697-950b-4c2f-8196-867968c3a39c
2026-06-17 14:31:10,970 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-17 14:31:10,970 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48ac8d60-63a3-48b6-b9b5-0d1c26d996dc
2026-06-17 14:31:10,976 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3f15cbcb-356f-4e9d-9441-880364e403c5
2026-06-17 14:31:10,986 - INFO - Verified VN network id 13 for VN 48ac8d60-63a3-48b6-b9b5-0d1c26d996dc
2026-06-17 14:31:10,986 - INFO - Verifications in API Server for VN ctest-vn-04484712 passed
2026-06-17 14:31:10,986 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48ac8d60-63a3-48b6-b9b5-0d1c26d996dc
2026-06-17 14:31:10,993 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3f15cbcb-356f-4e9d-9441-880364e403c5
2026-06-17 14:31:10,999 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3f15cbcb-356f-4e9d-9441-880364e403c5
2026-06-17 14:31:11,005 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1229f697-950b-4c2f-8196-867968c3a39c
2026-06-17 14:31:11,015 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-04484712', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48017143', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5236715911853066422', 'uuid-lslong': '13381616282363336412'}, 'enable': 'true', 'created': '2026-06-17T14:31:08', 'last-modified': '2026-06-17T14:31:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.341436'}
2026-06-17 14:31:11,020 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-17 14:31:11,020 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04484712 passed
2026-06-17 14:31:11,021 - DEBUG - ====Verifying policy data for ctest-vn-04484712 in API_Server ======
2026-06-17 14:31:11,021 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-17 14:31:11,025 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bdf7433b-f8e1-4070-9bb1-b819b30db180
2026-06-17 14:31:11,035 - DEBUG - Requesting: http://10.0.0.249:8082/project/96d4f8a4-46bc-448c-849e-83e6ff7224da
2026-06-17 14:31:11,104 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48ac8d60-63a3-48b6-b9b5-0d1c26d996dc
2026-06-17 14:31:11,112 - DEBUG - ==>Verifying data for policy with id: 1f7d8dcd-3cd1-422c-b30d-d66af9a8504a, fqn: ['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-policy-allow-all-71899959']
2026-06-17 14:31:11,112 - INFO - VN ctest-vn-04484712 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-17 14:31:11,112 - DEBUG - Verifying the vn in opserver
2026-06-17 14:31:11,112 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-04484712 virtual network link through opserver 10.0.0.249
2026-06-17 14:31:11,112 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-06-17 14:31:11,120 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-04484712', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-04484712?flat'}
2026-06-17 14:31:11,120 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-04484712 is found in opserver
2026-06-17 14:31:11,128 - DEBUG - Do not have enough data to verify VN in agent
2026-06-17 14:31:11,133 - DEBUG - VRF ids for VN ctest-vn-04484712: {}
2026-06-17 14:31:11,186 - DEBUG - Services list from nova: [