2025-10-22 11:08:18,876 - INFO - Domain Default found not creating
2025-10-22 11:08:19,014 - INFO - Project ctest-TestBasicPolicy-49654947 not found, creating it
2025-10-22 11:08:19,435 - INFO - Created Project:ctest-TestBasicPolicy-49654947, ID : 760964c8-6035-4d92-ac82-a8313f5d559f 
2025-10-22 11:08:20,802 - INFO - ================================================================================
2025-10-22 11:08:20,802 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-22 11:08:20,802 - 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
        
2025-10-22 11:08:21,057 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.25': '0'}} with
2025-10-22 11:08:21,057 - INFO - Initial checks done. Running the testcase now
2025-10-22 11:08:21,057 - INFO - 
2025-10-22 11:08:21,584 - DEBUG - Response for create_network : {'network': {'id': '6a878b7e-eeb8-45e9-afb0-12c1707d33df', 'name': 'ctest-vn-65755739', 'tenant_id': '760964c860354d92ac82a8313f5d559f', 'project_id': '760964c860354d92ac82a8313f5d559f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-vn-65755739'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 11:08:21,789 - DEBUG - Response for create_subnet : {'subnet': {'id': '41f7f37a-2f3a-4310-9f64-cd5473404eeb', 'name': '', 'tenant_id': '760964c860354d92ac82a8313f5d559f', 'network_id': '6a878b7e-eeb8-45e9-afb0-12c1707d33df', 'ip_version': 4, 'cidr': '139.96.173.192/26', 'allocation_pools': [{'start': '139.96.173.194', 'end': '139.96.173.254'}], 'gateway_ip': '139.96.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.96.173.194', 'tags': [], 'project_id': '760964c860354d92ac82a8313f5d559f'}}
2025-10-22 11:08:21,805 - INFO - Created VN ctest-vn-65755739
2025-10-22 11:08:21,856 - DEBUG - VN ctest-vn-65755739 UUID is 6a878b7e-eeb8-45e9-afb0-12c1707d33df
2025-10-22 11:08:22,168 - DEBUG - Response for create_network : {'network': {'id': '6cdd737a-6db4-406c-a612-38b331e3d6c7', 'name': 'ctest-vn-85539707', 'tenant_id': '760964c860354d92ac82a8313f5d559f', 'project_id': '760964c860354d92ac82a8313f5d559f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-vn-85539707'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 11:08:22,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f607766-f122-42eb-aebd-c8d3ed8af3f2', 'name': '', 'tenant_id': '760964c860354d92ac82a8313f5d559f', 'network_id': '6cdd737a-6db4-406c-a612-38b331e3d6c7', 'ip_version': 4, 'cidr': '131.2.246.128/26', 'allocation_pools': [{'start': '131.2.246.130', 'end': '131.2.246.190'}], 'gateway_ip': '131.2.246.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.2.246.130', 'tags': [], 'project_id': '760964c860354d92ac82a8313f5d559f'}}
2025-10-22 11:08:22,325 - INFO - Created VN ctest-vn-85539707
2025-10-22 11:08:22,380 - DEBUG - VN ctest-vn-85539707 UUID is 6cdd737a-6db4-406c-a612-38b331e3d6c7
2025-10-22 11:08:22,520 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-65755739, 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-49654947:ctest-vn-85539707, 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]
2025-10-22 11:08:22,803 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a878b7e-eeb8-45e9-afb0-12c1707d33df', 'name': 'ctest-vn-65755739', 'tenant_id': '760964c860354d92ac82a8313f5d559f', 'project_id': '760964c860354d92ac82a8313f5d559f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['41f7f37a-2f3a-4310-9f64-cd5473404eeb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-vn-65755739'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-policy-allow-all-82065275']], 'subnet_ipam': [{'subnet_cidr': '139.96.173.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-22 11:08:23,017 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6cdd737a-6db4-406c-a612-38b331e3d6c7', 'name': 'ctest-vn-85539707', 'tenant_id': '760964c860354d92ac82a8313f5d559f', 'project_id': '760964c860354d92ac82a8313f5d559f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7f607766-f122-42eb-aebd-c8d3ed8af3f2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-vn-85539707'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-policy-allow-all-82065275']], 'subnet_ipam': [{'subnet_cidr': '131.2.246.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-22 11:08:23,180 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-10-22 11:08:23,467 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-10-22 11:08:23,492 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9de5d58a-792b-4ea5-8f22-60089dfd4a08
2025-10-22 11:08:23,504 - DEBUG - Requesting: http://10.0.0.65:8082/project/760964c8-6035-4d92-ac82-a8313f5d559f
2025-10-22 11:08:23,577 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6a878b7e-eeb8-45e9-afb0-12c1707d33df
2025-10-22 11:08:23,591 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6a878b7e-eeb8-45e9-afb0-12c1707d33df
2025-10-22 11:08:23,599 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/17d231ec-e12b-476a-b57f-12707a313757
2025-10-22 11:08:23,605 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/17d231ec-e12b-476a-b57f-12707a313757
2025-10-22 11:08:23,610 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/1833efc0-cb18-414a-b66c-2d5b355004b3
2025-10-22 11:08:23,614 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-22 11:08:23,614 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6a878b7e-eeb8-45e9-afb0-12c1707d33df
2025-10-22 11:08:23,621 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/17d231ec-e12b-476a-b57f-12707a313757
2025-10-22 11:08:23,631 - INFO - Verified VN network id 12 for VN 6a878b7e-eeb8-45e9-afb0-12c1707d33df
2025-10-22 11:08:23,631 - INFO - Verifications in API Server for VN ctest-vn-65755739 passed
2025-10-22 11:08:23,631 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6a878b7e-eeb8-45e9-afb0-12c1707d33df
2025-10-22 11:08:23,639 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/17d231ec-e12b-476a-b57f-12707a313757
2025-10-22 11:08:23,644 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/17d231ec-e12b-476a-b57f-12707a313757
2025-10-22 11:08:23,650 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/1833efc0-cb18-414a-b66c-2d5b355004b3
2025-10-22 11:08:23,659 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-65755739', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49654947', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7676257467163493865', 'uuid-lslong': '12659639174563705823'}, 'enable': 'true', 'created': '2025-10-22T11:08:21', 'last-modified': '2025-10-22T11:08:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.881784'}
2025-10-22 11:08:23,664 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-22 11:08:23,664 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65755739 passed
2025-10-22 11:08:23,664 - DEBUG - ====Verifying policy data for ctest-vn-65755739 in API_Server ======
2025-10-22 11:08:23,664 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-10-22 11:08:23,669 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9de5d58a-792b-4ea5-8f22-60089dfd4a08
2025-10-22 11:08:23,679 - DEBUG - Requesting: http://10.0.0.65:8082/project/760964c8-6035-4d92-ac82-a8313f5d559f
2025-10-22 11:08:23,752 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6a878b7e-eeb8-45e9-afb0-12c1707d33df
2025-10-22 11:08:23,760 - DEBUG - ==>Verifying data for policy with id: 479319d2-11a5-47ad-a550-79827fcaa608, fqn: ['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-policy-allow-all-82065275']
2025-10-22 11:08:23,760 - INFO - VN ctest-vn-65755739 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-22 11:08:23,760 - DEBUG - Verifying the vn in opserver
2025-10-22 11:08:23,760 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-65755739 virtual network link  through opserver 10.0.0.65
2025-10-22 11:08:23,760 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-10-22 11:08:24,053 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-10-22 11:08:24,113 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-65755739', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-65755739?flat'}
2025-10-22 11:08:24,113 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-65755739 is found in opserver
2025-10-22 11:08:24,121 - DEBUG - Do not have enough data to verify VN in agent
2025-10-22 11:08:24,124 - DEBUG - VRF ids for VN ctest-vn-65755739: {}
2025-10-22 11:08:24,124 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-10-22 11:08:24,129 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9de5d58a-792b-4ea5-8f22-60089dfd4a08
2025-10-22 11:08:24,138 - DEBUG - Requesting: http://10.0.0.65:8082/project/760964c8-6035-4d92-ac82-a8313f5d559f
2025-10-22 11:08:24,202 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6cdd737a-6db4-406c-a612-38b331e3d6c7
2025-10-22 11:08:24,211 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6cdd737a-6db4-406c-a612-38b331e3d6c7
2025-10-22 11:08:24,218 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f19c4efc-6b2b-46e6-a9ba-b7f98035c5b3
2025-10-22 11:08:24,223 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f19c4efc-6b2b-46e6-a9ba-b7f98035c5b3
2025-10-22 11:08:24,228 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/fc62fdca-92a6-4f9a-87b1-d73bd9844fa9
2025-10-22 11:08:24,232 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-22 11:08:24,232 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6cdd737a-6db4-406c-a612-38b331e3d6c7
2025-10-22 11:08:24,239 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f19c4efc-6b2b-46e6-a9ba-b7f98035c5b3
2025-10-22 11:08:24,248 - INFO - Verified VN network id 13 for VN 6cdd737a-6db4-406c-a612-38b331e3d6c7
2025-10-22 11:08:24,248 - INFO - Verifications in API Server for VN ctest-vn-85539707 passed
2025-10-22 11:08:24,248 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6cdd737a-6db4-406c-a612-38b331e3d6c7
2025-10-22 11:08:24,255 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f19c4efc-6b2b-46e6-a9ba-b7f98035c5b3
2025-10-22 11:08:24,260 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f19c4efc-6b2b-46e6-a9ba-b7f98035c5b3
2025-10-22 11:08:24,264 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/fc62fdca-92a6-4f9a-87b1-d73bd9844fa9
2025-10-22 11:08:24,273 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-85539707', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49654947', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7844553095613005932', 'uuid-lslong': '11966689502164145863'}, 'enable': 'true', 'created': '2025-10-22T11:08:22', 'last-modified': '2025-10-22T11:08:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.277896'}
2025-10-22 11:08:24,278 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-22 11:08:24,278 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85539707 passed
2025-10-22 11:08:24,278 - DEBUG - ====Verifying policy data for ctest-vn-85539707 in API_Server ======
2025-10-22 11:08:24,279 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2025-10-22 11:08:24,283 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9de5d58a-792b-4ea5-8f22-60089dfd4a08
2025-10-22 11:08:24,291 - DEBUG - Requesting: http://10.0.0.65:8082/project/760964c8-6035-4d92-ac82-a8313f5d559f
2025-10-22 11:08:24,355 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6cdd737a-6db4-406c-a612-38b331e3d6c7
2025-10-22 11:08:24,363 - DEBUG - ==>Verifying data for policy with id: 479319d2-11a5-47ad-a550-79827fcaa608, fqn: ['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-policy-allow-all-82065275']
2025-10-22 11:08:24,363 - INFO - VN ctest-vn-85539707 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-22 11:08:24,363 - DEBUG - Verifying the vn in opserver
2025-10-22 11:08:24,363 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-85539707 virtual network link  through opserver 10.0.0.65
2025-10-22 11:08:24,363 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-10-22 11:08:24,370 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-85539707', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-85539707?flat'}
2025-10-22 11:08:24,370 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-85539707 is found in opserver
2025-10-22 11:08:24,378 - DEBUG - Do not have enough data to verify VN in agent
2025-10-22 11:08:24,381 - DEBUG - VRF ids for VN ctest-vn-85539707: {}
2025-10-22 11:08:24,427 - DEBUG - Services list from nova: [