2026-02-27 18:01:12,223 - INFO - Domain Default found not creating 2026-02-27 18:01:12,404 - INFO - Project ctest-TestBasicPolicy-36425132 not found, creating it 2026-02-27 18:01:12,880 - INFO - Created Project:ctest-TestBasicPolicy-36425132, ID : a923cb12-69c4-49ab-80e7-30bb4b0232df 2026-02-27 18:01:14,362 - INFO - ================================================================================ 2026-02-27 18:01:14,362 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-27 18:01:14,362 - 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-27 18:01:14,616 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-02-27 18:01:14,616 - INFO - Initial checks done. Running the testcase now 2026-02-27 18:01:14,617 - INFO - 2026-02-27 18:01:15,222 - DEBUG - Response for create_network : {'network': {'id': 'e8f63980-ec3d-455b-b84f-18a1b515daf2', 'name': 'ctest-vn-93963759', 'tenant_id': 'a923cb1269c449ab80e730bb4b0232df', 'project_id': 'a923cb1269c449ab80e730bb4b0232df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-vn-93963759'], 'port_security_enabled': True, 'description': ''}} 2026-02-27 18:01:15,417 - DEBUG - Response for create_subnet : {'subnet': {'id': '552cb0a6-f736-4d0a-896e-0ba820eac5d7', 'name': '', 'tenant_id': 'a923cb1269c449ab80e730bb4b0232df', 'network_id': 'e8f63980-ec3d-455b-b84f-18a1b515daf2', 'ip_version': 4, 'cidr': '79.132.233.0/26', 'allocation_pools': [{'start': '79.132.233.2', 'end': '79.132.233.62'}], 'gateway_ip': '79.132.233.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.132.233.2', 'tags': [], 'project_id': 'a923cb1269c449ab80e730bb4b0232df'}} 2026-02-27 18:01:15,435 - INFO - Created VN ctest-vn-93963759 2026-02-27 18:01:15,487 - DEBUG - VN ctest-vn-93963759 UUID is e8f63980-ec3d-455b-b84f-18a1b515daf2 2026-02-27 18:01:15,774 - DEBUG - Response for create_network : {'network': {'id': '3c07a60b-cf2d-48d2-82d5-44048a65cfe9', 'name': 'ctest-vn-10556162', 'tenant_id': 'a923cb1269c449ab80e730bb4b0232df', 'project_id': 'a923cb1269c449ab80e730bb4b0232df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-vn-10556162'], 'port_security_enabled': True, 'description': ''}} 2026-02-27 18:01:16,002 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd926eeb-306a-4383-8774-6a64fd772902', 'name': '', 'tenant_id': 'a923cb1269c449ab80e730bb4b0232df', 'network_id': '3c07a60b-cf2d-48d2-82d5-44048a65cfe9', 'ip_version': 4, 'cidr': '6.186.192.0/26', 'allocation_pools': [{'start': '6.186.192.2', 'end': '6.186.192.62'}], 'gateway_ip': '6.186.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.186.192.2', 'tags': [], 'project_id': 'a923cb1269c449ab80e730bb4b0232df'}} 2026-02-27 18:01:16,020 - INFO - Created VN ctest-vn-10556162 2026-02-27 18:01:16,071 - DEBUG - VN ctest-vn-10556162 UUID is 3c07a60b-cf2d-48d2-82d5-44048a65cfe9 2026-02-27 18:01:16,188 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-93963759, 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-36425132:ctest-vn-10556162, 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-27 18:01:16,477 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e8f63980-ec3d-455b-b84f-18a1b515daf2', 'name': 'ctest-vn-93963759', 'tenant_id': 'a923cb1269c449ab80e730bb4b0232df', 'project_id': 'a923cb1269c449ab80e730bb4b0232df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['552cb0a6-f736-4d0a-896e-0ba820eac5d7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-vn-93963759'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-policy-allow-all-70181460']], 'subnet_ipam': [{'subnet_cidr': '79.132.233.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-27 18:01:16,710 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3c07a60b-cf2d-48d2-82d5-44048a65cfe9', 'name': 'ctest-vn-10556162', 'tenant_id': 'a923cb1269c449ab80e730bb4b0232df', 'project_id': 'a923cb1269c449ab80e730bb4b0232df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cd926eeb-306a-4383-8774-6a64fd772902'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-vn-10556162'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-policy-allow-all-70181460']], 'subnet_ipam': [{'subnet_cidr': '6.186.192.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-27 18:01:16,859 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-27 18:01:17,160 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-27 18:01:17,193 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6a7c7f1d-356c-4cce-9958-f511dd3ecfaf 2026-02-27 18:01:17,206 - DEBUG - Requesting: http://10.0.0.22:8082/project/a923cb12-69c4-49ab-80e7-30bb4b0232df 2026-02-27 18:01:17,276 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e8f63980-ec3d-455b-b84f-18a1b515daf2 2026-02-27 18:01:17,286 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e8f63980-ec3d-455b-b84f-18a1b515daf2 2026-02-27 18:01:17,295 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/23d634f9-0d8c-45f3-ae91-f4294c93b85f 2026-02-27 18:01:17,302 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/23d634f9-0d8c-45f3-ae91-f4294c93b85f 2026-02-27 18:01:17,308 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8fd4db04-a424-4751-9a01-ff6708d4a596 2026-02-27 18:01:17,314 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-27 18:01:17,314 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e8f63980-ec3d-455b-b84f-18a1b515daf2 2026-02-27 18:01:17,322 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/23d634f9-0d8c-45f3-ae91-f4294c93b85f 2026-02-27 18:01:17,336 - INFO - Verified VN network id 11 for VN e8f63980-ec3d-455b-b84f-18a1b515daf2 2026-02-27 18:01:17,337 - INFO - Verifications in API Server for VN ctest-vn-93963759 passed 2026-02-27 18:01:17,337 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e8f63980-ec3d-455b-b84f-18a1b515daf2 2026-02-27 18:01:17,347 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/23d634f9-0d8c-45f3-ae91-f4294c93b85f 2026-02-27 18:01:17,355 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/23d634f9-0d8c-45f3-ae91-f4294c93b85f 2026-02-27 18:01:17,363 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8fd4db04-a424-4751-9a01-ff6708d4a596 2026-02-27 18:01:17,378 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-93963759', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36425132', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16786667886952138075', 'uuid-lslong': '13280860908945791730'}, 'enable': 'true', 'created': '2026-02-27T18:01:15', 'last-modified': '2026-02-27T18:01:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.919118'} 2026-02-27 18:01:17,385 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-27 18:01:17,385 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93963759 passed 2026-02-27 18:01:17,385 - DEBUG - ====Verifying policy data for ctest-vn-93963759 in API_Server ====== 2026-02-27 18:01:17,385 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-27 18:01:17,390 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6a7c7f1d-356c-4cce-9958-f511dd3ecfaf 2026-02-27 18:01:17,401 - DEBUG - Requesting: http://10.0.0.22:8082/project/a923cb12-69c4-49ab-80e7-30bb4b0232df 2026-02-27 18:01:17,469 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e8f63980-ec3d-455b-b84f-18a1b515daf2 2026-02-27 18:01:17,480 - DEBUG - ==>Verifying data for policy with id: 0f0cee9f-8ce1-4ab0-bf2f-42312b8cf4c1, fqn: ['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-policy-allow-all-70181460'] 2026-02-27 18:01:17,480 - INFO - VN ctest-vn-93963759 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-27 18:01:17,480 - DEBUG - Verifying the vn in opserver 2026-02-27 18:01:17,481 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-93963759 virtual network link through opserver 10.0.0.22 2026-02-27 18:01:17,481 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-27 18:01:17,781 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-27 18:01:17,845 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-93963759', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-93963759?flat'} 2026-02-27 18:01:17,845 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-93963759 is found in opserver 2026-02-27 18:01:17,854 - DEBUG - Do not have enough data to verify VN in agent 2026-02-27 18:01:17,858 - DEBUG - VRF ids for VN ctest-vn-93963759: {} 2026-02-27 18:01:17,858 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-27 18:01:17,863 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6a7c7f1d-356c-4cce-9958-f511dd3ecfaf 2026-02-27 18:01:17,875 - DEBUG - Requesting: http://10.0.0.22:8082/project/a923cb12-69c4-49ab-80e7-30bb4b0232df 2026-02-27 18:01:17,944 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3c07a60b-cf2d-48d2-82d5-44048a65cfe9 2026-02-27 18:01:17,955 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3c07a60b-cf2d-48d2-82d5-44048a65cfe9 2026-02-27 18:01:17,964 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f57b0f14-d0ba-4d55-83fb-56f60b4b40b0 2026-02-27 18:01:17,972 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f57b0f14-d0ba-4d55-83fb-56f60b4b40b0 2026-02-27 18:01:17,978 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ffe27c49-362a-4d87-a164-9251d1c8c971 2026-02-27 18:01:17,985 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-27 18:01:17,985 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3c07a60b-cf2d-48d2-82d5-44048a65cfe9 2026-02-27 18:01:17,996 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f57b0f14-d0ba-4d55-83fb-56f60b4b40b0 2026-02-27 18:01:18,011 - INFO - Verified VN network id 12 for VN 3c07a60b-cf2d-48d2-82d5-44048a65cfe9 2026-02-27 18:01:18,012 - INFO - Verifications in API Server for VN ctest-vn-10556162 passed 2026-02-27 18:01:18,012 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3c07a60b-cf2d-48d2-82d5-44048a65cfe9 2026-02-27 18:01:18,022 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f57b0f14-d0ba-4d55-83fb-56f60b4b40b0 2026-02-27 18:01:18,029 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f57b0f14-d0ba-4d55-83fb-56f60b4b40b0 2026-02-27 18:01:18,037 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ffe27c49-362a-4d87-a164-9251d1c8c971 2026-02-27 18:01:18,052 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-10556162', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36425132', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4325608536763353298', 'uuid-lslong': '9427516181262487529'}, 'enable': 'true', 'created': '2026-02-27T18:01:15', 'last-modified': '2026-02-27T18:01:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.366425'} 2026-02-27 18:01:18,058 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-27 18:01:18,058 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10556162 passed 2026-02-27 18:01:18,058 - DEBUG - ====Verifying policy data for ctest-vn-10556162 in API_Server ====== 2026-02-27 18:01:18,058 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-27 18:01:18,064 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6a7c7f1d-356c-4cce-9958-f511dd3ecfaf 2026-02-27 18:01:18,074 - DEBUG - Requesting: http://10.0.0.22:8082/project/a923cb12-69c4-49ab-80e7-30bb4b0232df 2026-02-27 18:01:18,147 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3c07a60b-cf2d-48d2-82d5-44048a65cfe9 2026-02-27 18:01:18,156 - DEBUG - ==>Verifying data for policy with id: 0f0cee9f-8ce1-4ab0-bf2f-42312b8cf4c1, fqn: ['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-policy-allow-all-70181460'] 2026-02-27 18:01:18,156 - INFO - VN ctest-vn-10556162 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-27 18:01:18,156 - DEBUG - Verifying the vn in opserver 2026-02-27 18:01:18,156 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-10556162 virtual network link through opserver 10.0.0.22 2026-02-27 18:01:18,156 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-27 18:01:18,166 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-10556162', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-10556162?flat'} 2026-02-27 18:01:18,166 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-10556162 is found in opserver 2026-02-27 18:01:18,179 - DEBUG - Do not have enough data to verify VN in agent 2026-02-27 18:01:18,183 - DEBUG - VRF ids for VN ctest-vn-10556162: {} 2026-02-27 18:01:18,241 - DEBUG - Services list from nova: [, , ] 2026-02-27 18:01:19,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5411-1) 2026-02-27 18:01:20,449 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5411-1) 2026-02-27 18:01:20,449 - INFO - Waiting for VM ctest-TestBasicPolicy-36425132-33736882 to be up.. 2026-02-27 18:01:20,526 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-27 18:01:25,608 - DEBUG - VM is in ACTIVE state now 2026-02-27 18:01:25,608 - INFO - VM name : ctest-TestBasicPolicy-36425132-33736882 2026-02-27 18:01:25,697 - DEBUG - VM ctest-TestBasicPolicy-36425132-33736882 ID is 858c0102-3c6b-4533-b8c2-e1e5368e3514 2026-02-27 18:01:25,715 - DEBUG - VM ctest-TestBasicPolicy-36425132-33736882 launched on Node cn-jenkins-deploy-platform-ansible-os-5411-1 2026-02-27 18:01:25,790 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/858c0102-3c6b-4533-b8c2-e1e5368e3514 2026-02-27 18:01:25,799 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0881ed47-acfa-4c4a-b92f-2eaa8de9d87e 2026-02-27 18:01:29,064 - 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 1030ms') 2026-02-27 18:01:29,064 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36425132-33736882 failed! 2026-02-27 18:01:29,119 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-93963759 is 79.132.233.1 and allocation pool is NOT set 2026-02-27 18:01:31,190 - 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=9.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 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 = 2.095/5.726/9.358/3.631 ms') 2026-02-27 18:01:31,191 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36425132-33736882 passed 2026-02-27 18:01:31,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-27 18:01:31,343 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36425132-33736882, IP 79.132.233.3, Port 22 2026-02-27 18:01:31,503 - DEBUG - VM ctest-TestBasicPolicy-36425132-33736882 is ready for SSH connections 2026-02-27 18:01:31,503 - INFO - Waiting for VM ctest-TestBasicPolicy-36425132-94244905 to be up.. 2026-02-27 18:01:31,576 - DEBUG - VM is in ACTIVE state now 2026-02-27 18:01:31,576 - INFO - VM name : ctest-TestBasicPolicy-36425132-94244905 2026-02-27 18:01:31,647 - DEBUG - VM ctest-TestBasicPolicy-36425132-94244905 ID is edfcefc4-c40d-4492-9e5d-3b304ed2c29e 2026-02-27 18:01:31,648 - DEBUG - VM ctest-TestBasicPolicy-36425132-94244905 launched on Node cn-jenkins-deploy-platform-ansible-os-5411-1 2026-02-27 18:01:31,717 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/edfcefc4-c40d-4492-9e5d-3b304ed2c29e 2026-02-27 18:01:31,725 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/565629de-2d66-4027-af71-3bbfeb475d3c 2026-02-27 18:01:32,959 - 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=4.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.966 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 = 0.966/2.537/4.108/1.571 ms') 2026-02-27 18:01:32,959 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36425132-94244905 passed 2026-02-27 18:01:33,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-27 18:01:33,112 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36425132-94244905, IP 6.186.192.3, Port 22 2026-02-27 18:01:33,267 - DEBUG - VM ctest-TestBasicPolicy-36425132-94244905 is ready for SSH connections 2026-02-27 18:01:33,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-27 18:01:33,267 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.186.192.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-27 18:01:33,267 - DEBUG - ping -s 56 -c 3 -W 1 6.186.192.3 2026-02-27 18:01:37,347 - DEBUG - PING 6.186.192.3 (6.186.192.3): 56 data bytes 64 bytes from 6.186.192.3: seq=0 ttl=63 time=3.888 ms 64 bytes from 6.186.192.3: seq=1 ttl=63 time=0.979 ms 64 bytes from 6.186.192.3: seq=2 ttl=63 time=0.818 ms --- 6.186.192.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.818/1.895/3.888 ms 2026-02-27 18:01:37,347 - INFO - Ping to IP 6.186.192.3 from VM ctest-TestBasicPolicy-36425132-33736882 passed 2026-02-27 18:01:37,523 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0f0cee9f-8ce1-4ab0-bf2f-42312b8cf4c1", "href": "http://10.0.0.22:8082/network-policy/0f0cee9f-8ce1-4ab0-bf2f-42312b8cf4c1"}} 2026-02-27 18:01:37,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-27 18:01:37,523 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.186.192.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-27 18:01:37,524 - DEBUG - ping -s 56 -c 3 -W 1 6.186.192.3 2026-02-27 18:01:40,769 - DEBUG - PING 6.186.192.3 (6.186.192.3): 56 data bytes --- 6.186.192.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-27 18:01:40,769 - WARNING - Ping to IP 6.186.192.3 from VM ctest-TestBasicPolicy-36425132-33736882 failed 2026-02-27 18:01:40,769 - INFO - Deleting VM ctest-TestBasicPolicy-36425132-94244905 2026-02-27 18:01:40,841 - INFO - Deleting VM ctest-TestBasicPolicy-36425132-33736882 2026-02-27 18:01:41,187 - INFO - Deleted policy ctest-policy-allow-all-70181460 2026-02-27 18:01:41,187 - INFO - Deleting VN ctest-vn-10556162 2026-02-27 18:01:41,221 - DEBUG - VN 3c07a60b-cf2d-48d2-82d5-44048a65cfe9 still in use: Unable to complete operation on network 3c07a60b-cf2d-48d2-82d5-44048a65cfe9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fa0dc2eb-cf98-41c1-a3a9-751bb8225c22'] 2026-02-27 18:01:41,222 - WARNING - Deleting VN ctest-vn-10556162 failed..Will retry 2026-02-27 18:01:43,330 - DEBUG - Response for deleting network () 2026-02-27 18:01:43,330 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f57b0f14-d0ba-4d55-83fb-56f60b4b40b0 2026-02-27 18:01:43,337 - DEBUG - Response Code: 404 2026-02-27 18:01:43,337 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-27 18:01:43,343 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6a7c7f1d-356c-4cce-9958-f511dd3ecfaf 2026-02-27 18:01:43,396 - DEBUG - Requesting: http://10.0.0.22:8082/project/a923cb12-69c4-49ab-80e7-30bb4b0232df 2026-02-27 18:01:43,465 - INFO - Validated that VN ctest-vn-10556162 is not found in API Server 2026-02-27 18:01:43,474 - DEBUG - VN ctest-vn-10556162 is not present in Agent 10.0.0.22 2026-02-27 18:01:43,474 - INFO - Validated that VN ctest-vn-10556162 is not in any agent 2026-02-27 18:01:43,489 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10556162 info 2026-02-27 18:01:43,489 - INFO - Deleting VN ctest-vn-93963759 2026-02-27 18:01:43,595 - DEBUG - Response for deleting network () 2026-02-27 18:01:43,596 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/23d634f9-0d8c-45f3-ae91-f4294c93b85f 2026-02-27 18:01:43,602 - DEBUG - Response Code: 404 2026-02-27 18:01:43,603 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-27 18:01:43,608 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6a7c7f1d-356c-4cce-9958-f511dd3ecfaf 2026-02-27 18:01:43,660 - DEBUG - Requesting: http://10.0.0.22:8082/project/a923cb12-69c4-49ab-80e7-30bb4b0232df 2026-02-27 18:01:43,728 - INFO - Validated that VN ctest-vn-93963759 is not found in API Server 2026-02-27 18:01:43,738 - DEBUG - VN ctest-vn-93963759 is not present in Agent 10.0.0.22 2026-02-27 18:01:43,738 - INFO - Validated that VN ctest-vn-93963759 is not in any agent 2026-02-27 18:01:43,752 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93963759 info 2026-02-27 18:01:44,005 - DEBUG - No XMPP flaps were noticed during the test
2026-02-27 18:01:44,006 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-02-27 18:01:44,006 - INFO - -------------------------------------------------------------------------------- 2026-02-27 18:01:44,693 - INFO - Deleted project: ctest-TestBasicPolicy-36425132, ID : a923cb12-69c4-49ab-80e7-30bb4b0232df