2026-02-24 20:49:58,115 - INFO - Domain Default found not creating 2026-02-24 20:49:58,494 - INFO - Project ctest-TestBasicPolicy-41465100 not found, creating it 2026-02-24 20:49:59,015 - INFO - Created Project:ctest-TestBasicPolicy-41465100, ID : 7c5f5fa1-486b-4ddc-95d6-0520c45cad61 2026-02-24 20:50:01,193 - INFO - ================================================================================ 2026-02-24 20:50:01,193 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-24 20:50:01,193 - 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-02-24 20:50:01,510 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-02-24 20:50:01,510 - INFO - Initial checks done. Running the testcase now 2026-02-24 20:50:01,510 - INFO - 2026-02-24 20:50:02,227 - DEBUG - Response for create_network : {'network': {'id': 'bf52577a-14bd-400d-9b98-92132ec0d771', 'name': 'ctest-vn-73659963', 'tenant_id': '7c5f5fa1486b4ddc95d60520c45cad61', 'project_id': '7c5f5fa1486b4ddc95d60520c45cad61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41465100', 'ctest-vn-73659963'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 20:50:02,464 - DEBUG - Response for create_subnet : {'subnet': {'id': '360fffa6-59f8-4686-9c76-38caa32e047a', 'name': '', 'tenant_id': '7c5f5fa1486b4ddc95d60520c45cad61', 'network_id': 'bf52577a-14bd-400d-9b98-92132ec0d771', 'ip_version': 4, 'cidr': '168.142.8.0/26', 'allocation_pools': [{'start': '168.142.8.2', 'end': '168.142.8.62'}], 'gateway_ip': '168.142.8.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.142.8.2', 'tags': [], 'project_id': '7c5f5fa1486b4ddc95d60520c45cad61'}} 2026-02-24 20:50:02,484 - INFO - Created VN ctest-vn-73659963 2026-02-24 20:50:02,539 - DEBUG - VN ctest-vn-73659963 UUID is bf52577a-14bd-400d-9b98-92132ec0d771 2026-02-24 20:50:02,989 - DEBUG - Response for create_network : {'network': {'id': 'b8eb9dfd-8b6b-4e69-8b25-77227268218c', 'name': 'ctest-vn-70651377', 'tenant_id': '7c5f5fa1486b4ddc95d60520c45cad61', 'project_id': '7c5f5fa1486b4ddc95d60520c45cad61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41465100', 'ctest-vn-70651377'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 20:50:03,233 - DEBUG - Response for create_subnet : {'subnet': {'id': '41ab2efa-0318-4b0d-bf39-b22148ec79e2', 'name': '', 'tenant_id': '7c5f5fa1486b4ddc95d60520c45cad61', 'network_id': 'b8eb9dfd-8b6b-4e69-8b25-77227268218c', 'ip_version': 4, 'cidr': '36.56.29.192/26', 'allocation_pools': [{'start': '36.56.29.194', 'end': '36.56.29.254'}], 'gateway_ip': '36.56.29.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.56.29.194', 'tags': [], 'project_id': '7c5f5fa1486b4ddc95d60520c45cad61'}} 2026-02-24 20:50:03,263 - INFO - Created VN ctest-vn-70651377 2026-02-24 20:50:03,323 - DEBUG - VN ctest-vn-70651377 UUID is b8eb9dfd-8b6b-4e69-8b25-77227268218c 2026-02-24 20:50:03,518 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41465100:ctest-vn-73659963, 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-41465100:ctest-vn-70651377, 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-02-24 20:50:03,919 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf52577a-14bd-400d-9b98-92132ec0d771', 'name': 'ctest-vn-73659963', 'tenant_id': '7c5f5fa1486b4ddc95d60520c45cad61', 'project_id': '7c5f5fa1486b4ddc95d60520c45cad61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['360fffa6-59f8-4686-9c76-38caa32e047a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41465100', 'ctest-vn-73659963'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41465100', 'ctest-policy-allow-all-62540644']], 'subnet_ipam': [{'subnet_cidr': '168.142.8.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-24 20:50:04,268 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b8eb9dfd-8b6b-4e69-8b25-77227268218c', 'name': 'ctest-vn-70651377', 'tenant_id': '7c5f5fa1486b4ddc95d60520c45cad61', 'project_id': '7c5f5fa1486b4ddc95d60520c45cad61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['41ab2efa-0318-4b0d-bf39-b22148ec79e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41465100', 'ctest-vn-70651377'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41465100', 'ctest-policy-allow-all-62540644']], 'subnet_ipam': [{'subnet_cidr': '36.56.29.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-24 20:50:04,458 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-24 20:50:04,776 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-24 20:50:04,877 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f9d9fe61-ff01-47a7-a23b-acd006b411c2 2026-02-24 20:50:04,915 - DEBUG - Requesting: http://10.0.0.22:8082/project/7c5f5fa1-486b-4ddc-95d6-0520c45cad61 2026-02-24 20:50:04,997 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bf52577a-14bd-400d-9b98-92132ec0d771 2026-02-24 20:50:05,019 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bf52577a-14bd-400d-9b98-92132ec0d771 2026-02-24 20:50:05,041 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4e1e2157-9155-44a6-b0bb-cfd0e14c47ec 2026-02-24 20:50:05,055 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4e1e2157-9155-44a6-b0bb-cfd0e14c47ec 2026-02-24 20:50:05,068 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/afba68f3-8a1b-4ccd-af55-e6a55e58cc08 2026-02-24 20:50:05,081 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-24 20:50:05,081 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bf52577a-14bd-400d-9b98-92132ec0d771 2026-02-24 20:50:05,105 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4e1e2157-9155-44a6-b0bb-cfd0e14c47ec 2026-02-24 20:50:05,145 - INFO - Verified VN network id 11 for VN bf52577a-14bd-400d-9b98-92132ec0d771 2026-02-24 20:50:05,145 - INFO - Verifications in API Server for VN ctest-vn-73659963 passed 2026-02-24 20:50:05,145 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bf52577a-14bd-400d-9b98-92132ec0d771 2026-02-24 20:50:05,173 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4e1e2157-9155-44a6-b0bb-cfd0e14c47ec 2026-02-24 20:50:05,192 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4e1e2157-9155-44a6-b0bb-cfd0e14c47ec 2026-02-24 20:50:05,213 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/afba68f3-8a1b-4ccd-af55-e6a55e58cc08 2026-02-24 20:50:05,249 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41465100:ctest-vn-73659963', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41465100', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13786177591180083213', 'uuid-lslong': '11211871883425273713'}, 'enable': 'true', 'created': '2026-02-24T20:50:02', 'last-modified': '2026-02-24T20:50:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.369181'} 2026-02-24 20:50:05,265 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-24 20:50:05,266 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73659963 passed 2026-02-24 20:50:05,266 - DEBUG - ====Verifying policy data for ctest-vn-73659963 in API_Server ====== 2026-02-24 20:50:05,267 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-24 20:50:05,281 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f9d9fe61-ff01-47a7-a23b-acd006b411c2 2026-02-24 20:50:05,315 - DEBUG - Requesting: http://10.0.0.22:8082/project/7c5f5fa1-486b-4ddc-95d6-0520c45cad61 2026-02-24 20:50:05,433 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bf52577a-14bd-400d-9b98-92132ec0d771 2026-02-24 20:50:05,458 - DEBUG - ==>Verifying data for policy with id: 546ba785-b050-4f2e-b48b-4d6a526feb7c, fqn: ['default-domain', 'ctest-TestBasicPolicy-41465100', 'ctest-policy-allow-all-62540644'] 2026-02-24 20:50:05,458 - INFO - VN ctest-vn-73659963 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-24 20:50:05,458 - DEBUG - Verifying the vn in opserver 2026-02-24 20:50:05,458 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41465100:ctest-vn-73659963 virtual network link through opserver 10.0.0.22 2026-02-24 20:50:05,459 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-24 20:50:05,803 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-24 20:50:05,920 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41465100:ctest-vn-73659963', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41465100:ctest-vn-73659963?flat'} 2026-02-24 20:50:05,920 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41465100:ctest-vn-73659963 is found in opserver 2026-02-24 20:50:05,934 - DEBUG - Do not have enough data to verify VN in agent 2026-02-24 20:50:05,942 - DEBUG - VRF ids for VN ctest-vn-73659963: {} 2026-02-24 20:50:05,942 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-24 20:50:05,951 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f9d9fe61-ff01-47a7-a23b-acd006b411c2 2026-02-24 20:50:05,966 - DEBUG - Requesting: http://10.0.0.22:8082/project/7c5f5fa1-486b-4ddc-95d6-0520c45cad61 2026-02-24 20:50:06,069 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b8eb9dfd-8b6b-4e69-8b25-77227268218c 2026-02-24 20:50:06,085 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b8eb9dfd-8b6b-4e69-8b25-77227268218c 2026-02-24 20:50:06,095 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1fa1726c-582d-441f-8a20-a38de2544109 2026-02-24 20:50:06,106 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1fa1726c-582d-441f-8a20-a38de2544109 2026-02-24 20:50:06,114 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d245fcf5-4aee-4b7c-b6ee-75eee77df591 2026-02-24 20:50:06,121 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-24 20:50:06,121 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b8eb9dfd-8b6b-4e69-8b25-77227268218c 2026-02-24 20:50:06,131 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1fa1726c-582d-441f-8a20-a38de2544109 2026-02-24 20:50:06,146 - INFO - Verified VN network id 12 for VN b8eb9dfd-8b6b-4e69-8b25-77227268218c 2026-02-24 20:50:06,146 - INFO - Verifications in API Server for VN ctest-vn-70651377 passed 2026-02-24 20:50:06,146 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b8eb9dfd-8b6b-4e69-8b25-77227268218c 2026-02-24 20:50:06,157 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1fa1726c-582d-441f-8a20-a38de2544109 2026-02-24 20:50:06,165 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1fa1726c-582d-441f-8a20-a38de2544109 2026-02-24 20:50:06,173 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d245fcf5-4aee-4b7c-b6ee-75eee77df591 2026-02-24 20:50:06,185 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41465100:ctest-vn-70651377', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41465100', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13324917634797096553', 'uuid-lslong': '10026551135242297740'}, 'enable': 'true', 'created': '2026-02-24T20:50:02', 'last-modified': '2026-02-24T20:50:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.966015'} 2026-02-24 20:50:06,192 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-24 20:50:06,192 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70651377 passed 2026-02-24 20:50:06,192 - DEBUG - ====Verifying policy data for ctest-vn-70651377 in API_Server ====== 2026-02-24 20:50:06,192 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-24 20:50:06,199 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f9d9fe61-ff01-47a7-a23b-acd006b411c2 2026-02-24 20:50:06,210 - DEBUG - Requesting: http://10.0.0.22:8082/project/7c5f5fa1-486b-4ddc-95d6-0520c45cad61 2026-02-24 20:50:06,294 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b8eb9dfd-8b6b-4e69-8b25-77227268218c 2026-02-24 20:50:06,305 - DEBUG - ==>Verifying data for policy with id: 546ba785-b050-4f2e-b48b-4d6a526feb7c, fqn: ['default-domain', 'ctest-TestBasicPolicy-41465100', 'ctest-policy-allow-all-62540644'] 2026-02-24 20:50:06,305 - INFO - VN ctest-vn-70651377 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-24 20:50:06,305 - DEBUG - Verifying the vn in opserver 2026-02-24 20:50:06,305 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41465100:ctest-vn-70651377 virtual network link through opserver 10.0.0.22 2026-02-24 20:50:06,305 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-24 20:50:06,315 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41465100:ctest-vn-70651377', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41465100:ctest-vn-70651377?flat'} 2026-02-24 20:50:06,315 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41465100:ctest-vn-70651377 is found in opserver 2026-02-24 20:50:06,334 - DEBUG - Do not have enough data to verify VN in agent 2026-02-24 20:50:06,342 - DEBUG - VRF ids for VN ctest-vn-70651377: {} 2026-02-24 20:50:06,477 - DEBUG - Services list from nova: [, , ] 2026-02-24 20:50:08,089 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5395-1) 2026-02-24 20:50:09,748 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5395-1) 2026-02-24 20:50:09,749 - INFO - Waiting for VM ctest-TestBasicPolicy-41465100-21009889 to be up.. 2026-02-24 20:50:09,901 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-24 20:50:15,100 - DEBUG - VM is in ACTIVE state now 2026-02-24 20:50:15,100 - INFO - VM name : ctest-TestBasicPolicy-41465100-21009889 2026-02-24 20:50:15,255 - DEBUG - VM ctest-TestBasicPolicy-41465100-21009889 ID is 0b183d7e-8987-491e-8130-f2ac95e68063 2026-02-24 20:50:15,295 - DEBUG - VM ctest-TestBasicPolicy-41465100-21009889 launched on Node cn-jenkins-deploy-platform-ansible-os-5395-1 2026-02-24 20:50:15,441 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0b183d7e-8987-491e-8130-f2ac95e68063 2026-02-24 20:50:15,461 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0ea0ddf0-22c4-4357-8b20-ec93f5b81d17 2026-02-24 20:50:18,719 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms') 2026-02-24 20:50:18,719 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41465100-21009889 failed! 2026-02-24 20:50:18,787 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41465100:ctest-vn-73659963 is 168.142.8.1 and allocation pool is NOT set 2026-02-24 20:50:20,879 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=16.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.19 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.193/9.847/16.501/6.654 ms') 2026-02-24 20:50:20,880 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41465100-21009889 passed 2026-02-24 20:50:21,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 20:50:21,071 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41465100-21009889, IP 168.142.8.3, Port 22 2026-02-24 20:50:21,259 - DEBUG - VM ctest-TestBasicPolicy-41465100-21009889 is ready for SSH connections 2026-02-24 20:50:21,259 - INFO - Waiting for VM ctest-TestBasicPolicy-41465100-61658984 to be up.. 2026-02-24 20:50:21,337 - DEBUG - VM is in ACTIVE state now 2026-02-24 20:50:21,338 - INFO - VM name : ctest-TestBasicPolicy-41465100-61658984 2026-02-24 20:50:21,422 - DEBUG - VM ctest-TestBasicPolicy-41465100-61658984 ID is 98f1abfa-3d78-4379-8282-f9a79e80e6aa 2026-02-24 20:50:21,422 - DEBUG - VM ctest-TestBasicPolicy-41465100-61658984 launched on Node cn-jenkins-deploy-platform-ansible-os-5395-1 2026-02-24 20:50:21,567 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/98f1abfa-3d78-4379-8282-f9a79e80e6aa 2026-02-24 20:50:21,582 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6c410f94-514d-423a-8e94-90ebb3818422 2026-02-24 20:50:22,887 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=6.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.41 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.414/4.750/6.087/1.336 ms') 2026-02-24 20:50:22,887 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41465100-61658984 passed 2026-02-24 20:50:23,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 20:50:23,063 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41465100-61658984, IP 36.56.29.195, Port 22 2026-02-24 20:50:23,269 - DEBUG - VM ctest-TestBasicPolicy-41465100-61658984 is ready for SSH connections 2026-02-24 20:50:23,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 20:50:23,270 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.56.29.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-24 20:50:23,270 - DEBUG - ping -s 56 -c 3 -W 1 36.56.29.195 2026-02-24 20:50:27,936 - DEBUG - PING 36.56.29.195 (36.56.29.195): 56 data bytes 64 bytes from 36.56.29.195: seq=0 ttl=63 time=12.287 ms 64 bytes from 36.56.29.195: seq=1 ttl=63 time=1.529 ms 64 bytes from 36.56.29.195: seq=2 ttl=63 time=1.764 ms --- 36.56.29.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.529/5.193/12.287 ms 2026-02-24 20:50:27,936 - INFO - Ping to IP 36.56.29.195 from VM ctest-TestBasicPolicy-41465100-21009889 passed 2026-02-24 20:50:28,186 - DEBUG - Policy Update Response {"network-policy": {"uuid": "546ba785-b050-4f2e-b48b-4d6a526feb7c", "href": "http://10.0.0.22:8082/network-policy/546ba785-b050-4f2e-b48b-4d6a526feb7c"}} 2026-02-24 20:50:28,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 20:50:28,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.56.29.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-24 20:50:28,187 - DEBUG - ping -s 56 -c 3 -W 1 36.56.29.195 2026-02-24 20:50:31,445 - DEBUG - PING 36.56.29.195 (36.56.29.195): 56 data bytes --- 36.56.29.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-24 20:50:31,446 - WARNING - Ping to IP 36.56.29.195 from VM ctest-TestBasicPolicy-41465100-21009889 failed 2026-02-24 20:50:31,446 - INFO - Deleting VM ctest-TestBasicPolicy-41465100-61658984 2026-02-24 20:50:31,638 - INFO - Deleting VM ctest-TestBasicPolicy-41465100-21009889 2026-02-24 20:50:32,127 - INFO - Deleted policy ctest-policy-allow-all-62540644 2026-02-24 20:50:32,127 - INFO - Deleting VN ctest-vn-70651377 2026-02-24 20:50:32,167 - DEBUG - VN b8eb9dfd-8b6b-4e69-8b25-77227268218c still in use: Unable to complete operation on network b8eb9dfd-8b6b-4e69-8b25-77227268218c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd3db2af-40c7-48bc-a1b1-8c63d4e5a837'] 2026-02-24 20:50:32,167 - WARNING - Deleting VN ctest-vn-70651377 failed..Will retry 2026-02-24 20:50:34,409 - DEBUG - Response for deleting network () 2026-02-24 20:50:34,410 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1fa1726c-582d-441f-8a20-a38de2544109 2026-02-24 20:50:34,421 - DEBUG - Response Code: 404 2026-02-24 20:50:34,421 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-24 20:50:34,430 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f9d9fe61-ff01-47a7-a23b-acd006b411c2 2026-02-24 20:50:34,450 - DEBUG - Requesting: http://10.0.0.22:8082/project/7c5f5fa1-486b-4ddc-95d6-0520c45cad61 2026-02-24 20:50:34,544 - INFO - Validated that VN ctest-vn-70651377 is not found in API Server 2026-02-24 20:50:34,564 - DEBUG - VN ctest-vn-70651377 is not present in Agent 10.0.0.22 2026-02-24 20:50:34,564 - INFO - Validated that VN ctest-vn-70651377 is not in any agent 2026-02-24 20:50:34,591 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70651377 info 2026-02-24 20:50:34,591 - INFO - Deleting VN ctest-vn-73659963 2026-02-24 20:50:34,792 - DEBUG - Response for deleting network () 2026-02-24 20:50:34,792 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4e1e2157-9155-44a6-b0bb-cfd0e14c47ec 2026-02-24 20:50:34,800 - DEBUG - Response Code: 404 2026-02-24 20:50:34,801 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-24 20:50:34,808 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f9d9fe61-ff01-47a7-a23b-acd006b411c2 2026-02-24 20:50:34,867 - DEBUG - Requesting: http://10.0.0.22:8082/project/7c5f5fa1-486b-4ddc-95d6-0520c45cad61 2026-02-24 20:50:34,955 - INFO - Validated that VN ctest-vn-73659963 is not found in API Server 2026-02-24 20:50:34,970 - DEBUG - VN ctest-vn-73659963 is not present in Agent 10.0.0.22 2026-02-24 20:50:34,970 - INFO - Validated that VN ctest-vn-73659963 is not in any agent 2026-02-24 20:50:34,995 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73659963 info 2026-02-24 20:50:35,325 - DEBUG - No XMPP flaps were noticed during the test 2026-02-24 20:50:35,325 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-02-24 20:50:35,325 - INFO - -------------------------------------------------------------------------------- 2026-02-24 20:50:36,226 - INFO - Deleted project: ctest-TestBasicPolicy-41465100, ID : 7c5f5fa1-486b-4ddc-95d6-0520c45cad61