2025-10-17 14:51:54,643 - INFO - Domain Default found not creating 2025-10-17 14:51:54,840 - INFO - Project ctest-TestBasicPolicy-10282845 not found, creating it 2025-10-17 14:51:55,366 - INFO - Created Project:ctest-TestBasicPolicy-10282845, ID : 682443bc-4775-4ee9-a329-e6c7d31b8dfe 2025-10-17 14:51:56,940 - INFO - ================================================================================ 2025-10-17 14:51:56,940 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-17 14:51:56,940 - 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-17 14:51:57,199 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-17 14:51:57,199 - INFO - Initial checks done. Running the testcase now 2025-10-17 14:51:57,199 - INFO - 2025-10-17 14:51:57,840 - DEBUG - Response for create_network : {'network': {'id': '45414321-ae44-4e48-9527-a013ad10dbfe', 'name': 'ctest-vn-65651294', 'tenant_id': '682443bc47754ee9a329e6c7d31b8dfe', 'project_id': '682443bc47754ee9a329e6c7d31b8dfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-vn-65651294'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 14:51:58,059 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eeb9eb40-ac39-46cb-b4fe-5899b0794ce6', 'name': '', 'tenant_id': '682443bc47754ee9a329e6c7d31b8dfe', 'network_id': '45414321-ae44-4e48-9527-a013ad10dbfe', 'ip_version': 4, 'cidr': '7.79.130.128/26', 'allocation_pools': [{'start': '7.79.130.130', 'end': '7.79.130.190'}], 'gateway_ip': '7.79.130.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.79.130.130', 'tags': [], 'project_id': '682443bc47754ee9a329e6c7d31b8dfe'}} 2025-10-17 14:51:58,081 - INFO - Created VN ctest-vn-65651294 2025-10-17 14:51:58,133 - DEBUG - VN ctest-vn-65651294 UUID is 45414321-ae44-4e48-9527-a013ad10dbfe 2025-10-17 14:51:58,469 - DEBUG - Response for create_network : {'network': {'id': 'da73342d-7410-4eb6-b436-0962d19a1765', 'name': 'ctest-vn-22033447', 'tenant_id': '682443bc47754ee9a329e6c7d31b8dfe', 'project_id': '682443bc47754ee9a329e6c7d31b8dfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-vn-22033447'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 14:51:58,709 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a26d9e7e-0653-46e5-80c4-4732f24f8498', 'name': '', 'tenant_id': '682443bc47754ee9a329e6c7d31b8dfe', 'network_id': 'da73342d-7410-4eb6-b436-0962d19a1765', 'ip_version': 4, 'cidr': '204.11.182.0/26', 'allocation_pools': [{'start': '204.11.182.2', 'end': '204.11.182.62'}], 'gateway_ip': '204.11.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.11.182.2', 'tags': [], 'project_id': '682443bc47754ee9a329e6c7d31b8dfe'}} 2025-10-17 14:51:58,728 - INFO - Created VN ctest-vn-22033447 2025-10-17 14:51:58,781 - DEBUG - VN ctest-vn-22033447 UUID is da73342d-7410-4eb6-b436-0962d19a1765 2025-10-17 14:51:58,991 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-65651294, 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-10282845:ctest-vn-22033447, 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-17 14:51:59,307 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45414321-ae44-4e48-9527-a013ad10dbfe', 'name': 'ctest-vn-65651294', 'tenant_id': '682443bc47754ee9a329e6c7d31b8dfe', 'project_id': '682443bc47754ee9a329e6c7d31b8dfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eeb9eb40-ac39-46cb-b4fe-5899b0794ce6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-vn-65651294'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-policy-allow-all-63921157']], 'subnet_ipam': [{'subnet_cidr': '7.79.130.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-17 14:51:59,548 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'da73342d-7410-4eb6-b436-0962d19a1765', 'name': 'ctest-vn-22033447', 'tenant_id': '682443bc47754ee9a329e6c7d31b8dfe', 'project_id': '682443bc47754ee9a329e6c7d31b8dfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a26d9e7e-0653-46e5-80c4-4732f24f8498'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-vn-22033447'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-policy-allow-all-63921157']], 'subnet_ipam': [{'subnet_cidr': '204.11.182.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-17 14:51:59,717 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-17 14:52:00,013 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-17 14:52:00,048 - DEBUG - Requesting: http://10.0.0.27:8082/domain/da97a087-a5fb-4a5d-9986-422ab5ef3221 2025-10-17 14:52:00,061 - DEBUG - Requesting: http://10.0.0.27:8082/project/682443bc-4775-4ee9-a329-e6c7d31b8dfe 2025-10-17 14:52:00,142 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/45414321-ae44-4e48-9527-a013ad10dbfe 2025-10-17 14:52:00,154 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/45414321-ae44-4e48-9527-a013ad10dbfe 2025-10-17 14:52:00,165 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e9b189fd-5b8d-4857-85d2-549841db4940 2025-10-17 14:52:00,173 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e9b189fd-5b8d-4857-85d2-549841db4940 2025-10-17 14:52:00,181 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/6e2bd717-2932-4de6-82c0-6c997785fda8 2025-10-17 14:52:00,189 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-17 14:52:00,189 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/45414321-ae44-4e48-9527-a013ad10dbfe 2025-10-17 14:52:00,198 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e9b189fd-5b8d-4857-85d2-549841db4940 2025-10-17 14:52:00,215 - INFO - Verified VN network id 11 for VN 45414321-ae44-4e48-9527-a013ad10dbfe 2025-10-17 14:52:00,215 - INFO - Verifications in API Server for VN ctest-vn-65651294 passed 2025-10-17 14:52:00,216 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/45414321-ae44-4e48-9527-a013ad10dbfe 2025-10-17 14:52:00,226 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e9b189fd-5b8d-4857-85d2-549841db4940 2025-10-17 14:52:00,235 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e9b189fd-5b8d-4857-85d2-549841db4940 2025-10-17 14:52:00,243 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/6e2bd717-2932-4de6-82c0-6c997785fda8 2025-10-17 14:52:00,261 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-65651294', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10282845', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4990343674039914056', 'uuid-lslong': '10747735042111364094'}, 'enable': 'true', 'created': '2025-10-17T14:51:57', 'last-modified': '2025-10-17T14:51:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.971510'} 2025-10-17 14:52:00,271 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-17 14:52:00,271 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65651294 passed 2025-10-17 14:52:00,272 - DEBUG - ====Verifying policy data for ctest-vn-65651294 in API_Server ====== 2025-10-17 14:52:00,272 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-17 14:52:00,280 - DEBUG - Requesting: http://10.0.0.27:8082/domain/da97a087-a5fb-4a5d-9986-422ab5ef3221 2025-10-17 14:52:00,295 - DEBUG - Requesting: http://10.0.0.27:8082/project/682443bc-4775-4ee9-a329-e6c7d31b8dfe 2025-10-17 14:52:00,374 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/45414321-ae44-4e48-9527-a013ad10dbfe 2025-10-17 14:52:00,386 - DEBUG - ==>Verifying data for policy with id: c6440283-83da-4e8b-ae85-772a15a81b1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-policy-allow-all-63921157'] 2025-10-17 14:52:00,386 - INFO - VN ctest-vn-65651294 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-17 14:52:00,386 - DEBUG - Verifying the vn in opserver 2025-10-17 14:52:00,386 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-65651294 virtual network link through opserver 10.0.0.27 2025-10-17 14:52:00,386 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-17 14:52:00,683 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-17 14:52:00,753 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-65651294', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-65651294?flat'} 2025-10-17 14:52:00,753 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-65651294 is found in opserver 2025-10-17 14:52:00,763 - DEBUG - Do not have enough data to verify VN in agent 2025-10-17 14:52:00,769 - DEBUG - VRF ids for VN ctest-vn-65651294: {} 2025-10-17 14:52:00,769 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-17 14:52:00,775 - DEBUG - Requesting: http://10.0.0.27:8082/domain/da97a087-a5fb-4a5d-9986-422ab5ef3221 2025-10-17 14:52:00,787 - DEBUG - Requesting: http://10.0.0.27:8082/project/682443bc-4775-4ee9-a329-e6c7d31b8dfe 2025-10-17 14:52:00,869 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/da73342d-7410-4eb6-b436-0962d19a1765 2025-10-17 14:52:00,885 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/da73342d-7410-4eb6-b436-0962d19a1765 2025-10-17 14:52:00,898 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/de3dc6bf-814b-4d9a-b139-1b0bc51b34b3 2025-10-17 14:52:00,909 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/de3dc6bf-814b-4d9a-b139-1b0bc51b34b3 2025-10-17 14:52:00,921 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/7fb2b854-bdac-4f0c-afeb-bfcbe2735e35 2025-10-17 14:52:00,933 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-17 14:52:00,934 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/da73342d-7410-4eb6-b436-0962d19a1765 2025-10-17 14:52:00,947 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/de3dc6bf-814b-4d9a-b139-1b0bc51b34b3 2025-10-17 14:52:00,968 - INFO - Verified VN network id 12 for VN da73342d-7410-4eb6-b436-0962d19a1765 2025-10-17 14:52:00,969 - INFO - Verifications in API Server for VN ctest-vn-22033447 passed 2025-10-17 14:52:00,969 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/da73342d-7410-4eb6-b436-0962d19a1765 2025-10-17 14:52:00,980 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/de3dc6bf-814b-4d9a-b139-1b0bc51b34b3 2025-10-17 14:52:00,989 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/de3dc6bf-814b-4d9a-b139-1b0bc51b34b3 2025-10-17 14:52:00,999 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/7fb2b854-bdac-4f0c-afeb-bfcbe2735e35 2025-10-17 14:52:01,014 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-22033447', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10282845', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15740982492415413942', 'uuid-lslong': '12985576895597385573'}, 'enable': 'true', 'created': '2025-10-17T14:51:58', 'last-modified': '2025-10-17T14:51:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.488661'} 2025-10-17 14:52:01,021 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-17 14:52:01,021 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22033447 passed 2025-10-17 14:52:01,021 - DEBUG - ====Verifying policy data for ctest-vn-22033447 in API_Server ====== 2025-10-17 14:52:01,021 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-17 14:52:01,028 - DEBUG - Requesting: http://10.0.0.27:8082/domain/da97a087-a5fb-4a5d-9986-422ab5ef3221 2025-10-17 14:52:01,044 - DEBUG - Requesting: http://10.0.0.27:8082/project/682443bc-4775-4ee9-a329-e6c7d31b8dfe 2025-10-17 14:52:01,121 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/da73342d-7410-4eb6-b436-0962d19a1765 2025-10-17 14:52:01,132 - DEBUG - ==>Verifying data for policy with id: c6440283-83da-4e8b-ae85-772a15a81b1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-10282845', 'ctest-policy-allow-all-63921157'] 2025-10-17 14:52:01,132 - INFO - VN ctest-vn-22033447 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-17 14:52:01,132 - DEBUG - Verifying the vn in opserver 2025-10-17 14:52:01,132 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-22033447 virtual network link through opserver 10.0.0.27 2025-10-17 14:52:01,132 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-17 14:52:01,143 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-22033447', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-22033447?flat'} 2025-10-17 14:52:01,143 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-22033447 is found in opserver 2025-10-17 14:52:01,153 - DEBUG - Do not have enough data to verify VN in agent 2025-10-17 14:52:01,158 - DEBUG - VRF ids for VN ctest-vn-22033447: {} 2025-10-17 14:52:01,230 - DEBUG - Services list from nova: [, , ] 2025-10-17 14:52:02,327 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4355-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4355-1) 2025-10-17 14:52:03,618 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4355-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4355-1) 2025-10-17 14:52:03,619 - INFO - Waiting for VM ctest-TestBasicPolicy-10282845-92463258 to be up.. 2025-10-17 14:52:03,743 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 14:52:08,845 - DEBUG - VM is in ACTIVE state now 2025-10-17 14:52:08,845 - INFO - VM name : ctest-TestBasicPolicy-10282845-92463258 2025-10-17 14:52:08,936 - DEBUG - VM ctest-TestBasicPolicy-10282845-92463258 ID is 59ed906e-8605-4282-b975-116d96b81bff 2025-10-17 14:52:08,957 - DEBUG - VM ctest-TestBasicPolicy-10282845-92463258 launched on Node cn-jenkins-deploy-platform-ansible-os-4355-1 2025-10-17 14:52:09,052 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/59ed906e-8605-4282-b975-116d96b81bff 2025-10-17 14:52:09,063 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/2c19e545-1d92-4244-a581-9659c2e1e6aa 2025-10-17 14:52:12,344 - 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 1025ms') 2025-10-17 14:52:12,345 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10282845-92463258 failed! 2025-10-17 14:52:12,401 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10282845:ctest-vn-65651294 is 7.79.130.129 and allocation pool is NOT set 2025-10-17 14:52:14,465 - 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=0.554 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.554/3.720/6.886/3.166 ms') 2025-10-17 14:52:14,465 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10282845-92463258 passed 2025-10-17 14:52:14,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 14:52:14,622 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10282845-92463258, IP 7.79.130.131, Port 22 2025-10-17 14:52:14,791 - DEBUG - VM ctest-TestBasicPolicy-10282845-92463258 is ready for SSH connections 2025-10-17 14:52:14,791 - INFO - Waiting for VM ctest-TestBasicPolicy-10282845-39940013 to be up.. 2025-10-17 14:52:14,895 - DEBUG - VM is in ACTIVE state now 2025-10-17 14:52:14,896 - INFO - VM name : ctest-TestBasicPolicy-10282845-39940013 2025-10-17 14:52:15,001 - DEBUG - VM ctest-TestBasicPolicy-10282845-39940013 ID is 10346c56-38d1-444a-95f0-934abb11448b 2025-10-17 14:52:15,001 - DEBUG - VM ctest-TestBasicPolicy-10282845-39940013 launched on Node cn-jenkins-deploy-platform-ansible-os-4355-1 2025-10-17 14:52:15,111 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/10346c56-38d1-444a-95f0-934abb11448b 2025-10-17 14:52:15,121 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/fddddc08-ec60-40e8-8550-06597b4ae48c 2025-10-17 14:52:16,385 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.21 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 = 2.210/3.383/4.557/1.173 ms') 2025-10-17 14:52:16,385 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10282845-39940013 passed 2025-10-17 14:52:16,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 14:52:16,542 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10282845-39940013, IP 204.11.182.3, Port 22 2025-10-17 14:52:16,705 - DEBUG - VM ctest-TestBasicPolicy-10282845-39940013 is ready for SSH connections 2025-10-17 14:52:16,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 14:52:16,706 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.11.182.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-17 14:52:16,706 - DEBUG - ping -s 56 -c 3 -W 1 204.11.182.3 2025-10-17 14:52:20,949 - DEBUG - PING 204.11.182.3 (204.11.182.3): 56 data bytes 64 bytes from 204.11.182.3: seq=0 ttl=63 time=4.121 ms 64 bytes from 204.11.182.3: seq=1 ttl=63 time=1.114 ms 64 bytes from 204.11.182.3: seq=2 ttl=63 time=1.052 ms --- 204.11.182.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.052/2.095/4.121 ms 2025-10-17 14:52:20,950 - INFO - Ping to IP 204.11.182.3 from VM ctest-TestBasicPolicy-10282845-92463258 passed 2025-10-17 14:52:21,141 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c6440283-83da-4e8b-ae85-772a15a81b1f", "href": "http://10.0.0.27:8082/network-policy/c6440283-83da-4e8b-ae85-772a15a81b1f"}} 2025-10-17 14:52:21,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 14:52:21,141 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.11.182.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-17 14:52:21,141 - DEBUG - ping -s 56 -c 3 -W 1 204.11.182.3 2025-10-17 14:52:24,368 - DEBUG - PING 204.11.182.3 (204.11.182.3): 56 data bytes --- 204.11.182.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-17 14:52:24,368 - WARNING - Ping to IP 204.11.182.3 from VM ctest-TestBasicPolicy-10282845-92463258 failed 2025-10-17 14:52:24,368 - INFO - Deleting VM ctest-TestBasicPolicy-10282845-39940013 2025-10-17 14:52:24,447 - INFO - Deleting VM ctest-TestBasicPolicy-10282845-92463258 2025-10-17 14:52:24,932 - INFO - Deleted policy ctest-policy-allow-all-63921157 2025-10-17 14:52:24,932 - INFO - Deleting VN ctest-vn-22033447 2025-10-17 14:52:24,978 - DEBUG - VN da73342d-7410-4eb6-b436-0962d19a1765 still in use: Unable to complete operation on network da73342d-7410-4eb6-b436-0962d19a1765. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9348f23a-119b-4ac6-8e8e-cbb8f8a96ae3'] 2025-10-17 14:52:24,978 - WARNING - Deleting VN ctest-vn-22033447 failed..Will retry 2025-10-17 14:52:27,112 - DEBUG - Response for deleting network () 2025-10-17 14:52:27,112 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/de3dc6bf-814b-4d9a-b139-1b0bc51b34b3 2025-10-17 14:52:27,120 - DEBUG - Response Code: 404 2025-10-17 14:52:27,120 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-17 14:52:27,130 - DEBUG - Requesting: http://10.0.0.27:8082/domain/da97a087-a5fb-4a5d-9986-422ab5ef3221 2025-10-17 14:52:27,188 - DEBUG - Requesting: http://10.0.0.27:8082/project/682443bc-4775-4ee9-a329-e6c7d31b8dfe 2025-10-17 14:52:27,266 - INFO - Validated that VN ctest-vn-22033447 is not found in API Server 2025-10-17 14:52:27,278 - DEBUG - VN ctest-vn-22033447 is not present in Agent 10.0.0.27 2025-10-17 14:52:27,278 - INFO - Validated that VN ctest-vn-22033447 is not in any agent 2025-10-17 14:52:27,296 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22033447 info 2025-10-17 14:52:27,297 - INFO - Deleting VN ctest-vn-65651294 2025-10-17 14:52:27,444 - DEBUG - Response for deleting network () 2025-10-17 14:52:27,444 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e9b189fd-5b8d-4857-85d2-549841db4940 2025-10-17 14:52:27,450 - DEBUG - Response Code: 404 2025-10-17 14:52:27,451 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-17 14:52:27,457 - DEBUG - Requesting: http://10.0.0.27:8082/domain/da97a087-a5fb-4a5d-9986-422ab5ef3221 2025-10-17 14:52:27,519 - DEBUG - Requesting: http://10.0.0.27:8082/project/682443bc-4775-4ee9-a329-e6c7d31b8dfe 2025-10-17 14:52:27,602 - INFO - Validated that VN ctest-vn-65651294 is not found in API Server 2025-10-17 14:52:27,614 - DEBUG - VN ctest-vn-65651294 is not present in Agent 10.0.0.27 2025-10-17 14:52:27,614 - INFO - Validated that VN ctest-vn-65651294 is not in any agent 2025-10-17 14:52:27,636 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65651294 info 2025-10-17 14:52:27,907 - DEBUG - No XMPP flaps were noticed during the test 2025-10-17 14:52:27,907 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-10-17 14:52:27,907 - INFO - -------------------------------------------------------------------------------- 2025-10-17 14:52:28,704 - INFO - Deleted project: ctest-TestBasicPolicy-10282845, ID : 682443bc-4775-4ee9-a329-e6c7d31b8dfe