2025-12-18 02:11:28,299 - INFO - Domain Default found not creating 2025-12-18 02:11:28,474 - INFO - Project ctest-TestBasicPolicy-72260641 not found, creating it 2025-12-18 02:11:28,940 - INFO - Created Project:ctest-TestBasicPolicy-72260641, ID : 4c2d5e84-c9a6-4076-ad85-ff0009a1df58 2025-12-18 02:11:30,551 - INFO - ================================================================================ 2025-12-18 02:11:30,551 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-18 02:11:30,551 - 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-12-18 02:11:30,805 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-12-18 02:11:30,805 - INFO - Initial checks done. Running the testcase now 2025-12-18 02:11:30,805 - INFO - 2025-12-18 02:11:31,406 - DEBUG - Response for create_network : {'network': {'id': '2e430492-3c7c-4130-8084-70aa96a84c75', 'name': 'ctest-vn-19874453', 'tenant_id': '4c2d5e84c9a64076ad85ff0009a1df58', 'project_id': '4c2d5e84c9a64076ad85ff0009a1df58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72260641', 'ctest-vn-19874453'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:11:31,567 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7e548f2-dfbe-4caf-854b-3ff773798759', 'name': '', 'tenant_id': '4c2d5e84c9a64076ad85ff0009a1df58', 'network_id': '2e430492-3c7c-4130-8084-70aa96a84c75', 'ip_version': 4, 'cidr': '126.239.35.128/26', 'allocation_pools': [{'start': '126.239.35.130', 'end': '126.239.35.190'}], 'gateway_ip': '126.239.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.239.35.130', 'tags': [], 'project_id': '4c2d5e84c9a64076ad85ff0009a1df58'}} 2025-12-18 02:11:31,587 - INFO - Created VN ctest-vn-19874453 2025-12-18 02:11:31,639 - DEBUG - VN ctest-vn-19874453 UUID is 2e430492-3c7c-4130-8084-70aa96a84c75 2025-12-18 02:11:31,934 - DEBUG - Response for create_network : {'network': {'id': '7024bbfc-0bb2-46a8-b356-8f0df0a8a0bf', 'name': 'ctest-vn-55798797', 'tenant_id': '4c2d5e84c9a64076ad85ff0009a1df58', 'project_id': '4c2d5e84c9a64076ad85ff0009a1df58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72260641', 'ctest-vn-55798797'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:11:32,122 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eeac5426-3c5d-4b94-93d9-d5ef743c7172', 'name': '', 'tenant_id': '4c2d5e84c9a64076ad85ff0009a1df58', 'network_id': '7024bbfc-0bb2-46a8-b356-8f0df0a8a0bf', 'ip_version': 4, 'cidr': '121.87.49.128/26', 'allocation_pools': [{'start': '121.87.49.130', 'end': '121.87.49.190'}], 'gateway_ip': '121.87.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.87.49.130', 'tags': [], 'project_id': '4c2d5e84c9a64076ad85ff0009a1df58'}} 2025-12-18 02:11:32,143 - INFO - Created VN ctest-vn-55798797 2025-12-18 02:11:32,199 - DEBUG - VN ctest-vn-55798797 UUID is 7024bbfc-0bb2-46a8-b356-8f0df0a8a0bf 2025-12-18 02:11:32,320 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72260641:ctest-vn-19874453, 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-72260641:ctest-vn-55798797, 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-12-18 02:11:32,640 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2e430492-3c7c-4130-8084-70aa96a84c75', 'name': 'ctest-vn-19874453', 'tenant_id': '4c2d5e84c9a64076ad85ff0009a1df58', 'project_id': '4c2d5e84c9a64076ad85ff0009a1df58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d7e548f2-dfbe-4caf-854b-3ff773798759'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72260641', 'ctest-vn-19874453'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72260641', 'ctest-policy-allow-all-25452773']], 'subnet_ipam': [{'subnet_cidr': '126.239.35.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:11:32,867 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7024bbfc-0bb2-46a8-b356-8f0df0a8a0bf', 'name': 'ctest-vn-55798797', 'tenant_id': '4c2d5e84c9a64076ad85ff0009a1df58', 'project_id': '4c2d5e84c9a64076ad85ff0009a1df58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eeac5426-3c5d-4b94-93d9-d5ef743c7172'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72260641', 'ctest-vn-55798797'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72260641', 'ctest-policy-allow-all-25452773']], 'subnet_ipam': [{'subnet_cidr': '121.87.49.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:11:33,039 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-18 02:11:33,391 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-18 02:11:33,428 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9076d6ad-1fb1-4452-b47e-52e86268b650 2025-12-18 02:11:33,442 - DEBUG - Requesting: http://10.0.0.22:8082/project/4c2d5e84-c9a6-4076-ad85-ff0009a1df58 2025-12-18 02:11:33,519 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2e430492-3c7c-4130-8084-70aa96a84c75 2025-12-18 02:11:33,529 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2e430492-3c7c-4130-8084-70aa96a84c75 2025-12-18 02:11:33,539 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f963baa4-5b60-472d-b29a-1a501374ded7 2025-12-18 02:11:33,546 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f963baa4-5b60-472d-b29a-1a501374ded7 2025-12-18 02:11:33,553 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8ccb7e88-6284-4db2-81d0-d5b959c85f86 2025-12-18 02:11:33,560 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-18 02:11:33,560 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2e430492-3c7c-4130-8084-70aa96a84c75 2025-12-18 02:11:33,569 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f963baa4-5b60-472d-b29a-1a501374ded7 2025-12-18 02:11:33,584 - INFO - Verified VN network id 11 for VN 2e430492-3c7c-4130-8084-70aa96a84c75 2025-12-18 02:11:33,584 - INFO - Verifications in API Server for VN ctest-vn-19874453 passed 2025-12-18 02:11:33,584 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2e430492-3c7c-4130-8084-70aa96a84c75 2025-12-18 02:11:33,593 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f963baa4-5b60-472d-b29a-1a501374ded7 2025-12-18 02:11:33,600 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f963baa4-5b60-472d-b29a-1a501374ded7 2025-12-18 02:11:33,606 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8ccb7e88-6284-4db2-81d0-d5b959c85f86 2025-12-18 02:11:33,620 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72260641:ctest-vn-19874453', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72260641', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3333513175310811440', 'uuid-lslong': '9260650611754945653'}, 'enable': 'true', 'created': '2025-12-18T02:11:31', 'last-modified': '2025-12-18T02:11:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005919'} 2025-12-18 02:11:33,627 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-18 02:11:33,627 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19874453 passed 2025-12-18 02:11:33,627 - DEBUG - ====Verifying policy data for ctest-vn-19874453 in API_Server ====== 2025-12-18 02:11:33,627 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-18 02:11:33,632 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9076d6ad-1fb1-4452-b47e-52e86268b650 2025-12-18 02:11:33,643 - DEBUG - Requesting: http://10.0.0.22:8082/project/4c2d5e84-c9a6-4076-ad85-ff0009a1df58 2025-12-18 02:11:33,713 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2e430492-3c7c-4130-8084-70aa96a84c75 2025-12-18 02:11:33,722 - DEBUG - ==>Verifying data for policy with id: 3c80e531-fafa-431b-996c-8acafc117e25, fqn: ['default-domain', 'ctest-TestBasicPolicy-72260641', 'ctest-policy-allow-all-25452773'] 2025-12-18 02:11:33,723 - INFO - VN ctest-vn-19874453 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-18 02:11:33,723 - DEBUG - Verifying the vn in opserver 2025-12-18 02:11:33,723 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72260641:ctest-vn-19874453 virtual network link through opserver 10.0.0.22 2025-12-18 02:11:33,723 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-12-18 02:11:34,057 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-12-18 02:11:34,121 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72260641:ctest-vn-19874453', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72260641:ctest-vn-19874453?flat'} 2025-12-18 02:11:34,121 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72260641:ctest-vn-19874453 is found in opserver 2025-12-18 02:11:34,131 - DEBUG - Do not have enough data to verify VN in agent 2025-12-18 02:11:34,136 - DEBUG - VRF ids for VN ctest-vn-19874453: {} 2025-12-18 02:11:34,136 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-18 02:11:34,142 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9076d6ad-1fb1-4452-b47e-52e86268b650 2025-12-18 02:11:34,153 - DEBUG - Requesting: http://10.0.0.22:8082/project/4c2d5e84-c9a6-4076-ad85-ff0009a1df58 2025-12-18 02:11:34,221 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/7024bbfc-0bb2-46a8-b356-8f0df0a8a0bf 2025-12-18 02:11:34,232 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/7024bbfc-0bb2-46a8-b356-8f0df0a8a0bf 2025-12-18 02:11:34,241 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f2ed8acb-97b7-4d4b-9950-6b2746ed84c1 2025-12-18 02:11:34,248 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f2ed8acb-97b7-4d4b-9950-6b2746ed84c1 2025-12-18 02:11:34,255 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/216bdd20-8fd3-4069-94e2-fa3af6ff574f 2025-12-18 02:11:34,261 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-18 02:11:34,261 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/7024bbfc-0bb2-46a8-b356-8f0df0a8a0bf 2025-12-18 02:11:34,269 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f2ed8acb-97b7-4d4b-9950-6b2746ed84c1 2025-12-18 02:11:34,281 - INFO - Verified VN network id 12 for VN 7024bbfc-0bb2-46a8-b356-8f0df0a8a0bf 2025-12-18 02:11:34,281 - INFO - Verifications in API Server for VN ctest-vn-55798797 passed 2025-12-18 02:11:34,281 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/7024bbfc-0bb2-46a8-b356-8f0df0a8a0bf 2025-12-18 02:11:34,289 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f2ed8acb-97b7-4d4b-9950-6b2746ed84c1 2025-12-18 02:11:34,295 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f2ed8acb-97b7-4d4b-9950-6b2746ed84c1 2025-12-18 02:11:34,302 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/216bdd20-8fd3-4069-94e2-fa3af6ff574f 2025-12-18 02:11:34,313 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72260641:ctest-vn-55798797', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72260641', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8080790322611898024', 'uuid-lslong': '12922673470821146815'}, 'enable': 'true', 'created': '2025-12-18T02:11:31', 'last-modified': '2025-12-18T02:11:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.471395'} 2025-12-18 02:11:34,320 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-18 02:11:34,320 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55798797 passed 2025-12-18 02:11:34,321 - DEBUG - ====Verifying policy data for ctest-vn-55798797 in API_Server ====== 2025-12-18 02:11:34,321 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-18 02:11:34,326 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9076d6ad-1fb1-4452-b47e-52e86268b650 2025-12-18 02:11:34,338 - DEBUG - Requesting: http://10.0.0.22:8082/project/4c2d5e84-c9a6-4076-ad85-ff0009a1df58 2025-12-18 02:11:34,412 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/7024bbfc-0bb2-46a8-b356-8f0df0a8a0bf 2025-12-18 02:11:34,421 - DEBUG - ==>Verifying data for policy with id: 3c80e531-fafa-431b-996c-8acafc117e25, fqn: ['default-domain', 'ctest-TestBasicPolicy-72260641', 'ctest-policy-allow-all-25452773'] 2025-12-18 02:11:34,421 - INFO - VN ctest-vn-55798797 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-18 02:11:34,422 - DEBUG - Verifying the vn in opserver 2025-12-18 02:11:34,422 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72260641:ctest-vn-55798797 virtual network link through opserver 10.0.0.22 2025-12-18 02:11:34,422 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-12-18 02:11:34,431 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72260641:ctest-vn-55798797', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72260641:ctest-vn-55798797?flat'} 2025-12-18 02:11:34,431 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72260641:ctest-vn-55798797 is found in opserver 2025-12-18 02:11:34,441 - DEBUG - Do not have enough data to verify VN in agent 2025-12-18 02:11:34,446 - DEBUG - VRF ids for VN ctest-vn-55798797: {} 2025-12-18 02:11:34,509 - DEBUG - Services list from nova: [, , ] 2025-12-18 02:11:35,631 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4900-1) 2025-12-18 02:11:36,909 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4900-1) 2025-12-18 02:11:36,909 - INFO - Waiting for VM ctest-TestBasicPolicy-72260641-05041623 to be up.. 2025-12-18 02:11:36,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 02:11:42,069 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:11:42,069 - INFO - VM name : ctest-TestBasicPolicy-72260641-05041623 2025-12-18 02:11:42,145 - DEBUG - VM ctest-TestBasicPolicy-72260641-05041623 ID is d71fd389-92bf-45e9-927d-31a893e52bbf 2025-12-18 02:11:42,164 - DEBUG - VM ctest-TestBasicPolicy-72260641-05041623 launched on Node cn-jenkins-deploy-platform-ansible-os-4900-1 2025-12-18 02:11:42,239 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d71fd389-92bf-45e9-927d-31a893e52bbf 2025-12-18 02:11:42,248 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8f4289b9-86fd-44a0-92da-051bd0a5d9da 2025-12-18 02:11:45,510 - 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 1020ms') 2025-12-18 02:11:45,510 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72260641-05041623 failed! 2025-12-18 02:11:45,567 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72260641:ctest-vn-19874453 is 126.239.35.129 and allocation pool is NOT set 2025-12-18 02:11:47,632 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.793 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.793/5.114/9.436/4.321 ms') 2025-12-18 02:11:47,632 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72260641-05041623 passed 2025-12-18 02:11:47,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:11:47,795 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72260641-05041623, IP 126.239.35.131, Port 22 2025-12-18 02:11:47,964 - DEBUG - VM ctest-TestBasicPolicy-72260641-05041623 is ready for SSH connections 2025-12-18 02:11:47,965 - INFO - Waiting for VM ctest-TestBasicPolicy-72260641-51525742 to be up.. 2025-12-18 02:11:48,059 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:11:48,059 - INFO - VM name : ctest-TestBasicPolicy-72260641-51525742 2025-12-18 02:11:48,145 - DEBUG - VM ctest-TestBasicPolicy-72260641-51525742 ID is 2f47d5ec-9eb1-40ea-aefe-4d4a40afa7c5 2025-12-18 02:11:48,145 - DEBUG - VM ctest-TestBasicPolicy-72260641-51525742 launched on Node cn-jenkins-deploy-platform-ansible-os-4900-1 2025-12-18 02:11:48,228 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2f47d5ec-9eb1-40ea-aefe-4d4a40afa7c5 2025-12-18 02:11:48,238 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b5675fd9-c3db-4908-b2a6-5f82f1d74357 2025-12-18 02:11:49,486 - 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=3.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.681 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.681/2.260/3.839/1.579 ms') 2025-12-18 02:11:49,486 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72260641-51525742 passed 2025-12-18 02:11:49,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:11:49,647 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72260641-51525742, IP 121.87.49.131, Port 22 2025-12-18 02:11:49,821 - DEBUG - VM ctest-TestBasicPolicy-72260641-51525742 is ready for SSH connections 2025-12-18 02:11:49,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:11:49,821 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.87.49.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-18 02:11:49,821 - DEBUG - ping -s 56 -c 3 -W 1 121.87.49.131 2025-12-18 02:11:53,970 - DEBUG - PING 121.87.49.131 (121.87.49.131): 56 data bytes 64 bytes from 121.87.49.131: seq=0 ttl=63 time=4.611 ms 64 bytes from 121.87.49.131: seq=1 ttl=63 time=0.999 ms 64 bytes from 121.87.49.131: seq=2 ttl=63 time=0.901 ms --- 121.87.49.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/2.170/4.611 ms 2025-12-18 02:11:53,970 - INFO - Ping to IP 121.87.49.131 from VM ctest-TestBasicPolicy-72260641-05041623 passed 2025-12-18 02:11:54,146 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3c80e531-fafa-431b-996c-8acafc117e25", "href": "http://10.0.0.22:8082/network-policy/3c80e531-fafa-431b-996c-8acafc117e25"}} 2025-12-18 02:11:54,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:11:54,147 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.87.49.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-18 02:11:54,147 - DEBUG - ping -s 56 -c 3 -W 1 121.87.49.131 2025-12-18 02:11:57,383 - DEBUG - PING 121.87.49.131 (121.87.49.131): 56 data bytes --- 121.87.49.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-18 02:11:57,383 - WARNING - Ping to IP 121.87.49.131 from VM ctest-TestBasicPolicy-72260641-05041623 failed 2025-12-18 02:11:57,383 - INFO - Deleting VM ctest-TestBasicPolicy-72260641-51525742 2025-12-18 02:11:57,459 - INFO - Deleting VM ctest-TestBasicPolicy-72260641-05041623 2025-12-18 02:11:57,841 - INFO - Deleted policy ctest-policy-allow-all-25452773 2025-12-18 02:11:57,842 - INFO - Deleting VN ctest-vn-55798797 2025-12-18 02:11:57,880 - DEBUG - VN 7024bbfc-0bb2-46a8-b356-8f0df0a8a0bf still in use: Unable to complete operation on network 7024bbfc-0bb2-46a8-b356-8f0df0a8a0bf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-089d826a-2f7f-4700-94ec-8e6b60b0c91c'] 2025-12-18 02:11:57,880 - WARNING - Deleting VN ctest-vn-55798797 failed..Will retry 2025-12-18 02:11:59,983 - DEBUG - Response for deleting network () 2025-12-18 02:11:59,983 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f2ed8acb-97b7-4d4b-9950-6b2746ed84c1 2025-12-18 02:11:59,990 - DEBUG - Response Code: 404 2025-12-18 02:11:59,991 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-18 02:11:59,996 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9076d6ad-1fb1-4452-b47e-52e86268b650 2025-12-18 02:12:00,050 - DEBUG - Requesting: http://10.0.0.22:8082/project/4c2d5e84-c9a6-4076-ad85-ff0009a1df58 2025-12-18 02:12:00,124 - INFO - Validated that VN ctest-vn-55798797 is not found in API Server 2025-12-18 02:12:00,137 - DEBUG - VN ctest-vn-55798797 is not present in Agent 10.0.0.22 2025-12-18 02:12:00,137 - INFO - Validated that VN ctest-vn-55798797 is not in any agent 2025-12-18 02:12:00,153 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55798797 info 2025-12-18 02:12:00,153 - INFO - Deleting VN ctest-vn-19874453 2025-12-18 02:12:00,255 - DEBUG - Response for deleting network () 2025-12-18 02:12:00,255 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f963baa4-5b60-472d-b29a-1a501374ded7 2025-12-18 02:12:00,265 - DEBUG - Response Code: 404 2025-12-18 02:12:00,265 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-12-18 02:12:00,270 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9076d6ad-1fb1-4452-b47e-52e86268b650 2025-12-18 02:12:00,325 - DEBUG - Requesting: http://10.0.0.22:8082/project/4c2d5e84-c9a6-4076-ad85-ff0009a1df58 2025-12-18 02:12:00,400 - INFO - Validated that VN ctest-vn-19874453 is not found in API Server 2025-12-18 02:12:00,411 - DEBUG - VN ctest-vn-19874453 is not present in Agent 10.0.0.22 2025-12-18 02:12:00,411 - INFO - Validated that VN ctest-vn-19874453 is not in any agent 2025-12-18 02:12:00,425 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19874453 info 2025-12-18 02:12:00,685 - DEBUG - No XMPP flaps were noticed during the test 2025-12-18 02:12:00,685 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-12-18 02:12:00,685 - INFO - -------------------------------------------------------------------------------- 2025-12-18 02:12:01,492 - INFO - Deleted project: ctest-TestBasicPolicy-72260641, ID : 4c2d5e84-c9a6-4076-ad85-ff0009a1df58