2026-03-27 11:14:46,012 - INFO - Domain Default found not creating
2026-03-27 11:14:46,180 - INFO - Project ctest-TestBasicPolicy-24748874 not found, creating it
2026-03-27 11:14:46,888 - INFO - Created Project:ctest-TestBasicPolicy-24748874, ID : 0d7f5c56-1ac8-4a12-a8fc-dcb3d6e4308f
2026-03-27 11:14:48,300 - INFO - ================================================================================
2026-03-27 11:14:48,300 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-27 11:14:48,300 - 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-03-27 11:14:48,552 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2026-03-27 11:14:48,552 - INFO - Initial checks done. Running the testcase now
2026-03-27 11:14:48,552 - INFO -
2026-03-27 11:14:49,066 - DEBUG - Response for create_network : {'network': {'id': 'a627c781-fb3e-42f4-94a5-e9164bb592c8', 'name': 'ctest-vn-75121938', 'tenant_id': '0d7f5c561ac84a12a8fcdcb3d6e4308f', 'project_id': '0d7f5c561ac84a12a8fcdcb3d6e4308f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24748874', 'ctest-vn-75121938'], 'port_security_enabled': True, 'description': ''}}
2026-03-27 11:14:49,276 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c747535f-9eb2-4a25-8ee3-ce129568ddfb', 'name': '', 'tenant_id': '0d7f5c561ac84a12a8fcdcb3d6e4308f', 'network_id': 'a627c781-fb3e-42f4-94a5-e9164bb592c8', 'ip_version': 4, 'cidr': '117.234.129.128/26', 'allocation_pools': [{'start': '117.234.129.130', 'end': '117.234.129.190'}], 'gateway_ip': '117.234.129.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.234.129.130', 'tags': [], 'project_id': '0d7f5c561ac84a12a8fcdcb3d6e4308f'}}
2026-03-27 11:14:49,293 - INFO - Created VN ctest-vn-75121938
2026-03-27 11:14:49,343 - DEBUG - VN ctest-vn-75121938 UUID is a627c781-fb3e-42f4-94a5-e9164bb592c8
2026-03-27 11:14:49,662 - DEBUG - Response for create_network : {'network': {'id': 'c63ae521-0260-4c1c-9b56-f4b106b66942', 'name': 'ctest-vn-46012751', 'tenant_id': '0d7f5c561ac84a12a8fcdcb3d6e4308f', 'project_id': '0d7f5c561ac84a12a8fcdcb3d6e4308f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24748874', 'ctest-vn-46012751'], 'port_security_enabled': True, 'description': ''}}
2026-03-27 11:14:49,851 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ea3357b-86d5-4926-8a1a-ee91843e61bc', 'name': '', 'tenant_id': '0d7f5c561ac84a12a8fcdcb3d6e4308f', 'network_id': 'c63ae521-0260-4c1c-9b56-f4b106b66942', 'ip_version': 4, 'cidr': '67.75.132.64/26', 'allocation_pools': [{'start': '67.75.132.66', 'end': '67.75.132.126'}], 'gateway_ip': '67.75.132.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.75.132.66', 'tags': [], 'project_id': '0d7f5c561ac84a12a8fcdcb3d6e4308f'}}
2026-03-27 11:14:49,865 - INFO - Created VN ctest-vn-46012751
2026-03-27 11:14:49,915 - DEBUG - VN ctest-vn-46012751 UUID is c63ae521-0260-4c1c-9b56-f4b106b66942
2026-03-27 11:14:50,022 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24748874:ctest-vn-75121938, 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-24748874:ctest-vn-46012751, 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-03-27 11:14:50,306 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a627c781-fb3e-42f4-94a5-e9164bb592c8', 'name': 'ctest-vn-75121938', 'tenant_id': '0d7f5c561ac84a12a8fcdcb3d6e4308f', 'project_id': '0d7f5c561ac84a12a8fcdcb3d6e4308f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c747535f-9eb2-4a25-8ee3-ce129568ddfb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24748874', 'ctest-vn-75121938'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24748874', 'ctest-policy-allow-all-56932574']], 'subnet_ipam': [{'subnet_cidr': '117.234.129.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-27 11:14:50,518 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c63ae521-0260-4c1c-9b56-f4b106b66942', 'name': 'ctest-vn-46012751', 'tenant_id': '0d7f5c561ac84a12a8fcdcb3d6e4308f', 'project_id': '0d7f5c561ac84a12a8fcdcb3d6e4308f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4ea3357b-86d5-4926-8a1a-ee91843e61bc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24748874', 'ctest-vn-46012751'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24748874', 'ctest-policy-allow-all-56932574']], 'subnet_ipam': [{'subnet_cidr': '67.75.132.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-27 11:14:50,679 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-27 11:14:50,984 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-27 11:14:51,024 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e6156b7c-b260-4654-85f0-6188939c41e0
2026-03-27 11:14:51,037 - DEBUG - Requesting: http://10.0.0.242:8082/project/0d7f5c56-1ac8-4a12-a8fc-dcb3d6e4308f
2026-03-27 11:14:51,121 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a627c781-fb3e-42f4-94a5-e9164bb592c8
2026-03-27 11:14:51,132 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a627c781-fb3e-42f4-94a5-e9164bb592c8
2026-03-27 11:14:51,142 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6fb06585-6fa0-4a7e-a60d-aa054a169e2a
2026-03-27 11:14:51,149 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6fb06585-6fa0-4a7e-a60d-aa054a169e2a
2026-03-27 11:14:51,156 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/36769db6-e6d5-445f-9861-23e96230b90f
2026-03-27 11:14:51,162 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-27 11:14:51,162 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a627c781-fb3e-42f4-94a5-e9164bb592c8
2026-03-27 11:14:51,169 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6fb06585-6fa0-4a7e-a60d-aa054a169e2a
2026-03-27 11:14:51,181 - INFO - Verified VN network id 10 for VN a627c781-fb3e-42f4-94a5-e9164bb592c8
2026-03-27 11:14:51,182 - INFO - Verifications in API Server for VN ctest-vn-75121938 passed
2026-03-27 11:14:51,182 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a627c781-fb3e-42f4-94a5-e9164bb592c8
2026-03-27 11:14:51,191 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6fb06585-6fa0-4a7e-a60d-aa054a169e2a
2026-03-27 11:14:51,198 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6fb06585-6fa0-4a7e-a60d-aa054a169e2a
2026-03-27 11:14:51,205 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/36769db6-e6d5-445f-9861-23e96230b90f
2026-03-27 11:14:51,220 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24748874:ctest-vn-75121938', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24748874', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11972757495467623156', 'uuid-lslong': '10711223570739335880'}, 'enable': 'true', 'created': '2026-03-27T11:14:49', 'last-modified': '2026-03-27T11:14:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.928908'}
2026-03-27 11:14:51,225 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-27 11:14:51,225 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75121938 passed
2026-03-27 11:14:51,226 - DEBUG - ====Verifying policy data for ctest-vn-75121938 in API_Server ======
2026-03-27 11:14:51,226 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-27 11:14:51,231 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e6156b7c-b260-4654-85f0-6188939c41e0
2026-03-27 11:14:51,244 - DEBUG - Requesting: http://10.0.0.242:8082/project/0d7f5c56-1ac8-4a12-a8fc-dcb3d6e4308f
2026-03-27 11:14:51,317 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a627c781-fb3e-42f4-94a5-e9164bb592c8
2026-03-27 11:14:51,327 - DEBUG - ==>Verifying data for policy with id: dc0f6b75-bde6-4341-bf1d-891401b73260, fqn: ['default-domain', 'ctest-TestBasicPolicy-24748874', 'ctest-policy-allow-all-56932574']
2026-03-27 11:14:51,327 - INFO - VN ctest-vn-75121938 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-27 11:14:51,327 - DEBUG - Verifying the vn in opserver
2026-03-27 11:14:51,327 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24748874:ctest-vn-75121938 virtual network link through opserver 10.0.0.242
2026-03-27 11:14:51,327 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-03-27 11:14:51,623 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-03-27 11:14:51,672 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24748874:ctest-vn-75121938', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24748874:ctest-vn-75121938?flat'}
2026-03-27 11:14:51,672 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24748874:ctest-vn-75121938 is found in opserver
2026-03-27 11:14:51,680 - DEBUG - Do not have enough data to verify VN in agent
2026-03-27 11:14:51,684 - DEBUG - VRF ids for VN ctest-vn-75121938: {}
2026-03-27 11:14:51,684 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-27 11:14:51,689 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e6156b7c-b260-4654-85f0-6188939c41e0
2026-03-27 11:14:51,699 - DEBUG - Requesting: http://10.0.0.242:8082/project/0d7f5c56-1ac8-4a12-a8fc-dcb3d6e4308f
2026-03-27 11:14:51,767 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c63ae521-0260-4c1c-9b56-f4b106b66942
2026-03-27 11:14:51,778 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c63ae521-0260-4c1c-9b56-f4b106b66942
2026-03-27 11:14:51,788 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9483d03-e73a-4d04-8a2c-b9fdac232c4a
2026-03-27 11:14:51,794 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9483d03-e73a-4d04-8a2c-b9fdac232c4a
2026-03-27 11:14:51,799 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/edc874d7-8117-496a-b497-b07f37f604c9
2026-03-27 11:14:51,804 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-27 11:14:51,804 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c63ae521-0260-4c1c-9b56-f4b106b66942
2026-03-27 11:14:51,810 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9483d03-e73a-4d04-8a2c-b9fdac232c4a
2026-03-27 11:14:51,822 - INFO - Verified VN network id 11 for VN c63ae521-0260-4c1c-9b56-f4b106b66942
2026-03-27 11:14:51,822 - INFO - Verifications in API Server for VN ctest-vn-46012751 passed
2026-03-27 11:14:51,822 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c63ae521-0260-4c1c-9b56-f4b106b66942
2026-03-27 11:14:51,830 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9483d03-e73a-4d04-8a2c-b9fdac232c4a
2026-03-27 11:14:51,836 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9483d03-e73a-4d04-8a2c-b9fdac232c4a
2026-03-27 11:14:51,842 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/edc874d7-8117-496a-b497-b07f37f604c9
2026-03-27 11:14:51,853 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24748874:ctest-vn-46012751', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24748874', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14283981098095496220', 'uuid-lslong': '11193402965034953026'}, 'enable': 'true', 'created': '2026-03-27T11:14:49', 'last-modified': '2026-03-27T11:14:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.353343'}
2026-03-27 11:14:51,859 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-27 11:14:51,859 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46012751 passed
2026-03-27 11:14:51,860 - DEBUG - ====Verifying policy data for ctest-vn-46012751 in API_Server ======
2026-03-27 11:14:51,860 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-03-27 11:14:51,865 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e6156b7c-b260-4654-85f0-6188939c41e0
2026-03-27 11:14:51,876 - DEBUG - Requesting: http://10.0.0.242:8082/project/0d7f5c56-1ac8-4a12-a8fc-dcb3d6e4308f
2026-03-27 11:14:51,945 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c63ae521-0260-4c1c-9b56-f4b106b66942
2026-03-27 11:14:51,953 - DEBUG - ==>Verifying data for policy with id: dc0f6b75-bde6-4341-bf1d-891401b73260, fqn: ['default-domain', 'ctest-TestBasicPolicy-24748874', 'ctest-policy-allow-all-56932574']
2026-03-27 11:14:51,953 - INFO - VN ctest-vn-46012751 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-27 11:14:51,953 - DEBUG - Verifying the vn in opserver
2026-03-27 11:14:51,953 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24748874:ctest-vn-46012751 virtual network link through opserver 10.0.0.242
2026-03-27 11:14:51,953 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-03-27 11:14:51,963 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24748874:ctest-vn-46012751', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24748874:ctest-vn-46012751?flat'}
2026-03-27 11:14:51,963 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24748874:ctest-vn-46012751 is found in opserver
2026-03-27 11:14:51,971 - DEBUG - Do not have enough data to verify VN in agent
2026-03-27 11:14:51,975 - DEBUG - VRF ids for VN ctest-vn-46012751: {}
2026-03-27 11:14:52,024 - DEBUG - Services list from nova: [