2026-03-17 15:13:38,943 - INFO - Domain Default found not creating
2026-03-17 15:13:39,124 - INFO - Project ctest-TestBasicPolicy-28914453 not found, creating it
2026-03-17 15:13:39,629 - INFO - Created Project:ctest-TestBasicPolicy-28914453, ID : 8ecbcd42-0961-45cb-835c-4e161967800e
2026-03-17 15:13:41,196 - INFO - ================================================================================
2026-03-17 15:13:41,196 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-17 15:13:41,196 - 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-17 15:13:41,454 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.249': '0'}} with
2026-03-17 15:13:41,454 - INFO - Initial checks done. Running the testcase now
2026-03-17 15:13:41,454 - INFO -
2026-03-17 15:13:42,057 - DEBUG - Response for create_network : {'network': {'id': '97a2556b-e0f9-4578-897b-b56b52a6f1d8', 'name': 'ctest-vn-67761719', 'tenant_id': '8ecbcd42096145cb835c4e161967800e', 'project_id': '8ecbcd42096145cb835c4e161967800e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-vn-67761719'], 'port_security_enabled': True, 'description': ''}}
2026-03-17 15:13:42,222 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dec66a47-9596-4002-b80e-b73da2392cdc', 'name': '', 'tenant_id': '8ecbcd42096145cb835c4e161967800e', 'network_id': '97a2556b-e0f9-4578-897b-b56b52a6f1d8', 'ip_version': 4, 'cidr': '36.89.191.192/26', 'allocation_pools': [{'start': '36.89.191.194', 'end': '36.89.191.254'}], 'gateway_ip': '36.89.191.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.89.191.194', 'tags': [], 'project_id': '8ecbcd42096145cb835c4e161967800e'}}
2026-03-17 15:13:42,241 - INFO - Created VN ctest-vn-67761719
2026-03-17 15:13:42,294 - DEBUG - VN ctest-vn-67761719 UUID is 97a2556b-e0f9-4578-897b-b56b52a6f1d8
2026-03-17 15:13:42,613 - DEBUG - Response for create_network : {'network': {'id': 'd47fa9be-6665-4c13-a479-9d9fccd1b5e6', 'name': 'ctest-vn-96909161', 'tenant_id': '8ecbcd42096145cb835c4e161967800e', 'project_id': '8ecbcd42096145cb835c4e161967800e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-vn-96909161'], 'port_security_enabled': True, 'description': ''}}
2026-03-17 15:13:42,813 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fe21215-38f5-459b-afcd-ae1d5b5c1b3a', 'name': '', 'tenant_id': '8ecbcd42096145cb835c4e161967800e', 'network_id': 'd47fa9be-6665-4c13-a479-9d9fccd1b5e6', 'ip_version': 4, 'cidr': '29.167.120.128/26', 'allocation_pools': [{'start': '29.167.120.130', 'end': '29.167.120.190'}], 'gateway_ip': '29.167.120.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.167.120.130', 'tags': [], 'project_id': '8ecbcd42096145cb835c4e161967800e'}}
2026-03-17 15:13:42,830 - INFO - Created VN ctest-vn-96909161
2026-03-17 15:13:42,882 - DEBUG - VN ctest-vn-96909161 UUID is d47fa9be-6665-4c13-a479-9d9fccd1b5e6
2026-03-17 15:13:43,038 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-67761719, 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-28914453:ctest-vn-96909161, 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-17 15:13:43,333 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97a2556b-e0f9-4578-897b-b56b52a6f1d8', 'name': 'ctest-vn-67761719', 'tenant_id': '8ecbcd42096145cb835c4e161967800e', 'project_id': '8ecbcd42096145cb835c4e161967800e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dec66a47-9596-4002-b80e-b73da2392cdc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-vn-67761719'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-policy-allow-all-10614460']], 'subnet_ipam': [{'subnet_cidr': '36.89.191.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-17 15:13:43,617 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd47fa9be-6665-4c13-a479-9d9fccd1b5e6', 'name': 'ctest-vn-96909161', 'tenant_id': '8ecbcd42096145cb835c4e161967800e', 'project_id': '8ecbcd42096145cb835c4e161967800e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4fe21215-38f5-459b-afcd-ae1d5b5c1b3a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-vn-96909161'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-policy-allow-all-10614460']], 'subnet_ipam': [{'subnet_cidr': '29.167.120.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-17 15:13:43,770 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2026-03-17 15:13:44,077 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2026-03-17 15:13:44,107 - DEBUG - Requesting: http://10.0.0.131:8082/domain/4e55b62f-eab8-457d-b5e1-a1274d3de04e
2026-03-17 15:13:44,122 - DEBUG - Requesting: http://10.0.0.131:8082/project/8ecbcd42-0961-45cb-835c-4e161967800e
2026-03-17 15:13:44,198 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/97a2556b-e0f9-4578-897b-b56b52a6f1d8
2026-03-17 15:13:44,208 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/97a2556b-e0f9-4578-897b-b56b52a6f1d8
2026-03-17 15:13:44,216 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/be89b78d-e648-4604-bcd3-f732a03d8e6f
2026-03-17 15:13:44,224 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/be89b78d-e648-4604-bcd3-f732a03d8e6f
2026-03-17 15:13:44,232 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/aab085f5-aea7-4a89-8a89-96eee895869b
2026-03-17 15:13:44,239 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-17 15:13:44,239 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/97a2556b-e0f9-4578-897b-b56b52a6f1d8
2026-03-17 15:13:44,250 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/be89b78d-e648-4604-bcd3-f732a03d8e6f
2026-03-17 15:13:44,265 - INFO - Verified VN network id 11 for VN 97a2556b-e0f9-4578-897b-b56b52a6f1d8
2026-03-17 15:13:44,265 - INFO - Verifications in API Server for VN ctest-vn-67761719 passed
2026-03-17 15:13:44,265 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/97a2556b-e0f9-4578-897b-b56b52a6f1d8
2026-03-17 15:13:44,275 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/be89b78d-e648-4604-bcd3-f732a03d8e6f
2026-03-17 15:13:44,282 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/be89b78d-e648-4604-bcd3-f732a03d8e6f
2026-03-17 15:13:44,291 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/aab085f5-aea7-4a89-8a89-96eee895869b
2026-03-17 15:13:44,302 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-67761719', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28914453', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10926389567778538872', 'uuid-lslong': '9906711277884338648'}, 'enable': 'true', 'created': '2026-03-17T15:13:42', 'last-modified': '2026-03-17T15:13:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.992410'}
2026-03-17 15:13:44,309 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-17 15:13:44,310 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67761719 passed
2026-03-17 15:13:44,310 - DEBUG - ====Verifying policy data for ctest-vn-67761719 in API_Server ======
2026-03-17 15:13:44,310 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2026-03-17 15:13:44,315 - DEBUG - Requesting: http://10.0.0.131:8082/domain/4e55b62f-eab8-457d-b5e1-a1274d3de04e
2026-03-17 15:13:44,326 - DEBUG - Requesting: http://10.0.0.131:8082/project/8ecbcd42-0961-45cb-835c-4e161967800e
2026-03-17 15:13:44,404 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/97a2556b-e0f9-4578-897b-b56b52a6f1d8
2026-03-17 15:13:44,415 - DEBUG - ==>Verifying data for policy with id: e7a39d04-e8f2-4502-8eb2-ef8888198a54, fqn: ['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-policy-allow-all-10614460']
2026-03-17 15:13:44,415 - INFO - VN ctest-vn-67761719 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-17 15:13:44,416 - DEBUG - Verifying the vn in opserver
2026-03-17 15:13:44,416 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-67761719 virtual network link through opserver 10.0.0.131
2026-03-17 15:13:44,416 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2026-03-17 15:13:44,720 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2026-03-17 15:13:44,782 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-67761719', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-67761719?flat'}
2026-03-17 15:13:44,782 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-67761719 is found in opserver
2026-03-17 15:13:44,792 - DEBUG - Do not have enough data to verify VN in agent
2026-03-17 15:13:44,797 - DEBUG - VRF ids for VN ctest-vn-67761719: {}
2026-03-17 15:13:44,797 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2026-03-17 15:13:44,803 - DEBUG - Requesting: http://10.0.0.131:8082/domain/4e55b62f-eab8-457d-b5e1-a1274d3de04e
2026-03-17 15:13:44,814 - DEBUG - Requesting: http://10.0.0.131:8082/project/8ecbcd42-0961-45cb-835c-4e161967800e
2026-03-17 15:13:44,887 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d47fa9be-6665-4c13-a479-9d9fccd1b5e6
2026-03-17 15:13:44,898 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d47fa9be-6665-4c13-a479-9d9fccd1b5e6
2026-03-17 15:13:44,907 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4aa67de0-7d45-43c9-8210-623e5207d012
2026-03-17 15:13:44,914 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4aa67de0-7d45-43c9-8210-623e5207d012
2026-03-17 15:13:44,920 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/e9348b89-9f4f-40f2-85fe-eb0326caeb9e
2026-03-17 15:13:44,927 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-17 15:13:44,927 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d47fa9be-6665-4c13-a479-9d9fccd1b5e6
2026-03-17 15:13:44,937 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4aa67de0-7d45-43c9-8210-623e5207d012
2026-03-17 15:13:44,950 - INFO - Verified VN network id 12 for VN d47fa9be-6665-4c13-a479-9d9fccd1b5e6
2026-03-17 15:13:44,951 - INFO - Verifications in API Server for VN ctest-vn-96909161 passed
2026-03-17 15:13:44,951 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d47fa9be-6665-4c13-a479-9d9fccd1b5e6
2026-03-17 15:13:44,960 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4aa67de0-7d45-43c9-8210-623e5207d012
2026-03-17 15:13:44,967 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/4aa67de0-7d45-43c9-8210-623e5207d012
2026-03-17 15:13:44,974 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/e9348b89-9f4f-40f2-85fe-eb0326caeb9e
2026-03-17 15:13:44,986 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-96909161', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28914453', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15312143893309770771', 'uuid-lslong': '11851677204063827430'}, 'enable': 'true', 'created': '2026-03-17T15:13:42', 'last-modified': '2026-03-17T15:13:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.442097'}
2026-03-17 15:13:44,992 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-17 15:13:44,992 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96909161 passed
2026-03-17 15:13:44,993 - DEBUG - ====Verifying policy data for ctest-vn-96909161 in API_Server ======
2026-03-17 15:13:44,993 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2026-03-17 15:13:44,999 - DEBUG - Requesting: http://10.0.0.131:8082/domain/4e55b62f-eab8-457d-b5e1-a1274d3de04e
2026-03-17 15:13:45,011 - DEBUG - Requesting: http://10.0.0.131:8082/project/8ecbcd42-0961-45cb-835c-4e161967800e
2026-03-17 15:13:45,084 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d47fa9be-6665-4c13-a479-9d9fccd1b5e6
2026-03-17 15:13:45,094 - DEBUG - ==>Verifying data for policy with id: e7a39d04-e8f2-4502-8eb2-ef8888198a54, fqn: ['default-domain', 'ctest-TestBasicPolicy-28914453', 'ctest-policy-allow-all-10614460']
2026-03-17 15:13:45,094 - INFO - VN ctest-vn-96909161 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-17 15:13:45,095 - DEBUG - Verifying the vn in opserver
2026-03-17 15:13:45,095 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-96909161 virtual network link through opserver 10.0.0.131
2026-03-17 15:13:45,095 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2026-03-17 15:13:45,106 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-96909161', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-96909161?flat'}
2026-03-17 15:13:45,106 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28914453:ctest-vn-96909161 is found in opserver
2026-03-17 15:13:45,116 - DEBUG - Do not have enough data to verify VN in agent
2026-03-17 15:13:45,121 - DEBUG - VRF ids for VN ctest-vn-96909161: {}
2026-03-17 15:13:45,190 - DEBUG - Services list from nova: [