2025-10-22 21:53:16,788 - INFO - Domain Default found not creating 2025-10-22 21:53:16,945 - INFO - Project ctest-TestBasicPolicy-95135153 not found, creating it 2025-10-22 21:53:17,396 - INFO - Created Project:ctest-TestBasicPolicy-95135153, ID : 2fe159c5-3174-4098-9694-7f269cebb6bf 2025-10-22 21:53:18,979 - INFO - ================================================================================ 2025-10-22 21:53:18,979 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 21:53:18,980 - 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-22 21:53:19,235 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-10-22 21:53:19,235 - INFO - Initial checks done. Running the testcase now 2025-10-22 21:53:19,235 - INFO - 2025-10-22 21:53:19,825 - DEBUG - Response for create_network : {'network': {'id': '864c37b5-7a4f-4acd-8b39-3c59dd2607d5', 'name': 'ctest-vn-46048242', 'tenant_id': '2fe159c53174409896947f269cebb6bf', 'project_id': '2fe159c53174409896947f269cebb6bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95135153', 'ctest-vn-46048242'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 21:53:20,011 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9054845-6fe8-455a-a3c0-228eae5107e0', 'name': '', 'tenant_id': '2fe159c53174409896947f269cebb6bf', 'network_id': '864c37b5-7a4f-4acd-8b39-3c59dd2607d5', 'ip_version': 4, 'cidr': '163.254.103.64/26', 'allocation_pools': [{'start': '163.254.103.66', 'end': '163.254.103.126'}], 'gateway_ip': '163.254.103.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.254.103.66', 'tags': [], 'project_id': '2fe159c53174409896947f269cebb6bf'}} 2025-10-22 21:53:20,031 - INFO - Created VN ctest-vn-46048242 2025-10-22 21:53:20,086 - DEBUG - VN ctest-vn-46048242 UUID is 864c37b5-7a4f-4acd-8b39-3c59dd2607d5 2025-10-22 21:53:20,376 - DEBUG - Response for create_network : {'network': {'id': '87b069df-db21-47bb-a59d-14ad3dfb68b7', 'name': 'ctest-vn-49595491', 'tenant_id': '2fe159c53174409896947f269cebb6bf', 'project_id': '2fe159c53174409896947f269cebb6bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95135153', 'ctest-vn-49595491'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 21:53:20,593 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e79e0e02-4163-4729-b310-8b28428402fa', 'name': '', 'tenant_id': '2fe159c53174409896947f269cebb6bf', 'network_id': '87b069df-db21-47bb-a59d-14ad3dfb68b7', 'ip_version': 4, 'cidr': '199.35.127.192/26', 'allocation_pools': [{'start': '199.35.127.194', 'end': '199.35.127.254'}], 'gateway_ip': '199.35.127.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.35.127.194', 'tags': [], 'project_id': '2fe159c53174409896947f269cebb6bf'}} 2025-10-22 21:53:20,609 - INFO - Created VN ctest-vn-49595491 2025-10-22 21:53:20,661 - DEBUG - VN ctest-vn-49595491 UUID is 87b069df-db21-47bb-a59d-14ad3dfb68b7 2025-10-22 21:53:20,772 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95135153:ctest-vn-46048242, 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-95135153:ctest-vn-49595491, 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-22 21:53:21,068 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '864c37b5-7a4f-4acd-8b39-3c59dd2607d5', 'name': 'ctest-vn-46048242', 'tenant_id': '2fe159c53174409896947f269cebb6bf', 'project_id': '2fe159c53174409896947f269cebb6bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a9054845-6fe8-455a-a3c0-228eae5107e0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95135153', 'ctest-vn-46048242'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95135153', 'ctest-policy-allow-all-63255743']], 'subnet_ipam': [{'subnet_cidr': '163.254.103.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 21:53:21,295 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '87b069df-db21-47bb-a59d-14ad3dfb68b7', 'name': 'ctest-vn-49595491', 'tenant_id': '2fe159c53174409896947f269cebb6bf', 'project_id': '2fe159c53174409896947f269cebb6bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e79e0e02-4163-4729-b310-8b28428402fa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95135153', 'ctest-vn-49595491'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95135153', 'ctest-policy-allow-all-63255743']], 'subnet_ipam': [{'subnet_cidr': '199.35.127.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 21:53:21,442 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-22 21:53:21,777 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-22 21:53:21,806 - DEBUG - Requesting: http://10.0.0.22:8082/domain/638b8277-0221-4cc8-899a-9e393f7c48b6 2025-10-22 21:53:21,819 - DEBUG - Requesting: http://10.0.0.22:8082/project/2fe159c5-3174-4098-9694-7f269cebb6bf 2025-10-22 21:53:21,889 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/864c37b5-7a4f-4acd-8b39-3c59dd2607d5 2025-10-22 21:53:21,898 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/864c37b5-7a4f-4acd-8b39-3c59dd2607d5 2025-10-22 21:53:21,907 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/64403bba-3569-4337-a04b-4eae2df4ccc7 2025-10-22 21:53:21,913 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/64403bba-3569-4337-a04b-4eae2df4ccc7 2025-10-22 21:53:21,918 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/192e477d-ea74-4796-bffb-5b1e30902046 2025-10-22 21:53:21,923 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 21:53:21,923 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/864c37b5-7a4f-4acd-8b39-3c59dd2607d5 2025-10-22 21:53:21,931 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/64403bba-3569-4337-a04b-4eae2df4ccc7 2025-10-22 21:53:21,944 - INFO - Verified VN network id 11 for VN 864c37b5-7a4f-4acd-8b39-3c59dd2607d5 2025-10-22 21:53:21,944 - INFO - Verifications in API Server for VN ctest-vn-46048242 passed 2025-10-22 21:53:21,944 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/864c37b5-7a4f-4acd-8b39-3c59dd2607d5 2025-10-22 21:53:21,952 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/64403bba-3569-4337-a04b-4eae2df4ccc7 2025-10-22 21:53:21,957 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/64403bba-3569-4337-a04b-4eae2df4ccc7 2025-10-22 21:53:21,963 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/192e477d-ea74-4796-bffb-5b1e30902046 2025-10-22 21:53:21,973 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95135153:ctest-vn-46048242', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95135153', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9677170951892978381', 'uuid-lslong': '10032116001604503509'}, 'enable': 'true', 'created': '2025-10-22T21:53:19', 'last-modified': '2025-10-22T21:53:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930038'} 2025-10-22 21:53:21,978 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 21:53:21,978 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46048242 passed 2025-10-22 21:53:21,978 - DEBUG - ====Verifying policy data for ctest-vn-46048242 in API_Server ====== 2025-10-22 21:53:21,979 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-22 21:53:21,983 - DEBUG - Requesting: http://10.0.0.22:8082/domain/638b8277-0221-4cc8-899a-9e393f7c48b6 2025-10-22 21:53:21,995 - DEBUG - Requesting: http://10.0.0.22:8082/project/2fe159c5-3174-4098-9694-7f269cebb6bf 2025-10-22 21:53:22,065 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/864c37b5-7a4f-4acd-8b39-3c59dd2607d5 2025-10-22 21:53:22,074 - DEBUG - ==>Verifying data for policy with id: f5204e7b-25ed-446f-9894-18cb773959e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-95135153', 'ctest-policy-allow-all-63255743'] 2025-10-22 21:53:22,074 - INFO - VN ctest-vn-46048242 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 21:53:22,074 - DEBUG - Verifying the vn in opserver 2025-10-22 21:53:22,074 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95135153:ctest-vn-46048242 virtual network link through opserver 10.0.0.22 2025-10-22 21:53:22,075 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-22 21:53:22,406 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-22 21:53:22,463 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95135153:ctest-vn-46048242', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95135153:ctest-vn-46048242?flat'} 2025-10-22 21:53:22,463 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95135153:ctest-vn-46048242 is found in opserver 2025-10-22 21:53:22,473 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 21:53:22,478 - DEBUG - VRF ids for VN ctest-vn-46048242: {} 2025-10-22 21:53:22,478 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-22 21:53:22,483 - DEBUG - Requesting: http://10.0.0.22:8082/domain/638b8277-0221-4cc8-899a-9e393f7c48b6 2025-10-22 21:53:22,494 - DEBUG - Requesting: http://10.0.0.22:8082/project/2fe159c5-3174-4098-9694-7f269cebb6bf 2025-10-22 21:53:22,560 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/87b069df-db21-47bb-a59d-14ad3dfb68b7 2025-10-22 21:53:22,572 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/87b069df-db21-47bb-a59d-14ad3dfb68b7 2025-10-22 21:53:22,581 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8deaaf3d-171f-4075-be10-b42f9106685a 2025-10-22 21:53:22,587 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8deaaf3d-171f-4075-be10-b42f9106685a 2025-10-22 21:53:22,593 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/82109c1f-a313-4b81-a477-467d87ea51ba 2025-10-22 21:53:22,598 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 21:53:22,598 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/87b069df-db21-47bb-a59d-14ad3dfb68b7 2025-10-22 21:53:22,606 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8deaaf3d-171f-4075-be10-b42f9106685a 2025-10-22 21:53:22,620 - INFO - Verified VN network id 12 for VN 87b069df-db21-47bb-a59d-14ad3dfb68b7 2025-10-22 21:53:22,620 - INFO - Verifications in API Server for VN ctest-vn-49595491 passed 2025-10-22 21:53:22,620 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/87b069df-db21-47bb-a59d-14ad3dfb68b7 2025-10-22 21:53:22,629 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8deaaf3d-171f-4075-be10-b42f9106685a 2025-10-22 21:53:22,636 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8deaaf3d-171f-4075-be10-b42f9106685a 2025-10-22 21:53:22,643 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/82109c1f-a313-4b81-a477-467d87ea51ba 2025-10-22 21:53:22,656 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95135153:ctest-vn-49595491', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95135153', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9777431201196361659', 'uuid-lslong': '11933717321903466679'}, 'enable': 'true', 'created': '2025-10-22T21:53:20', 'last-modified': '2025-10-22T21:53:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.381299'} 2025-10-22 21:53:22,662 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 21:53:22,663 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49595491 passed 2025-10-22 21:53:22,664 - DEBUG - ====Verifying policy data for ctest-vn-49595491 in API_Server ====== 2025-10-22 21:53:22,664 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-22 21:53:22,669 - DEBUG - Requesting: http://10.0.0.22:8082/domain/638b8277-0221-4cc8-899a-9e393f7c48b6 2025-10-22 21:53:22,679 - DEBUG - Requesting: http://10.0.0.22:8082/project/2fe159c5-3174-4098-9694-7f269cebb6bf 2025-10-22 21:53:22,746 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/87b069df-db21-47bb-a59d-14ad3dfb68b7 2025-10-22 21:53:22,755 - DEBUG - ==>Verifying data for policy with id: f5204e7b-25ed-446f-9894-18cb773959e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-95135153', 'ctest-policy-allow-all-63255743'] 2025-10-22 21:53:22,755 - INFO - VN ctest-vn-49595491 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 21:53:22,755 - DEBUG - Verifying the vn in opserver 2025-10-22 21:53:22,755 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95135153:ctest-vn-49595491 virtual network link through opserver 10.0.0.22 2025-10-22 21:53:22,755 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-22 21:53:22,764 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95135153:ctest-vn-49595491', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95135153:ctest-vn-49595491?flat'} 2025-10-22 21:53:22,764 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95135153:ctest-vn-49595491 is found in opserver 2025-10-22 21:53:22,773 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 21:53:22,778 - DEBUG - VRF ids for VN ctest-vn-49595491: {} 2025-10-22 21:53:22,839 - DEBUG - Services list from nova: [, , ] 2025-10-22 21:53:23,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4443-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4443-1) 2025-10-22 21:53:25,123 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4443-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4443-1) 2025-10-22 21:53:25,124 - INFO - Waiting for VM ctest-TestBasicPolicy-95135153-06850276 to be up.. 2025-10-22 21:53:25,202 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 21:53:30,291 - DEBUG - VM is in ACTIVE state now 2025-10-22 21:53:30,292 - INFO - VM name : ctest-TestBasicPolicy-95135153-06850276 2025-10-22 21:53:30,370 - DEBUG - VM ctest-TestBasicPolicy-95135153-06850276 ID is 9a7b2474-b0e5-45cb-90d1-3f8952957d24 2025-10-22 21:53:30,390 - DEBUG - VM ctest-TestBasicPolicy-95135153-06850276 launched on Node cn-jenkins-deploy-platform-ansible-os-4443-1 2025-10-22 21:53:30,467 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9a7b2474-b0e5-45cb-90d1-3f8952957d24 2025-10-22 21:53:30,477 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/aae106c1-1ca1-4cd6-931e-ba5d960952d6 2025-10-22 21:53:33,748 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms') 2025-10-22 21:53:33,748 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95135153-06850276 failed! 2025-10-22 21:53:33,802 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95135153:ctest-vn-46048242 is 163.254.103.65 and allocation pool is NOT set 2025-10-22 21:53:35,865 - 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=6.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.00 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 = 3.000/4.946/6.892/1.946 ms') 2025-10-22 21:53:35,866 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95135153-06850276 passed 2025-10-22 21:53:36,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:53:36,018 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95135153-06850276, IP 163.254.103.67, Port 22 2025-10-22 21:53:36,178 - DEBUG - VM ctest-TestBasicPolicy-95135153-06850276 is ready for SSH connections 2025-10-22 21:53:36,178 - INFO - Waiting for VM ctest-TestBasicPolicy-95135153-39827091 to be up.. 2025-10-22 21:53:36,251 - DEBUG - VM is in ACTIVE state now 2025-10-22 21:53:36,251 - INFO - VM name : ctest-TestBasicPolicy-95135153-39827091 2025-10-22 21:53:36,326 - DEBUG - VM ctest-TestBasicPolicy-95135153-39827091 ID is ac3a7412-ef0d-42e3-a94e-d9e0cc864efd 2025-10-22 21:53:36,326 - DEBUG - VM ctest-TestBasicPolicy-95135153-39827091 launched on Node cn-jenkins-deploy-platform-ansible-os-4443-1 2025-10-22 21:53:36,400 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ac3a7412-ef0d-42e3-a94e-d9e0cc864efd 2025-10-22 21:53:36,408 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/155531aa-6f53-4bac-ab9e-18a4b9c5cbb1 2025-10-22 21:53:37,643 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.462/1.906/3.350/1.444 ms') 2025-10-22 21:53:37,643 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95135153-39827091 passed 2025-10-22 21:53:37,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:53:37,794 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95135153-39827091, IP 199.35.127.195, Port 22 2025-10-22 21:53:37,949 - DEBUG - VM ctest-TestBasicPolicy-95135153-39827091 is ready for SSH connections 2025-10-22 21:53:37,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:53:37,949 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.35.127.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-22 21:53:37,949 - DEBUG - ping -s 56 -c 3 -W 1 199.35.127.195 2025-10-22 21:53:42,055 - DEBUG - PING 199.35.127.195 (199.35.127.195): 56 data bytes 64 bytes from 199.35.127.195: seq=0 ttl=63 time=4.287 ms 64 bytes from 199.35.127.195: seq=1 ttl=63 time=1.015 ms 64 bytes from 199.35.127.195: seq=2 ttl=63 time=1.082 ms --- 199.35.127.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.015/2.128/4.287 ms 2025-10-22 21:53:42,056 - INFO - Ping to IP 199.35.127.195 from VM ctest-TestBasicPolicy-95135153-06850276 passed 2025-10-22 21:53:42,245 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f5204e7b-25ed-446f-9894-18cb773959e1", "href": "http://10.0.0.22:8082/network-policy/f5204e7b-25ed-446f-9894-18cb773959e1"}} 2025-10-22 21:53:42,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 21:53:42,246 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.35.127.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-22 21:53:42,246 - DEBUG - ping -s 56 -c 3 -W 1 199.35.127.195 2025-10-22 21:53:45,462 - DEBUG - PING 199.35.127.195 (199.35.127.195): 56 data bytes --- 199.35.127.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 21:53:45,463 - WARNING - Ping to IP 199.35.127.195 from VM ctest-TestBasicPolicy-95135153-06850276 failed 2025-10-22 21:53:45,463 - INFO - Deleting VM ctest-TestBasicPolicy-95135153-39827091 2025-10-22 21:53:45,531 - INFO - Deleting VM ctest-TestBasicPolicy-95135153-06850276 2025-10-22 21:53:45,903 - INFO - Deleted policy ctest-policy-allow-all-63255743 2025-10-22 21:53:45,903 - INFO - Deleting VN ctest-vn-49595491 2025-10-22 21:53:45,935 - DEBUG - VN 87b069df-db21-47bb-a59d-14ad3dfb68b7 still in use: Unable to complete operation on network 87b069df-db21-47bb-a59d-14ad3dfb68b7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-345f49fa-65bf-401e-99c1-e81a44df8a99'] 2025-10-22 21:53:45,935 - WARNING - Deleting VN ctest-vn-49595491 failed..Will retry 2025-10-22 21:53:48,037 - DEBUG - Response for deleting network () 2025-10-22 21:53:48,037 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8deaaf3d-171f-4075-be10-b42f9106685a 2025-10-22 21:53:48,043 - DEBUG - Response Code: 404 2025-10-22 21:53:48,044 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-22 21:53:48,050 - DEBUG - Requesting: http://10.0.0.22:8082/domain/638b8277-0221-4cc8-899a-9e393f7c48b6 2025-10-22 21:53:48,104 - DEBUG - Requesting: http://10.0.0.22:8082/project/2fe159c5-3174-4098-9694-7f269cebb6bf 2025-10-22 21:53:48,176 - INFO - Validated that VN ctest-vn-49595491 is not found in API Server 2025-10-22 21:53:48,186 - DEBUG - VN ctest-vn-49595491 is not present in Agent 10.0.0.22 2025-10-22 21:53:48,186 - INFO - Validated that VN ctest-vn-49595491 is not in any agent 2025-10-22 21:53:48,201 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49595491 info 2025-10-22 21:53:48,201 - INFO - Deleting VN ctest-vn-46048242 2025-10-22 21:53:48,297 - DEBUG - Response for deleting network () 2025-10-22 21:53:48,297 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/64403bba-3569-4337-a04b-4eae2df4ccc7 2025-10-22 21:53:48,303 - DEBUG - Response Code: 404 2025-10-22 21:53:48,303 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-22 21:53:48,308 - DEBUG - Requesting: http://10.0.0.22:8082/domain/638b8277-0221-4cc8-899a-9e393f7c48b6 2025-10-22 21:53:48,364 - DEBUG - Requesting: http://10.0.0.22:8082/project/2fe159c5-3174-4098-9694-7f269cebb6bf 2025-10-22 21:53:48,433 - INFO - Validated that VN ctest-vn-46048242 is not found in API Server 2025-10-22 21:53:48,443 - DEBUG - VN ctest-vn-46048242 is not present in Agent 10.0.0.22 2025-10-22 21:53:48,443 - INFO - Validated that VN ctest-vn-46048242 is not in any agent 2025-10-22 21:53:48,455 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46048242 info 2025-10-22 21:53:48,715 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 21:53:48,715 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-22 21:53:48,715 - INFO - -------------------------------------------------------------------------------- 2025-10-22 21:53:49,469 - INFO - Deleted project: ctest-TestBasicPolicy-95135153, ID : 2fe159c5-3174-4098-9694-7f269cebb6bf