2026-09-14 18:07:36,284 - INFO - Domain Default found not creating
2026-09-14 18:07:36,518 - INFO - Project ctest-TestBasicPolicy-15977505 not found, creating it
2026-09-14 18:07:37,075 - INFO - Created Project:ctest-TestBasicPolicy-15977505, ID : 218a31c8-2f48-4a3f-bf7e-d53dcfad1147
2026-09-14 18:07:38,847 - INFO - ================================================================================
2026-09-14 18:07:38,848 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-14 18:07:38,848 - 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-09-14 18:07:39,118 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-09-14 18:07:39,118 - INFO - Initial checks done. Running the testcase now
2026-09-14 18:07:39,118 - INFO -
2026-09-14 18:07:39,781 - DEBUG - Response for create_network : {'network': {'id': 'a4e72c46-987c-49e0-8d23-af6945f990ab', 'name': 'ctest-vn-12389740', 'tenant_id': '218a31c82f484a3fbf7ed53dcfad1147', 'project_id': '218a31c82f484a3fbf7ed53dcfad1147', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-vn-12389740'], 'port_security_enabled': True, 'description': ''}}
2026-09-14 18:07:40,033 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0b319e9-97e1-46f0-9f55-3fe46a89589e', 'name': '', 'tenant_id': '218a31c82f484a3fbf7ed53dcfad1147', 'network_id': 'a4e72c46-987c-49e0-8d23-af6945f990ab', 'ip_version': 4, 'cidr': '69.63.143.0/26', 'allocation_pools': [{'start': '69.63.143.2', 'end': '69.63.143.62'}], 'gateway_ip': '69.63.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.63.143.2', 'tags': [], 'project_id': '218a31c82f484a3fbf7ed53dcfad1147'}}
2026-09-14 18:07:40,051 - INFO - Created VN ctest-vn-12389740
2026-09-14 18:07:40,104 - DEBUG - VN ctest-vn-12389740 UUID is a4e72c46-987c-49e0-8d23-af6945f990ab
2026-09-14 18:07:40,435 - DEBUG - Response for create_network : {'network': {'id': '58a2bc7c-17e2-4326-b17d-d1120bd11718', 'name': 'ctest-vn-79228352', 'tenant_id': '218a31c82f484a3fbf7ed53dcfad1147', 'project_id': '218a31c82f484a3fbf7ed53dcfad1147', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-vn-79228352'], 'port_security_enabled': True, 'description': ''}}
2026-09-14 18:07:40,633 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7ee9d89-bb10-44c9-b9bc-43e697e71aa3', 'name': '', 'tenant_id': '218a31c82f484a3fbf7ed53dcfad1147', 'network_id': '58a2bc7c-17e2-4326-b17d-d1120bd11718', 'ip_version': 4, 'cidr': '29.81.204.64/26', 'allocation_pools': [{'start': '29.81.204.66', 'end': '29.81.204.126'}], 'gateway_ip': '29.81.204.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.81.204.66', 'tags': [], 'project_id': '218a31c82f484a3fbf7ed53dcfad1147'}}
2026-09-14 18:07:40,654 - INFO - Created VN ctest-vn-79228352
2026-09-14 18:07:40,712 - DEBUG - VN ctest-vn-79228352 UUID is 58a2bc7c-17e2-4326-b17d-d1120bd11718
2026-09-14 18:07:40,835 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-12389740, 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-15977505:ctest-vn-79228352, 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-09-14 18:07:41,197 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4e72c46-987c-49e0-8d23-af6945f990ab', 'name': 'ctest-vn-12389740', 'tenant_id': '218a31c82f484a3fbf7ed53dcfad1147', 'project_id': '218a31c82f484a3fbf7ed53dcfad1147', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e0b319e9-97e1-46f0-9f55-3fe46a89589e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-vn-12389740'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-policy-allow-all-75156162']], 'subnet_ipam': [{'subnet_cidr': '69.63.143.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-14 18:07:41,457 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58a2bc7c-17e2-4326-b17d-d1120bd11718', 'name': 'ctest-vn-79228352', 'tenant_id': '218a31c82f484a3fbf7ed53dcfad1147', 'project_id': '218a31c82f484a3fbf7ed53dcfad1147', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e7ee9d89-bb10-44c9-b9bc-43e697e71aa3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-vn-79228352'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-policy-allow-all-75156162']], 'subnet_ipam': [{'subnet_cidr': '29.81.204.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-14 18:07:41,640 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-14 18:07:41,991 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-14 18:07:42,029 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f147e5b-d4e7-46bd-855b-7eae0a98705d
2026-09-14 18:07:42,045 - DEBUG - Requesting: http://10.0.0.50:8082/project/218a31c8-2f48-4a3f-bf7e-d53dcfad1147
2026-09-14 18:07:42,131 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a4e72c46-987c-49e0-8d23-af6945f990ab
2026-09-14 18:07:42,148 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a4e72c46-987c-49e0-8d23-af6945f990ab
2026-09-14 18:07:42,159 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac5c34f-a653-4511-aa3d-48d2c94d9bb7
2026-09-14 18:07:42,169 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac5c34f-a653-4511-aa3d-48d2c94d9bb7
2026-09-14 18:07:42,179 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4d8aff14-a82e-4c39-9c14-5e5cdd23e89e
2026-09-14 18:07:42,187 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-14 18:07:42,187 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a4e72c46-987c-49e0-8d23-af6945f990ab
2026-09-14 18:07:42,199 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac5c34f-a653-4511-aa3d-48d2c94d9bb7
2026-09-14 18:07:42,218 - INFO - Verified VN network id 12 for VN a4e72c46-987c-49e0-8d23-af6945f990ab
2026-09-14 18:07:42,218 - INFO - Verifications in API Server for VN ctest-vn-12389740 passed
2026-09-14 18:07:42,218 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a4e72c46-987c-49e0-8d23-af6945f990ab
2026-09-14 18:07:42,230 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac5c34f-a653-4511-aa3d-48d2c94d9bb7
2026-09-14 18:07:42,240 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4ac5c34f-a653-4511-aa3d-48d2c94d9bb7
2026-09-14 18:07:42,251 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4d8aff14-a82e-4c39-9c14-5e5cdd23e89e
2026-09-14 18:07:42,268 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-12389740', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15977505', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11882514823557958112', 'uuid-lslong': '10170165250213122219'}, 'enable': 'true', 'created': '2026-09-14T18:07:39', 'last-modified': '2026-09-14T18:07:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.110488'}
2026-09-14 18:07:42,277 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-14 18:07:42,277 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12389740 passed
2026-09-14 18:07:42,277 - DEBUG - ====Verifying policy data for ctest-vn-12389740 in API_Server ======
2026-09-14 18:07:42,277 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-14 18:07:42,284 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f147e5b-d4e7-46bd-855b-7eae0a98705d
2026-09-14 18:07:42,298 - DEBUG - Requesting: http://10.0.0.50:8082/project/218a31c8-2f48-4a3f-bf7e-d53dcfad1147
2026-09-14 18:07:42,389 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a4e72c46-987c-49e0-8d23-af6945f990ab
2026-09-14 18:07:42,401 - DEBUG - ==>Verifying data for policy with id: a4fdd47b-9761-4512-9b78-dbe793e30096, fqn: ['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-policy-allow-all-75156162']
2026-09-14 18:07:42,401 - INFO - VN ctest-vn-12389740 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-14 18:07:42,401 - DEBUG - Verifying the vn in opserver
2026-09-14 18:07:42,401 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-12389740 virtual network link through opserver 10.0.0.50
2026-09-14 18:07:42,402 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-09-14 18:07:42,749 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-09-14 18:07:42,825 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-12389740', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-12389740?flat'}
2026-09-14 18:07:42,825 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-12389740 is found in opserver
2026-09-14 18:07:42,839 - DEBUG - Do not have enough data to verify VN in agent
2026-09-14 18:07:42,847 - DEBUG - VRF ids for VN ctest-vn-12389740: {}
2026-09-14 18:07:42,847 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-14 18:07:42,855 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f147e5b-d4e7-46bd-855b-7eae0a98705d
2026-09-14 18:07:42,869 - DEBUG - Requesting: http://10.0.0.50:8082/project/218a31c8-2f48-4a3f-bf7e-d53dcfad1147
2026-09-14 18:07:42,956 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58a2bc7c-17e2-4326-b17d-d1120bd11718
2026-09-14 18:07:42,972 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58a2bc7c-17e2-4326-b17d-d1120bd11718
2026-09-14 18:07:42,984 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38fcbd39-4e6b-4481-9a95-e52a2e43f45a
2026-09-14 18:07:42,994 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38fcbd39-4e6b-4481-9a95-e52a2e43f45a
2026-09-14 18:07:43,004 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5b6c191f-aadc-40a1-896d-01eed5b98e96
2026-09-14 18:07:43,013 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-14 18:07:43,013 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58a2bc7c-17e2-4326-b17d-d1120bd11718
2026-09-14 18:07:43,028 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38fcbd39-4e6b-4481-9a95-e52a2e43f45a
2026-09-14 18:07:43,051 - INFO - Verified VN network id 13 for VN 58a2bc7c-17e2-4326-b17d-d1120bd11718
2026-09-14 18:07:43,051 - INFO - Verifications in API Server for VN ctest-vn-79228352 passed
2026-09-14 18:07:43,052 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58a2bc7c-17e2-4326-b17d-d1120bd11718
2026-09-14 18:07:43,066 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38fcbd39-4e6b-4481-9a95-e52a2e43f45a
2026-09-14 18:07:43,076 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38fcbd39-4e6b-4481-9a95-e52a2e43f45a
2026-09-14 18:07:43,085 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5b6c191f-aadc-40a1-896d-01eed5b98e96
2026-09-14 18:07:43,103 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-79228352', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15977505', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6386874462727455526', 'uuid-lslong': '12789608392239945496'}, 'enable': 'true', 'created': '2026-09-14T18:07:40', 'last-modified': '2026-09-14T18:07:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.675588'}
2026-09-14 18:07:43,111 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-14 18:07:43,111 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79228352 passed
2026-09-14 18:07:43,111 - DEBUG - ====Verifying policy data for ctest-vn-79228352 in API_Server ======
2026-09-14 18:07:43,111 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-14 18:07:43,119 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1f147e5b-d4e7-46bd-855b-7eae0a98705d
2026-09-14 18:07:43,133 - DEBUG - Requesting: http://10.0.0.50:8082/project/218a31c8-2f48-4a3f-bf7e-d53dcfad1147
2026-09-14 18:07:43,232 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58a2bc7c-17e2-4326-b17d-d1120bd11718
2026-09-14 18:07:43,244 - DEBUG - ==>Verifying data for policy with id: a4fdd47b-9761-4512-9b78-dbe793e30096, fqn: ['default-domain', 'ctest-TestBasicPolicy-15977505', 'ctest-policy-allow-all-75156162']
2026-09-14 18:07:43,245 - INFO - VN ctest-vn-79228352 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-14 18:07:43,245 - DEBUG - Verifying the vn in opserver
2026-09-14 18:07:43,245 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-79228352 virtual network link through opserver 10.0.0.50
2026-09-14 18:07:43,245 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-09-14 18:07:43,258 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-79228352', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-79228352?flat'}
2026-09-14 18:07:43,258 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15977505:ctest-vn-79228352 is found in opserver
2026-09-14 18:07:43,274 - DEBUG - Do not have enough data to verify VN in agent
2026-09-14 18:07:43,281 - DEBUG - VRF ids for VN ctest-vn-79228352: {}
2026-09-14 18:07:43,364 - DEBUG - Services list from nova: [