2025-07-23 14:57:11,741 - INFO - Domain Default found not creating 2025-07-23 14:57:11,904 - INFO - Project ctest-TestBasicPolicy-74360149 not found, creating it 2025-07-23 14:57:12,386 - INFO - Created Project:ctest-TestBasicPolicy-74360149, ID : 9d70da59-4f21-453c-a705-a1492896c535 2025-07-23 14:57:13,845 - INFO - ================================================================================ 2025-07-23 14:57:13,845 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-23 14:57:13,846 - 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-07-23 14:57:14,099 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.25': '0'}} with 2025-07-23 14:57:14,099 - INFO - Initial checks done. Running the testcase now 2025-07-23 14:57:14,100 - INFO - 2025-07-23 14:57:14,655 - DEBUG - Response for create_network : {'network': {'id': '0867aa50-76a7-47e2-ab59-3fdc81bfadda', 'name': 'ctest-vn-51685076', 'tenant_id': '9d70da594f21453ca705a1492896c535', 'project_id': '9d70da594f21453ca705a1492896c535', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74360149', 'ctest-vn-51685076'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 14:57:14,895 - DEBUG - Response for create_subnet : {'subnet': {'id': '57479d43-d282-4bf2-af6b-3e3ef565980d', 'name': '', 'tenant_id': '9d70da594f21453ca705a1492896c535', 'network_id': '0867aa50-76a7-47e2-ab59-3fdc81bfadda', 'ip_version': 4, 'cidr': '32.142.186.0/26', 'allocation_pools': [{'start': '32.142.186.2', 'end': '32.142.186.62'}], 'gateway_ip': '32.142.186.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.142.186.2', 'tags': [], 'project_id': '9d70da594f21453ca705a1492896c535'}} 2025-07-23 14:57:14,918 - INFO - Created VN ctest-vn-51685076 2025-07-23 14:57:14,977 - DEBUG - VN ctest-vn-51685076 UUID is 0867aa50-76a7-47e2-ab59-3fdc81bfadda 2025-07-23 14:57:15,301 - DEBUG - Response for create_network : {'network': {'id': '55fa0059-5073-40e9-8b28-dd46c16ccc7a', 'name': 'ctest-vn-77595180', 'tenant_id': '9d70da594f21453ca705a1492896c535', 'project_id': '9d70da594f21453ca705a1492896c535', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74360149', 'ctest-vn-77595180'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 14:57:15,513 - DEBUG - Response for create_subnet : {'subnet': {'id': '73497158-f2cb-4d78-9a98-8e9d6825b45c', 'name': '', 'tenant_id': '9d70da594f21453ca705a1492896c535', 'network_id': '55fa0059-5073-40e9-8b28-dd46c16ccc7a', 'ip_version': 4, 'cidr': '23.102.205.128/26', 'allocation_pools': [{'start': '23.102.205.130', 'end': '23.102.205.190'}], 'gateway_ip': '23.102.205.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.102.205.130', 'tags': [], 'project_id': '9d70da594f21453ca705a1492896c535'}} 2025-07-23 14:57:15,536 - INFO - Created VN ctest-vn-77595180 2025-07-23 14:57:15,589 - DEBUG - VN ctest-vn-77595180 UUID is 55fa0059-5073-40e9-8b28-dd46c16ccc7a 2025-07-23 14:57:15,724 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74360149:ctest-vn-51685076, 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-74360149:ctest-vn-77595180, 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-07-23 14:57:16,047 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0867aa50-76a7-47e2-ab59-3fdc81bfadda', 'name': 'ctest-vn-51685076', 'tenant_id': '9d70da594f21453ca705a1492896c535', 'project_id': '9d70da594f21453ca705a1492896c535', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57479d43-d282-4bf2-af6b-3e3ef565980d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74360149', 'ctest-vn-51685076'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74360149', 'ctest-policy-allow-all-11460149']], 'subnet_ipam': [{'subnet_cidr': '32.142.186.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 14:57:16,339 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '55fa0059-5073-40e9-8b28-dd46c16ccc7a', 'name': 'ctest-vn-77595180', 'tenant_id': '9d70da594f21453ca705a1492896c535', 'project_id': '9d70da594f21453ca705a1492896c535', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['73497158-f2cb-4d78-9a98-8e9d6825b45c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74360149', 'ctest-vn-77595180'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74360149', 'ctest-policy-allow-all-11460149']], 'subnet_ipam': [{'subnet_cidr': '23.102.205.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 14:57:16,489 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-07-23 14:57:16,785 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-07-23 14:57:16,826 - DEBUG - Requesting: http://10.0.0.129:8082/domain/eb013d9f-4d4e-4e11-bece-55bf7e4da03b 2025-07-23 14:57:16,847 - DEBUG - Requesting: http://10.0.0.129:8082/project/9d70da59-4f21-453c-a705-a1492896c535 2025-07-23 14:57:16,934 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/0867aa50-76a7-47e2-ab59-3fdc81bfadda 2025-07-23 14:57:16,947 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/0867aa50-76a7-47e2-ab59-3fdc81bfadda 2025-07-23 14:57:16,959 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9d4ae098-3887-4160-a4d8-f20a6e8eacd3 2025-07-23 14:57:16,968 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9d4ae098-3887-4160-a4d8-f20a6e8eacd3 2025-07-23 14:57:16,979 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/de1b46fc-5600-4464-8fa1-b35f73e7fd75 2025-07-23 14:57:16,988 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 14:57:16,988 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/0867aa50-76a7-47e2-ab59-3fdc81bfadda 2025-07-23 14:57:17,000 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9d4ae098-3887-4160-a4d8-f20a6e8eacd3 2025-07-23 14:57:17,018 - INFO - Verified VN network id 12 for VN 0867aa50-76a7-47e2-ab59-3fdc81bfadda 2025-07-23 14:57:17,018 - INFO - Verifications in API Server for VN ctest-vn-51685076 passed 2025-07-23 14:57:17,019 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/0867aa50-76a7-47e2-ab59-3fdc81bfadda 2025-07-23 14:57:17,032 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9d4ae098-3887-4160-a4d8-f20a6e8eacd3 2025-07-23 14:57:17,040 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9d4ae098-3887-4160-a4d8-f20a6e8eacd3 2025-07-23 14:57:17,048 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/de1b46fc-5600-4464-8fa1-b35f73e7fd75 2025-07-23 14:57:17,062 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74360149:ctest-vn-51685076', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74360149', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '605639937469401058', 'uuid-lslong': '12346970069715103194'}, 'enable': 'true', 'created': '2025-07-23T14:57:14', 'last-modified': '2025-07-23T14:57:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.033512'} 2025-07-23 14:57:17,069 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 14:57:17,069 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51685076 passed 2025-07-23 14:57:17,069 - DEBUG - ====Verifying policy data for ctest-vn-51685076 in API_Server ====== 2025-07-23 14:57:17,069 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-07-23 14:57:17,076 - DEBUG - Requesting: http://10.0.0.129:8082/domain/eb013d9f-4d4e-4e11-bece-55bf7e4da03b 2025-07-23 14:57:17,091 - DEBUG - Requesting: http://10.0.0.129:8082/project/9d70da59-4f21-453c-a705-a1492896c535 2025-07-23 14:57:17,167 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/0867aa50-76a7-47e2-ab59-3fdc81bfadda 2025-07-23 14:57:17,181 - DEBUG - ==>Verifying data for policy with id: 84b1b350-1e75-49d6-9040-2f8cf4b6eed2, fqn: ['default-domain', 'ctest-TestBasicPolicy-74360149', 'ctest-policy-allow-all-11460149'] 2025-07-23 14:57:17,181 - INFO - VN ctest-vn-51685076 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 14:57:17,181 - DEBUG - Verifying the vn in opserver 2025-07-23 14:57:17,181 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74360149:ctest-vn-51685076 virtual network link through opserver 10.0.0.129 2025-07-23 14:57:17,182 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-07-23 14:57:17,480 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-07-23 14:57:17,544 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74360149:ctest-vn-51685076', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74360149:ctest-vn-51685076?flat'} 2025-07-23 14:57:17,544 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74360149:ctest-vn-51685076 is found in opserver 2025-07-23 14:57:17,556 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 14:57:17,561 - DEBUG - VRF ids for VN ctest-vn-51685076: {} 2025-07-23 14:57:17,561 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-07-23 14:57:17,568 - DEBUG - Requesting: http://10.0.0.129:8082/domain/eb013d9f-4d4e-4e11-bece-55bf7e4da03b 2025-07-23 14:57:17,582 - DEBUG - Requesting: http://10.0.0.129:8082/project/9d70da59-4f21-453c-a705-a1492896c535 2025-07-23 14:57:17,662 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/55fa0059-5073-40e9-8b28-dd46c16ccc7a 2025-07-23 14:57:17,677 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/55fa0059-5073-40e9-8b28-dd46c16ccc7a 2025-07-23 14:57:17,689 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/04136d60-f40d-40d8-a327-7d533f161ade 2025-07-23 14:57:17,698 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/04136d60-f40d-40d8-a327-7d533f161ade 2025-07-23 14:57:17,711 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/08283722-278d-432b-9826-88b9eb8d2d33 2025-07-23 14:57:17,719 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 14:57:17,719 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/55fa0059-5073-40e9-8b28-dd46c16ccc7a 2025-07-23 14:57:17,731 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/04136d60-f40d-40d8-a327-7d533f161ade 2025-07-23 14:57:17,748 - INFO - Verified VN network id 13 for VN 55fa0059-5073-40e9-8b28-dd46c16ccc7a 2025-07-23 14:57:17,748 - INFO - Verifications in API Server for VN ctest-vn-77595180 passed 2025-07-23 14:57:17,748 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/55fa0059-5073-40e9-8b28-dd46c16ccc7a 2025-07-23 14:57:17,763 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/04136d60-f40d-40d8-a327-7d533f161ade 2025-07-23 14:57:17,771 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/04136d60-f40d-40d8-a327-7d533f161ade 2025-07-23 14:57:17,779 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/08283722-278d-432b-9826-88b9eb8d2d33 2025-07-23 14:57:17,792 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74360149:ctest-vn-77595180', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74360149', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6195264621003358441', 'uuid-lslong': '10027507866302991482'}, 'enable': 'true', 'created': '2025-07-23T14:57:15', 'last-modified': '2025-07-23T14:57:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.523122'} 2025-07-23 14:57:17,799 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 14:57:17,799 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77595180 passed 2025-07-23 14:57:17,800 - DEBUG - ====Verifying policy data for ctest-vn-77595180 in API_Server ====== 2025-07-23 14:57:17,800 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-07-23 14:57:17,807 - DEBUG - Requesting: http://10.0.0.129:8082/domain/eb013d9f-4d4e-4e11-bece-55bf7e4da03b 2025-07-23 14:57:17,820 - DEBUG - Requesting: http://10.0.0.129:8082/project/9d70da59-4f21-453c-a705-a1492896c535 2025-07-23 14:57:17,899 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/55fa0059-5073-40e9-8b28-dd46c16ccc7a 2025-07-23 14:57:17,911 - DEBUG - ==>Verifying data for policy with id: 84b1b350-1e75-49d6-9040-2f8cf4b6eed2, fqn: ['default-domain', 'ctest-TestBasicPolicy-74360149', 'ctest-policy-allow-all-11460149'] 2025-07-23 14:57:17,911 - INFO - VN ctest-vn-77595180 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 14:57:17,911 - DEBUG - Verifying the vn in opserver 2025-07-23 14:57:17,911 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74360149:ctest-vn-77595180 virtual network link through opserver 10.0.0.129 2025-07-23 14:57:17,911 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-07-23 14:57:17,924 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74360149:ctest-vn-77595180', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74360149:ctest-vn-77595180?flat'} 2025-07-23 14:57:17,924 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74360149:ctest-vn-77595180 is found in opserver 2025-07-23 14:57:17,939 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 14:57:17,947 - DEBUG - VRF ids for VN ctest-vn-77595180: {} 2025-07-23 14:57:18,011 - DEBUG - Services list from nova: [, , ] 2025-07-23 14:57:19,140 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3705-1) 2025-07-23 14:57:20,346 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3705-1) 2025-07-23 14:57:20,346 - INFO - Waiting for VM ctest-TestBasicPolicy-74360149-36258155 to be up.. 2025-07-23 14:57:20,432 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 14:57:25,518 - DEBUG - VM is in ACTIVE state now 2025-07-23 14:57:25,518 - INFO - VM name : ctest-TestBasicPolicy-74360149-36258155 2025-07-23 14:57:25,596 - DEBUG - VM ctest-TestBasicPolicy-74360149-36258155 ID is cff253f0-3e68-4537-a499-d20147e5b114 2025-07-23 14:57:25,619 - DEBUG - VM ctest-TestBasicPolicy-74360149-36258155 launched on Node cn-jenkins-deploy-platform-ansible-os-3705-1 2025-07-23 14:57:25,709 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/cff253f0-3e68-4537-a499-d20147e5b114 2025-07-23 14:57:25,720 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/43f5eeae-af26-4a9a-a24c-f7fedfff7a72 2025-07-23 14:57:28,970 - 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 1015ms') 2025-07-23 14:57:28,971 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74360149-36258155 failed! 2025-07-23 14:57:29,029 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74360149:ctest-vn-51685076 is 32.142.186.1 and allocation pool is NOT set 2025-07-23 14:57:31,093 - 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=8.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.561 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.561/4.529/8.498/3.968 ms') 2025-07-23 14:57:31,093 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74360149-36258155 passed 2025-07-23 14:57:31,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 14:57:31,249 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74360149-36258155, IP 32.142.186.3, Port 22 2025-07-23 14:57:31,415 - DEBUG - VM ctest-TestBasicPolicy-74360149-36258155 is ready for SSH connections 2025-07-23 14:57:31,416 - INFO - Waiting for VM ctest-TestBasicPolicy-74360149-06817633 to be up.. 2025-07-23 14:57:31,500 - DEBUG - VM is in ACTIVE state now 2025-07-23 14:57:31,500 - INFO - VM name : ctest-TestBasicPolicy-74360149-06817633 2025-07-23 14:57:31,583 - DEBUG - VM ctest-TestBasicPolicy-74360149-06817633 ID is 83131079-0275-4742-b79f-501d18a9621e 2025-07-23 14:57:31,584 - DEBUG - VM ctest-TestBasicPolicy-74360149-06817633 launched on Node cn-jenkins-deploy-platform-ansible-os-3705-1 2025-07-23 14:57:31,662 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/83131079-0275-4742-b79f-501d18a9621e 2025-07-23 14:57:31,672 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/bf67f4b2-846f-47b4-b7c6-cf7e90879e19 2025-07-23 14:57:32,924 - 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=4.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.60 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.598/3.068/4.539/1.470 ms') 2025-07-23 14:57:32,925 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74360149-06817633 passed 2025-07-23 14:57:33,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 14:57:33,085 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74360149-06817633, IP 23.102.205.131, Port 22 2025-07-23 14:57:33,255 - DEBUG - VM ctest-TestBasicPolicy-74360149-06817633 is ready for SSH connections 2025-07-23 14:57:33,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 14:57:33,255 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.102.205.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-07-23 14:57:33,256 - DEBUG - ping -s 56 -c 3 -W 1 23.102.205.131 2025-07-23 14:57:36,921 - DEBUG - PING 23.102.205.131 (23.102.205.131): 56 data bytes 64 bytes from 23.102.205.131: seq=0 ttl=63 time=3.984 ms 64 bytes from 23.102.205.131: seq=1 ttl=63 time=0.865 ms 64 bytes from 23.102.205.131: seq=2 ttl=63 time=0.987 ms --- 23.102.205.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.945/3.984 ms 2025-07-23 14:57:36,921 - INFO - Ping to IP 23.102.205.131 from VM ctest-TestBasicPolicy-74360149-36258155 passed 2025-07-23 14:57:37,109 - DEBUG - Policy Update Response {"network-policy": {"uuid": "84b1b350-1e75-49d6-9040-2f8cf4b6eed2", "href": "http://10.0.0.129:8082/network-policy/84b1b350-1e75-49d6-9040-2f8cf4b6eed2"}} 2025-07-23 14:57:37,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 14:57:37,109 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.102.205.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-07-23 14:57:37,109 - DEBUG - ping -s 56 -c 3 -W 1 23.102.205.131 2025-07-23 14:57:40,324 - DEBUG - PING 23.102.205.131 (23.102.205.131): 56 data bytes --- 23.102.205.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 14:57:40,324 - WARNING - Ping to IP 23.102.205.131 from VM ctest-TestBasicPolicy-74360149-36258155 failed 2025-07-23 14:57:40,325 - INFO - Deleting VM ctest-TestBasicPolicy-74360149-06817633 2025-07-23 14:57:40,405 - INFO - Deleting VM ctest-TestBasicPolicy-74360149-36258155 2025-07-23 14:57:40,864 - INFO - Deleted policy ctest-policy-allow-all-11460149 2025-07-23 14:57:40,865 - INFO - Deleting VN ctest-vn-77595180 2025-07-23 14:57:40,903 - DEBUG - VN 55fa0059-5073-40e9-8b28-dd46c16ccc7a still in use: Unable to complete operation on network 55fa0059-5073-40e9-8b28-dd46c16ccc7a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-776b77c6-0c65-4932-a578-74c146126baa'] 2025-07-23 14:57:40,903 - WARNING - Deleting VN ctest-vn-77595180 failed..Will retry 2025-07-23 14:57:43,019 - DEBUG - Response for deleting network () 2025-07-23 14:57:43,019 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/04136d60-f40d-40d8-a327-7d533f161ade 2025-07-23 14:57:43,027 - DEBUG - Response Code: 404 2025-07-23 14:57:43,027 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-07-23 14:57:43,035 - DEBUG - Requesting: http://10.0.0.129:8082/domain/eb013d9f-4d4e-4e11-bece-55bf7e4da03b 2025-07-23 14:57:43,093 - DEBUG - Requesting: http://10.0.0.129:8082/project/9d70da59-4f21-453c-a705-a1492896c535 2025-07-23 14:57:43,176 - INFO - Validated that VN ctest-vn-77595180 is not found in API Server 2025-07-23 14:57:43,188 - DEBUG - VN ctest-vn-77595180 is not present in Agent 10.0.0.129 2025-07-23 14:57:43,188 - INFO - Validated that VN ctest-vn-77595180 is not in any agent 2025-07-23 14:57:43,207 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77595180 info 2025-07-23 14:57:43,207 - INFO - Deleting VN ctest-vn-51685076 2025-07-23 14:57:43,320 - DEBUG - Response for deleting network () 2025-07-23 14:57:43,320 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9d4ae098-3887-4160-a4d8-f20a6e8eacd3 2025-07-23 14:57:43,328 - DEBUG - Response Code: 404 2025-07-23 14:57:43,328 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-07-23 14:57:43,334 - DEBUG - Requesting: http://10.0.0.129:8082/domain/eb013d9f-4d4e-4e11-bece-55bf7e4da03b 2025-07-23 14:57:43,390 - DEBUG - Requesting: http://10.0.0.129:8082/project/9d70da59-4f21-453c-a705-a1492896c535 2025-07-23 14:57:43,468 - INFO - Validated that VN ctest-vn-51685076 is not found in API Server 2025-07-23 14:57:43,482 - DEBUG - VN ctest-vn-51685076 is not present in Agent 10.0.0.129 2025-07-23 14:57:43,482 - INFO - Validated that VN ctest-vn-51685076 is not in any agent 2025-07-23 14:57:43,502 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51685076 info 2025-07-23 14:57:43,764 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 14:57:43,764 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-07-23 14:57:43,764 - INFO - -------------------------------------------------------------------------------- 2025-07-23 14:57:44,454 - INFO - Deleted project: ctest-TestBasicPolicy-74360149, ID : 9d70da59-4f21-453c-a705-a1492896c535