2026-10-20 19:08:04,650 - INFO - Domain Default found not creating
2026-10-20 19:08:05,220 - INFO - Project ctest-TestBasicPolicy-21159068 not found, creating it
2026-10-20 19:08:05,711 - INFO - Created Project:ctest-TestBasicPolicy-21159068, ID : 184600ca-9abb-4289-aeaa-6d131123af23
2026-10-20 19:08:07,375 - INFO - ================================================================================
2026-10-20 19:08:07,375 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-20 19:08:07,375 - 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-20 19:08:07,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-10-20 19:08:07,631 - INFO - Initial checks done. Running the testcase now
2026-10-20 19:08:07,631 - INFO -
2026-10-20 19:08:08,224 - DEBUG - Response for create_network : {'network': {'id': 'f5aaa9ce-50c7-4d28-b01c-63895004e3e0', 'name': 'ctest-vn-04333681', 'tenant_id': '184600ca9abb4289aeaa6d131123af23', 'project_id': '184600ca9abb4289aeaa6d131123af23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-vn-04333681'], 'port_security_enabled': True, 'description': ''}}
2026-10-20 19:08:08,437 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb183105-0456-4539-8ad6-0b70524601be', 'name': '', 'tenant_id': '184600ca9abb4289aeaa6d131123af23', 'network_id': 'f5aaa9ce-50c7-4d28-b01c-63895004e3e0', 'ip_version': 4, 'cidr': '167.80.147.192/26', 'allocation_pools': [{'start': '167.80.147.194', 'end': '167.80.147.254'}], 'gateway_ip': '167.80.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.80.147.194', 'tags': [], 'project_id': '184600ca9abb4289aeaa6d131123af23'}}
2026-10-20 19:08:08,451 - INFO - Created VN ctest-vn-04333681
2026-10-20 19:08:08,500 - DEBUG - VN ctest-vn-04333681 UUID is f5aaa9ce-50c7-4d28-b01c-63895004e3e0
2026-10-20 19:08:08,793 - DEBUG - Response for create_network : {'network': {'id': 'db3a5376-76c1-4e6d-9b7c-e59a16a880c3', 'name': 'ctest-vn-76500642', 'tenant_id': '184600ca9abb4289aeaa6d131123af23', 'project_id': '184600ca9abb4289aeaa6d131123af23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-vn-76500642'], 'port_security_enabled': True, 'description': ''}}
2026-10-20 19:08:08,965 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bfd11d5-5c1c-45b1-ac85-7092c5d5b168', 'name': '', 'tenant_id': '184600ca9abb4289aeaa6d131123af23', 'network_id': 'db3a5376-76c1-4e6d-9b7c-e59a16a880c3', 'ip_version': 4, 'cidr': '59.153.2.192/26', 'allocation_pools': [{'start': '59.153.2.194', 'end': '59.153.2.254'}], 'gateway_ip': '59.153.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.153.2.194', 'tags': [], 'project_id': '184600ca9abb4289aeaa6d131123af23'}}
2026-10-20 19:08:08,981 - INFO - Created VN ctest-vn-76500642
2026-10-20 19:08:09,032 - DEBUG - VN ctest-vn-76500642 UUID is db3a5376-76c1-4e6d-9b7c-e59a16a880c3
2026-10-20 19:08:09,145 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-04333681, 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-21159068:ctest-vn-76500642, 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-20 19:08:09,430 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5aaa9ce-50c7-4d28-b01c-63895004e3e0', 'name': 'ctest-vn-04333681', 'tenant_id': '184600ca9abb4289aeaa6d131123af23', 'project_id': '184600ca9abb4289aeaa6d131123af23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['bb183105-0456-4539-8ad6-0b70524601be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-vn-04333681'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-policy-allow-all-54478941']], 'subnet_ipam': [{'subnet_cidr': '167.80.147.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-20 19:08:09,642 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'db3a5376-76c1-4e6d-9b7c-e59a16a880c3', 'name': 'ctest-vn-76500642', 'tenant_id': '184600ca9abb4289aeaa6d131123af23', 'project_id': '184600ca9abb4289aeaa6d131123af23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0bfd11d5-5c1c-45b1-ac85-7092c5d5b168'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-vn-76500642'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-policy-allow-all-54478941']], 'subnet_ipam': [{'subnet_cidr': '59.153.2.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-20 19:08:09,792 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-20 19:08:10,151 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-20 19:08:10,175 - DEBUG - Requesting: http://10.0.0.185:8082/domain/aba02298-f8c3-4f61-bc61-2d40ae2d1b7c
2026-10-20 19:08:10,185 - DEBUG - Requesting: http://10.0.0.185:8082/project/184600ca-9abb-4289-aeaa-6d131123af23
2026-10-20 19:08:10,255 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f5aaa9ce-50c7-4d28-b01c-63895004e3e0
2026-10-20 19:08:10,265 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f5aaa9ce-50c7-4d28-b01c-63895004e3e0
2026-10-20 19:08:10,272 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2301efb0-b995-4fb0-9b80-3c895b4b4786
2026-10-20 19:08:10,279 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2301efb0-b995-4fb0-9b80-3c895b4b4786
2026-10-20 19:08:10,284 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/bc3ce15d-ce1a-4f2f-a41b-22b771e6641f
2026-10-20 19:08:10,289 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-20 19:08:10,289 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f5aaa9ce-50c7-4d28-b01c-63895004e3e0
2026-10-20 19:08:10,297 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2301efb0-b995-4fb0-9b80-3c895b4b4786
2026-10-20 19:08:10,307 - INFO - Verified VN network id 12 for VN f5aaa9ce-50c7-4d28-b01c-63895004e3e0
2026-10-20 19:08:10,307 - INFO - Verifications in API Server for VN ctest-vn-04333681 passed
2026-10-20 19:08:10,308 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f5aaa9ce-50c7-4d28-b01c-63895004e3e0
2026-10-20 19:08:10,315 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2301efb0-b995-4fb0-9b80-3c895b4b4786
2026-10-20 19:08:10,320 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2301efb0-b995-4fb0-9b80-3c895b4b4786
2026-10-20 19:08:10,326 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/bc3ce15d-ce1a-4f2f-a41b-22b771e6641f
2026-10-20 19:08:10,336 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-04333681', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21159068', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17702147988916751656', 'uuid-lslong': '12690127291427382240'}, 'enable': 'true', 'created': '2026-10-20T19:08:08', 'last-modified': '2026-10-20T19:08:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927465'}
2026-10-20 19:08:10,342 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-20 19:08:10,342 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04333681 passed
2026-10-20 19:08:10,342 - DEBUG - ====Verifying policy data for ctest-vn-04333681 in API_Server ======
2026-10-20 19:08:10,342 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-20 19:08:10,347 - DEBUG - Requesting: http://10.0.0.185:8082/domain/aba02298-f8c3-4f61-bc61-2d40ae2d1b7c
2026-10-20 19:08:10,356 - DEBUG - Requesting: http://10.0.0.185:8082/project/184600ca-9abb-4289-aeaa-6d131123af23
2026-10-20 19:08:10,435 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f5aaa9ce-50c7-4d28-b01c-63895004e3e0
2026-10-20 19:08:10,442 - DEBUG - ==>Verifying data for policy with id: 79d467d8-bad5-45f9-843b-bf1f38315acb, fqn: ['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-policy-allow-all-54478941']
2026-10-20 19:08:10,442 - INFO - VN ctest-vn-04333681 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-20 19:08:10,442 - DEBUG - Verifying the vn in opserver
2026-10-20 19:08:10,443 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-04333681 virtual network link through opserver 10.0.0.185
2026-10-20 19:08:10,443 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-20 19:08:10,805 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-20 19:08:10,847 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-04333681', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-04333681?flat'}
2026-10-20 19:08:10,847 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-04333681 is found in opserver
2026-10-20 19:08:10,856 - DEBUG - Do not have enough data to verify VN in agent
2026-10-20 19:08:10,860 - DEBUG - VRF ids for VN ctest-vn-04333681: {}
2026-10-20 19:08:10,860 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-20 19:08:10,865 - DEBUG - Requesting: http://10.0.0.185:8082/domain/aba02298-f8c3-4f61-bc61-2d40ae2d1b7c
2026-10-20 19:08:10,874 - DEBUG - Requesting: http://10.0.0.185:8082/project/184600ca-9abb-4289-aeaa-6d131123af23
2026-10-20 19:08:10,940 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/db3a5376-76c1-4e6d-9b7c-e59a16a880c3
2026-10-20 19:08:10,950 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/db3a5376-76c1-4e6d-9b7c-e59a16a880c3
2026-10-20 19:08:10,958 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/11db1efa-5712-490a-947e-ad7a079ebcfb
2026-10-20 19:08:10,964 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/11db1efa-5712-490a-947e-ad7a079ebcfb
2026-10-20 19:08:10,969 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/63fd65b5-76bc-415f-bd24-0975dd26d864
2026-10-20 19:08:10,974 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-20 19:08:10,975 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/db3a5376-76c1-4e6d-9b7c-e59a16a880c3
2026-10-20 19:08:10,984 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/11db1efa-5712-490a-947e-ad7a079ebcfb
2026-10-20 19:08:10,997 - INFO - Verified VN network id 13 for VN db3a5376-76c1-4e6d-9b7c-e59a16a880c3
2026-10-20 19:08:10,998 - INFO - Verifications in API Server for VN ctest-vn-76500642 passed
2026-10-20 19:08:10,998 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/db3a5376-76c1-4e6d-9b7c-e59a16a880c3
2026-10-20 19:08:11,007 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/11db1efa-5712-490a-947e-ad7a079ebcfb
2026-10-20 19:08:11,014 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/11db1efa-5712-490a-947e-ad7a079ebcfb
2026-10-20 19:08:11,020 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/63fd65b5-76bc-415f-bd24-0975dd26d864
2026-10-20 19:08:11,033 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-76500642', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21159068', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15797030411219062381', 'uuid-lslong': '11204082422958817475'}, 'enable': 'true', 'created': '2026-10-20T19:08:08', 'last-modified': '2026-10-20T19:08:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.409295'}
2026-10-20 19:08:11,040 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-20 19:08:11,040 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76500642 passed
2026-10-20 19:08:11,041 - DEBUG - ====Verifying policy data for ctest-vn-76500642 in API_Server ======
2026-10-20 19:08:11,041 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-20 19:08:11,045 - DEBUG - Requesting: http://10.0.0.185:8082/domain/aba02298-f8c3-4f61-bc61-2d40ae2d1b7c
2026-10-20 19:08:11,056 - DEBUG - Requesting: http://10.0.0.185:8082/project/184600ca-9abb-4289-aeaa-6d131123af23
2026-10-20 19:08:11,128 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/db3a5376-76c1-4e6d-9b7c-e59a16a880c3
2026-10-20 19:08:11,136 - DEBUG - ==>Verifying data for policy with id: 79d467d8-bad5-45f9-843b-bf1f38315acb, fqn: ['default-domain', 'ctest-TestBasicPolicy-21159068', 'ctest-policy-allow-all-54478941']
2026-10-20 19:08:11,136 - INFO - VN ctest-vn-76500642 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-20 19:08:11,136 - DEBUG - Verifying the vn in opserver
2026-10-20 19:08:11,136 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-76500642 virtual network link through opserver 10.0.0.185
2026-10-20 19:08:11,136 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-20 19:08:11,144 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-76500642', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-76500642?flat'}
2026-10-20 19:08:11,144 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21159068:ctest-vn-76500642 is found in opserver
2026-10-20 19:08:11,153 - DEBUG - Do not have enough data to verify VN in agent
2026-10-20 19:08:11,157 - DEBUG - VRF ids for VN ctest-vn-76500642: {}
2026-10-20 19:08:11,205 - DEBUG - Services list from nova: [