2026-01-26 02:17:07,223 - INFO - Domain Default found not creating
2026-01-26 02:17:07,388 - INFO - Project ctest-TestBasicPolicy-91354306 not found, creating it
2026-01-26 02:17:07,845 - INFO - Created Project:ctest-TestBasicPolicy-91354306, ID : b9d28eae-5c03-40f6-8846-946853bc4fee
2026-01-26 02:17:09,264 - INFO - ================================================================================
2026-01-26 02:17:09,264 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-26 02:17:09,264 - 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-01-26 02:17:09,528 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.241': '0'}} with
2026-01-26 02:17:09,528 - INFO - Initial checks done. Running the testcase now
2026-01-26 02:17:09,528 - INFO -
2026-01-26 02:17:10,071 - DEBUG - Response for create_network : {'network': {'id': 'f698cdca-fb3b-4c45-a178-0b0342c367f7', 'name': 'ctest-vn-33050943', 'tenant_id': 'b9d28eae5c0340f68846946853bc4fee', 'project_id': 'b9d28eae5c0340f68846946853bc4fee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91354306', 'ctest-vn-33050943'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:17:10,251 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd66552bd-6e3e-482f-a141-bc3bf0bd5513', 'name': '', 'tenant_id': 'b9d28eae5c0340f68846946853bc4fee', 'network_id': 'f698cdca-fb3b-4c45-a178-0b0342c367f7', 'ip_version': 4, 'cidr': '79.222.13.64/26', 'allocation_pools': [{'start': '79.222.13.66', 'end': '79.222.13.126'}], 'gateway_ip': '79.222.13.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.222.13.66', 'tags': [], 'project_id': 'b9d28eae5c0340f68846946853bc4fee'}}
2026-01-26 02:17:10,273 - INFO - Created VN ctest-vn-33050943
2026-01-26 02:17:10,330 - DEBUG - VN ctest-vn-33050943 UUID is f698cdca-fb3b-4c45-a178-0b0342c367f7
2026-01-26 02:17:10,656 - DEBUG - Response for create_network : {'network': {'id': '67399c94-551a-4028-aec3-18d24036d348', 'name': 'ctest-vn-21320120', 'tenant_id': 'b9d28eae5c0340f68846946853bc4fee', 'project_id': 'b9d28eae5c0340f68846946853bc4fee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91354306', 'ctest-vn-21320120'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:17:10,867 - DEBUG - Response for create_subnet : {'subnet': {'id': '46fbab6d-84e2-414c-8707-e0539554e162', 'name': '', 'tenant_id': 'b9d28eae5c0340f68846946853bc4fee', 'network_id': '67399c94-551a-4028-aec3-18d24036d348', 'ip_version': 4, 'cidr': '144.136.252.0/26', 'allocation_pools': [{'start': '144.136.252.2', 'end': '144.136.252.62'}], 'gateway_ip': '144.136.252.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.136.252.2', 'tags': [], 'project_id': 'b9d28eae5c0340f68846946853bc4fee'}}
2026-01-26 02:17:10,886 - INFO - Created VN ctest-vn-21320120
2026-01-26 02:17:10,937 - DEBUG - VN ctest-vn-21320120 UUID is 67399c94-551a-4028-aec3-18d24036d348
2026-01-26 02:17:11,085 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91354306:ctest-vn-33050943, 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-91354306:ctest-vn-21320120, 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-01-26 02:17:11,367 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f698cdca-fb3b-4c45-a178-0b0342c367f7', 'name': 'ctest-vn-33050943', 'tenant_id': 'b9d28eae5c0340f68846946853bc4fee', 'project_id': 'b9d28eae5c0340f68846946853bc4fee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d66552bd-6e3e-482f-a141-bc3bf0bd5513'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91354306', 'ctest-vn-33050943'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91354306', 'ctest-policy-allow-all-00166365']], 'subnet_ipam': [{'subnet_cidr': '79.222.13.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:17:11,598 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '67399c94-551a-4028-aec3-18d24036d348', 'name': 'ctest-vn-21320120', 'tenant_id': 'b9d28eae5c0340f68846946853bc4fee', 'project_id': 'b9d28eae5c0340f68846946853bc4fee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['46fbab6d-84e2-414c-8707-e0539554e162'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91354306', 'ctest-vn-21320120'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91354306', 'ctest-policy-allow-all-00166365']], 'subnet_ipam': [{'subnet_cidr': '144.136.252.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:17:11,761 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-26 02:17:12,055 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-26 02:17:12,082 - DEBUG - Requesting: http://10.0.0.22:8082/domain/095301e9-c68f-4143-ba14-45efa741f259
2026-01-26 02:17:12,092 - DEBUG - Requesting: http://10.0.0.22:8082/project/b9d28eae-5c03-40f6-8846-946853bc4fee
2026-01-26 02:17:12,166 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f698cdca-fb3b-4c45-a178-0b0342c367f7
2026-01-26 02:17:12,176 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f698cdca-fb3b-4c45-a178-0b0342c367f7
2026-01-26 02:17:12,184 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b162bdad-1b89-44bc-97ac-f571037060c4
2026-01-26 02:17:12,190 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b162bdad-1b89-44bc-97ac-f571037060c4
2026-01-26 02:17:12,197 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/95961238-4a55-44db-a6e0-fe1bc21f30f2
2026-01-26 02:17:12,203 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-26 02:17:12,203 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f698cdca-fb3b-4c45-a178-0b0342c367f7
2026-01-26 02:17:12,211 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b162bdad-1b89-44bc-97ac-f571037060c4
2026-01-26 02:17:12,224 - INFO - Verified VN network id 11 for VN f698cdca-fb3b-4c45-a178-0b0342c367f7
2026-01-26 02:17:12,224 - INFO - Verifications in API Server for VN ctest-vn-33050943 passed
2026-01-26 02:17:12,224 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f698cdca-fb3b-4c45-a178-0b0342c367f7
2026-01-26 02:17:12,232 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b162bdad-1b89-44bc-97ac-f571037060c4
2026-01-26 02:17:12,238 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b162bdad-1b89-44bc-97ac-f571037060c4
2026-01-26 02:17:12,244 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/95961238-4a55-44db-a6e0-fe1bc21f30f2
2026-01-26 02:17:12,255 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91354306:ctest-vn-33050943', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91354306', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17769178601472347205', 'uuid-lslong': '11635061745944586231'}, 'enable': 'true', 'created': '2026-01-26T02:17:10', 'last-modified': '2026-01-26T02:17:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.912291'}
2026-01-26 02:17:12,262 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-26 02:17:12,262 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33050943 passed
2026-01-26 02:17:12,262 - DEBUG - ====Verifying policy data for ctest-vn-33050943 in API_Server ======
2026-01-26 02:17:12,262 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-26 02:17:12,267 - DEBUG - Requesting: http://10.0.0.22:8082/domain/095301e9-c68f-4143-ba14-45efa741f259
2026-01-26 02:17:12,276 - DEBUG - Requesting: http://10.0.0.22:8082/project/b9d28eae-5c03-40f6-8846-946853bc4fee
2026-01-26 02:17:12,345 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f698cdca-fb3b-4c45-a178-0b0342c367f7
2026-01-26 02:17:12,354 - DEBUG - ==>Verifying data for policy with id: 4ce53689-be5a-4e41-af13-0e8667185950, fqn: ['default-domain', 'ctest-TestBasicPolicy-91354306', 'ctest-policy-allow-all-00166365']
2026-01-26 02:17:12,354 - INFO - VN ctest-vn-33050943 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-26 02:17:12,354 - DEBUG - Verifying the vn in opserver
2026-01-26 02:17:12,354 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91354306:ctest-vn-33050943 virtual network link through opserver 10.0.0.22
2026-01-26 02:17:12,354 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-26 02:17:12,644 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-26 02:17:12,699 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91354306:ctest-vn-33050943', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91354306:ctest-vn-33050943?flat'}
2026-01-26 02:17:12,699 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91354306:ctest-vn-33050943 is found in opserver
2026-01-26 02:17:12,707 - DEBUG - Do not have enough data to verify VN in agent
2026-01-26 02:17:12,713 - DEBUG - VRF ids for VN ctest-vn-33050943: {}
2026-01-26 02:17:12,713 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-26 02:17:12,717 - DEBUG - Requesting: http://10.0.0.22:8082/domain/095301e9-c68f-4143-ba14-45efa741f259
2026-01-26 02:17:12,726 - DEBUG - Requesting: http://10.0.0.22:8082/project/b9d28eae-5c03-40f6-8846-946853bc4fee
2026-01-26 02:17:12,797 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/67399c94-551a-4028-aec3-18d24036d348
2026-01-26 02:17:12,810 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/67399c94-551a-4028-aec3-18d24036d348
2026-01-26 02:17:12,818 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/abb953b4-3ceb-4198-8961-8af3da82b6c0
2026-01-26 02:17:12,823 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/abb953b4-3ceb-4198-8961-8af3da82b6c0
2026-01-26 02:17:12,828 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c8e4c18b-5819-4c1f-9b83-8156fde8dc42
2026-01-26 02:17:12,834 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-26 02:17:12,834 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/67399c94-551a-4028-aec3-18d24036d348
2026-01-26 02:17:12,841 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/abb953b4-3ceb-4198-8961-8af3da82b6c0
2026-01-26 02:17:12,853 - INFO - Verified VN network id 12 for VN 67399c94-551a-4028-aec3-18d24036d348
2026-01-26 02:17:12,853 - INFO - Verifications in API Server for VN ctest-vn-21320120 passed
2026-01-26 02:17:12,853 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/67399c94-551a-4028-aec3-18d24036d348
2026-01-26 02:17:12,860 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/abb953b4-3ceb-4198-8961-8af3da82b6c0
2026-01-26 02:17:12,865 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/abb953b4-3ceb-4198-8961-8af3da82b6c0
2026-01-26 02:17:12,871 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c8e4c18b-5819-4c1f-9b83-8156fde8dc42
2026-01-26 02:17:12,880 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91354306:ctest-vn-21320120', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91354306', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7438148420475961384', 'uuid-lslong': '12592936274357572424'}, 'enable': 'true', 'created': '2026-01-26T02:17:10', 'last-modified': '2026-01-26T02:17:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.306077'}
2026-01-26 02:17:12,885 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-26 02:17:12,886 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21320120 passed
2026-01-26 02:17:12,886 - DEBUG - ====Verifying policy data for ctest-vn-21320120 in API_Server ======
2026-01-26 02:17:12,886 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-26 02:17:12,891 - DEBUG - Requesting: http://10.0.0.22:8082/domain/095301e9-c68f-4143-ba14-45efa741f259
2026-01-26 02:17:12,899 - DEBUG - Requesting: http://10.0.0.22:8082/project/b9d28eae-5c03-40f6-8846-946853bc4fee
2026-01-26 02:17:12,973 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/67399c94-551a-4028-aec3-18d24036d348
2026-01-26 02:17:12,981 - DEBUG - ==>Verifying data for policy with id: 4ce53689-be5a-4e41-af13-0e8667185950, fqn: ['default-domain', 'ctest-TestBasicPolicy-91354306', 'ctest-policy-allow-all-00166365']
2026-01-26 02:17:12,982 - INFO - VN ctest-vn-21320120 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-26 02:17:12,982 - DEBUG - Verifying the vn in opserver
2026-01-26 02:17:12,982 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91354306:ctest-vn-21320120 virtual network link through opserver 10.0.0.22
2026-01-26 02:17:12,982 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-26 02:17:12,990 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91354306:ctest-vn-21320120', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91354306:ctest-vn-21320120?flat'}
2026-01-26 02:17:12,990 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91354306:ctest-vn-21320120 is found in opserver
2026-01-26 02:17:13,008 - DEBUG - Do not have enough data to verify VN in agent
2026-01-26 02:17:13,012 - DEBUG - VRF ids for VN ctest-vn-21320120: {}
2026-01-26 02:17:13,063 - DEBUG - Services list from nova: [