2026-03-23 23:01:28,686 - INFO - Domain Default found not creating
2026-03-23 23:01:28,836 - INFO - Project ctest-TestBasicPolicy-18368360 not found, creating it
2026-03-23 23:01:29,286 - INFO - Created Project:ctest-TestBasicPolicy-18368360, ID : 35589830-2377-4442-99b1-37b3a93ef0ec
2026-03-23 23:01:30,680 - INFO - ================================================================================
2026-03-23 23:01:30,680 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-23 23:01:30,680 - 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-23 23:01:30,935 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2026-03-23 23:01:30,935 - INFO - Initial checks done. Running the testcase now
2026-03-23 23:01:30,935 - INFO -
2026-03-23 23:01:31,471 - DEBUG - Response for create_network : {'network': {'id': '5e056228-eb82-4518-ba5f-126f8ef89038', 'name': 'ctest-vn-15768947', 'tenant_id': '355898302377444299b137b3a93ef0ec', 'project_id': '355898302377444299b137b3a93ef0ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-vn-15768947'], 'port_security_enabled': True, 'description': ''}}
2026-03-23 23:01:31,657 - DEBUG - Response for create_subnet : {'subnet': {'id': '2761ebaf-0897-42b9-a067-3821f5c350ad', 'name': '', 'tenant_id': '355898302377444299b137b3a93ef0ec', 'network_id': '5e056228-eb82-4518-ba5f-126f8ef89038', 'ip_version': 4, 'cidr': '116.107.130.0/26', 'allocation_pools': [{'start': '116.107.130.2', 'end': '116.107.130.62'}], 'gateway_ip': '116.107.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.107.130.2', 'tags': [], 'project_id': '355898302377444299b137b3a93ef0ec'}}
2026-03-23 23:01:31,674 - INFO - Created VN ctest-vn-15768947
2026-03-23 23:01:31,730 - DEBUG - VN ctest-vn-15768947 UUID is 5e056228-eb82-4518-ba5f-126f8ef89038
2026-03-23 23:01:32,033 - DEBUG - Response for create_network : {'network': {'id': 'fa6b54e5-acca-4ed0-ac35-ddc48db2a787', 'name': 'ctest-vn-21231276', 'tenant_id': '355898302377444299b137b3a93ef0ec', 'project_id': '355898302377444299b137b3a93ef0ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-vn-21231276'], 'port_security_enabled': True, 'description': ''}}
2026-03-23 23:01:32,232 - DEBUG - Response for create_subnet : {'subnet': {'id': '13c8dc84-876e-4675-aaea-bd675446edda', 'name': '', 'tenant_id': '355898302377444299b137b3a93ef0ec', 'network_id': 'fa6b54e5-acca-4ed0-ac35-ddc48db2a787', 'ip_version': 4, 'cidr': '112.122.62.192/26', 'allocation_pools': [{'start': '112.122.62.194', 'end': '112.122.62.254'}], 'gateway_ip': '112.122.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.122.62.194', 'tags': [], 'project_id': '355898302377444299b137b3a93ef0ec'}}
2026-03-23 23:01:32,249 - INFO - Created VN ctest-vn-21231276
2026-03-23 23:01:32,298 - DEBUG - VN ctest-vn-21231276 UUID is fa6b54e5-acca-4ed0-ac35-ddc48db2a787
2026-03-23 23:01:32,415 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-15768947, 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-18368360:ctest-vn-21231276, 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-23 23:01:32,696 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5e056228-eb82-4518-ba5f-126f8ef89038', 'name': 'ctest-vn-15768947', 'tenant_id': '355898302377444299b137b3a93ef0ec', 'project_id': '355898302377444299b137b3a93ef0ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2761ebaf-0897-42b9-a067-3821f5c350ad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-vn-15768947'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-policy-allow-all-54442575']], 'subnet_ipam': [{'subnet_cidr': '116.107.130.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-23 23:01:32,930 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa6b54e5-acca-4ed0-ac35-ddc48db2a787', 'name': 'ctest-vn-21231276', 'tenant_id': '355898302377444299b137b3a93ef0ec', 'project_id': '355898302377444299b137b3a93ef0ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['13c8dc84-876e-4675-aaea-bd675446edda'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-vn-21231276'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-policy-allow-all-54442575']], 'subnet_ipam': [{'subnet_cidr': '112.122.62.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-23 23:01:33,070 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-23 23:01:33,373 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-23 23:01:33,407 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4c0a333a-240b-491d-a31c-bec9b65e69a0
2026-03-23 23:01:33,418 - DEBUG - Requesting: http://10.0.0.141:8082/project/35589830-2377-4442-99b1-37b3a93ef0ec
2026-03-23 23:01:33,491 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5e056228-eb82-4518-ba5f-126f8ef89038
2026-03-23 23:01:33,501 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5e056228-eb82-4518-ba5f-126f8ef89038
2026-03-23 23:01:33,509 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c6dfff18-e92f-48b6-b7e9-900367a37d86
2026-03-23 23:01:33,516 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c6dfff18-e92f-48b6-b7e9-900367a37d86
2026-03-23 23:01:33,523 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ccc7002e-26e0-4893-8038-e8a1a8102c90
2026-03-23 23:01:33,528 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-23 23:01:33,528 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5e056228-eb82-4518-ba5f-126f8ef89038
2026-03-23 23:01:33,536 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c6dfff18-e92f-48b6-b7e9-900367a37d86
2026-03-23 23:01:33,551 - INFO - Verified VN network id 11 for VN 5e056228-eb82-4518-ba5f-126f8ef89038
2026-03-23 23:01:33,551 - INFO - Verifications in API Server for VN ctest-vn-15768947 passed
2026-03-23 23:01:33,551 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5e056228-eb82-4518-ba5f-126f8ef89038
2026-03-23 23:01:33,559 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c6dfff18-e92f-48b6-b7e9-900367a37d86
2026-03-23 23:01:33,565 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c6dfff18-e92f-48b6-b7e9-900367a37d86
2026-03-23 23:01:33,571 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ccc7002e-26e0-4893-8038-e8a1a8102c90
2026-03-23 23:01:33,582 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-15768947', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18368360', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6774929142338176280', 'uuid-lslong': '13429472884191432760'}, 'enable': 'true', 'created': '2026-03-23T23:01:31', 'last-modified': '2026-03-23T23:01:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.904892'}
2026-03-23 23:01:33,588 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-23 23:01:33,589 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15768947 passed
2026-03-23 23:01:33,589 - DEBUG - ====Verifying policy data for ctest-vn-15768947 in API_Server ======
2026-03-23 23:01:33,589 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-23 23:01:33,594 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4c0a333a-240b-491d-a31c-bec9b65e69a0
2026-03-23 23:01:33,604 - DEBUG - Requesting: http://10.0.0.141:8082/project/35589830-2377-4442-99b1-37b3a93ef0ec
2026-03-23 23:01:33,674 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5e056228-eb82-4518-ba5f-126f8ef89038
2026-03-23 23:01:33,682 - DEBUG - ==>Verifying data for policy with id: 190c0b7f-fd5a-417f-a6a1-ffb4a21a5f6f, fqn: ['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-policy-allow-all-54442575']
2026-03-23 23:01:33,682 - INFO - VN ctest-vn-15768947 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-23 23:01:33,682 - DEBUG - Verifying the vn in opserver
2026-03-23 23:01:33,683 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-15768947 virtual network link through opserver 10.0.0.141
2026-03-23 23:01:33,683 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-03-23 23:01:33,976 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-03-23 23:01:34,031 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-15768947', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-15768947?flat'}
2026-03-23 23:01:34,031 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-15768947 is found in opserver
2026-03-23 23:01:34,041 - DEBUG - Do not have enough data to verify VN in agent
2026-03-23 23:01:34,045 - DEBUG - VRF ids for VN ctest-vn-15768947: {}
2026-03-23 23:01:34,045 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-23 23:01:34,050 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4c0a333a-240b-491d-a31c-bec9b65e69a0
2026-03-23 23:01:34,060 - DEBUG - Requesting: http://10.0.0.141:8082/project/35589830-2377-4442-99b1-37b3a93ef0ec
2026-03-23 23:01:34,126 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa6b54e5-acca-4ed0-ac35-ddc48db2a787
2026-03-23 23:01:34,136 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa6b54e5-acca-4ed0-ac35-ddc48db2a787
2026-03-23 23:01:34,143 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/752b804e-6568-481c-82f1-460c57a7a2e4
2026-03-23 23:01:34,149 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/752b804e-6568-481c-82f1-460c57a7a2e4
2026-03-23 23:01:34,154 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/51c6b957-b7e3-4e18-a0bd-3ec424e3b2c4
2026-03-23 23:01:34,161 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-23 23:01:34,161 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa6b54e5-acca-4ed0-ac35-ddc48db2a787
2026-03-23 23:01:34,170 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/752b804e-6568-481c-82f1-460c57a7a2e4
2026-03-23 23:01:34,184 - INFO - Verified VN network id 12 for VN fa6b54e5-acca-4ed0-ac35-ddc48db2a787
2026-03-23 23:01:34,184 - INFO - Verifications in API Server for VN ctest-vn-21231276 passed
2026-03-23 23:01:34,184 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa6b54e5-acca-4ed0-ac35-ddc48db2a787
2026-03-23 23:01:34,192 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/752b804e-6568-481c-82f1-460c57a7a2e4
2026-03-23 23:01:34,198 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/752b804e-6568-481c-82f1-460c57a7a2e4
2026-03-23 23:01:34,204 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/51c6b957-b7e3-4e18-a0bd-3ec424e3b2c4
2026-03-23 23:01:34,214 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-21231276', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18368360', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18044609677413207760', 'uuid-lslong': '12409068184549894023'}, 'enable': 'true', 'created': '2026-03-23T23:01:32', 'last-modified': '2026-03-23T23:01:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.311961'}
2026-03-23 23:01:34,219 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-23 23:01:34,219 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21231276 passed
2026-03-23 23:01:34,219 - DEBUG - ====Verifying policy data for ctest-vn-21231276 in API_Server ======
2026-03-23 23:01:34,219 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-03-23 23:01:34,225 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4c0a333a-240b-491d-a31c-bec9b65e69a0
2026-03-23 23:01:34,235 - DEBUG - Requesting: http://10.0.0.141:8082/project/35589830-2377-4442-99b1-37b3a93ef0ec
2026-03-23 23:01:34,306 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa6b54e5-acca-4ed0-ac35-ddc48db2a787
2026-03-23 23:01:34,314 - DEBUG - ==>Verifying data for policy with id: 190c0b7f-fd5a-417f-a6a1-ffb4a21a5f6f, fqn: ['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-policy-allow-all-54442575']
2026-03-23 23:01:34,314 - INFO - VN ctest-vn-21231276 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-23 23:01:34,314 - DEBUG - Verifying the vn in opserver
2026-03-23 23:01:34,315 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-21231276 virtual network link through opserver 10.0.0.141
2026-03-23 23:01:34,315 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-03-23 23:01:34,323 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-21231276', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-21231276?flat'}
2026-03-23 23:01:34,323 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-21231276 is found in opserver
2026-03-23 23:01:34,332 - DEBUG - Do not have enough data to verify VN in agent
2026-03-23 23:01:34,338 - DEBUG - VRF ids for VN ctest-vn-21231276: {}
2026-03-23 23:01:34,390 - DEBUG - Services list from nova: [