2025-10-09 10:17:04,780 - INFO - Domain Default found not creating 2025-10-09 10:17:04,912 - INFO - Project ctest-TestBasicPolicy-12310156 not found, creating it 2025-10-09 10:17:05,341 - INFO - Created Project:ctest-TestBasicPolicy-12310156, ID : b92e9395-2da7-4da5-9829-89913d947024 2025-10-09 10:17:06,694 - INFO - ================================================================================ 2025-10-09 10:17:06,694 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 10:17:06,694 - 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-09 10:17:06,952 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-09 10:17:06,952 - INFO - Initial checks done. Running the testcase now 2025-10-09 10:17:06,952 - INFO - 2025-10-09 10:17:07,459 - DEBUG - Response for create_network : {'network': {'id': 'be447291-4c83-4a6e-8d98-938da3387f55', 'name': 'ctest-vn-47956521', 'tenant_id': 'b92e93952da74da5982989913d947024', 'project_id': 'b92e93952da74da5982989913d947024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12310156', 'ctest-vn-47956521'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 10:17:07,666 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e205d18-02fc-45cd-8e08-44c02fd4f8dd', 'name': '', 'tenant_id': 'b92e93952da74da5982989913d947024', 'network_id': 'be447291-4c83-4a6e-8d98-938da3387f55', 'ip_version': 4, 'cidr': '110.147.159.64/26', 'allocation_pools': [{'start': '110.147.159.66', 'end': '110.147.159.126'}], 'gateway_ip': '110.147.159.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.147.159.66', 'tags': [], 'project_id': 'b92e93952da74da5982989913d947024'}} 2025-10-09 10:17:07,684 - INFO - Created VN ctest-vn-47956521 2025-10-09 10:17:07,736 - DEBUG - VN ctest-vn-47956521 UUID is be447291-4c83-4a6e-8d98-938da3387f55 2025-10-09 10:17:08,038 - DEBUG - Response for create_network : {'network': {'id': '92020100-6af9-41e1-8249-e4f5f9484888', 'name': 'ctest-vn-79858790', 'tenant_id': 'b92e93952da74da5982989913d947024', 'project_id': 'b92e93952da74da5982989913d947024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12310156', 'ctest-vn-79858790'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 10:17:08,252 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2a3e1d4-5e18-414c-bdaf-d2b38a093bac', 'name': '', 'tenant_id': 'b92e93952da74da5982989913d947024', 'network_id': '92020100-6af9-41e1-8249-e4f5f9484888', 'ip_version': 4, 'cidr': '15.173.47.192/26', 'allocation_pools': [{'start': '15.173.47.194', 'end': '15.173.47.254'}], 'gateway_ip': '15.173.47.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.173.47.194', 'tags': [], 'project_id': 'b92e93952da74da5982989913d947024'}} 2025-10-09 10:17:08,268 - INFO - Created VN ctest-vn-79858790 2025-10-09 10:17:08,319 - DEBUG - VN ctest-vn-79858790 UUID is 92020100-6af9-41e1-8249-e4f5f9484888 2025-10-09 10:17:08,467 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12310156:ctest-vn-47956521, 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-12310156:ctest-vn-79858790, 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-09 10:17:08,755 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'be447291-4c83-4a6e-8d98-938da3387f55', 'name': 'ctest-vn-47956521', 'tenant_id': 'b92e93952da74da5982989913d947024', 'project_id': 'b92e93952da74da5982989913d947024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7e205d18-02fc-45cd-8e08-44c02fd4f8dd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12310156', 'ctest-vn-47956521'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12310156', 'ctest-policy-allow-all-47611518']], 'subnet_ipam': [{'subnet_cidr': '110.147.159.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 10:17:09,025 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '92020100-6af9-41e1-8249-e4f5f9484888', 'name': 'ctest-vn-79858790', 'tenant_id': 'b92e93952da74da5982989913d947024', 'project_id': 'b92e93952da74da5982989913d947024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d2a3e1d4-5e18-414c-bdaf-d2b38a093bac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12310156', 'ctest-vn-79858790'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12310156', 'ctest-policy-allow-all-47611518']], 'subnet_ipam': [{'subnet_cidr': '15.173.47.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 10:17:09,163 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 10:17:09,453 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 10:17:09,477 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b5735784-5c9e-40e3-941b-afdf134fe1dd 2025-10-09 10:17:09,487 - DEBUG - Requesting: http://10.0.0.254:8082/project/b92e9395-2da7-4da5-9829-89913d947024 2025-10-09 10:17:09,558 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/be447291-4c83-4a6e-8d98-938da3387f55 2025-10-09 10:17:09,567 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/be447291-4c83-4a6e-8d98-938da3387f55 2025-10-09 10:17:09,575 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/efe810fe-d0e7-46fa-aed0-b148b4a89a4a 2025-10-09 10:17:09,581 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/efe810fe-d0e7-46fa-aed0-b148b4a89a4a 2025-10-09 10:17:09,587 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3d24e262-1290-41a1-94f2-3eb08b680a4b 2025-10-09 10:17:09,592 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 10:17:09,592 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/be447291-4c83-4a6e-8d98-938da3387f55 2025-10-09 10:17:09,599 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/efe810fe-d0e7-46fa-aed0-b148b4a89a4a 2025-10-09 10:17:09,611 - INFO - Verified VN network id 12 for VN be447291-4c83-4a6e-8d98-938da3387f55 2025-10-09 10:17:09,611 - INFO - Verifications in API Server for VN ctest-vn-47956521 passed 2025-10-09 10:17:09,611 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/be447291-4c83-4a6e-8d98-938da3387f55 2025-10-09 10:17:09,619 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/efe810fe-d0e7-46fa-aed0-b148b4a89a4a 2025-10-09 10:17:09,625 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/efe810fe-d0e7-46fa-aed0-b148b4a89a4a 2025-10-09 10:17:09,631 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3d24e262-1290-41a1-94f2-3eb08b680a4b 2025-10-09 10:17:09,640 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12310156:ctest-vn-47956521', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12310156', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13710209134002129518', 'uuid-lslong': '10203067192345919317'}, 'enable': 'true', 'created': '2025-10-09T10:17:07', 'last-modified': '2025-10-09T10:17:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.899503'} 2025-10-09 10:17:09,645 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 10:17:09,645 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47956521 passed 2025-10-09 10:17:09,645 - DEBUG - ====Verifying policy data for ctest-vn-47956521 in API_Server ====== 2025-10-09 10:17:09,645 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 10:17:09,650 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b5735784-5c9e-40e3-941b-afdf134fe1dd 2025-10-09 10:17:09,659 - DEBUG - Requesting: http://10.0.0.254:8082/project/b92e9395-2da7-4da5-9829-89913d947024 2025-10-09 10:17:09,728 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/be447291-4c83-4a6e-8d98-938da3387f55 2025-10-09 10:17:09,736 - DEBUG - ==>Verifying data for policy with id: 0ca564fd-a485-44cc-82a2-405f579a69bc, fqn: ['default-domain', 'ctest-TestBasicPolicy-12310156', 'ctest-policy-allow-all-47611518'] 2025-10-09 10:17:09,736 - INFO - VN ctest-vn-47956521 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 10:17:09,736 - DEBUG - Verifying the vn in opserver 2025-10-09 10:17:09,736 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12310156:ctest-vn-47956521 virtual network link through opserver 10.0.0.254 2025-10-09 10:17:09,736 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-09 10:17:10,023 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-09 10:17:10,072 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12310156:ctest-vn-47956521', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12310156:ctest-vn-47956521?flat'} 2025-10-09 10:17:10,072 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12310156:ctest-vn-47956521 is found in opserver 2025-10-09 10:17:10,080 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 10:17:10,084 - DEBUG - VRF ids for VN ctest-vn-47956521: {} 2025-10-09 10:17:10,084 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 10:17:10,088 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b5735784-5c9e-40e3-941b-afdf134fe1dd 2025-10-09 10:17:10,099 - DEBUG - Requesting: http://10.0.0.254:8082/project/b92e9395-2da7-4da5-9829-89913d947024 2025-10-09 10:17:10,170 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/92020100-6af9-41e1-8249-e4f5f9484888 2025-10-09 10:17:10,183 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/92020100-6af9-41e1-8249-e4f5f9484888 2025-10-09 10:17:10,194 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/14c826f7-4802-4e65-9150-e661a700b52b 2025-10-09 10:17:10,201 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/14c826f7-4802-4e65-9150-e661a700b52b 2025-10-09 10:17:10,209 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e178e24d-08a1-481c-80d0-0cc2f3c13a49 2025-10-09 10:17:10,216 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 10:17:10,216 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/92020100-6af9-41e1-8249-e4f5f9484888 2025-10-09 10:17:10,228 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/14c826f7-4802-4e65-9150-e661a700b52b 2025-10-09 10:17:10,245 - INFO - Verified VN network id 13 for VN 92020100-6af9-41e1-8249-e4f5f9484888 2025-10-09 10:17:10,245 - INFO - Verifications in API Server for VN ctest-vn-79858790 passed 2025-10-09 10:17:10,245 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/92020100-6af9-41e1-8249-e4f5f9484888 2025-10-09 10:17:10,255 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/14c826f7-4802-4e65-9150-e661a700b52b 2025-10-09 10:17:10,261 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/14c826f7-4802-4e65-9150-e661a700b52b 2025-10-09 10:17:10,268 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e178e24d-08a1-481c-80d0-0cc2f3c13a49 2025-10-09 10:17:10,278 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12310156:ctest-vn-79858790', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12310156', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10520972780797247969', 'uuid-lslong': '9388286643330893960'}, 'enable': 'true', 'created': '2025-10-09T10:17:08', 'last-modified': '2025-10-09T10:17:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.321382'} 2025-10-09 10:17:10,284 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 10:17:10,284 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79858790 passed 2025-10-09 10:17:10,284 - DEBUG - ====Verifying policy data for ctest-vn-79858790 in API_Server ====== 2025-10-09 10:17:10,284 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 10:17:10,289 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b5735784-5c9e-40e3-941b-afdf134fe1dd 2025-10-09 10:17:10,300 - DEBUG - Requesting: http://10.0.0.254:8082/project/b92e9395-2da7-4da5-9829-89913d947024 2025-10-09 10:17:10,366 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/92020100-6af9-41e1-8249-e4f5f9484888 2025-10-09 10:17:10,375 - DEBUG - ==>Verifying data for policy with id: 0ca564fd-a485-44cc-82a2-405f579a69bc, fqn: ['default-domain', 'ctest-TestBasicPolicy-12310156', 'ctest-policy-allow-all-47611518'] 2025-10-09 10:17:10,375 - INFO - VN ctest-vn-79858790 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 10:17:10,375 - DEBUG - Verifying the vn in opserver 2025-10-09 10:17:10,375 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12310156:ctest-vn-79858790 virtual network link through opserver 10.0.0.254 2025-10-09 10:17:10,375 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-09 10:17:10,384 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12310156:ctest-vn-79858790', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12310156:ctest-vn-79858790?flat'} 2025-10-09 10:17:10,384 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12310156:ctest-vn-79858790 is found in opserver 2025-10-09 10:17:10,392 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 10:17:10,396 - DEBUG - VRF ids for VN ctest-vn-79858790: {} 2025-10-09 10:17:10,446 - DEBUG - Services list from nova: [, , ] 2025-10-09 10:17:11,437 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4257-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4257-1) 2025-10-09 10:17:12,510 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4257-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4257-1) 2025-10-09 10:17:12,510 - INFO - Waiting for VM ctest-TestBasicPolicy-12310156-54532301 to be up.. 2025-10-09 10:17:12,583 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 10:17:17,654 - DEBUG - VM is in ACTIVE state now 2025-10-09 10:17:17,655 - INFO - VM name : ctest-TestBasicPolicy-12310156-54532301 2025-10-09 10:17:17,735 - DEBUG - VM ctest-TestBasicPolicy-12310156-54532301 ID is 79c848ad-f5b9-46d9-b7d5-0dcae040b89c 2025-10-09 10:17:17,755 - DEBUG - VM ctest-TestBasicPolicy-12310156-54532301 launched on Node cn-jenkins-deploy-platform-ansible-os-4257-1 2025-10-09 10:17:17,834 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/79c848ad-f5b9-46d9-b7d5-0dcae040b89c 2025-10-09 10:17:17,872 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/55afa37d-196c-472a-a0c4-84844a6cf167 2025-10-09 10:17:21,200 - 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 1016ms') 2025-10-09 10:17:21,200 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12310156-54532301 failed! 2025-10-09 10:17:21,255 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-12310156:ctest-vn-47956521 is 110.147.159.65 and allocation pool is NOT set 2025-10-09 10:17:23,310 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.407 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.407/2.078/3.749/1.671 ms') 2025-10-09 10:17:23,311 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12310156-54532301 passed 2025-10-09 10:17:23,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:17:23,460 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12310156-54532301, IP 110.147.159.67, Port 22 2025-10-09 10:17:23,615 - DEBUG - VM ctest-TestBasicPolicy-12310156-54532301 is ready for SSH connections 2025-10-09 10:17:23,615 - INFO - Waiting for VM ctest-TestBasicPolicy-12310156-70694767 to be up.. 2025-10-09 10:17:23,690 - DEBUG - VM is in ACTIVE state now 2025-10-09 10:17:23,690 - INFO - VM name : ctest-TestBasicPolicy-12310156-70694767 2025-10-09 10:17:23,764 - DEBUG - VM ctest-TestBasicPolicy-12310156-70694767 ID is af9bc02f-c69e-4229-8fd2-c5d7512cef7c 2025-10-09 10:17:23,764 - DEBUG - VM ctest-TestBasicPolicy-12310156-70694767 launched on Node cn-jenkins-deploy-platform-ansible-os-4257-1 2025-10-09 10:17:23,834 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/af9bc02f-c69e-4229-8fd2-c5d7512cef7c 2025-10-09 10:17:23,842 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/15e5d4a4-55da-4e9b-9058-d94da12e20b1 2025-10-09 10:17:25,079 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.934/3.459/1.524 ms') 2025-10-09 10:17:25,079 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-12310156-70694767 passed 2025-10-09 10:17:25,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:17:25,228 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12310156-70694767, IP 15.173.47.195, Port 22 2025-10-09 10:17:25,383 - DEBUG - VM ctest-TestBasicPolicy-12310156-70694767 is ready for SSH connections 2025-10-09 10:17:25,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:17:25,383 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.173.47.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 10:17:25,383 - DEBUG - ping -s 56 -c 3 -W 1 15.173.47.195 2025-10-09 10:17:29,079 - DEBUG - PING 15.173.47.195 (15.173.47.195): 56 data bytes 64 bytes from 15.173.47.195: seq=0 ttl=63 time=3.394 ms 64 bytes from 15.173.47.195: seq=1 ttl=63 time=1.032 ms 64 bytes from 15.173.47.195: seq=2 ttl=63 time=0.708 ms --- 15.173.47.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.708/1.711/3.394 ms 2025-10-09 10:17:29,079 - INFO - Ping to IP 15.173.47.195 from VM ctest-TestBasicPolicy-12310156-54532301 passed 2025-10-09 10:17:29,255 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0ca564fd-a485-44cc-82a2-405f579a69bc", "href": "http://10.0.0.254:8082/network-policy/0ca564fd-a485-44cc-82a2-405f579a69bc"}} 2025-10-09 10:17:29,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:17:29,256 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.173.47.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 10:17:29,256 - DEBUG - ping -s 56 -c 3 -W 1 15.173.47.195 2025-10-09 10:17:32,465 - DEBUG - PING 15.173.47.195 (15.173.47.195): 56 data bytes --- 15.173.47.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 10:17:32,465 - WARNING - Ping to IP 15.173.47.195 from VM ctest-TestBasicPolicy-12310156-54532301 failed 2025-10-09 10:17:32,465 - INFO - Deleting VM ctest-TestBasicPolicy-12310156-70694767 2025-10-09 10:17:32,525 - INFO - Deleting VM ctest-TestBasicPolicy-12310156-54532301 2025-10-09 10:17:32,862 - INFO - Deleted policy ctest-policy-allow-all-47611518 2025-10-09 10:17:32,862 - INFO - Deleting VN ctest-vn-79858790 2025-10-09 10:17:32,893 - DEBUG - VN 92020100-6af9-41e1-8249-e4f5f9484888 still in use: Unable to complete operation on network 92020100-6af9-41e1-8249-e4f5f9484888. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b1e1d7f3-7d53-47c7-8851-a1a5abeb01ff'] 2025-10-09 10:17:32,893 - WARNING - Deleting VN ctest-vn-79858790 failed..Will retry 2025-10-09 10:17:34,981 - DEBUG - Response for deleting network () 2025-10-09 10:17:34,981 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/14c826f7-4802-4e65-9150-e661a700b52b 2025-10-09 10:17:34,990 - DEBUG - Response Code: 404 2025-10-09 10:17:34,990 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 10:17:34,995 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b5735784-5c9e-40e3-941b-afdf134fe1dd 2025-10-09 10:17:35,053 - DEBUG - Requesting: http://10.0.0.254:8082/project/b92e9395-2da7-4da5-9829-89913d947024 2025-10-09 10:17:35,121 - INFO - Validated that VN ctest-vn-79858790 is not found in API Server 2025-10-09 10:17:35,129 - DEBUG - VN ctest-vn-79858790 is not present in Agent 10.0.0.254 2025-10-09 10:17:35,129 - INFO - Validated that VN ctest-vn-79858790 is not in any agent 2025-10-09 10:17:35,141 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79858790 info 2025-10-09 10:17:35,142 - INFO - Deleting VN ctest-vn-47956521 2025-10-09 10:17:35,248 - DEBUG - Response for deleting network () 2025-10-09 10:17:35,248 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/efe810fe-d0e7-46fa-aed0-b148b4a89a4a 2025-10-09 10:17:35,253 - DEBUG - Response Code: 404 2025-10-09 10:17:35,253 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 10:17:35,257 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b5735784-5c9e-40e3-941b-afdf134fe1dd 2025-10-09 10:17:35,309 - DEBUG - Requesting: http://10.0.0.254:8082/project/b92e9395-2da7-4da5-9829-89913d947024 2025-10-09 10:17:35,378 - INFO - Validated that VN ctest-vn-47956521 is not found in API Server 2025-10-09 10:17:35,386 - DEBUG - VN ctest-vn-47956521 is not present in Agent 10.0.0.254 2025-10-09 10:17:35,386 - INFO - Validated that VN ctest-vn-47956521 is not in any agent 2025-10-09 10:17:35,398 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47956521 info 2025-10-09 10:17:35,657 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 10:17:35,657 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-09 10:17:35,657 - INFO - -------------------------------------------------------------------------------- 2025-10-09 10:17:36,304 - INFO - Deleted project: ctest-TestBasicPolicy-12310156, ID : b92e9395-2da7-4da5-9829-89913d947024