2025-08-07 02:17:37,028 - INFO - Domain Default found not creating 2025-08-07 02:17:37,173 - INFO - Project ctest-TestBasicPolicy-83587108 not found, creating it 2025-08-07 02:17:37,641 - INFO - Created Project:ctest-TestBasicPolicy-83587108, ID : f06e820d-5a7b-49df-a279-6192f491a158 2025-08-07 02:17:39,250 - INFO - ================================================================================ 2025-08-07 02:17:39,250 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-07 02:17:39,250 - 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-08-07 02:17:39,506 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.18': '0'}} with 2025-08-07 02:17:39,506 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:17:39,506 - INFO - 2025-08-07 02:17:40,096 - DEBUG - Response for create_network : {'network': {'id': '4885799b-d582-44ce-bf96-a081f6219da5', 'name': 'ctest-vn-22892622', 'tenant_id': 'f06e820d5a7b49dfa2796192f491a158', 'project_id': 'f06e820d5a7b49dfa2796192f491a158', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83587108', 'ctest-vn-22892622'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:17:40,263 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e6d5847-b3cb-445a-a0b7-6b2b89f827f0', 'name': '', 'tenant_id': 'f06e820d5a7b49dfa2796192f491a158', 'network_id': '4885799b-d582-44ce-bf96-a081f6219da5', 'ip_version': 4, 'cidr': '219.24.140.192/26', 'allocation_pools': [{'start': '219.24.140.194', 'end': '219.24.140.254'}], 'gateway_ip': '219.24.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.24.140.194', 'tags': [], 'project_id': 'f06e820d5a7b49dfa2796192f491a158'}} 2025-08-07 02:17:40,284 - INFO - Created VN ctest-vn-22892622 2025-08-07 02:17:40,339 - DEBUG - VN ctest-vn-22892622 UUID is 4885799b-d582-44ce-bf96-a081f6219da5 2025-08-07 02:17:40,636 - DEBUG - Response for create_network : {'network': {'id': '15b6712b-05e2-4c69-a836-048987fb79ce', 'name': 'ctest-vn-44445801', 'tenant_id': 'f06e820d5a7b49dfa2796192f491a158', 'project_id': 'f06e820d5a7b49dfa2796192f491a158', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83587108', 'ctest-vn-44445801'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:17:40,800 - DEBUG - Response for create_subnet : {'subnet': {'id': '74c36a51-41fa-417f-9336-6b801640ef80', 'name': '', 'tenant_id': 'f06e820d5a7b49dfa2796192f491a158', 'network_id': '15b6712b-05e2-4c69-a836-048987fb79ce', 'ip_version': 4, 'cidr': '40.59.7.0/26', 'allocation_pools': [{'start': '40.59.7.2', 'end': '40.59.7.62'}], 'gateway_ip': '40.59.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.59.7.2', 'tags': [], 'project_id': 'f06e820d5a7b49dfa2796192f491a158'}} 2025-08-07 02:17:40,819 - INFO - Created VN ctest-vn-44445801 2025-08-07 02:17:40,875 - DEBUG - VN ctest-vn-44445801 UUID is 15b6712b-05e2-4c69-a836-048987fb79ce 2025-08-07 02:17:41,001 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83587108:ctest-vn-22892622, 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-83587108:ctest-vn-44445801, 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-08-07 02:17:41,317 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4885799b-d582-44ce-bf96-a081f6219da5', 'name': 'ctest-vn-22892622', 'tenant_id': 'f06e820d5a7b49dfa2796192f491a158', 'project_id': 'f06e820d5a7b49dfa2796192f491a158', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3e6d5847-b3cb-445a-a0b7-6b2b89f827f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83587108', 'ctest-vn-22892622'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83587108', 'ctest-policy-allow-all-79772668']], 'subnet_ipam': [{'subnet_cidr': '219.24.140.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:17:41,558 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '15b6712b-05e2-4c69-a836-048987fb79ce', 'name': 'ctest-vn-44445801', 'tenant_id': 'f06e820d5a7b49dfa2796192f491a158', 'project_id': 'f06e820d5a7b49dfa2796192f491a158', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['74c36a51-41fa-417f-9336-6b801640ef80'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83587108', 'ctest-vn-44445801'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83587108', 'ctest-policy-allow-all-79772668']], 'subnet_ipam': [{'subnet_cidr': '40.59.7.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:17:41,708 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-08-07 02:17:42,043 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-08-07 02:17:42,074 - DEBUG - Requesting: http://10.0.0.131:8082/domain/38adb3fa-9213-48c4-ae9c-2e92b1e50df9 2025-08-07 02:17:42,090 - DEBUG - Requesting: http://10.0.0.131:8082/project/f06e820d-5a7b-49df-a279-6192f491a158 2025-08-07 02:17:42,167 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4885799b-d582-44ce-bf96-a081f6219da5 2025-08-07 02:17:42,179 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4885799b-d582-44ce-bf96-a081f6219da5 2025-08-07 02:17:42,189 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/14ddc8be-29a3-4d46-b410-b6ca170d4568 2025-08-07 02:17:42,198 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/14ddc8be-29a3-4d46-b410-b6ca170d4568 2025-08-07 02:17:42,206 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/7033a534-8afc-42d3-a7f6-a883fa22996e 2025-08-07 02:17:42,213 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 02:17:42,213 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4885799b-d582-44ce-bf96-a081f6219da5 2025-08-07 02:17:42,226 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/14ddc8be-29a3-4d46-b410-b6ca170d4568 2025-08-07 02:17:42,244 - INFO - Verified VN network id 11 for VN 4885799b-d582-44ce-bf96-a081f6219da5 2025-08-07 02:17:42,244 - INFO - Verifications in API Server for VN ctest-vn-22892622 passed 2025-08-07 02:17:42,244 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4885799b-d582-44ce-bf96-a081f6219da5 2025-08-07 02:17:42,256 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/14ddc8be-29a3-4d46-b410-b6ca170d4568 2025-08-07 02:17:42,264 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/14ddc8be-29a3-4d46-b410-b6ca170d4568 2025-08-07 02:17:42,272 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/7033a534-8afc-42d3-a7f6-a883fa22996e 2025-08-07 02:17:42,286 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83587108:ctest-vn-22892622', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83587108', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5225716652842304718', 'uuid-lslong': '13805398187791457701'}, 'enable': 'true', 'created': '2025-08-07T02:17:40', 'last-modified': '2025-08-07T02:17:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.990964'} 2025-08-07 02:17:42,293 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 02:17:42,293 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22892622 passed 2025-08-07 02:17:42,293 - DEBUG - ====Verifying policy data for ctest-vn-22892622 in API_Server ====== 2025-08-07 02:17:42,293 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-08-07 02:17:42,299 - DEBUG - Requesting: http://10.0.0.131:8082/domain/38adb3fa-9213-48c4-ae9c-2e92b1e50df9 2025-08-07 02:17:42,313 - DEBUG - Requesting: http://10.0.0.131:8082/project/f06e820d-5a7b-49df-a279-6192f491a158 2025-08-07 02:17:42,388 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4885799b-d582-44ce-bf96-a081f6219da5 2025-08-07 02:17:42,401 - DEBUG - ==>Verifying data for policy with id: 09c82ed9-dcd3-47e7-9678-737817069198, fqn: ['default-domain', 'ctest-TestBasicPolicy-83587108', 'ctest-policy-allow-all-79772668'] 2025-08-07 02:17:42,401 - INFO - VN ctest-vn-22892622 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-07 02:17:42,401 - DEBUG - Verifying the vn in opserver 2025-08-07 02:17:42,401 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83587108:ctest-vn-22892622 virtual network link through opserver 10.0.0.131 2025-08-07 02:17:42,402 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-08-07 02:17:42,735 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-08-07 02:17:42,791 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83587108:ctest-vn-22892622', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83587108:ctest-vn-22892622?flat'} 2025-08-07 02:17:42,791 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83587108:ctest-vn-22892622 is found in opserver 2025-08-07 02:17:42,803 - DEBUG - Do not have enough data to verify VN in agent 2025-08-07 02:17:42,810 - DEBUG - VRF ids for VN ctest-vn-22892622: {} 2025-08-07 02:17:42,810 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-08-07 02:17:42,816 - DEBUG - Requesting: http://10.0.0.131:8082/domain/38adb3fa-9213-48c4-ae9c-2e92b1e50df9 2025-08-07 02:17:42,828 - DEBUG - Requesting: http://10.0.0.131:8082/project/f06e820d-5a7b-49df-a279-6192f491a158 2025-08-07 02:17:42,901 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/15b6712b-05e2-4c69-a836-048987fb79ce 2025-08-07 02:17:42,916 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/15b6712b-05e2-4c69-a836-048987fb79ce 2025-08-07 02:17:42,926 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/1adf39d2-22d9-49c6-8627-2e6d008a873f 2025-08-07 02:17:42,935 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/1adf39d2-22d9-49c6-8627-2e6d008a873f 2025-08-07 02:17:42,943 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/00e6f6a9-3856-46e1-a7e5-825919f40ac3 2025-08-07 02:17:42,950 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-07 02:17:42,951 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/15b6712b-05e2-4c69-a836-048987fb79ce 2025-08-07 02:17:42,961 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/1adf39d2-22d9-49c6-8627-2e6d008a873f 2025-08-07 02:17:42,977 - INFO - Verified VN network id 12 for VN 15b6712b-05e2-4c69-a836-048987fb79ce 2025-08-07 02:17:42,977 - INFO - Verifications in API Server for VN ctest-vn-44445801 passed 2025-08-07 02:17:42,977 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/15b6712b-05e2-4c69-a836-048987fb79ce 2025-08-07 02:17:42,988 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/1adf39d2-22d9-49c6-8627-2e6d008a873f 2025-08-07 02:17:42,996 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/1adf39d2-22d9-49c6-8627-2e6d008a873f 2025-08-07 02:17:43,004 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/00e6f6a9-3856-46e1-a7e5-825919f40ac3 2025-08-07 02:17:43,019 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83587108:ctest-vn-44445801', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83587108', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1564562350154075241', 'uuid-lslong': '12120880435852704206'}, 'enable': 'true', 'created': '2025-08-07T02:17:40', 'last-modified': '2025-08-07T02:17:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.484652'} 2025-08-07 02:17:43,026 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-07 02:17:43,026 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44445801 passed 2025-08-07 02:17:43,027 - DEBUG - ====Verifying policy data for ctest-vn-44445801 in API_Server ====== 2025-08-07 02:17:43,027 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-08-07 02:17:43,034 - DEBUG - Requesting: http://10.0.0.131:8082/domain/38adb3fa-9213-48c4-ae9c-2e92b1e50df9 2025-08-07 02:17:43,048 - DEBUG - Requesting: http://10.0.0.131:8082/project/f06e820d-5a7b-49df-a279-6192f491a158 2025-08-07 02:17:43,123 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/15b6712b-05e2-4c69-a836-048987fb79ce 2025-08-07 02:17:43,135 - DEBUG - ==>Verifying data for policy with id: 09c82ed9-dcd3-47e7-9678-737817069198, fqn: ['default-domain', 'ctest-TestBasicPolicy-83587108', 'ctest-policy-allow-all-79772668'] 2025-08-07 02:17:43,136 - INFO - VN ctest-vn-44445801 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-07 02:17:43,136 - DEBUG - Verifying the vn in opserver 2025-08-07 02:17:43,136 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83587108:ctest-vn-44445801 virtual network link through opserver 10.0.0.131 2025-08-07 02:17:43,136 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-08-07 02:17:43,147 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83587108:ctest-vn-44445801', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83587108:ctest-vn-44445801?flat'} 2025-08-07 02:17:43,147 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83587108:ctest-vn-44445801 is found in opserver 2025-08-07 02:17:43,160 - DEBUG - Do not have enough data to verify VN in agent 2025-08-07 02:17:43,165 - DEBUG - VRF ids for VN ctest-vn-44445801: {} 2025-08-07 02:17:43,225 - DEBUG - Services list from nova: [, , ] 2025-08-07 02:17:44,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3768-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3768-1) 2025-08-07 02:17:45,592 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3768-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3768-1) 2025-08-07 02:17:45,592 - INFO - Waiting for VM ctest-TestBasicPolicy-83587108-21017397 to be up.. 2025-08-07 02:17:45,678 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:17:50,765 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:17:50,766 - INFO - VM name : ctest-TestBasicPolicy-83587108-21017397 2025-08-07 02:17:50,854 - DEBUG - VM ctest-TestBasicPolicy-83587108-21017397 ID is 1abe15c7-5588-4c31-9089-e1cc38dea9f5 2025-08-07 02:17:50,874 - DEBUG - VM ctest-TestBasicPolicy-83587108-21017397 launched on Node cn-jenkins-deploy-platform-ansible-os-3768-1 2025-08-07 02:17:50,956 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/1abe15c7-5588-4c31-9089-e1cc38dea9f5 2025-08-07 02:17:50,966 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/464bab74-d733-4595-891c-ce007d969ba3 2025-08-07 02:17:54,233 - 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 1018ms') 2025-08-07 02:17:54,233 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83587108-21017397 failed! 2025-08-07 02:17:54,288 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-83587108:ctest-vn-22892622 is 219.24.140.193 and allocation pool is NOT set 2025-08-07 02:17:56,353 - 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=5.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.369 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.369/3.047/5.725/2.678 ms') 2025-08-07 02:17:56,354 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83587108-21017397 passed 2025-08-07 02:17:56,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:17:56,508 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83587108-21017397, IP 219.24.140.195, Port 22 2025-08-07 02:17:56,663 - DEBUG - VM ctest-TestBasicPolicy-83587108-21017397 is ready for SSH connections 2025-08-07 02:17:56,663 - INFO - Waiting for VM ctest-TestBasicPolicy-83587108-26762376 to be up.. 2025-08-07 02:17:56,747 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:17:56,747 - INFO - VM name : ctest-TestBasicPolicy-83587108-26762376 2025-08-07 02:17:56,821 - DEBUG - VM ctest-TestBasicPolicy-83587108-26762376 ID is 949921b1-d06e-479f-95e8-0beaf6e413e3 2025-08-07 02:17:56,821 - DEBUG - VM ctest-TestBasicPolicy-83587108-26762376 launched on Node cn-jenkins-deploy-platform-ansible-os-3768-1 2025-08-07 02:17:56,899 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/949921b1-d06e-479f-95e8-0beaf6e413e3 2025-08-07 02:17:56,910 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/8567f688-11fb-4a69-8ceb-e18f95169951 2025-08-07 02:17:58,159 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.904 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.904/2.258/3.612/1.354 ms') 2025-08-07 02:17:58,159 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83587108-26762376 passed 2025-08-07 02:17:58,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:17:58,312 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83587108-26762376, IP 40.59.7.3, Port 22 2025-08-07 02:17:58,467 - DEBUG - VM ctest-TestBasicPolicy-83587108-26762376 is ready for SSH connections 2025-08-07 02:17:58,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:17:58,467 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.59.7.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-08-07 02:17:58,467 - DEBUG - ping -s 56 -c 3 -W 1 40.59.7.3 2025-08-07 02:18:02,578 - DEBUG - PING 40.59.7.3 (40.59.7.3): 56 data bytes 64 bytes from 40.59.7.3: seq=0 ttl=63 time=4.528 ms 64 bytes from 40.59.7.3: seq=1 ttl=63 time=0.817 ms 64 bytes from 40.59.7.3: seq=2 ttl=63 time=0.952 ms --- 40.59.7.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.817/2.099/4.528 ms 2025-08-07 02:18:02,578 - INFO - Ping to IP 40.59.7.3 from VM ctest-TestBasicPolicy-83587108-21017397 passed 2025-08-07 02:18:02,759 - DEBUG - Policy Update Response {"network-policy": {"uuid": "09c82ed9-dcd3-47e7-9678-737817069198", "href": "http://10.0.0.131:8082/network-policy/09c82ed9-dcd3-47e7-9678-737817069198"}} 2025-08-07 02:18:02,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:18:02,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.59.7.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-08-07 02:18:02,760 - DEBUG - ping -s 56 -c 3 -W 1 40.59.7.3 2025-08-07 02:18:05,989 - DEBUG - PING 40.59.7.3 (40.59.7.3): 56 data bytes --- 40.59.7.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 02:18:05,989 - WARNING - Ping to IP 40.59.7.3 from VM ctest-TestBasicPolicy-83587108-21017397 failed 2025-08-07 02:18:05,989 - INFO - Deleting VM ctest-TestBasicPolicy-83587108-26762376 2025-08-07 02:18:06,069 - INFO - Deleting VM ctest-TestBasicPolicy-83587108-21017397 2025-08-07 02:18:06,478 - INFO - Deleted policy ctest-policy-allow-all-79772668 2025-08-07 02:18:06,478 - INFO - Deleting VN ctest-vn-44445801 2025-08-07 02:18:06,520 - DEBUG - VN 15b6712b-05e2-4c69-a836-048987fb79ce still in use: Unable to complete operation on network 15b6712b-05e2-4c69-a836-048987fb79ce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81b081d0-0b6c-4980-8fad-46010c1f655c'] 2025-08-07 02:18:06,520 - WARNING - Deleting VN ctest-vn-44445801 failed..Will retry 2025-08-07 02:18:08,649 - DEBUG - Response for deleting network () 2025-08-07 02:18:08,649 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/1adf39d2-22d9-49c6-8627-2e6d008a873f 2025-08-07 02:18:08,658 - DEBUG - Response Code: 404 2025-08-07 02:18:08,658 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-08-07 02:18:08,672 - DEBUG - Requesting: http://10.0.0.131:8082/domain/38adb3fa-9213-48c4-ae9c-2e92b1e50df9 2025-08-07 02:18:08,731 - DEBUG - Requesting: http://10.0.0.131:8082/project/f06e820d-5a7b-49df-a279-6192f491a158 2025-08-07 02:18:08,817 - INFO - Validated that VN ctest-vn-44445801 is not found in API Server 2025-08-07 02:18:08,834 - DEBUG - VN ctest-vn-44445801 is not present in Agent 10.0.0.131 2025-08-07 02:18:08,834 - INFO - Validated that VN ctest-vn-44445801 is not in any agent 2025-08-07 02:18:08,854 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44445801 info 2025-08-07 02:18:08,854 - INFO - Deleting VN ctest-vn-22892622 2025-08-07 02:18:08,982 - DEBUG - Response for deleting network () 2025-08-07 02:18:08,983 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/14ddc8be-29a3-4d46-b410-b6ca170d4568 2025-08-07 02:18:08,990 - DEBUG - Response Code: 404 2025-08-07 02:18:08,990 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-08-07 02:18:09,002 - DEBUG - Requesting: http://10.0.0.131:8082/domain/38adb3fa-9213-48c4-ae9c-2e92b1e50df9 2025-08-07 02:18:09,058 - DEBUG - Requesting: http://10.0.0.131:8082/project/f06e820d-5a7b-49df-a279-6192f491a158 2025-08-07 02:18:09,144 - INFO - Validated that VN ctest-vn-22892622 is not found in API Server 2025-08-07 02:18:09,157 - DEBUG - VN ctest-vn-22892622 is not present in Agent 10.0.0.131 2025-08-07 02:18:09,157 - INFO - Validated that VN ctest-vn-22892622 is not in any agent 2025-08-07 02:18:09,175 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22892622 info 2025-08-07 02:18:09,433 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:18:09,433 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-07 02:18:09,434 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:18:10,161 - INFO - Deleted project: ctest-TestBasicPolicy-83587108, ID : f06e820d-5a7b-49df-a279-6192f491a158