2026-08-17 13:10:40,398 - INFO - Domain Default found not creating
2026-08-17 13:10:40,594 - INFO - Project ctest-TestBasicPolicy-66930299 not found, creating it
2026-08-17 13:10:41,114 - INFO - Created Project:ctest-TestBasicPolicy-66930299, ID : 389bfb9a-108c-40eb-a0ff-a5ced73a5655
2026-08-17 13:10:42,792 - INFO - ================================================================================
2026-08-17 13:10:42,792 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-17 13:10:42,792 - 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-08-17 13:10:43,063 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.254': '0'}} with
2026-08-17 13:10:43,064 - INFO - Initial checks done. Running the testcase now
2026-08-17 13:10:43,064 - INFO -
2026-08-17 13:10:43,730 - DEBUG - Response for create_network : {'network': {'id': 'f419627a-d3ba-4e31-9097-f21087ac8d99', 'name': 'ctest-vn-52514379', 'tenant_id': '389bfb9a108c40eba0ffa5ced73a5655', 'project_id': '389bfb9a108c40eba0ffa5ced73a5655', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66930299', 'ctest-vn-52514379'], 'port_security_enabled': True, 'description': ''}}
2026-08-17 13:10:43,970 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bca88b2c-cd81-4bb7-8137-4c667474501f', 'name': '', 'tenant_id': '389bfb9a108c40eba0ffa5ced73a5655', 'network_id': 'f419627a-d3ba-4e31-9097-f21087ac8d99', 'ip_version': 4, 'cidr': '198.77.183.128/26', 'allocation_pools': [{'start': '198.77.183.130', 'end': '198.77.183.190'}], 'gateway_ip': '198.77.183.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.77.183.130', 'tags': [], 'project_id': '389bfb9a108c40eba0ffa5ced73a5655'}}
2026-08-17 13:10:43,986 - INFO - Created VN ctest-vn-52514379
2026-08-17 13:10:44,038 - DEBUG - VN ctest-vn-52514379 UUID is f419627a-d3ba-4e31-9097-f21087ac8d99
2026-08-17 13:10:44,376 - DEBUG - Response for create_network : {'network': {'id': 'c9ba439d-35d6-4ce5-b89c-e3c6c6ab74ba', 'name': 'ctest-vn-62764477', 'tenant_id': '389bfb9a108c40eba0ffa5ced73a5655', 'project_id': '389bfb9a108c40eba0ffa5ced73a5655', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66930299', 'ctest-vn-62764477'], 'port_security_enabled': True, 'description': ''}}
2026-08-17 13:10:44,574 - DEBUG - Response for create_subnet : {'subnet': {'id': '39c7d7b9-5fc1-4029-9345-6b21e4652278', 'name': '', 'tenant_id': '389bfb9a108c40eba0ffa5ced73a5655', 'network_id': 'c9ba439d-35d6-4ce5-b89c-e3c6c6ab74ba', 'ip_version': 4, 'cidr': '99.21.186.128/26', 'allocation_pools': [{'start': '99.21.186.130', 'end': '99.21.186.190'}], 'gateway_ip': '99.21.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.21.186.130', 'tags': [], 'project_id': '389bfb9a108c40eba0ffa5ced73a5655'}}
2026-08-17 13:10:44,592 - INFO - Created VN ctest-vn-62764477
2026-08-17 13:10:44,646 - DEBUG - VN ctest-vn-62764477 UUID is c9ba439d-35d6-4ce5-b89c-e3c6c6ab74ba
2026-08-17 13:10:44,776 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66930299:ctest-vn-52514379, 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-66930299:ctest-vn-62764477, 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-08-17 13:10:45,148 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f419627a-d3ba-4e31-9097-f21087ac8d99', 'name': 'ctest-vn-52514379', 'tenant_id': '389bfb9a108c40eba0ffa5ced73a5655', 'project_id': '389bfb9a108c40eba0ffa5ced73a5655', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bca88b2c-cd81-4bb7-8137-4c667474501f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66930299', 'ctest-vn-52514379'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66930299', 'ctest-policy-allow-all-00504399']], 'subnet_ipam': [{'subnet_cidr': '198.77.183.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-17 13:10:45,424 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c9ba439d-35d6-4ce5-b89c-e3c6c6ab74ba', 'name': 'ctest-vn-62764477', 'tenant_id': '389bfb9a108c40eba0ffa5ced73a5655', 'project_id': '389bfb9a108c40eba0ffa5ced73a5655', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['39c7d7b9-5fc1-4029-9345-6b21e4652278'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66930299', 'ctest-vn-62764477'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66930299', 'ctest-policy-allow-all-00504399']], 'subnet_ipam': [{'subnet_cidr': '99.21.186.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-17 13:10:45,626 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-08-17 13:10:45,966 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-08-17 13:10:45,999 - DEBUG - Requesting: http://10.0.0.177:8082/domain/ab67ae38-ea1a-4964-ba37-cb4b81b9f1e3
2026-08-17 13:10:46,016 - DEBUG - Requesting: http://10.0.0.177:8082/project/389bfb9a-108c-40eb-a0ff-a5ced73a5655
2026-08-17 13:10:46,104 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f419627a-d3ba-4e31-9097-f21087ac8d99
2026-08-17 13:10:46,121 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f419627a-d3ba-4e31-9097-f21087ac8d99
2026-08-17 13:10:46,134 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/33c71f83-875d-40da-a8e2-4440e9bbd695
2026-08-17 13:10:46,147 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/33c71f83-875d-40da-a8e2-4440e9bbd695
2026-08-17 13:10:46,160 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/35ebd92d-1de4-4683-acd1-784e0f06844f
2026-08-17 13:10:46,171 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-17 13:10:46,171 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f419627a-d3ba-4e31-9097-f21087ac8d99
2026-08-17 13:10:46,184 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/33c71f83-875d-40da-a8e2-4440e9bbd695
2026-08-17 13:10:46,203 - INFO - Verified VN network id 11 for VN f419627a-d3ba-4e31-9097-f21087ac8d99
2026-08-17 13:10:46,203 - INFO - Verifications in API Server for VN ctest-vn-52514379 passed
2026-08-17 13:10:46,203 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f419627a-d3ba-4e31-9097-f21087ac8d99
2026-08-17 13:10:46,215 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/33c71f83-875d-40da-a8e2-4440e9bbd695
2026-08-17 13:10:46,223 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/33c71f83-875d-40da-a8e2-4440e9bbd695
2026-08-17 13:10:46,231 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/35ebd92d-1de4-4683-acd1-784e0f06844f
2026-08-17 13:10:46,247 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66930299:ctest-vn-52514379', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66930299', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17589198099349917233', 'uuid-lslong': '10419062415754562969'}, 'enable': 'true', 'created': '2026-08-17T13:10:43', 'last-modified': '2026-08-17T13:10:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.143158'}
2026-08-17 13:10:46,254 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-17 13:10:46,254 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52514379 passed
2026-08-17 13:10:46,254 - DEBUG - ====Verifying policy data for ctest-vn-52514379 in API_Server ======
2026-08-17 13:10:46,254 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-08-17 13:10:46,261 - DEBUG - Requesting: http://10.0.0.177:8082/domain/ab67ae38-ea1a-4964-ba37-cb4b81b9f1e3
2026-08-17 13:10:46,273 - DEBUG - Requesting: http://10.0.0.177:8082/project/389bfb9a-108c-40eb-a0ff-a5ced73a5655
2026-08-17 13:10:46,349 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f419627a-d3ba-4e31-9097-f21087ac8d99
2026-08-17 13:10:46,361 - DEBUG - ==>Verifying data for policy with id: 0acbc98a-5080-4a72-8c36-2523bc971e7a, fqn: ['default-domain', 'ctest-TestBasicPolicy-66930299', 'ctest-policy-allow-all-00504399']
2026-08-17 13:10:46,361 - INFO - VN ctest-vn-52514379 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-17 13:10:46,361 - DEBUG - Verifying the vn in opserver
2026-08-17 13:10:46,361 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66930299:ctest-vn-52514379 virtual network link through opserver 10.0.0.177
2026-08-17 13:10:46,361 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-08-17 13:10:46,693 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-08-17 13:10:47,080 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66930299:ctest-vn-52514379', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66930299:ctest-vn-52514379?flat'}
2026-08-17 13:10:47,080 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66930299:ctest-vn-52514379 is found in opserver
2026-08-17 13:10:47,091 - DEBUG - Do not have enough data to verify VN in agent
2026-08-17 13:10:47,097 - DEBUG - VRF ids for VN ctest-vn-52514379: {}
2026-08-17 13:10:47,097 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-08-17 13:10:47,105 - DEBUG - Requesting: http://10.0.0.177:8082/domain/ab67ae38-ea1a-4964-ba37-cb4b81b9f1e3
2026-08-17 13:10:47,119 - DEBUG - Requesting: http://10.0.0.177:8082/project/389bfb9a-108c-40eb-a0ff-a5ced73a5655
2026-08-17 13:10:47,194 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c9ba439d-35d6-4ce5-b89c-e3c6c6ab74ba
2026-08-17 13:10:47,207 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c9ba439d-35d6-4ce5-b89c-e3c6c6ab74ba
2026-08-17 13:10:47,217 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/0a965042-19c2-465a-bf83-19932f9fc382
2026-08-17 13:10:47,225 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/0a965042-19c2-465a-bf83-19932f9fc382
2026-08-17 13:10:47,233 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/67304cc0-192b-47e6-b06c-df3914adb81a
2026-08-17 13:10:47,242 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-17 13:10:47,242 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c9ba439d-35d6-4ce5-b89c-e3c6c6ab74ba
2026-08-17 13:10:47,253 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/0a965042-19c2-465a-bf83-19932f9fc382
2026-08-17 13:10:47,270 - INFO - Verified VN network id 12 for VN c9ba439d-35d6-4ce5-b89c-e3c6c6ab74ba
2026-08-17 13:10:47,270 - INFO - Verifications in API Server for VN ctest-vn-62764477 passed
2026-08-17 13:10:47,270 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c9ba439d-35d6-4ce5-b89c-e3c6c6ab74ba
2026-08-17 13:10:47,281 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/0a965042-19c2-465a-bf83-19932f9fc382
2026-08-17 13:10:47,289 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/0a965042-19c2-465a-bf83-19932f9fc382
2026-08-17 13:10:47,296 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/67304cc0-192b-47e6-b06c-df3914adb81a
2026-08-17 13:10:47,314 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66930299:ctest-vn-62764477', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66930299', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14536005089783860453', 'uuid-lslong': '13302757842221757626'}, 'enable': 'true', 'created': '2026-08-17T13:10:44', 'last-modified': '2026-08-17T13:10:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.918536'}
2026-08-17 13:10:47,322 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-17 13:10:47,322 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62764477 passed
2026-08-17 13:10:47,322 - DEBUG - ====Verifying policy data for ctest-vn-62764477 in API_Server ======
2026-08-17 13:10:47,322 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-08-17 13:10:47,329 - DEBUG - Requesting: http://10.0.0.177:8082/domain/ab67ae38-ea1a-4964-ba37-cb4b81b9f1e3
2026-08-17 13:10:47,342 - DEBUG - Requesting: http://10.0.0.177:8082/project/389bfb9a-108c-40eb-a0ff-a5ced73a5655
2026-08-17 13:10:47,420 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c9ba439d-35d6-4ce5-b89c-e3c6c6ab74ba
2026-08-17 13:10:47,431 - DEBUG - ==>Verifying data for policy with id: 0acbc98a-5080-4a72-8c36-2523bc971e7a, fqn: ['default-domain', 'ctest-TestBasicPolicy-66930299', 'ctest-policy-allow-all-00504399']
2026-08-17 13:10:47,431 - INFO - VN ctest-vn-62764477 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-17 13:10:47,431 - DEBUG - Verifying the vn in opserver
2026-08-17 13:10:47,431 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66930299:ctest-vn-62764477 virtual network link through opserver 10.0.0.177
2026-08-17 13:10:47,431 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-08-17 13:10:47,443 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66930299:ctest-vn-62764477', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66930299:ctest-vn-62764477?flat'}
2026-08-17 13:10:47,443 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66930299:ctest-vn-62764477 is found in opserver
2026-08-17 13:10:47,457 - DEBUG - Do not have enough data to verify VN in agent
2026-08-17 13:10:47,463 - DEBUG - VRF ids for VN ctest-vn-62764477: {}
2026-08-17 13:10:47,531 - DEBUG - Services list from nova: [