2025-05-11 19:02:38,188 - INFO - Domain Default found not creating 2025-05-11 19:02:38,912 - INFO - Project ctest-TestBasicPolicy-22101826 not found, creating it 2025-05-11 19:02:39,440 - INFO - Created Project:ctest-TestBasicPolicy-22101826, ID : cde6daf5-e086-40fe-84a2-93f20814ef18 2025-05-11 19:02:40,782 - INFO - ================================================================================ 2025-05-11 19:02:40,782 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-11 19:02:40,782 - 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-05-11 19:02:41,046 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-05-11 19:02:41,046 - INFO - Initial checks done. Running the testcase now 2025-05-11 19:02:41,046 - INFO - 2025-05-11 19:02:41,559 - DEBUG - Response for create_network : {'network': {'id': '898328dc-431d-4b0e-9888-d44c8b4e1b26', 'name': 'ctest-vn-47756427', 'tenant_id': 'cde6daf5e08640fe84a293f20814ef18', 'project_id': 'cde6daf5e08640fe84a293f20814ef18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22101826', 'ctest-vn-47756427'], 'port_security_enabled': True, 'description': ''}} 2025-05-11 19:02:41,770 - DEBUG - Response for create_subnet : {'subnet': {'id': '56bd4e2c-a811-418c-9d80-be349a6f5925', 'name': '', 'tenant_id': 'cde6daf5e08640fe84a293f20814ef18', 'network_id': '898328dc-431d-4b0e-9888-d44c8b4e1b26', 'ip_version': 4, 'cidr': '23.96.38.64/26', 'allocation_pools': [{'start': '23.96.38.66', 'end': '23.96.38.126'}], 'gateway_ip': '23.96.38.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.96.38.66', 'tags': [], 'project_id': 'cde6daf5e08640fe84a293f20814ef18'}} 2025-05-11 19:02:41,786 - INFO - Created VN ctest-vn-47756427 2025-05-11 19:02:41,836 - DEBUG - VN ctest-vn-47756427 UUID is 898328dc-431d-4b0e-9888-d44c8b4e1b26 2025-05-11 19:02:42,146 - DEBUG - Response for create_network : {'network': {'id': 'f1bae6b5-298d-491b-899b-65c935de1c83', 'name': 'ctest-vn-76060877', 'tenant_id': 'cde6daf5e08640fe84a293f20814ef18', 'project_id': 'cde6daf5e08640fe84a293f20814ef18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22101826', 'ctest-vn-76060877'], 'port_security_enabled': True, 'description': ''}} 2025-05-11 19:02:42,290 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8203515-50e9-40d6-8479-b568ef41c8ae', 'name': '', 'tenant_id': 'cde6daf5e08640fe84a293f20814ef18', 'network_id': 'f1bae6b5-298d-491b-899b-65c935de1c83', 'ip_version': 4, 'cidr': '103.37.155.192/26', 'allocation_pools': [{'start': '103.37.155.194', 'end': '103.37.155.254'}], 'gateway_ip': '103.37.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.37.155.194', 'tags': [], 'project_id': 'cde6daf5e08640fe84a293f20814ef18'}} 2025-05-11 19:02:42,306 - INFO - Created VN ctest-vn-76060877 2025-05-11 19:02:42,356 - DEBUG - VN ctest-vn-76060877 UUID is f1bae6b5-298d-491b-899b-65c935de1c83 2025-05-11 19:02:42,468 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22101826:ctest-vn-47756427, 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-22101826:ctest-vn-76060877, 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-05-11 19:02:42,780 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '898328dc-431d-4b0e-9888-d44c8b4e1b26', 'name': 'ctest-vn-47756427', 'tenant_id': 'cde6daf5e08640fe84a293f20814ef18', 'project_id': 'cde6daf5e08640fe84a293f20814ef18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['56bd4e2c-a811-418c-9d80-be349a6f5925'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22101826', 'ctest-vn-47756427'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22101826', 'ctest-policy-allow-all-67658306']], 'subnet_ipam': [{'subnet_cidr': '23.96.38.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-11 19:02:43,022 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f1bae6b5-298d-491b-899b-65c935de1c83', 'name': 'ctest-vn-76060877', 'tenant_id': 'cde6daf5e08640fe84a293f20814ef18', 'project_id': 'cde6daf5e08640fe84a293f20814ef18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f8203515-50e9-40d6-8479-b568ef41c8ae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22101826', 'ctest-vn-76060877'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22101826', 'ctest-policy-allow-all-67658306']], 'subnet_ipam': [{'subnet_cidr': '103.37.155.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-11 19:02:43,164 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-11 19:02:43,474 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-11 19:02:43,509 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2344d33b-34f6-4e98-9e51-68e1842c8428 2025-05-11 19:02:43,523 - DEBUG - Requesting: http://10.0.0.38:8082/project/cde6daf5-e086-40fe-84a2-93f20814ef18 2025-05-11 19:02:43,597 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/898328dc-431d-4b0e-9888-d44c8b4e1b26 2025-05-11 19:02:43,608 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/898328dc-431d-4b0e-9888-d44c8b4e1b26 2025-05-11 19:02:43,617 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38668477-4e02-4a41-a653-5baf51b6c48a 2025-05-11 19:02:43,623 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38668477-4e02-4a41-a653-5baf51b6c48a 2025-05-11 19:02:43,630 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1296f00c-2a58-45b8-a3da-c0841ab0d9fe 2025-05-11 19:02:43,636 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-11 19:02:43,636 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/898328dc-431d-4b0e-9888-d44c8b4e1b26 2025-05-11 19:02:43,645 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38668477-4e02-4a41-a653-5baf51b6c48a 2025-05-11 19:02:43,659 - INFO - Verified VN network id 8 for VN 898328dc-431d-4b0e-9888-d44c8b4e1b26 2025-05-11 19:02:43,659 - INFO - Verifications in API Server for VN ctest-vn-47756427 passed 2025-05-11 19:02:43,659 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/898328dc-431d-4b0e-9888-d44c8b4e1b26 2025-05-11 19:02:43,666 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38668477-4e02-4a41-a653-5baf51b6c48a 2025-05-11 19:02:43,672 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38668477-4e02-4a41-a653-5baf51b6c48a 2025-05-11 19:02:43,679 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1296f00c-2a58-45b8-a3da-c0841ab0d9fe 2025-05-11 19:02:43,688 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22101826:ctest-vn-47756427', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22101826', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9908808531629132558', 'uuid-lslong': '10991268315817450278'}, 'enable': 'true', 'created': '2025-05-11T19:02:41', 'last-modified': '2025-05-11T19:02:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936434'} 2025-05-11 19:02:43,694 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-11 19:02:43,694 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47756427 passed 2025-05-11 19:02:43,695 - DEBUG - ====Verifying policy data for ctest-vn-47756427 in API_Server ====== 2025-05-11 19:02:43,695 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-11 19:02:43,703 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2344d33b-34f6-4e98-9e51-68e1842c8428 2025-05-11 19:02:43,712 - DEBUG - Requesting: http://10.0.0.38:8082/project/cde6daf5-e086-40fe-84a2-93f20814ef18 2025-05-11 19:02:43,778 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/898328dc-431d-4b0e-9888-d44c8b4e1b26 2025-05-11 19:02:43,790 - DEBUG - ==>Verifying data for policy with id: f161f2c7-1993-439b-9e0e-f5eacf99293f, fqn: ['default-domain', 'ctest-TestBasicPolicy-22101826', 'ctest-policy-allow-all-67658306'] 2025-05-11 19:02:43,790 - INFO - VN ctest-vn-47756427 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-11 19:02:43,790 - DEBUG - Verifying the vn in opserver 2025-05-11 19:02:43,790 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22101826:ctest-vn-47756427 virtual network link through opserver 10.0.0.38 2025-05-11 19:02:43,791 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-11 19:02:44,083 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-11 19:02:44,129 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22101826:ctest-vn-47756427', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22101826:ctest-vn-47756427?flat'} 2025-05-11 19:02:44,129 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22101826:ctest-vn-47756427 is found in opserver 2025-05-11 19:02:44,138 - DEBUG - Do not have enough data to verify VN in agent 2025-05-11 19:02:44,142 - DEBUG - VRF ids for VN ctest-vn-47756427: {} 2025-05-11 19:02:44,142 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-11 19:02:44,147 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2344d33b-34f6-4e98-9e51-68e1842c8428 2025-05-11 19:02:44,159 - DEBUG - Requesting: http://10.0.0.38:8082/project/cde6daf5-e086-40fe-84a2-93f20814ef18 2025-05-11 19:02:44,233 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f1bae6b5-298d-491b-899b-65c935de1c83 2025-05-11 19:02:44,244 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f1bae6b5-298d-491b-899b-65c935de1c83 2025-05-11 19:02:44,251 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/43a4651f-dade-403b-b8aa-2494b214d4f1 2025-05-11 19:02:44,257 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/43a4651f-dade-403b-b8aa-2494b214d4f1 2025-05-11 19:02:44,262 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c5f2bd60-7e2e-4868-8c32-a90bf7b98fc5 2025-05-11 19:02:44,267 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-11 19:02:44,267 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f1bae6b5-298d-491b-899b-65c935de1c83 2025-05-11 19:02:44,273 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/43a4651f-dade-403b-b8aa-2494b214d4f1 2025-05-11 19:02:44,284 - INFO - Verified VN network id 9 for VN f1bae6b5-298d-491b-899b-65c935de1c83 2025-05-11 19:02:44,284 - INFO - Verifications in API Server for VN ctest-vn-76060877 passed 2025-05-11 19:02:44,284 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f1bae6b5-298d-491b-899b-65c935de1c83 2025-05-11 19:02:44,291 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/43a4651f-dade-403b-b8aa-2494b214d4f1 2025-05-11 19:02:44,296 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/43a4651f-dade-403b-b8aa-2494b214d4f1 2025-05-11 19:02:44,301 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c5f2bd60-7e2e-4868-8c32-a90bf7b98fc5 2025-05-11 19:02:44,310 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22101826:ctest-vn-76060877', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22101826', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17418488174569408795', 'uuid-lslong': '9915630919452859523'}, 'enable': 'true', 'created': '2025-05-11T19:02:42', 'last-modified': '2025-05-11T19:02:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.319890'} 2025-05-11 19:02:44,315 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-11 19:02:44,315 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76060877 passed 2025-05-11 19:02:44,315 - DEBUG - ====Verifying policy data for ctest-vn-76060877 in API_Server ====== 2025-05-11 19:02:44,315 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-11 19:02:44,318 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2344d33b-34f6-4e98-9e51-68e1842c8428 2025-05-11 19:02:44,327 - DEBUG - Requesting: http://10.0.0.38:8082/project/cde6daf5-e086-40fe-84a2-93f20814ef18 2025-05-11 19:02:44,402 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f1bae6b5-298d-491b-899b-65c935de1c83 2025-05-11 19:02:44,410 - DEBUG - ==>Verifying data for policy with id: f161f2c7-1993-439b-9e0e-f5eacf99293f, fqn: ['default-domain', 'ctest-TestBasicPolicy-22101826', 'ctest-policy-allow-all-67658306'] 2025-05-11 19:02:44,410 - INFO - VN ctest-vn-76060877 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-11 19:02:44,410 - DEBUG - Verifying the vn in opserver 2025-05-11 19:02:44,410 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22101826:ctest-vn-76060877 virtual network link through opserver 10.0.0.38 2025-05-11 19:02:44,410 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-11 19:02:44,421 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22101826:ctest-vn-76060877', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22101826:ctest-vn-76060877?flat'} 2025-05-11 19:02:44,421 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22101826:ctest-vn-76060877 is found in opserver 2025-05-11 19:02:44,432 - DEBUG - Do not have enough data to verify VN in agent 2025-05-11 19:02:44,438 - DEBUG - VRF ids for VN ctest-vn-76060877: {} 2025-05-11 19:02:44,495 - DEBUG - Services list from nova: [, , ] 2025-05-11 19:02:45,477 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3295-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3295-1) 2025-05-11 19:02:46,668 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3295-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3295-1) 2025-05-11 19:02:46,668 - INFO - Waiting for VM ctest-TestBasicPolicy-22101826-43752750 to be up.. 2025-05-11 19:02:46,741 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-11 19:02:51,870 - DEBUG - VM is in ACTIVE state now 2025-05-11 19:02:51,870 - INFO - VM name : ctest-TestBasicPolicy-22101826-43752750 2025-05-11 19:02:51,934 - DEBUG - VM ctest-TestBasicPolicy-22101826-43752750 ID is 8a2cb7a8-f0f8-4b56-82c6-f7e270290585 2025-05-11 19:02:51,950 - DEBUG - VM ctest-TestBasicPolicy-22101826-43752750 launched on Node cn-jenkins-deploy-platform-ansible-os-3295-1. 2025-05-11 19:02:52,022 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8a2cb7a8-f0f8-4b56-82c6-f7e270290585 2025-05-11 19:02:52,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0c53a8cb-feb2-4140-943e-f7ffeaf87422 2025-05-11 19:02:55,278 - 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 1008ms') 2025-05-11 19:02:55,278 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22101826-43752750 failed! 2025-05-11 19:02:55,332 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22101826:ctest-vn-47756427 is 23.96.38.65 and allocation pool is NOT set 2025-05-11 19:02:57,387 - 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=2.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.436 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.436/1.705/2.974/1.269 ms') 2025-05-11 19:02:57,387 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22101826-43752750 passed 2025-05-11 19:02:57,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-11 19:02:57,540 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22101826-43752750, IP 23.96.38.67, Port 22 2025-05-11 19:02:57,709 - DEBUG - VM ctest-TestBasicPolicy-22101826-43752750 is ready for SSH connections 2025-05-11 19:02:57,709 - INFO - Waiting for VM ctest-TestBasicPolicy-22101826-19939665 to be up.. 2025-05-11 19:02:57,776 - DEBUG - VM is in ACTIVE state now 2025-05-11 19:02:57,777 - INFO - VM name : ctest-TestBasicPolicy-22101826-19939665 2025-05-11 19:02:57,839 - DEBUG - VM ctest-TestBasicPolicy-22101826-19939665 ID is ddf63109-1714-40fa-b0a5-12a6b0dad5c6 2025-05-11 19:02:57,839 - DEBUG - VM ctest-TestBasicPolicy-22101826-19939665 launched on Node cn-jenkins-deploy-platform-ansible-os-3295-1. 2025-05-11 19:02:57,899 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ddf63109-1714-40fa-b0a5-12a6b0dad5c6 2025-05-11 19:02:57,906 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1d43a12c-f1d8-4607-bfa5-7c19a1adf4e6 2025-05-11 19:02:59,132 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.316 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.316/1.609/2.902/1.293 ms') 2025-05-11 19:02:59,132 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-22101826-19939665 passed 2025-05-11 19:02:59,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-11 19:02:59,276 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22101826-19939665, IP 103.37.155.195, Port 22 2025-05-11 19:02:59,439 - DEBUG - VM ctest-TestBasicPolicy-22101826-19939665 is ready for SSH connections 2025-05-11 19:02:59,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-11 19:02:59,439 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.37.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-11 19:02:59,439 - DEBUG - ping -s 56 -c 3 -W 1 103.37.155.195 2025-05-11 19:03:03,406 - DEBUG - PING 103.37.155.195 (103.37.155.195): 56 data bytes 64 bytes from 103.37.155.195: seq=0 ttl=63 time=4.022 ms 64 bytes from 103.37.155.195: seq=1 ttl=63 time=0.870 ms 64 bytes from 103.37.155.195: seq=2 ttl=63 time=0.864 ms --- 103.37.155.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/1.918/4.022 ms 2025-05-11 19:03:03,406 - INFO - Ping to IP 103.37.155.195 from VM ctest-TestBasicPolicy-22101826-43752750 passed 2025-05-11 19:03:03,584 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f161f2c7-1993-439b-9e0e-f5eacf99293f", "href": "http://10.0.0.38:8082/network-policy/f161f2c7-1993-439b-9e0e-f5eacf99293f"}} 2025-05-11 19:03:03,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-11 19:03:03,584 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.37.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-11 19:03:03,584 - DEBUG - ping -s 56 -c 3 -W 1 103.37.155.195 2025-05-11 19:03:06,784 - DEBUG - PING 103.37.155.195 (103.37.155.195): 56 data bytes --- 103.37.155.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-11 19:03:06,784 - WARNING - Ping to IP 103.37.155.195 from VM ctest-TestBasicPolicy-22101826-43752750 failed 2025-05-11 19:03:06,784 - INFO - Deleting VM ctest-TestBasicPolicy-22101826-19939665 2025-05-11 19:03:06,845 - INFO - Deleting VM ctest-TestBasicPolicy-22101826-43752750 2025-05-11 19:03:07,219 - INFO - Deleted policy ctest-policy-allow-all-67658306 2025-05-11 19:03:07,220 - INFO - Deleting VN ctest-vn-76060877 2025-05-11 19:03:07,253 - DEBUG - VN f1bae6b5-298d-491b-899b-65c935de1c83 still in use: Unable to complete operation on network f1bae6b5-298d-491b-899b-65c935de1c83. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-64f502e6-642f-4274-81ba-11ed0e9cc104'] 2025-05-11 19:03:07,253 - WARNING - Deleting VN ctest-vn-76060877 failed..Will retry 2025-05-11 19:03:09,340 - DEBUG - Response for deleting network () 2025-05-11 19:03:09,340 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/43a4651f-dade-403b-b8aa-2494b214d4f1 2025-05-11 19:03:09,344 - DEBUG - Response Code: 404 2025-05-11 19:03:09,344 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-11 19:03:09,348 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2344d33b-34f6-4e98-9e51-68e1842c8428 2025-05-11 19:03:09,400 - DEBUG - Requesting: http://10.0.0.38:8082/project/cde6daf5-e086-40fe-84a2-93f20814ef18 2025-05-11 19:03:09,467 - INFO - Validated that VN ctest-vn-76060877 is not found in API Server 2025-05-11 19:03:09,476 - DEBUG - VN ctest-vn-76060877 is not present in Agent 10.0.0.38 2025-05-11 19:03:09,476 - INFO - Validated that VN ctest-vn-76060877 is not in any agent 2025-05-11 19:03:09,488 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76060877 info 2025-05-11 19:03:09,488 - INFO - Deleting VN ctest-vn-47756427 2025-05-11 19:03:09,575 - DEBUG - Response for deleting network () 2025-05-11 19:03:09,576 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38668477-4e02-4a41-a653-5baf51b6c48a 2025-05-11 19:03:09,581 - DEBUG - Response Code: 404 2025-05-11 19:03:09,582 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-11 19:03:09,585 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2344d33b-34f6-4e98-9e51-68e1842c8428 2025-05-11 19:03:09,640 - DEBUG - Requesting: http://10.0.0.38:8082/project/cde6daf5-e086-40fe-84a2-93f20814ef18 2025-05-11 19:03:09,712 - INFO - Validated that VN ctest-vn-47756427 is not found in API Server 2025-05-11 19:03:09,721 - DEBUG - VN ctest-vn-47756427 is not present in Agent 10.0.0.38 2025-05-11 19:03:09,721 - INFO - Validated that VN ctest-vn-47756427 is not in any agent 2025-05-11 19:03:09,737 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47756427 info 2025-05-11 19:03:09,984 - DEBUG - No XMPP flaps were noticed during the test 2025-05-11 19:03:09,984 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-05-11 19:03:09,984 - INFO - -------------------------------------------------------------------------------- 2025-05-11 19:03:10,618 - INFO - Deleted project: ctest-TestBasicPolicy-22101826, ID : cde6daf5-e086-40fe-84a2-93f20814ef18