2025-10-31 05:31:09,218 - INFO - Domain Default found not creating 2025-10-31 05:31:09,368 - INFO - Project ctest-TestBasicPolicy-55406881 not found, creating it 2025-10-31 05:31:09,826 - INFO - Created Project:ctest-TestBasicPolicy-55406881, ID : 9dc96c0a-1317-488c-9ef5-c2314ef8c070 2025-10-31 05:31:11,406 - INFO - ================================================================================ 2025-10-31 05:31:11,406 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-31 05:31:11,406 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-31 05:31:11,671 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-31 05:31:11,671 - INFO - Initial checks done. Running the testcase now 2025-10-31 05:31:11,671 - INFO - 2025-10-31 05:31:12,293 - DEBUG - Response for create_network : {'network': {'id': 'fa9dc645-8345-4d4b-b09a-1dc656ce5a95', 'name': 'ctest-vn-34901290', 'tenant_id': '9dc96c0a1317488c9ef5c2314ef8c070', 'project_id': '9dc96c0a1317488c9ef5c2314ef8c070', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55406881', 'ctest-vn-34901290'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 05:31:12,447 - DEBUG - Response for create_subnet : {'subnet': {'id': '41ff40e3-1c3d-47d3-a500-b0bfb5dd0376', 'name': '', 'tenant_id': '9dc96c0a1317488c9ef5c2314ef8c070', 'network_id': 'fa9dc645-8345-4d4b-b09a-1dc656ce5a95', 'ip_version': 4, 'cidr': '20.118.79.192/26', 'allocation_pools': [{'start': '20.118.79.194', 'end': '20.118.79.254'}], 'gateway_ip': '20.118.79.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.118.79.194', 'tags': [], 'project_id': '9dc96c0a1317488c9ef5c2314ef8c070'}} 2025-10-31 05:31:12,466 - INFO - Created VN ctest-vn-34901290 2025-10-31 05:31:12,520 - DEBUG - VN ctest-vn-34901290 UUID is fa9dc645-8345-4d4b-b09a-1dc656ce5a95 2025-10-31 05:31:12,839 - DEBUG - Response for create_network : {'network': {'id': 'c6b1df2e-3d28-4a51-9d10-0c8436fb2794', 'name': 'ctest-vn-33746771', 'tenant_id': '9dc96c0a1317488c9ef5c2314ef8c070', 'project_id': '9dc96c0a1317488c9ef5c2314ef8c070', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55406881', 'ctest-vn-33746771'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 05:31:12,976 - DEBUG - Response for create_subnet : {'subnet': {'id': '8632686a-e625-4a7f-895f-a238dc1ac0df', 'name': '', 'tenant_id': '9dc96c0a1317488c9ef5c2314ef8c070', 'network_id': 'c6b1df2e-3d28-4a51-9d10-0c8436fb2794', 'ip_version': 4, 'cidr': '46.30.235.64/26', 'allocation_pools': [{'start': '46.30.235.66', 'end': '46.30.235.126'}], 'gateway_ip': '46.30.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.30.235.66', 'tags': [], 'project_id': '9dc96c0a1317488c9ef5c2314ef8c070'}} 2025-10-31 05:31:12,994 - INFO - Created VN ctest-vn-33746771 2025-10-31 05:31:13,048 - DEBUG - VN ctest-vn-33746771 UUID is c6b1df2e-3d28-4a51-9d10-0c8436fb2794 2025-10-31 05:31:13,204 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55406881:ctest-vn-34901290, 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-55406881:ctest-vn-33746771, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-31 05:31:13,494 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa9dc645-8345-4d4b-b09a-1dc656ce5a95', 'name': 'ctest-vn-34901290', 'tenant_id': '9dc96c0a1317488c9ef5c2314ef8c070', 'project_id': '9dc96c0a1317488c9ef5c2314ef8c070', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['41ff40e3-1c3d-47d3-a500-b0bfb5dd0376'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55406881', 'ctest-vn-34901290'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55406881', 'ctest-policy-allow-all-92336732']], 'subnet_ipam': [{'subnet_cidr': '20.118.79.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 05:31:13,707 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c6b1df2e-3d28-4a51-9d10-0c8436fb2794', 'name': 'ctest-vn-33746771', 'tenant_id': '9dc96c0a1317488c9ef5c2314ef8c070', 'project_id': '9dc96c0a1317488c9ef5c2314ef8c070', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8632686a-e625-4a7f-895f-a238dc1ac0df'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55406881', 'ctest-vn-33746771'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55406881', 'ctest-policy-allow-all-92336732']], 'subnet_ipam': [{'subnet_cidr': '46.30.235.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 05:31:13,868 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 05:31:14,204 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 05:31:14,232 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c2a0028b-e580-4f6b-9ad2-0a4ba471f8c9 2025-10-31 05:31:14,244 - DEBUG - Requesting: http://10.0.0.254:8082/project/9dc96c0a-1317-488c-9ef5-c2314ef8c070 2025-10-31 05:31:14,315 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fa9dc645-8345-4d4b-b09a-1dc656ce5a95 2025-10-31 05:31:14,325 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fa9dc645-8345-4d4b-b09a-1dc656ce5a95 2025-10-31 05:31:14,334 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/25872360-a4ed-49c5-8b1e-c680e3a44da9 2025-10-31 05:31:14,341 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/25872360-a4ed-49c5-8b1e-c680e3a44da9 2025-10-31 05:31:14,347 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/da79e9a7-539d-46cc-b514-1c6e1ce85497 2025-10-31 05:31:14,353 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 05:31:14,354 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fa9dc645-8345-4d4b-b09a-1dc656ce5a95 2025-10-31 05:31:14,364 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/25872360-a4ed-49c5-8b1e-c680e3a44da9 2025-10-31 05:31:14,379 - INFO - Verified VN network id 11 for VN fa9dc645-8345-4d4b-b09a-1dc656ce5a95 2025-10-31 05:31:14,379 - INFO - Verifications in API Server for VN ctest-vn-34901290 passed 2025-10-31 05:31:14,379 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fa9dc645-8345-4d4b-b09a-1dc656ce5a95 2025-10-31 05:31:14,388 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/25872360-a4ed-49c5-8b1e-c680e3a44da9 2025-10-31 05:31:14,395 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/25872360-a4ed-49c5-8b1e-c680e3a44da9 2025-10-31 05:31:14,403 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/da79e9a7-539d-46cc-b514-1c6e1ce85497 2025-10-31 05:31:14,415 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55406881:ctest-vn-34901290', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55406881', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18058808082682957131', 'uuid-lslong': '12725516434785852053'}, 'enable': 'true', 'created': '2025-10-31T05:31:12', 'last-modified': '2025-10-31T05:31:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947653'} 2025-10-31 05:31:14,420 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 05:31:14,420 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34901290 passed 2025-10-31 05:31:14,421 - DEBUG - ====Verifying policy data for ctest-vn-34901290 in API_Server ====== 2025-10-31 05:31:14,421 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 05:31:14,425 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c2a0028b-e580-4f6b-9ad2-0a4ba471f8c9 2025-10-31 05:31:14,435 - DEBUG - Requesting: http://10.0.0.254:8082/project/9dc96c0a-1317-488c-9ef5-c2314ef8c070 2025-10-31 05:31:14,509 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fa9dc645-8345-4d4b-b09a-1dc656ce5a95 2025-10-31 05:31:14,519 - DEBUG - ==>Verifying data for policy with id: c12506f1-2e81-4157-a5da-1802cd78b2ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-55406881', 'ctest-policy-allow-all-92336732'] 2025-10-31 05:31:14,519 - INFO - VN ctest-vn-34901290 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 05:31:14,519 - DEBUG - Verifying the vn in opserver 2025-10-31 05:31:14,519 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55406881:ctest-vn-34901290 virtual network link through opserver 10.0.0.254 2025-10-31 05:31:14,519 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-31 05:31:14,857 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-31 05:31:14,915 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55406881:ctest-vn-34901290', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55406881:ctest-vn-34901290?flat'} 2025-10-31 05:31:14,915 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55406881:ctest-vn-34901290 is found in opserver 2025-10-31 05:31:14,924 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 05:31:14,928 - DEBUG - VRF ids for VN ctest-vn-34901290: {} 2025-10-31 05:31:14,928 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 05:31:14,933 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c2a0028b-e580-4f6b-9ad2-0a4ba471f8c9 2025-10-31 05:31:14,944 - DEBUG - Requesting: http://10.0.0.254:8082/project/9dc96c0a-1317-488c-9ef5-c2314ef8c070 2025-10-31 05:31:15,018 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c6b1df2e-3d28-4a51-9d10-0c8436fb2794 2025-10-31 05:31:15,030 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c6b1df2e-3d28-4a51-9d10-0c8436fb2794 2025-10-31 05:31:15,040 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/558885af-e434-43fc-9612-23c4e612c60e 2025-10-31 05:31:15,048 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/558885af-e434-43fc-9612-23c4e612c60e 2025-10-31 05:31:15,055 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6359e00f-cda3-43c0-b8fa-334cc5b266ce 2025-10-31 05:31:15,062 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 05:31:15,063 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c6b1df2e-3d28-4a51-9d10-0c8436fb2794 2025-10-31 05:31:15,073 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/558885af-e434-43fc-9612-23c4e612c60e 2025-10-31 05:31:15,087 - INFO - Verified VN network id 12 for VN c6b1df2e-3d28-4a51-9d10-0c8436fb2794 2025-10-31 05:31:15,087 - INFO - Verifications in API Server for VN ctest-vn-33746771 passed 2025-10-31 05:31:15,087 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c6b1df2e-3d28-4a51-9d10-0c8436fb2794 2025-10-31 05:31:15,096 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/558885af-e434-43fc-9612-23c4e612c60e 2025-10-31 05:31:15,102 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/558885af-e434-43fc-9612-23c4e612c60e 2025-10-31 05:31:15,109 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6359e00f-cda3-43c0-b8fa-334cc5b266ce 2025-10-31 05:31:15,119 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55406881:ctest-vn-33746771', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55406881', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14317470080075057745', 'uuid-lslong': '11317559625579702164'}, 'enable': 'true', 'created': '2025-10-31T05:31:12', 'last-modified': '2025-10-31T05:31:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.434395'} 2025-10-31 05:31:15,125 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 05:31:15,125 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33746771 passed 2025-10-31 05:31:15,125 - DEBUG - ====Verifying policy data for ctest-vn-33746771 in API_Server ====== 2025-10-31 05:31:15,125 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 05:31:15,131 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c2a0028b-e580-4f6b-9ad2-0a4ba471f8c9 2025-10-31 05:31:15,142 - DEBUG - Requesting: http://10.0.0.254:8082/project/9dc96c0a-1317-488c-9ef5-c2314ef8c070 2025-10-31 05:31:15,207 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c6b1df2e-3d28-4a51-9d10-0c8436fb2794 2025-10-31 05:31:15,219 - DEBUG - ==>Verifying data for policy with id: c12506f1-2e81-4157-a5da-1802cd78b2ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-55406881', 'ctest-policy-allow-all-92336732'] 2025-10-31 05:31:15,219 - INFO - VN ctest-vn-33746771 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 05:31:15,219 - DEBUG - Verifying the vn in opserver 2025-10-31 05:31:15,219 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55406881:ctest-vn-33746771 virtual network link through opserver 10.0.0.254 2025-10-31 05:31:15,219 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-31 05:31:15,229 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55406881:ctest-vn-33746771', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55406881:ctest-vn-33746771?flat'} 2025-10-31 05:31:15,229 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55406881:ctest-vn-33746771 is found in opserver 2025-10-31 05:31:15,238 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 05:31:15,243 - DEBUG - VRF ids for VN ctest-vn-33746771: {} 2025-10-31 05:31:15,300 - DEBUG - Services list from nova: [, , ] 2025-10-31 05:31:16,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4570-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4570-1) 2025-10-31 05:31:17,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4570-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4570-1) 2025-10-31 05:31:17,537 - INFO - Waiting for VM ctest-TestBasicPolicy-55406881-01650549 to be up.. 2025-10-31 05:31:17,623 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 05:31:22,697 - DEBUG - VM is in ACTIVE state now 2025-10-31 05:31:22,698 - INFO - VM name : ctest-TestBasicPolicy-55406881-01650549 2025-10-31 05:31:22,774 - DEBUG - VM ctest-TestBasicPolicy-55406881-01650549 ID is 0dab6000-7294-4d25-bad3-a0b7d9341b65 2025-10-31 05:31:22,794 - DEBUG - VM ctest-TestBasicPolicy-55406881-01650549 launched on Node cn-jenkins-deploy-platform-ansible-os-4570-1 2025-10-31 05:31:22,872 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0dab6000-7294-4d25-bad3-a0b7d9341b65 2025-10-31 05:31:22,881 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e25946e9-ae77-446e-bc7b-bfe865f32321 2025-10-31 05:31:26,132 - 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 1018ms') 2025-10-31 05:31:26,132 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55406881-01650549 failed! 2025-10-31 05:31:26,184 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55406881:ctest-vn-34901290 is 20.118.79.193 and allocation pool is NOT set 2025-10-31 05:31:28,251 - 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=11.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.28 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 = 2.281/6.702/11.123/4.421 ms') 2025-10-31 05:31:28,251 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55406881-01650549 passed 2025-10-31 05:31:28,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 05:31:28,412 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55406881-01650549, IP 20.118.79.195, Port 22 2025-10-31 05:31:28,567 - DEBUG - VM ctest-TestBasicPolicy-55406881-01650549 is ready for SSH connections 2025-10-31 05:31:28,567 - INFO - Waiting for VM ctest-TestBasicPolicy-55406881-16733382 to be up.. 2025-10-31 05:31:28,643 - DEBUG - VM is in ACTIVE state now 2025-10-31 05:31:28,643 - INFO - VM name : ctest-TestBasicPolicy-55406881-16733382 2025-10-31 05:31:28,720 - DEBUG - VM ctest-TestBasicPolicy-55406881-16733382 ID is 7498c3ea-bd94-490f-be73-ea004644938a 2025-10-31 05:31:28,720 - DEBUG - VM ctest-TestBasicPolicy-55406881-16733382 launched on Node cn-jenkins-deploy-platform-ansible-os-4570-1 2025-10-31 05:31:28,797 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7498c3ea-bd94-490f-be73-ea004644938a 2025-10-31 05:31:28,807 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/05851447-5320-4a05-832b-f1deb82f9c6e 2025-10-31 05:31:30,038 - 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=2.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.611 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.611/1.773/2.935/1.162 ms') 2025-10-31 05:31:30,038 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55406881-16733382 passed 2025-10-31 05:31:30,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 05:31:30,192 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55406881-16733382, IP 46.30.235.67, Port 22 2025-10-31 05:31:30,348 - DEBUG - VM ctest-TestBasicPolicy-55406881-16733382 is ready for SSH connections 2025-10-31 05:31:30,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 05:31:30,348 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.30.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 05:31:30,348 - DEBUG - ping -s 56 -c 3 -W 1 46.30.235.67 2025-10-31 05:31:34,433 - DEBUG - PING 46.30.235.67 (46.30.235.67): 56 data bytes 64 bytes from 46.30.235.67: seq=0 ttl=63 time=4.036 ms 64 bytes from 46.30.235.67: seq=1 ttl=63 time=0.789 ms 64 bytes from 46.30.235.67: seq=2 ttl=63 time=0.854 ms --- 46.30.235.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.789/1.893/4.036 ms 2025-10-31 05:31:34,433 - INFO - Ping to IP 46.30.235.67 from VM ctest-TestBasicPolicy-55406881-01650549 passed 2025-10-31 05:31:34,612 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c12506f1-2e81-4157-a5da-1802cd78b2ea", "href": "http://10.0.0.254:8082/network-policy/c12506f1-2e81-4157-a5da-1802cd78b2ea"}} 2025-10-31 05:31:34,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 05:31:34,612 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.30.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 05:31:34,612 - DEBUG - ping -s 56 -c 3 -W 1 46.30.235.67 2025-10-31 05:31:37,894 - DEBUG - PING 46.30.235.67 (46.30.235.67): 56 data bytes --- 46.30.235.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 05:31:37,894 - WARNING - Ping to IP 46.30.235.67 from VM ctest-TestBasicPolicy-55406881-01650549 failed 2025-10-31 05:31:37,894 - INFO - Deleting VM ctest-TestBasicPolicy-55406881-16733382 2025-10-31 05:31:37,967 - INFO - Deleting VM ctest-TestBasicPolicy-55406881-01650549 2025-10-31 05:31:38,361 - INFO - Deleted policy ctest-policy-allow-all-92336732 2025-10-31 05:31:38,361 - INFO - Deleting VN ctest-vn-33746771 2025-10-31 05:31:38,404 - DEBUG - VN c6b1df2e-3d28-4a51-9d10-0c8436fb2794 still in use: Unable to complete operation on network c6b1df2e-3d28-4a51-9d10-0c8436fb2794. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ad8947c2-a476-4413-93d1-96a4be28ad21'] 2025-10-31 05:31:38,405 - WARNING - Deleting VN ctest-vn-33746771 failed..Will retry 2025-10-31 05:31:40,515 - DEBUG - Response for deleting network () 2025-10-31 05:31:40,516 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/558885af-e434-43fc-9612-23c4e612c60e 2025-10-31 05:31:40,522 - DEBUG - Response Code: 404 2025-10-31 05:31:40,522 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 05:31:40,531 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c2a0028b-e580-4f6b-9ad2-0a4ba471f8c9 2025-10-31 05:31:40,585 - DEBUG - Requesting: http://10.0.0.254:8082/project/9dc96c0a-1317-488c-9ef5-c2314ef8c070 2025-10-31 05:31:40,651 - INFO - Validated that VN ctest-vn-33746771 is not found in API Server 2025-10-31 05:31:40,661 - DEBUG - VN ctest-vn-33746771 is not present in Agent 10.0.0.254 2025-10-31 05:31:40,661 - INFO - Validated that VN ctest-vn-33746771 is not in any agent 2025-10-31 05:31:40,675 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33746771 info 2025-10-31 05:31:40,676 - INFO - Deleting VN ctest-vn-34901290 2025-10-31 05:31:40,782 - DEBUG - Response for deleting network () 2025-10-31 05:31:40,783 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/25872360-a4ed-49c5-8b1e-c680e3a44da9 2025-10-31 05:31:40,796 - DEBUG - Response Code: 404 2025-10-31 05:31:40,796 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 05:31:40,803 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c2a0028b-e580-4f6b-9ad2-0a4ba471f8c9 2025-10-31 05:31:40,857 - DEBUG - Requesting: http://10.0.0.254:8082/project/9dc96c0a-1317-488c-9ef5-c2314ef8c070 2025-10-31 05:31:40,932 - INFO - Validated that VN ctest-vn-34901290 is not found in API Server 2025-10-31 05:31:40,941 - DEBUG - VN ctest-vn-34901290 is not present in Agent 10.0.0.254 2025-10-31 05:31:40,941 - INFO - Validated that VN ctest-vn-34901290 is not in any agent 2025-10-31 05:31:40,956 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34901290 info 2025-10-31 05:31:41,208 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 05:31:41,208 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-31 05:31:41,208 - INFO - -------------------------------------------------------------------------------- 2025-10-31 05:31:41,984 - INFO - Deleted project: ctest-TestBasicPolicy-55406881, ID : 9dc96c0a-1317-488c-9ef5-c2314ef8c070