2025-06-26 15:54:03,137 - INFO - Domain Default found not creating 2025-06-26 15:54:03,282 - INFO - Project ctest-TestBasicPolicy-35651471 not found, creating it 2025-06-26 15:54:03,732 - INFO - Created Project:ctest-TestBasicPolicy-35651471, ID : 223ed787-d897-4d93-a6a3-1884b1f67b1e 2025-06-26 15:54:05,190 - INFO - ================================================================================ 2025-06-26 15:54:05,191 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-26 15:54:05,191 - 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-06-26 15:54:05,449 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-06-26 15:54:05,449 - INFO - Initial checks done. Running the testcase now 2025-06-26 15:54:05,449 - INFO - 2025-06-26 15:54:05,998 - DEBUG - Response for create_network : {'network': {'id': '6f3729c7-ffdb-48cf-b853-513e41afd92e', 'name': 'ctest-vn-26607707', 'tenant_id': '223ed787d8974d93a6a31884b1f67b1e', 'project_id': '223ed787d8974d93a6a31884b1f67b1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35651471', 'ctest-vn-26607707'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 15:54:06,160 - DEBUG - Response for create_subnet : {'subnet': {'id': '2dbdd5a0-13b8-4e83-8ee1-a95c75fd7ed3', 'name': '', 'tenant_id': '223ed787d8974d93a6a31884b1f67b1e', 'network_id': '6f3729c7-ffdb-48cf-b853-513e41afd92e', 'ip_version': 4, 'cidr': '98.24.191.192/26', 'allocation_pools': [{'start': '98.24.191.194', 'end': '98.24.191.254'}], 'gateway_ip': '98.24.191.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.24.191.194', 'tags': [], 'project_id': '223ed787d8974d93a6a31884b1f67b1e'}} 2025-06-26 15:54:06,177 - INFO - Created VN ctest-vn-26607707 2025-06-26 15:54:06,228 - DEBUG - VN ctest-vn-26607707 UUID is 6f3729c7-ffdb-48cf-b853-513e41afd92e 2025-06-26 15:54:06,542 - DEBUG - Response for create_network : {'network': {'id': '92eaf61a-ae4f-4279-956b-741696d395d2', 'name': 'ctest-vn-15720316', 'tenant_id': '223ed787d8974d93a6a31884b1f67b1e', 'project_id': '223ed787d8974d93a6a31884b1f67b1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35651471', 'ctest-vn-15720316'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 15:54:06,703 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f7928c5-d1f9-48e9-8018-3c0521d06ee7', 'name': '', 'tenant_id': '223ed787d8974d93a6a31884b1f67b1e', 'network_id': '92eaf61a-ae4f-4279-956b-741696d395d2', 'ip_version': 4, 'cidr': '52.83.185.0/26', 'allocation_pools': [{'start': '52.83.185.2', 'end': '52.83.185.62'}], 'gateway_ip': '52.83.185.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.83.185.2', 'tags': [], 'project_id': '223ed787d8974d93a6a31884b1f67b1e'}} 2025-06-26 15:54:06,722 - INFO - Created VN ctest-vn-15720316 2025-06-26 15:54:06,776 - DEBUG - VN ctest-vn-15720316 UUID is 92eaf61a-ae4f-4279-956b-741696d395d2 2025-06-26 15:54:06,928 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35651471:ctest-vn-26607707, 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-35651471:ctest-vn-15720316, 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-06-26 15:54:07,246 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6f3729c7-ffdb-48cf-b853-513e41afd92e', 'name': 'ctest-vn-26607707', 'tenant_id': '223ed787d8974d93a6a31884b1f67b1e', 'project_id': '223ed787d8974d93a6a31884b1f67b1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2dbdd5a0-13b8-4e83-8ee1-a95c75fd7ed3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35651471', 'ctest-vn-26607707'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35651471', 'ctest-policy-allow-all-65201309']], 'subnet_ipam': [{'subnet_cidr': '98.24.191.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-26 15:54:07,460 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '92eaf61a-ae4f-4279-956b-741696d395d2', 'name': 'ctest-vn-15720316', 'tenant_id': '223ed787d8974d93a6a31884b1f67b1e', 'project_id': '223ed787d8974d93a6a31884b1f67b1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f7928c5-d1f9-48e9-8018-3c0521d06ee7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35651471', 'ctest-vn-15720316'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35651471', 'ctest-policy-allow-all-65201309']], 'subnet_ipam': [{'subnet_cidr': '52.83.185.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-26 15:54:07,632 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-26 15:54:07,925 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-26 15:54:07,963 - DEBUG - Requesting: http://10.0.0.254:8082/domain/47659c91-1037-4853-b108-ba5d6478cced 2025-06-26 15:54:07,977 - DEBUG - Requesting: http://10.0.0.254:8082/project/223ed787-d897-4d93-a6a3-1884b1f67b1e 2025-06-26 15:54:08,055 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6f3729c7-ffdb-48cf-b853-513e41afd92e 2025-06-26 15:54:08,065 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6f3729c7-ffdb-48cf-b853-513e41afd92e 2025-06-26 15:54:08,073 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0618975d-0873-4754-a74f-53df37980d81 2025-06-26 15:54:08,081 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0618975d-0873-4754-a74f-53df37980d81 2025-06-26 15:54:08,087 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1d5ff9f7-0f66-4d0d-a756-fcb6cf692408 2025-06-26 15:54:08,095 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-26 15:54:08,095 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6f3729c7-ffdb-48cf-b853-513e41afd92e 2025-06-26 15:54:08,105 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0618975d-0873-4754-a74f-53df37980d81 2025-06-26 15:54:08,121 - INFO - Verified VN network id 9 for VN 6f3729c7-ffdb-48cf-b853-513e41afd92e 2025-06-26 15:54:08,121 - INFO - Verifications in API Server for VN ctest-vn-26607707 passed 2025-06-26 15:54:08,121 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6f3729c7-ffdb-48cf-b853-513e41afd92e 2025-06-26 15:54:08,129 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0618975d-0873-4754-a74f-53df37980d81 2025-06-26 15:54:08,137 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0618975d-0873-4754-a74f-53df37980d81 2025-06-26 15:54:08,144 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1d5ff9f7-0f66-4d0d-a756-fcb6cf692408 2025-06-26 15:54:08,155 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35651471:ctest-vn-26607707', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35651471', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8013920000896878799', 'uuid-lslong': '13282049053877590318'}, 'enable': 'true', 'created': '2025-06-26T15:54:05', 'last-modified': '2025-06-26T15:54:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.921930'} 2025-06-26 15:54:08,161 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-26 15:54:08,162 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26607707 passed 2025-06-26 15:54:08,162 - DEBUG - ====Verifying policy data for ctest-vn-26607707 in API_Server ====== 2025-06-26 15:54:08,162 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-26 15:54:08,168 - DEBUG - Requesting: http://10.0.0.254:8082/domain/47659c91-1037-4853-b108-ba5d6478cced 2025-06-26 15:54:08,181 - DEBUG - Requesting: http://10.0.0.254:8082/project/223ed787-d897-4d93-a6a3-1884b1f67b1e 2025-06-26 15:54:08,252 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6f3729c7-ffdb-48cf-b853-513e41afd92e 2025-06-26 15:54:08,261 - DEBUG - ==>Verifying data for policy with id: 6a790269-a57b-4f3d-9c14-a03d3a6e8688, fqn: ['default-domain', 'ctest-TestBasicPolicy-35651471', 'ctest-policy-allow-all-65201309'] 2025-06-26 15:54:08,261 - INFO - VN ctest-vn-26607707 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-26 15:54:08,261 - DEBUG - Verifying the vn in opserver 2025-06-26 15:54:08,261 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35651471:ctest-vn-26607707 virtual network link through opserver 10.0.0.254 2025-06-26 15:54:08,261 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-26 15:54:08,551 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-26 15:54:08,603 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35651471:ctest-vn-26607707', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35651471:ctest-vn-26607707?flat'} 2025-06-26 15:54:08,603 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35651471:ctest-vn-26607707 is found in opserver 2025-06-26 15:54:08,615 - DEBUG - Do not have enough data to verify VN in agent 2025-06-26 15:54:08,619 - DEBUG - VRF ids for VN ctest-vn-26607707: {} 2025-06-26 15:54:08,619 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-26 15:54:08,624 - DEBUG - Requesting: http://10.0.0.254:8082/domain/47659c91-1037-4853-b108-ba5d6478cced 2025-06-26 15:54:08,635 - DEBUG - Requesting: http://10.0.0.254:8082/project/223ed787-d897-4d93-a6a3-1884b1f67b1e 2025-06-26 15:54:08,706 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/92eaf61a-ae4f-4279-956b-741696d395d2 2025-06-26 15:54:08,719 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/92eaf61a-ae4f-4279-956b-741696d395d2 2025-06-26 15:54:08,728 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bbeb2582-09b3-441c-b838-d8306e5f7e90 2025-06-26 15:54:08,735 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bbeb2582-09b3-441c-b838-d8306e5f7e90 2025-06-26 15:54:08,741 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/985f0ca9-3541-4d21-b6d4-32e01f66694b 2025-06-26 15:54:08,746 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-26 15:54:08,746 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/92eaf61a-ae4f-4279-956b-741696d395d2 2025-06-26 15:54:08,754 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bbeb2582-09b3-441c-b838-d8306e5f7e90 2025-06-26 15:54:08,767 - INFO - Verified VN network id 10 for VN 92eaf61a-ae4f-4279-956b-741696d395d2 2025-06-26 15:54:08,767 - INFO - Verifications in API Server for VN ctest-vn-15720316 passed 2025-06-26 15:54:08,767 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/92eaf61a-ae4f-4279-956b-741696d395d2 2025-06-26 15:54:08,776 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bbeb2582-09b3-441c-b838-d8306e5f7e90 2025-06-26 15:54:08,783 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bbeb2582-09b3-441c-b838-d8306e5f7e90 2025-06-26 15:54:08,789 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/985f0ca9-3541-4d21-b6d4-32e01f66694b 2025-06-26 15:54:08,799 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35651471:ctest-vn-15720316', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35651471', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10586544468541784697', 'uuid-lslong': '10766826974527854034'}, 'enable': 'true', 'created': '2025-06-26T15:54:06', 'last-modified': '2025-06-26T15:54:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.369458'} 2025-06-26 15:54:08,805 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-26 15:54:08,805 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15720316 passed 2025-06-26 15:54:08,805 - DEBUG - ====Verifying policy data for ctest-vn-15720316 in API_Server ====== 2025-06-26 15:54:08,805 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-26 15:54:08,810 - DEBUG - Requesting: http://10.0.0.254:8082/domain/47659c91-1037-4853-b108-ba5d6478cced 2025-06-26 15:54:08,820 - DEBUG - Requesting: http://10.0.0.254:8082/project/223ed787-d897-4d93-a6a3-1884b1f67b1e 2025-06-26 15:54:08,894 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/92eaf61a-ae4f-4279-956b-741696d395d2 2025-06-26 15:54:08,902 - DEBUG - ==>Verifying data for policy with id: 6a790269-a57b-4f3d-9c14-a03d3a6e8688, fqn: ['default-domain', 'ctest-TestBasicPolicy-35651471', 'ctest-policy-allow-all-65201309'] 2025-06-26 15:54:08,902 - INFO - VN ctest-vn-15720316 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-26 15:54:08,902 - DEBUG - Verifying the vn in opserver 2025-06-26 15:54:08,902 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35651471:ctest-vn-15720316 virtual network link through opserver 10.0.0.254 2025-06-26 15:54:08,902 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-26 15:54:08,911 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35651471:ctest-vn-15720316', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35651471:ctest-vn-15720316?flat'} 2025-06-26 15:54:08,911 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35651471:ctest-vn-15720316 is found in opserver 2025-06-26 15:54:08,919 - DEBUG - Do not have enough data to verify VN in agent 2025-06-26 15:54:08,923 - DEBUG - VRF ids for VN ctest-vn-15720316: {} 2025-06-26 15:54:08,978 - DEBUG - Services list from nova: [, , ] 2025-06-26 15:54:09,987 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3561-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3561-1) 2025-06-26 15:54:11,271 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3561-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3561-1) 2025-06-26 15:54:11,271 - INFO - Waiting for VM ctest-TestBasicPolicy-35651471-20230978 to be up.. 2025-06-26 15:54:11,352 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-26 15:54:16,449 - DEBUG - VM is in ACTIVE state now 2025-06-26 15:54:16,449 - INFO - VM name : ctest-TestBasicPolicy-35651471-20230978 2025-06-26 15:54:16,538 - DEBUG - VM ctest-TestBasicPolicy-35651471-20230978 ID is 583eb69e-0a2b-418d-80d6-f94338844c1b 2025-06-26 15:54:16,561 - DEBUG - VM ctest-TestBasicPolicy-35651471-20230978 launched on Node cn-jenkins-deploy-platform-ansible-os-3561-1. 2025-06-26 15:54:16,641 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/583eb69e-0a2b-418d-80d6-f94338844c1b 2025-06-26 15:54:16,651 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/337feb1a-14ab-4c5e-817a-d214213ce4d1 2025-06-26 15:54:19,866 - 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-06-26 15:54:19,866 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35651471-20230978 failed! 2025-06-26 15:54:19,920 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35651471:ctest-vn-26607707 is 98.24.191.193 and allocation pool is NOT set 2025-06-26 15:54:21,984 - 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=7.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/4.014/7.600/3.585 ms') 2025-06-26 15:54:21,984 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35651471-20230978 passed 2025-06-26 15:54:22,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 15:54:22,152 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35651471-20230978, IP 98.24.191.195, Port 22 2025-06-26 15:54:22,329 - DEBUG - VM ctest-TestBasicPolicy-35651471-20230978 is ready for SSH connections 2025-06-26 15:54:22,329 - INFO - Waiting for VM ctest-TestBasicPolicy-35651471-77983829 to be up.. 2025-06-26 15:54:22,415 - DEBUG - VM is in ACTIVE state now 2025-06-26 15:54:22,415 - INFO - VM name : ctest-TestBasicPolicy-35651471-77983829 2025-06-26 15:54:22,500 - DEBUG - VM ctest-TestBasicPolicy-35651471-77983829 ID is ba976595-0415-4d6a-a4e9-a48cb363d1a2 2025-06-26 15:54:22,500 - DEBUG - VM ctest-TestBasicPolicy-35651471-77983829 launched on Node cn-jenkins-deploy-platform-ansible-os-3561-1. 2025-06-26 15:54:22,582 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ba976595-0415-4d6a-a4e9-a48cb363d1a2 2025-06-26 15:54:22,589 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3cf099de-fbe3-4f02-8a93-ca3679dd13d2 2025-06-26 15:54:23,834 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.573 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.573/2.126/3.679/1.553 ms') 2025-06-26 15:54:23,834 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35651471-77983829 passed 2025-06-26 15:54:23,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 15:54:23,988 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35651471-77983829, IP 52.83.185.3, Port 22 2025-06-26 15:54:24,143 - DEBUG - VM ctest-TestBasicPolicy-35651471-77983829 is ready for SSH connections 2025-06-26 15:54:24,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 15:54:24,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.83.185.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-26 15:54:24,144 - DEBUG - ping -s 56 -c 3 -W 1 52.83.185.3 2025-06-26 15:54:28,157 - DEBUG - PING 52.83.185.3 (52.83.185.3): 56 data bytes 64 bytes from 52.83.185.3: seq=0 ttl=63 time=3.690 ms 64 bytes from 52.83.185.3: seq=1 ttl=63 time=0.880 ms 64 bytes from 52.83.185.3: seq=2 ttl=63 time=0.721 ms --- 52.83.185.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.721/1.763/3.690 ms 2025-06-26 15:54:28,157 - INFO - Ping to IP 52.83.185.3 from VM ctest-TestBasicPolicy-35651471-20230978 passed 2025-06-26 15:54:28,332 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6a790269-a57b-4f3d-9c14-a03d3a6e8688", "href": "http://10.0.0.254:8082/network-policy/6a790269-a57b-4f3d-9c14-a03d3a6e8688"}} 2025-06-26 15:54:28,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 15:54:28,332 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.83.185.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-26 15:54:28,332 - DEBUG - ping -s 56 -c 3 -W 1 52.83.185.3 2025-06-26 15:54:31,536 - DEBUG - PING 52.83.185.3 (52.83.185.3): 56 data bytes --- 52.83.185.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-26 15:54:31,537 - WARNING - Ping to IP 52.83.185.3 from VM ctest-TestBasicPolicy-35651471-20230978 failed 2025-06-26 15:54:31,537 - INFO - Deleting VM ctest-TestBasicPolicy-35651471-77983829 2025-06-26 15:54:31,610 - INFO - Deleting VM ctest-TestBasicPolicy-35651471-20230978 2025-06-26 15:54:32,023 - INFO - Deleted policy ctest-policy-allow-all-65201309 2025-06-26 15:54:32,023 - INFO - Deleting VN ctest-vn-15720316 2025-06-26 15:54:32,057 - DEBUG - VN 92eaf61a-ae4f-4279-956b-741696d395d2 still in use: Unable to complete operation on network 92eaf61a-ae4f-4279-956b-741696d395d2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-38c33042-00ea-4f3e-b4ed-fa50d1201a43'] 2025-06-26 15:54:32,057 - WARNING - Deleting VN ctest-vn-15720316 failed..Will retry 2025-06-26 15:54:34,203 - DEBUG - Response for deleting network () 2025-06-26 15:54:34,204 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bbeb2582-09b3-441c-b838-d8306e5f7e90 2025-06-26 15:54:34,212 - DEBUG - Response Code: 404 2025-06-26 15:54:34,212 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-26 15:54:34,222 - DEBUG - Requesting: http://10.0.0.254:8082/domain/47659c91-1037-4853-b108-ba5d6478cced 2025-06-26 15:54:34,281 - DEBUG - Requesting: http://10.0.0.254:8082/project/223ed787-d897-4d93-a6a3-1884b1f67b1e 2025-06-26 15:54:34,347 - INFO - Validated that VN ctest-vn-15720316 is not found in API Server 2025-06-26 15:54:34,357 - DEBUG - VN ctest-vn-15720316 is not present in Agent 10.0.0.254 2025-06-26 15:54:34,357 - INFO - Validated that VN ctest-vn-15720316 is not in any agent 2025-06-26 15:54:34,370 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15720316 info 2025-06-26 15:54:34,370 - INFO - Deleting VN ctest-vn-26607707 2025-06-26 15:54:34,484 - DEBUG - Response for deleting network () 2025-06-26 15:54:34,484 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0618975d-0873-4754-a74f-53df37980d81 2025-06-26 15:54:34,490 - DEBUG - Response Code: 404 2025-06-26 15:54:34,490 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-26 15:54:34,494 - DEBUG - Requesting: http://10.0.0.254:8082/domain/47659c91-1037-4853-b108-ba5d6478cced 2025-06-26 15:54:34,544 - DEBUG - Requesting: http://10.0.0.254:8082/project/223ed787-d897-4d93-a6a3-1884b1f67b1e 2025-06-26 15:54:34,617 - INFO - Validated that VN ctest-vn-26607707 is not found in API Server 2025-06-26 15:54:34,628 - DEBUG - VN ctest-vn-26607707 is not present in Agent 10.0.0.254 2025-06-26 15:54:34,628 - INFO - Validated that VN ctest-vn-26607707 is not in any agent 2025-06-26 15:54:34,645 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26607707 info 2025-06-26 15:54:34,907 - DEBUG - No XMPP flaps were noticed during the test 2025-06-26 15:54:34,907 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-06-26 15:54:34,907 - INFO - -------------------------------------------------------------------------------- 2025-06-26 15:54:35,567 - INFO - Deleted project: ctest-TestBasicPolicy-35651471, ID : 223ed787-d897-4d93-a6a3-1884b1f67b1e