2026-10-30 01:09:20,707 - INFO - Domain Default found not creating
2026-10-30 01:09:20,853 - INFO - Project ctest-TestBasicPolicy-86540371 not found, creating it
2026-10-30 01:09:21,328 - INFO - Created Project:ctest-TestBasicPolicy-86540371, ID : 845e8783-ba95-4f33-8832-875151a86a94
2026-10-30 01:09:22,736 - INFO - ================================================================================
2026-10-30 01:09:22,736 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-30 01:09:22,736 - 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-10-30 01:09:22,990 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.25': '0'}} with
2026-10-30 01:09:22,990 - INFO - Initial checks done. Running the testcase now
2026-10-30 01:09:22,990 - INFO -
2026-10-30 01:09:23,506 - DEBUG - Response for create_network : {'network': {'id': '20c3aef8-0bee-4857-b85a-fc5ae373e054', 'name': 'ctest-vn-76296703', 'tenant_id': '845e8783ba954f338832875151a86a94', 'project_id': '845e8783ba954f338832875151a86a94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86540371', 'ctest-vn-76296703'], 'port_security_enabled': True, 'description': ''}}
2026-10-30 01:09:23,647 - DEBUG - Response for create_subnet : {'subnet': {'id': '712e0644-bd1e-419e-943a-429ca041328d', 'name': '', 'tenant_id': '845e8783ba954f338832875151a86a94', 'network_id': '20c3aef8-0bee-4857-b85a-fc5ae373e054', 'ip_version': 4, 'cidr': '185.86.55.0/26', 'allocation_pools': [{'start': '185.86.55.2', 'end': '185.86.55.62'}], 'gateway_ip': '185.86.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.86.55.2', 'tags': [], 'project_id': '845e8783ba954f338832875151a86a94'}}
2026-10-30 01:09:23,658 - INFO - Created VN ctest-vn-76296703
2026-10-30 01:09:23,713 - DEBUG - VN ctest-vn-76296703 UUID is 20c3aef8-0bee-4857-b85a-fc5ae373e054
2026-10-30 01:09:23,998 - DEBUG - Response for create_network : {'network': {'id': '07f9da2c-1a2f-4b4e-9f41-42bfca758467', 'name': 'ctest-vn-32766512', 'tenant_id': '845e8783ba954f338832875151a86a94', 'project_id': '845e8783ba954f338832875151a86a94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86540371', 'ctest-vn-32766512'], 'port_security_enabled': True, 'description': ''}}
2026-10-30 01:09:24,133 - DEBUG - Response for create_subnet : {'subnet': {'id': '51f66b32-4b20-4058-856a-06362a722d25', 'name': '', 'tenant_id': '845e8783ba954f338832875151a86a94', 'network_id': '07f9da2c-1a2f-4b4e-9f41-42bfca758467', 'ip_version': 4, 'cidr': '203.63.216.64/26', 'allocation_pools': [{'start': '203.63.216.66', 'end': '203.63.216.126'}], 'gateway_ip': '203.63.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.63.216.66', 'tags': [], 'project_id': '845e8783ba954f338832875151a86a94'}}
2026-10-30 01:09:24,145 - INFO - Created VN ctest-vn-32766512
2026-10-30 01:09:24,196 - DEBUG - VN ctest-vn-32766512 UUID is 07f9da2c-1a2f-4b4e-9f41-42bfca758467
2026-10-30 01:09:24,328 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86540371:ctest-vn-76296703, 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-86540371:ctest-vn-32766512, 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-10-30 01:09:24,593 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '20c3aef8-0bee-4857-b85a-fc5ae373e054', 'name': 'ctest-vn-76296703', 'tenant_id': '845e8783ba954f338832875151a86a94', 'project_id': '845e8783ba954f338832875151a86a94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['712e0644-bd1e-419e-943a-429ca041328d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86540371', 'ctest-vn-76296703'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86540371', 'ctest-policy-allow-all-66964131']], 'subnet_ipam': [{'subnet_cidr': '185.86.55.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-30 01:09:24,830 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07f9da2c-1a2f-4b4e-9f41-42bfca758467', 'name': 'ctest-vn-32766512', 'tenant_id': '845e8783ba954f338832875151a86a94', 'project_id': '845e8783ba954f338832875151a86a94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['51f66b32-4b20-4058-856a-06362a722d25'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86540371', 'ctest-vn-32766512'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86540371', 'ctest-policy-allow-all-66964131']], 'subnet_ipam': [{'subnet_cidr': '203.63.216.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-30 01:09:24,989 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-10-30 01:09:25,299 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-10-30 01:09:25,321 - DEBUG - Requesting: http://10.0.0.251:8082/domain/db05f4d7-5d38-46b6-be83-619bd0868f27
2026-10-30 01:09:25,331 - DEBUG - Requesting: http://10.0.0.251:8082/project/845e8783-ba95-4f33-8832-875151a86a94
2026-10-30 01:09:25,397 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/20c3aef8-0bee-4857-b85a-fc5ae373e054
2026-10-30 01:09:25,405 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/20c3aef8-0bee-4857-b85a-fc5ae373e054
2026-10-30 01:09:25,412 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/4b27def4-3483-4a2e-949f-61f0b348aa28
2026-10-30 01:09:25,418 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/4b27def4-3483-4a2e-949f-61f0b348aa28
2026-10-30 01:09:25,423 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/c8a0019f-744a-45aa-826f-239f078bcc6d
2026-10-30 01:09:25,427 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-30 01:09:25,427 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/20c3aef8-0bee-4857-b85a-fc5ae373e054
2026-10-30 01:09:25,434 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/4b27def4-3483-4a2e-949f-61f0b348aa28
2026-10-30 01:09:25,444 - INFO - Verified VN network id 11 for VN 20c3aef8-0bee-4857-b85a-fc5ae373e054
2026-10-30 01:09:25,444 - INFO - Verifications in API Server for VN ctest-vn-76296703 passed
2026-10-30 01:09:25,444 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/20c3aef8-0bee-4857-b85a-fc5ae373e054
2026-10-30 01:09:25,450 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/4b27def4-3483-4a2e-949f-61f0b348aa28
2026-10-30 01:09:25,455 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/4b27def4-3483-4a2e-949f-61f0b348aa28
2026-10-30 01:09:25,460 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/c8a0019f-744a-45aa-826f-239f078bcc6d
2026-10-30 01:09:25,469 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86540371:ctest-vn-76296703', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86540371', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2360923010047559767', 'uuid-lslong': '13284207518175977556'}, 'enable': 'true', 'created': '2026-10-30T01:09:23', 'last-modified': '2026-10-30T01:09:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.895270'}
2026-10-30 01:09:25,475 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-30 01:09:25,475 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76296703 passed
2026-10-30 01:09:25,475 - DEBUG - ====Verifying policy data for ctest-vn-76296703 in API_Server ======
2026-10-30 01:09:25,475 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-10-30 01:09:25,479 - DEBUG - Requesting: http://10.0.0.251:8082/domain/db05f4d7-5d38-46b6-be83-619bd0868f27
2026-10-30 01:09:25,486 - DEBUG - Requesting: http://10.0.0.251:8082/project/845e8783-ba95-4f33-8832-875151a86a94
2026-10-30 01:09:25,557 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/20c3aef8-0bee-4857-b85a-fc5ae373e054
2026-10-30 01:09:25,564 - DEBUG - ==>Verifying data for policy with id: 163dcdf7-a6c2-47b3-9e17-a941124367d7, fqn: ['default-domain', 'ctest-TestBasicPolicy-86540371', 'ctest-policy-allow-all-66964131']
2026-10-30 01:09:25,564 - INFO - VN ctest-vn-76296703 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-30 01:09:25,564 - DEBUG - Verifying the vn in opserver
2026-10-30 01:09:25,564 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86540371:ctest-vn-76296703 virtual network link through opserver 10.0.0.251
2026-10-30 01:09:25,564 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-10-30 01:09:25,876 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-10-30 01:09:25,916 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86540371:ctest-vn-76296703', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86540371:ctest-vn-76296703?flat'}
2026-10-30 01:09:25,916 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86540371:ctest-vn-76296703 is found in opserver
2026-10-30 01:09:25,924 - DEBUG - Do not have enough data to verify VN in agent
2026-10-30 01:09:25,928 - DEBUG - VRF ids for VN ctest-vn-76296703: {}
2026-10-30 01:09:25,928 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-10-30 01:09:25,932 - DEBUG - Requesting: http://10.0.0.251:8082/domain/db05f4d7-5d38-46b6-be83-619bd0868f27
2026-10-30 01:09:25,939 - DEBUG - Requesting: http://10.0.0.251:8082/project/845e8783-ba95-4f33-8832-875151a86a94
2026-10-30 01:09:26,003 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/07f9da2c-1a2f-4b4e-9f41-42bfca758467
2026-10-30 01:09:26,011 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/07f9da2c-1a2f-4b4e-9f41-42bfca758467
2026-10-30 01:09:26,018 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99a0385c-749a-46ce-8861-724265e18f42
2026-10-30 01:09:26,022 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99a0385c-749a-46ce-8861-724265e18f42
2026-10-30 01:09:26,027 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/315df5d0-1847-40f8-bdbb-4d9fa8ef3e4a
2026-10-30 01:09:26,031 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-30 01:09:26,031 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/07f9da2c-1a2f-4b4e-9f41-42bfca758467
2026-10-30 01:09:26,038 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99a0385c-749a-46ce-8861-724265e18f42
2026-10-30 01:09:26,047 - INFO - Verified VN network id 12 for VN 07f9da2c-1a2f-4b4e-9f41-42bfca758467
2026-10-30 01:09:26,047 - INFO - Verifications in API Server for VN ctest-vn-32766512 passed
2026-10-30 01:09:26,047 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/07f9da2c-1a2f-4b4e-9f41-42bfca758467
2026-10-30 01:09:26,054 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99a0385c-749a-46ce-8861-724265e18f42
2026-10-30 01:09:26,059 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99a0385c-749a-46ce-8861-724265e18f42
2026-10-30 01:09:26,064 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/315df5d0-1847-40f8-bdbb-4d9fa8ef3e4a
2026-10-30 01:09:26,073 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86540371:ctest-vn-32766512', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86540371', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '574730310419172174', 'uuid-lslong': '11475526717019620455'}, 'enable': 'true', 'created': '2026-10-30T01:09:23', 'last-modified': '2026-10-30T01:09:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.262484'}
2026-10-30 01:09:26,078 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-30 01:09:26,079 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32766512 passed
2026-10-30 01:09:26,079 - DEBUG - ====Verifying policy data for ctest-vn-32766512 in API_Server ======
2026-10-30 01:09:26,079 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-10-30 01:09:26,082 - DEBUG - Requesting: http://10.0.0.251:8082/domain/db05f4d7-5d38-46b6-be83-619bd0868f27
2026-10-30 01:09:26,090 - DEBUG - Requesting: http://10.0.0.251:8082/project/845e8783-ba95-4f33-8832-875151a86a94
2026-10-30 01:09:26,156 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/07f9da2c-1a2f-4b4e-9f41-42bfca758467
2026-10-30 01:09:26,163 - DEBUG - ==>Verifying data for policy with id: 163dcdf7-a6c2-47b3-9e17-a941124367d7, fqn: ['default-domain', 'ctest-TestBasicPolicy-86540371', 'ctest-policy-allow-all-66964131']
2026-10-30 01:09:26,163 - INFO - VN ctest-vn-32766512 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-30 01:09:26,163 - DEBUG - Verifying the vn in opserver
2026-10-30 01:09:26,163 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86540371:ctest-vn-32766512 virtual network link through opserver 10.0.0.251
2026-10-30 01:09:26,163 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-10-30 01:09:26,171 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86540371:ctest-vn-32766512', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86540371:ctest-vn-32766512?flat'}
2026-10-30 01:09:26,171 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86540371:ctest-vn-32766512 is found in opserver
2026-10-30 01:09:26,178 - DEBUG - Do not have enough data to verify VN in agent
2026-10-30 01:09:26,183 - DEBUG - VRF ids for VN ctest-vn-32766512: {}
2026-10-30 01:09:26,226 - DEBUG - Services list from nova: [