2025-08-11 02:04:10,245 - INFO - Domain Default found not creating 2025-08-11 02:04:10,389 - INFO - Project ctest-TestBasicPolicy-39427906 not found, creating it 2025-08-11 02:04:10,826 - INFO - Created Project:ctest-TestBasicPolicy-39427906, ID : 8b01ea9e-880c-4a67-9026-87546ea27acd 2025-08-11 02:04:12,214 - INFO - ================================================================================ 2025-08-11 02:04:12,214 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 02:04:12,215 - 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-08-11 02:04:12,466 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.193': '0'}} with 2025-08-11 02:04:12,466 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:04:12,466 - INFO - 2025-08-11 02:04:12,997 - DEBUG - Response for create_network : {'network': {'id': '767ea6ec-5aa3-429b-9507-fed54c1857f8', 'name': 'ctest-vn-99987671', 'tenant_id': '8b01ea9e880c4a67902687546ea27acd', 'project_id': '8b01ea9e880c4a67902687546ea27acd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39427906', 'ctest-vn-99987671'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:04:13,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '712e4cc9-14df-4e5e-959c-72927d429299', 'name': '', 'tenant_id': '8b01ea9e880c4a67902687546ea27acd', 'network_id': '767ea6ec-5aa3-429b-9507-fed54c1857f8', 'ip_version': 4, 'cidr': '38.129.21.64/26', 'allocation_pools': [{'start': '38.129.21.66', 'end': '38.129.21.126'}], 'gateway_ip': '38.129.21.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.129.21.66', 'tags': [], 'project_id': '8b01ea9e880c4a67902687546ea27acd'}} 2025-08-11 02:04:13,180 - INFO - Created VN ctest-vn-99987671 2025-08-11 02:04:13,233 - DEBUG - VN ctest-vn-99987671 UUID is 767ea6ec-5aa3-429b-9507-fed54c1857f8 2025-08-11 02:04:13,546 - DEBUG - Response for create_network : {'network': {'id': 'ec61b0ee-8203-403e-9851-f875a38f6f5a', 'name': 'ctest-vn-08787838', 'tenant_id': '8b01ea9e880c4a67902687546ea27acd', 'project_id': '8b01ea9e880c4a67902687546ea27acd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39427906', 'ctest-vn-08787838'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:04:13,723 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5573f38-97e6-4696-8e5e-d2e4ae3422d7', 'name': '', 'tenant_id': '8b01ea9e880c4a67902687546ea27acd', 'network_id': 'ec61b0ee-8203-403e-9851-f875a38f6f5a', 'ip_version': 4, 'cidr': '185.255.147.64/26', 'allocation_pools': [{'start': '185.255.147.66', 'end': '185.255.147.126'}], 'gateway_ip': '185.255.147.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.255.147.66', 'tags': [], 'project_id': '8b01ea9e880c4a67902687546ea27acd'}} 2025-08-11 02:04:13,741 - INFO - Created VN ctest-vn-08787838 2025-08-11 02:04:13,793 - DEBUG - VN ctest-vn-08787838 UUID is ec61b0ee-8203-403e-9851-f875a38f6f5a 2025-08-11 02:04:13,908 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39427906:ctest-vn-99987671, 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-39427906:ctest-vn-08787838, 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-08-11 02:04:14,224 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '767ea6ec-5aa3-429b-9507-fed54c1857f8', 'name': 'ctest-vn-99987671', 'tenant_id': '8b01ea9e880c4a67902687546ea27acd', 'project_id': '8b01ea9e880c4a67902687546ea27acd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['712e4cc9-14df-4e5e-959c-72927d429299'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39427906', 'ctest-vn-99987671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39427906', 'ctest-policy-allow-all-38705132']], 'subnet_ipam': [{'subnet_cidr': '38.129.21.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:04:14,460 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec61b0ee-8203-403e-9851-f875a38f6f5a', 'name': 'ctest-vn-08787838', 'tenant_id': '8b01ea9e880c4a67902687546ea27acd', 'project_id': '8b01ea9e880c4a67902687546ea27acd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5573f38-97e6-4696-8e5e-d2e4ae3422d7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39427906', 'ctest-vn-08787838'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39427906', 'ctest-policy-allow-all-38705132']], 'subnet_ipam': [{'subnet_cidr': '185.255.147.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:04:14,637 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-08-11 02:04:14,929 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-08-11 02:04:14,954 - DEBUG - Requesting: http://10.0.0.137:8082/domain/4f50ffac-df1c-40e0-836b-06b55563f63d 2025-08-11 02:04:14,967 - DEBUG - Requesting: http://10.0.0.137:8082/project/8b01ea9e-880c-4a67-9026-87546ea27acd 2025-08-11 02:04:15,043 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/767ea6ec-5aa3-429b-9507-fed54c1857f8 2025-08-11 02:04:15,053 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/767ea6ec-5aa3-429b-9507-fed54c1857f8 2025-08-11 02:04:15,062 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/43421076-18e2-4358-b7fc-b8080f33c2bf 2025-08-11 02:04:15,069 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/43421076-18e2-4358-b7fc-b8080f33c2bf 2025-08-11 02:04:15,076 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/2b63782e-553f-41b8-af9d-2b2d3c7a1cd1 2025-08-11 02:04:15,082 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 02:04:15,082 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/767ea6ec-5aa3-429b-9507-fed54c1857f8 2025-08-11 02:04:15,090 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/43421076-18e2-4358-b7fc-b8080f33c2bf 2025-08-11 02:04:15,103 - INFO - Verified VN network id 11 for VN 767ea6ec-5aa3-429b-9507-fed54c1857f8 2025-08-11 02:04:15,103 - INFO - Verifications in API Server for VN ctest-vn-99987671 passed 2025-08-11 02:04:15,103 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/767ea6ec-5aa3-429b-9507-fed54c1857f8 2025-08-11 02:04:15,112 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/43421076-18e2-4358-b7fc-b8080f33c2bf 2025-08-11 02:04:15,120 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/43421076-18e2-4358-b7fc-b8080f33c2bf 2025-08-11 02:04:15,127 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/2b63782e-553f-41b8-af9d-2b2d3c7a1cd1 2025-08-11 02:04:15,139 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39427906:ctest-vn-99987671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39427906', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8538445477604180635', 'uuid-lslong': '10738832028546390008'}, 'enable': 'true', 'created': '2025-08-11T02:04:12', 'last-modified': '2025-08-11T02:04:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.941009'} 2025-08-11 02:04:15,147 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 02:04:15,147 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99987671 passed 2025-08-11 02:04:15,147 - DEBUG - ====Verifying policy data for ctest-vn-99987671 in API_Server ====== 2025-08-11 02:04:15,147 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-08-11 02:04:15,153 - DEBUG - Requesting: http://10.0.0.137:8082/domain/4f50ffac-df1c-40e0-836b-06b55563f63d 2025-08-11 02:04:15,163 - DEBUG - Requesting: http://10.0.0.137:8082/project/8b01ea9e-880c-4a67-9026-87546ea27acd 2025-08-11 02:04:15,240 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/767ea6ec-5aa3-429b-9507-fed54c1857f8 2025-08-11 02:04:15,249 - DEBUG - ==>Verifying data for policy with id: 620ebe38-dc93-4e17-9549-a604647e651c, fqn: ['default-domain', 'ctest-TestBasicPolicy-39427906', 'ctest-policy-allow-all-38705132'] 2025-08-11 02:04:15,249 - INFO - VN ctest-vn-99987671 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 02:04:15,249 - DEBUG - Verifying the vn in opserver 2025-08-11 02:04:15,249 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39427906:ctest-vn-99987671 virtual network link through opserver 10.0.0.137 2025-08-11 02:04:15,249 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-08-11 02:04:15,537 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-08-11 02:04:15,587 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39427906:ctest-vn-99987671', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39427906:ctest-vn-99987671?flat'} 2025-08-11 02:04:15,587 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39427906:ctest-vn-99987671 is found in opserver 2025-08-11 02:04:15,597 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 02:04:15,602 - DEBUG - VRF ids for VN ctest-vn-99987671: {} 2025-08-11 02:04:15,602 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-08-11 02:04:15,607 - DEBUG - Requesting: http://10.0.0.137:8082/domain/4f50ffac-df1c-40e0-836b-06b55563f63d 2025-08-11 02:04:15,618 - DEBUG - Requesting: http://10.0.0.137:8082/project/8b01ea9e-880c-4a67-9026-87546ea27acd 2025-08-11 02:04:15,687 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/ec61b0ee-8203-403e-9851-f875a38f6f5a 2025-08-11 02:04:15,698 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/ec61b0ee-8203-403e-9851-f875a38f6f5a 2025-08-11 02:04:15,707 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/5d838f3f-3bc2-4de3-8359-508e8df244f1 2025-08-11 02:04:15,713 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/5d838f3f-3bc2-4de3-8359-508e8df244f1 2025-08-11 02:04:15,720 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/e01e089d-bdb9-4682-8e94-2788112dd9cd 2025-08-11 02:04:15,726 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 02:04:15,726 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/ec61b0ee-8203-403e-9851-f875a38f6f5a 2025-08-11 02:04:15,735 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/5d838f3f-3bc2-4de3-8359-508e8df244f1 2025-08-11 02:04:15,748 - INFO - Verified VN network id 12 for VN ec61b0ee-8203-403e-9851-f875a38f6f5a 2025-08-11 02:04:15,748 - INFO - Verifications in API Server for VN ctest-vn-08787838 passed 2025-08-11 02:04:15,749 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/ec61b0ee-8203-403e-9851-f875a38f6f5a 2025-08-11 02:04:15,758 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/5d838f3f-3bc2-4de3-8359-508e8df244f1 2025-08-11 02:04:15,765 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/5d838f3f-3bc2-4de3-8359-508e8df244f1 2025-08-11 02:04:15,771 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/e01e089d-bdb9-4682-8e94-2788112dd9cd 2025-08-11 02:04:15,783 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39427906:ctest-vn-08787838', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39427906', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17033089804121882686', 'uuid-lslong': '10975826951017557850'}, 'enable': 'true', 'created': '2025-08-11T02:04:13', 'last-modified': '2025-08-11T02:04:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.352545'} 2025-08-11 02:04:15,789 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 02:04:15,789 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08787838 passed 2025-08-11 02:04:15,789 - DEBUG - ====Verifying policy data for ctest-vn-08787838 in API_Server ====== 2025-08-11 02:04:15,789 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-08-11 02:04:15,794 - DEBUG - Requesting: http://10.0.0.137:8082/domain/4f50ffac-df1c-40e0-836b-06b55563f63d 2025-08-11 02:04:15,805 - DEBUG - Requesting: http://10.0.0.137:8082/project/8b01ea9e-880c-4a67-9026-87546ea27acd 2025-08-11 02:04:15,875 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/ec61b0ee-8203-403e-9851-f875a38f6f5a 2025-08-11 02:04:15,885 - DEBUG - ==>Verifying data for policy with id: 620ebe38-dc93-4e17-9549-a604647e651c, fqn: ['default-domain', 'ctest-TestBasicPolicy-39427906', 'ctest-policy-allow-all-38705132'] 2025-08-11 02:04:15,885 - INFO - VN ctest-vn-08787838 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 02:04:15,885 - DEBUG - Verifying the vn in opserver 2025-08-11 02:04:15,885 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39427906:ctest-vn-08787838 virtual network link through opserver 10.0.0.137 2025-08-11 02:04:15,885 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-08-11 02:04:15,895 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39427906:ctest-vn-08787838', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39427906:ctest-vn-08787838?flat'} 2025-08-11 02:04:15,895 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39427906:ctest-vn-08787838 is found in opserver 2025-08-11 02:04:15,905 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 02:04:15,910 - DEBUG - VRF ids for VN ctest-vn-08787838: {} 2025-08-11 02:04:15,962 - DEBUG - Services list from nova: [, , ] 2025-08-11 02:04:16,909 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3795-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3795-1) 2025-08-11 02:04:17,994 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3795-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3795-1) 2025-08-11 02:04:17,995 - INFO - Waiting for VM ctest-TestBasicPolicy-39427906-79853647 to be up.. 2025-08-11 02:04:18,072 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 02:04:23,144 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:04:23,144 - INFO - VM name : ctest-TestBasicPolicy-39427906-79853647 2025-08-11 02:04:23,229 - DEBUG - VM ctest-TestBasicPolicy-39427906-79853647 ID is a6e4335d-d319-441f-b59f-ca835bfb03db 2025-08-11 02:04:23,247 - DEBUG - VM ctest-TestBasicPolicy-39427906-79853647 launched on Node cn-jenkins-deploy-platform-ansible-os-3795-1 2025-08-11 02:04:23,323 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/a6e4335d-d319-441f-b59f-ca835bfb03db 2025-08-11 02:04:23,332 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/09c59404-6ef6-43ef-a261-979d047744c1 2025-08-11 02:04:26,583 - 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-08-11 02:04:26,583 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39427906-79853647 failed! 2025-08-11 02:04:26,641 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39427906:ctest-vn-99987671 is 38.129.21.65 and allocation pool is NOT set 2025-08-11 02:04:28,702 - 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=3.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 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 = 1.350/2.468/3.586/1.118 ms') 2025-08-11 02:04:28,702 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39427906-79853647 passed 2025-08-11 02:04:28,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:04:28,861 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39427906-79853647, IP 38.129.21.67, Port 22 2025-08-11 02:04:29,021 - DEBUG - VM ctest-TestBasicPolicy-39427906-79853647 is ready for SSH connections 2025-08-11 02:04:29,021 - INFO - Waiting for VM ctest-TestBasicPolicy-39427906-58245913 to be up.. 2025-08-11 02:04:29,094 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:04:29,094 - INFO - VM name : ctest-TestBasicPolicy-39427906-58245913 2025-08-11 02:04:29,166 - DEBUG - VM ctest-TestBasicPolicy-39427906-58245913 ID is e175505b-608e-45fe-ad3a-73b5d877a1b2 2025-08-11 02:04:29,166 - DEBUG - VM ctest-TestBasicPolicy-39427906-58245913 launched on Node cn-jenkins-deploy-platform-ansible-os-3795-1 2025-08-11 02:04:29,237 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/e175505b-608e-45fe-ad3a-73b5d877a1b2 2025-08-11 02:04:29,248 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/ac1080f1-4651-470d-89e6-6eebab9280aa 2025-08-11 02:04:30,485 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.565 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.565/1.949/3.334/1.384 ms') 2025-08-11 02:04:30,486 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39427906-58245913 passed 2025-08-11 02:04:30,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:04:30,641 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39427906-58245913, IP 185.255.147.67, Port 22 2025-08-11 02:04:30,805 - DEBUG - VM ctest-TestBasicPolicy-39427906-58245913 is ready for SSH connections 2025-08-11 02:04:30,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:04:30,805 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.255.147.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-08-11 02:04:30,805 - DEBUG - ping -s 56 -c 3 -W 1 185.255.147.67 2025-08-11 02:04:34,795 - DEBUG - PING 185.255.147.67 (185.255.147.67): 56 data bytes 64 bytes from 185.255.147.67: seq=0 ttl=63 time=6.130 ms 64 bytes from 185.255.147.67: seq=1 ttl=63 time=3.077 ms 64 bytes from 185.255.147.67: seq=2 ttl=63 time=0.927 ms --- 185.255.147.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.927/3.378/6.130 ms 2025-08-11 02:04:34,796 - INFO - Ping to IP 185.255.147.67 from VM ctest-TestBasicPolicy-39427906-79853647 passed 2025-08-11 02:04:34,989 - DEBUG - Policy Update Response {"network-policy": {"uuid": "620ebe38-dc93-4e17-9549-a604647e651c", "href": "http://10.0.0.137:8082/network-policy/620ebe38-dc93-4e17-9549-a604647e651c"}} 2025-08-11 02:04:34,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:04:34,989 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.255.147.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-08-11 02:04:34,989 - DEBUG - ping -s 56 -c 3 -W 1 185.255.147.67 2025-08-11 02:04:38,196 - DEBUG - PING 185.255.147.67 (185.255.147.67): 56 data bytes 64 bytes from 185.255.147.67: seq=0 ttl=63 time=2.063 ms --- 185.255.147.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.063/2.063/2.063 ms 2025-08-11 02:04:38,197 - WARNING - Ping to IP 185.255.147.67 from VM ctest-TestBasicPolicy-39427906-79853647 failed 2025-08-11 02:04:38,197 - INFO - Deleting VM ctest-TestBasicPolicy-39427906-58245913 2025-08-11 02:04:38,262 - INFO - Deleting VM ctest-TestBasicPolicy-39427906-79853647 2025-08-11 02:04:38,638 - INFO - Deleted policy ctest-policy-allow-all-38705132 2025-08-11 02:04:38,638 - INFO - Deleting VN ctest-vn-08787838 2025-08-11 02:04:38,677 - DEBUG - VN ec61b0ee-8203-403e-9851-f875a38f6f5a still in use: Unable to complete operation on network ec61b0ee-8203-403e-9851-f875a38f6f5a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-babfe166-b20e-4666-8601-857da704f410'] 2025-08-11 02:04:38,677 - WARNING - Deleting VN ctest-vn-08787838 failed..Will retry 2025-08-11 02:04:40,786 - DEBUG - Response for deleting network () 2025-08-11 02:04:40,786 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/5d838f3f-3bc2-4de3-8359-508e8df244f1 2025-08-11 02:04:40,793 - DEBUG - Response Code: 404 2025-08-11 02:04:40,794 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-08-11 02:04:40,799 - DEBUG - Requesting: http://10.0.0.137:8082/domain/4f50ffac-df1c-40e0-836b-06b55563f63d 2025-08-11 02:04:40,854 - DEBUG - Requesting: http://10.0.0.137:8082/project/8b01ea9e-880c-4a67-9026-87546ea27acd 2025-08-11 02:04:40,925 - INFO - Validated that VN ctest-vn-08787838 is not found in API Server 2025-08-11 02:04:40,935 - DEBUG - VN ctest-vn-08787838 is not present in Agent 10.0.0.137 2025-08-11 02:04:40,935 - INFO - Validated that VN ctest-vn-08787838 is not in any agent 2025-08-11 02:04:40,950 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08787838 info 2025-08-11 02:04:40,950 - INFO - Deleting VN ctest-vn-99987671 2025-08-11 02:04:41,049 - DEBUG - Response for deleting network () 2025-08-11 02:04:41,049 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/43421076-18e2-4358-b7fc-b8080f33c2bf 2025-08-11 02:04:41,054 - DEBUG - Response Code: 404 2025-08-11 02:04:41,054 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-08-11 02:04:41,062 - DEBUG - Requesting: http://10.0.0.137:8082/domain/4f50ffac-df1c-40e0-836b-06b55563f63d 2025-08-11 02:04:41,114 - DEBUG - Requesting: http://10.0.0.137:8082/project/8b01ea9e-880c-4a67-9026-87546ea27acd 2025-08-11 02:04:41,185 - INFO - Validated that VN ctest-vn-99987671 is not found in API Server 2025-08-11 02:04:41,195 - DEBUG - VN ctest-vn-99987671 is not present in Agent 10.0.0.137 2025-08-11 02:04:41,195 - INFO - Validated that VN ctest-vn-99987671 is not in any agent 2025-08-11 02:04:41,210 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99987671 info 2025-08-11 02:04:41,463 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 02:04:41,463 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-11 02:04:41,463 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:04:42,154 - INFO - Deleted project: ctest-TestBasicPolicy-39427906, ID : 8b01ea9e-880c-4a67-9026-87546ea27acd