2026-06-23 11:27:05,261 - INFO - Domain Default found not creating 2026-06-23 11:27:05,412 - INFO - Project ctest-TestBasicPolicy-17166728 not found, creating it 2026-06-23 11:27:05,863 - INFO - Created Project:ctest-TestBasicPolicy-17166728, ID : 8839ff54-647b-478f-8e42-7f60c8f40856 2026-06-23 11:27:07,447 - INFO - ================================================================================ 2026-06-23 11:27:07,447 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-23 11:27:07,447 - 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-06-23 11:27:07,702 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-06-23 11:27:07,702 - INFO - Initial checks done. Running the testcase now 2026-06-23 11:27:07,702 - INFO - 2026-06-23 11:27:08,241 - DEBUG - Response for create_network : {'network': {'id': 'e0f8f1a4-d12a-4a68-8795-5597f2f22d7c', 'name': 'ctest-vn-04719533', 'tenant_id': '8839ff54647b478f8e427f60c8f40856', 'project_id': '8839ff54647b478f8e427f60c8f40856', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-vn-04719533'], 'port_security_enabled': True, 'description': ''}} 2026-06-23 11:27:08,432 - DEBUG - Response for create_subnet : {'subnet': {'id': '0098e034-7bb1-4467-914e-6507c46f7828', 'name': '', 'tenant_id': '8839ff54647b478f8e427f60c8f40856', 'network_id': 'e0f8f1a4-d12a-4a68-8795-5597f2f22d7c', 'ip_version': 4, 'cidr': '67.1.185.192/26', 'allocation_pools': [{'start': '67.1.185.194', 'end': '67.1.185.254'}], 'gateway_ip': '67.1.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.1.185.194', 'tags': [], 'project_id': '8839ff54647b478f8e427f60c8f40856'}} 2026-06-23 11:27:08,446 - INFO - Created VN ctest-vn-04719533 2026-06-23 11:27:08,496 - DEBUG - VN ctest-vn-04719533 UUID is e0f8f1a4-d12a-4a68-8795-5597f2f22d7c 2026-06-23 11:27:08,806 - DEBUG - Response for create_network : {'network': {'id': '2d5406f1-a05c-43ee-80f9-c548f0b763d4', 'name': 'ctest-vn-70102397', 'tenant_id': '8839ff54647b478f8e427f60c8f40856', 'project_id': '8839ff54647b478f8e427f60c8f40856', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-vn-70102397'], 'port_security_enabled': True, 'description': ''}} 2026-06-23 11:27:08,952 - DEBUG - Response for create_subnet : {'subnet': {'id': '731459f1-698d-4474-a56a-08ebfd8ba811', 'name': '', 'tenant_id': '8839ff54647b478f8e427f60c8f40856', 'network_id': '2d5406f1-a05c-43ee-80f9-c548f0b763d4', 'ip_version': 4, 'cidr': '148.80.123.128/26', 'allocation_pools': [{'start': '148.80.123.130', 'end': '148.80.123.190'}], 'gateway_ip': '148.80.123.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.80.123.130', 'tags': [], 'project_id': '8839ff54647b478f8e427f60c8f40856'}} 2026-06-23 11:27:08,969 - INFO - Created VN ctest-vn-70102397 2026-06-23 11:27:09,020 - DEBUG - VN ctest-vn-70102397 UUID is 2d5406f1-a05c-43ee-80f9-c548f0b763d4 2026-06-23 11:27:09,168 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-04719533, 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-17166728:ctest-vn-70102397, 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-06-23 11:27:09,461 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e0f8f1a4-d12a-4a68-8795-5597f2f22d7c', 'name': 'ctest-vn-04719533', 'tenant_id': '8839ff54647b478f8e427f60c8f40856', 'project_id': '8839ff54647b478f8e427f60c8f40856', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0098e034-7bb1-4467-914e-6507c46f7828'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-vn-04719533'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-policy-allow-all-87395811']], 'subnet_ipam': [{'subnet_cidr': '67.1.185.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-23 11:27:09,691 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d5406f1-a05c-43ee-80f9-c548f0b763d4', 'name': 'ctest-vn-70102397', 'tenant_id': '8839ff54647b478f8e427f60c8f40856', 'project_id': '8839ff54647b478f8e427f60c8f40856', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['731459f1-698d-4474-a56a-08ebfd8ba811'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-vn-70102397'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-policy-allow-all-87395811']], 'subnet_ipam': [{'subnet_cidr': '148.80.123.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-23 11:27:09,808 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 11:27:10,134 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 11:27:10,157 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2af497c6-0f68-49a8-8ae8-5db3c1ed57bc 2026-06-23 11:27:10,169 - DEBUG - Requesting: http://10.0.0.50:8082/project/8839ff54-647b-478f-8e42-7f60c8f40856 2026-06-23 11:27:10,240 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e0f8f1a4-d12a-4a68-8795-5597f2f22d7c 2026-06-23 11:27:10,252 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e0f8f1a4-d12a-4a68-8795-5597f2f22d7c 2026-06-23 11:27:10,261 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2a53b39e-951b-4ceb-b4c6-531dbff8a4a9 2026-06-23 11:27:10,267 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2a53b39e-951b-4ceb-b4c6-531dbff8a4a9 2026-06-23 11:27:10,274 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/244f9225-4047-44d7-8a60-989138bd7f67 2026-06-23 11:27:10,281 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-23 11:27:10,281 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e0f8f1a4-d12a-4a68-8795-5597f2f22d7c 2026-06-23 11:27:10,289 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2a53b39e-951b-4ceb-b4c6-531dbff8a4a9 2026-06-23 11:27:10,310 - INFO - Verified VN network id 12 for VN e0f8f1a4-d12a-4a68-8795-5597f2f22d7c 2026-06-23 11:27:10,311 - INFO - Verifications in API Server for VN ctest-vn-04719533 passed 2026-06-23 11:27:10,311 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e0f8f1a4-d12a-4a68-8795-5597f2f22d7c 2026-06-23 11:27:10,320 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2a53b39e-951b-4ceb-b4c6-531dbff8a4a9 2026-06-23 11:27:10,327 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2a53b39e-951b-4ceb-b4c6-531dbff8a4a9 2026-06-23 11:27:10,333 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/244f9225-4047-44d7-8a60-989138bd7f67 2026-06-23 11:27:10,344 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-04719533', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17166728', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16210972548906240616', 'uuid-lslong': '9769809077754539388'}, 'enable': 'true', 'created': '2026-06-23T11:27:08', 'last-modified': '2026-06-23T11:27:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.903719'} 2026-06-23 11:27:10,350 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-23 11:27:10,350 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04719533 passed 2026-06-23 11:27:10,350 - DEBUG - ====Verifying policy data for ctest-vn-04719533 in API_Server ====== 2026-06-23 11:27:10,350 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 11:27:10,355 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2af497c6-0f68-49a8-8ae8-5db3c1ed57bc 2026-06-23 11:27:10,364 - DEBUG - Requesting: http://10.0.0.50:8082/project/8839ff54-647b-478f-8e42-7f60c8f40856 2026-06-23 11:27:10,436 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e0f8f1a4-d12a-4a68-8795-5597f2f22d7c 2026-06-23 11:27:10,446 - DEBUG - ==>Verifying data for policy with id: a4cd2eb3-5a3d-460f-8bbf-7c6c77b3db93, fqn: ['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-policy-allow-all-87395811'] 2026-06-23 11:27:10,446 - INFO - VN ctest-vn-04719533 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-23 11:27:10,446 - DEBUG - Verifying the vn in opserver 2026-06-23 11:27:10,446 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-04719533 virtual network link through opserver 10.0.0.50 2026-06-23 11:27:10,446 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-23 11:27:10,762 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-23 11:27:10,812 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-04719533', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-04719533?flat'} 2026-06-23 11:27:10,812 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-04719533 is found in opserver 2026-06-23 11:27:10,821 - DEBUG - Do not have enough data to verify VN in agent 2026-06-23 11:27:10,825 - DEBUG - VRF ids for VN ctest-vn-04719533: {} 2026-06-23 11:27:10,826 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 11:27:10,830 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2af497c6-0f68-49a8-8ae8-5db3c1ed57bc 2026-06-23 11:27:10,843 - DEBUG - Requesting: http://10.0.0.50:8082/project/8839ff54-647b-478f-8e42-7f60c8f40856 2026-06-23 11:27:10,911 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2d5406f1-a05c-43ee-80f9-c548f0b763d4 2026-06-23 11:27:10,921 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2d5406f1-a05c-43ee-80f9-c548f0b763d4 2026-06-23 11:27:10,929 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e096967-afe0-417e-9433-b75edbb6c786 2026-06-23 11:27:10,934 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e096967-afe0-417e-9433-b75edbb6c786 2026-06-23 11:27:10,940 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4cb2d394-022d-4418-b174-ecb8fed5ccb9 2026-06-23 11:27:10,945 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-23 11:27:10,945 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2d5406f1-a05c-43ee-80f9-c548f0b763d4 2026-06-23 11:27:10,952 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e096967-afe0-417e-9433-b75edbb6c786 2026-06-23 11:27:10,967 - INFO - Verified VN network id 13 for VN 2d5406f1-a05c-43ee-80f9-c548f0b763d4 2026-06-23 11:27:10,967 - INFO - Verifications in API Server for VN ctest-vn-70102397 passed 2026-06-23 11:27:10,967 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2d5406f1-a05c-43ee-80f9-c548f0b763d4 2026-06-23 11:27:10,975 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e096967-afe0-417e-9433-b75edbb6c786 2026-06-23 11:27:10,982 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e096967-afe0-417e-9433-b75edbb6c786 2026-06-23 11:27:10,988 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4cb2d394-022d-4418-b174-ecb8fed5ccb9 2026-06-23 11:27:10,997 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-70102397', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17166728', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3266243264597738478', 'uuid-lslong': '9293676223122596820'}, 'enable': 'true', 'created': '2026-06-23T11:27:08', 'last-modified': '2026-06-23T11:27:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.335738'} 2026-06-23 11:27:11,002 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-23 11:27:11,002 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70102397 passed 2026-06-23 11:27:11,002 - DEBUG - ====Verifying policy data for ctest-vn-70102397 in API_Server ====== 2026-06-23 11:27:11,002 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 11:27:11,007 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2af497c6-0f68-49a8-8ae8-5db3c1ed57bc 2026-06-23 11:27:11,016 - DEBUG - Requesting: http://10.0.0.50:8082/project/8839ff54-647b-478f-8e42-7f60c8f40856 2026-06-23 11:27:11,088 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2d5406f1-a05c-43ee-80f9-c548f0b763d4 2026-06-23 11:27:11,097 - DEBUG - ==>Verifying data for policy with id: a4cd2eb3-5a3d-460f-8bbf-7c6c77b3db93, fqn: ['default-domain', 'ctest-TestBasicPolicy-17166728', 'ctest-policy-allow-all-87395811'] 2026-06-23 11:27:11,097 - INFO - VN ctest-vn-70102397 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-23 11:27:11,097 - DEBUG - Verifying the vn in opserver 2026-06-23 11:27:11,097 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-70102397 virtual network link through opserver 10.0.0.50 2026-06-23 11:27:11,097 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-23 11:27:11,106 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-70102397', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-70102397?flat'} 2026-06-23 11:27:11,106 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-70102397 is found in opserver 2026-06-23 11:27:11,114 - DEBUG - Do not have enough data to verify VN in agent 2026-06-23 11:27:11,118 - DEBUG - VRF ids for VN ctest-vn-70102397: {} 2026-06-23 11:27:11,169 - DEBUG - Services list from nova: [, , ] 2026-06-23 11:27:12,452 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6025-1) 2026-06-23 11:27:13,520 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6025-1) 2026-06-23 11:27:13,520 - INFO - Waiting for VM ctest-TestBasicPolicy-17166728-49835040 to be up.. 2026-06-23 11:27:13,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 11:27:18,642 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 11:27:23,714 - DEBUG - VM is in ACTIVE state now 2026-06-23 11:27:23,714 - INFO - VM name : ctest-TestBasicPolicy-17166728-49835040 2026-06-23 11:27:23,791 - DEBUG - VM ctest-TestBasicPolicy-17166728-49835040 ID is 2d358ea3-cd99-4c98-a4fd-a880be132c45 2026-06-23 11:27:23,810 - DEBUG - VM ctest-TestBasicPolicy-17166728-49835040 launched on Node cn-jenkins-deploy-platform-ansible-os-6025-1 2026-06-23 11:27:23,876 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2d358ea3-cd99-4c98-a4fd-a880be132c45 2026-06-23 11:27:23,884 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ae694bf9-4697-4b4a-8331-130f0e4c5f54 2026-06-23 11:27:27,134 - 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 1011ms') 2026-06-23 11:27:27,135 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17166728-49835040 failed! 2026-06-23 11:27:27,192 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17166728:ctest-vn-04719533 is 67.1.185.193 and allocation pool is NOT set 2026-06-23 11:27:29,257 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.277 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 = 0.277/5.172/10.068/4.895 ms') 2026-06-23 11:27:29,257 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17166728-49835040 passed 2026-06-23 11:27:29,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 11:27:29,408 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17166728-49835040, IP 67.1.185.195, Port 22 2026-06-23 11:27:29,564 - DEBUG - VM ctest-TestBasicPolicy-17166728-49835040 is ready for SSH connections 2026-06-23 11:27:29,564 - INFO - Waiting for VM ctest-TestBasicPolicy-17166728-96952810 to be up.. 2026-06-23 11:27:29,632 - DEBUG - VM is in ACTIVE state now 2026-06-23 11:27:29,632 - INFO - VM name : ctest-TestBasicPolicy-17166728-96952810 2026-06-23 11:27:29,704 - DEBUG - VM ctest-TestBasicPolicy-17166728-96952810 ID is df10caf3-2853-49bc-85dd-57110da428f0 2026-06-23 11:27:29,705 - DEBUG - VM ctest-TestBasicPolicy-17166728-96952810 launched on Node cn-jenkins-deploy-platform-ansible-os-6025-1 2026-06-23 11:27:29,773 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/df10caf3-2853-49bc-85dd-57110da428f0 2026-06-23 11:27:29,781 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bd7036bd-6c51-43e5-baa4-7cd7b4be7928 2026-06-23 11:27:31,009 - 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=5.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.576 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.576/2.900/5.224/2.324 ms') 2026-06-23 11:27:31,009 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17166728-96952810 passed 2026-06-23 11:27:31,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 11:27:31,156 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17166728-96952810, IP 148.80.123.131, Port 22 2026-06-23 11:27:31,316 - DEBUG - VM ctest-TestBasicPolicy-17166728-96952810 is ready for SSH connections 2026-06-23 11:27:31,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 11:27:31,316 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.80.123.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-23 11:27:31,316 - DEBUG - ping -s 56 -c 3 -W 1 148.80.123.131 2026-06-23 11:27:35,205 - DEBUG - PING 148.80.123.131 (148.80.123.131): 56 data bytes 64 bytes from 148.80.123.131: seq=0 ttl=63 time=3.851 ms 64 bytes from 148.80.123.131: seq=1 ttl=63 time=1.016 ms 64 bytes from 148.80.123.131: seq=2 ttl=63 time=1.019 ms --- 148.80.123.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.016/1.962/3.851 ms 2026-06-23 11:27:35,206 - INFO - Ping to IP 148.80.123.131 from VM ctest-TestBasicPolicy-17166728-49835040 passed 2026-06-23 11:27:35,384 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a4cd2eb3-5a3d-460f-8bbf-7c6c77b3db93", "href": "http://10.0.0.50:8082/network-policy/a4cd2eb3-5a3d-460f-8bbf-7c6c77b3db93"}} 2026-06-23 11:27:35,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 11:27:35,384 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.80.123.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-23 11:27:35,384 - DEBUG - ping -s 56 -c 3 -W 1 148.80.123.131 2026-06-23 11:27:38,511 - DEBUG - PING 148.80.123.131 (148.80.123.131): 56 data bytes --- 148.80.123.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-23 11:27:38,511 - WARNING - Ping to IP 148.80.123.131 from VM ctest-TestBasicPolicy-17166728-49835040 failed 2026-06-23 11:27:38,511 - INFO - Deleting VM ctest-TestBasicPolicy-17166728-96952810 2026-06-23 11:27:38,577 - INFO - Deleting VM ctest-TestBasicPolicy-17166728-49835040 2026-06-23 11:27:38,892 - INFO - Deleted policy ctest-policy-allow-all-87395811 2026-06-23 11:27:38,892 - INFO - Deleting VN ctest-vn-70102397 2026-06-23 11:27:38,920 - DEBUG - VN 2d5406f1-a05c-43ee-80f9-c548f0b763d4 still in use: Unable to complete operation on network 2d5406f1-a05c-43ee-80f9-c548f0b763d4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c7deef96-9960-4a46-94f6-2dbda45cd7bd'] 2026-06-23 11:27:38,920 - WARNING - Deleting VN ctest-vn-70102397 failed..Will retry 2026-06-23 11:27:41,029 - DEBUG - Response for deleting network () 2026-06-23 11:27:41,029 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5e096967-afe0-417e-9433-b75edbb6c786 2026-06-23 11:27:41,033 - DEBUG - Response Code: 404 2026-06-23 11:27:41,033 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 11:27:41,038 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2af497c6-0f68-49a8-8ae8-5db3c1ed57bc 2026-06-23 11:27:41,088 - DEBUG - Requesting: http://10.0.0.50:8082/project/8839ff54-647b-478f-8e42-7f60c8f40856 2026-06-23 11:27:41,158 - INFO - Validated that VN ctest-vn-70102397 is not found in API Server 2026-06-23 11:27:41,167 - DEBUG - VN ctest-vn-70102397 is not present in Agent 10.0.0.50 2026-06-23 11:27:41,167 - INFO - Validated that VN ctest-vn-70102397 is not in any agent 2026-06-23 11:27:41,182 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70102397 info 2026-06-23 11:27:41,183 - INFO - Deleting VN ctest-vn-04719533 2026-06-23 11:27:41,280 - DEBUG - Response for deleting network () 2026-06-23 11:27:41,280 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2a53b39e-951b-4ceb-b4c6-531dbff8a4a9 2026-06-23 11:27:41,287 - DEBUG - Response Code: 404 2026-06-23 11:27:41,287 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 11:27:41,291 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2af497c6-0f68-49a8-8ae8-5db3c1ed57bc 2026-06-23 11:27:41,345 - DEBUG - Requesting: http://10.0.0.50:8082/project/8839ff54-647b-478f-8e42-7f60c8f40856 2026-06-23 11:27:41,416 - INFO - Validated that VN ctest-vn-04719533 is not found in API Server 2026-06-23 11:27:41,425 - DEBUG - VN ctest-vn-04719533 is not present in Agent 10.0.0.50 2026-06-23 11:27:41,425 - INFO - Validated that VN ctest-vn-04719533 is not in any agent 2026-06-23 11:27:41,439 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04719533 info 2026-06-23 11:27:41,693 - DEBUG - No XMPP flaps were noticed during the test 2026-06-23 11:27:41,693 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-06-23 11:27:41,693 - INFO - -------------------------------------------------------------------------------- 2026-06-23 11:27:42,380 - INFO - Deleted project: ctest-TestBasicPolicy-17166728, ID : 8839ff54-647b-478f-8e42-7f60c8f40856