2025-08-12 18:40:43,433 - INFO - Domain Default found not creating 2025-08-12 18:40:43,558 - INFO - Project ctest-TestBasicPolicy-07975018 not found, creating it 2025-08-12 18:40:43,980 - INFO - Created Project:ctest-TestBasicPolicy-07975018, ID : 7f7bad38-d91a-4f58-8d5e-55ee84d7de3d 2025-08-12 18:40:45,367 - INFO - ================================================================================ 2025-08-12 18:40:45,367 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-12 18:40:45,367 - 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-12 18:40:45,630 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-08-12 18:40:45,630 - INFO - Initial checks done. Running the testcase now 2025-08-12 18:40:45,630 - INFO - 2025-08-12 18:40:46,189 - DEBUG - Response for create_network : {'network': {'id': '3c8a629d-9c4e-4b69-8457-033213f9d9ac', 'name': 'ctest-vn-22880069', 'tenant_id': '7f7bad38d91a4f588d5e55ee84d7de3d', 'project_id': '7f7bad38d91a4f588d5e55ee84d7de3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07975018', 'ctest-vn-22880069'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 18:40:46,347 - DEBUG - Response for create_subnet : {'subnet': {'id': '73cc5406-00e7-4210-ab31-2bb92d595ba3', 'name': '', 'tenant_id': '7f7bad38d91a4f588d5e55ee84d7de3d', 'network_id': '3c8a629d-9c4e-4b69-8457-033213f9d9ac', 'ip_version': 4, 'cidr': '99.101.154.192/26', 'allocation_pools': [{'start': '99.101.154.194', 'end': '99.101.154.254'}], 'gateway_ip': '99.101.154.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.101.154.194', 'tags': [], 'project_id': '7f7bad38d91a4f588d5e55ee84d7de3d'}} 2025-08-12 18:40:46,364 - INFO - Created VN ctest-vn-22880069 2025-08-12 18:40:46,416 - DEBUG - VN ctest-vn-22880069 UUID is 3c8a629d-9c4e-4b69-8457-033213f9d9ac 2025-08-12 18:40:46,739 - DEBUG - Response for create_network : {'network': {'id': '63c6c72c-9a4f-4aff-b981-bd48d26d3b94', 'name': 'ctest-vn-65518758', 'tenant_id': '7f7bad38d91a4f588d5e55ee84d7de3d', 'project_id': '7f7bad38d91a4f588d5e55ee84d7de3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07975018', 'ctest-vn-65518758'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 18:40:46,935 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c3b7682-ff11-4c47-a887-b6174cae8d01', 'name': '', 'tenant_id': '7f7bad38d91a4f588d5e55ee84d7de3d', 'network_id': '63c6c72c-9a4f-4aff-b981-bd48d26d3b94', 'ip_version': 4, 'cidr': '101.67.84.64/26', 'allocation_pools': [{'start': '101.67.84.66', 'end': '101.67.84.126'}], 'gateway_ip': '101.67.84.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.67.84.66', 'tags': [], 'project_id': '7f7bad38d91a4f588d5e55ee84d7de3d'}} 2025-08-12 18:40:46,951 - INFO - Created VN ctest-vn-65518758 2025-08-12 18:40:47,004 - DEBUG - VN ctest-vn-65518758 UUID is 63c6c72c-9a4f-4aff-b981-bd48d26d3b94 2025-08-12 18:40:47,147 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07975018:ctest-vn-22880069, 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-07975018:ctest-vn-65518758, 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-12 18:40:47,432 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3c8a629d-9c4e-4b69-8457-033213f9d9ac', 'name': 'ctest-vn-22880069', 'tenant_id': '7f7bad38d91a4f588d5e55ee84d7de3d', 'project_id': '7f7bad38d91a4f588d5e55ee84d7de3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['73cc5406-00e7-4210-ab31-2bb92d595ba3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07975018', 'ctest-vn-22880069'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07975018', 'ctest-policy-allow-all-60371350']], 'subnet_ipam': [{'subnet_cidr': '99.101.154.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 18:40:47,654 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '63c6c72c-9a4f-4aff-b981-bd48d26d3b94', 'name': 'ctest-vn-65518758', 'tenant_id': '7f7bad38d91a4f588d5e55ee84d7de3d', 'project_id': '7f7bad38d91a4f588d5e55ee84d7de3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0c3b7682-ff11-4c47-a887-b6174cae8d01'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07975018', 'ctest-vn-65518758'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07975018', 'ctest-policy-allow-all-60371350']], 'subnet_ipam': [{'subnet_cidr': '101.67.84.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 18:40:47,824 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-12 18:40:48,117 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-12 18:40:48,143 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6b3317a1-9cbf-465f-a12d-fa5c37f51652 2025-08-12 18:40:48,155 - DEBUG - Requesting: http://10.0.0.22:8082/project/7f7bad38-d91a-4f58-8d5e-55ee84d7de3d 2025-08-12 18:40:48,233 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3c8a629d-9c4e-4b69-8457-033213f9d9ac 2025-08-12 18:40:48,244 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3c8a629d-9c4e-4b69-8457-033213f9d9ac 2025-08-12 18:40:48,252 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b140e2b6-fb27-4c13-966a-b20474ed4403 2025-08-12 18:40:48,258 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b140e2b6-fb27-4c13-966a-b20474ed4403 2025-08-12 18:40:48,264 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a4bd7b85-0158-4b75-ad9a-050fd40337b9 2025-08-12 18:40:48,269 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 18:40:48,269 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3c8a629d-9c4e-4b69-8457-033213f9d9ac 2025-08-12 18:40:48,277 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b140e2b6-fb27-4c13-966a-b20474ed4403 2025-08-12 18:40:48,289 - INFO - Verified VN network id 11 for VN 3c8a629d-9c4e-4b69-8457-033213f9d9ac 2025-08-12 18:40:48,289 - INFO - Verifications in API Server for VN ctest-vn-22880069 passed 2025-08-12 18:40:48,289 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3c8a629d-9c4e-4b69-8457-033213f9d9ac 2025-08-12 18:40:48,298 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b140e2b6-fb27-4c13-966a-b20474ed4403 2025-08-12 18:40:48,304 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b140e2b6-fb27-4c13-966a-b20474ed4403 2025-08-12 18:40:48,310 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a4bd7b85-0158-4b75-ad9a-050fd40337b9 2025-08-12 18:40:48,320 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07975018:ctest-vn-22880069', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07975018', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4362407618133511017', 'uuid-lslong': '9536094249598704044'}, 'enable': 'true', 'created': '2025-08-12T18:40:46', 'last-modified': '2025-08-12T18:40:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.909944'} 2025-08-12 18:40:48,326 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 18:40:48,326 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22880069 passed 2025-08-12 18:40:48,327 - DEBUG - ====Verifying policy data for ctest-vn-22880069 in API_Server ====== 2025-08-12 18:40:48,327 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-12 18:40:48,332 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6b3317a1-9cbf-465f-a12d-fa5c37f51652 2025-08-12 18:40:48,344 - DEBUG - Requesting: http://10.0.0.22:8082/project/7f7bad38-d91a-4f58-8d5e-55ee84d7de3d 2025-08-12 18:40:48,421 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3c8a629d-9c4e-4b69-8457-033213f9d9ac 2025-08-12 18:40:48,431 - DEBUG - ==>Verifying data for policy with id: b4e0b640-5238-4848-94d1-8a4e78343fb0, fqn: ['default-domain', 'ctest-TestBasicPolicy-07975018', 'ctest-policy-allow-all-60371350'] 2025-08-12 18:40:48,431 - INFO - VN ctest-vn-22880069 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 18:40:48,431 - DEBUG - Verifying the vn in opserver 2025-08-12 18:40:48,431 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07975018:ctest-vn-22880069 virtual network link through opserver 10.0.0.22 2025-08-12 18:40:48,431 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-12 18:40:48,721 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-12 18:40:48,776 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07975018:ctest-vn-22880069', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07975018:ctest-vn-22880069?flat'} 2025-08-12 18:40:48,776 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07975018:ctest-vn-22880069 is found in opserver 2025-08-12 18:40:48,787 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 18:40:48,791 - DEBUG - VRF ids for VN ctest-vn-22880069: {} 2025-08-12 18:40:48,791 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-12 18:40:48,797 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6b3317a1-9cbf-465f-a12d-fa5c37f51652 2025-08-12 18:40:48,808 - DEBUG - Requesting: http://10.0.0.22:8082/project/7f7bad38-d91a-4f58-8d5e-55ee84d7de3d 2025-08-12 18:40:48,879 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/63c6c72c-9a4f-4aff-b981-bd48d26d3b94 2025-08-12 18:40:48,890 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/63c6c72c-9a4f-4aff-b981-bd48d26d3b94 2025-08-12 18:40:48,899 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d76d7130-d1d4-4c8e-956b-297dd64c9583 2025-08-12 18:40:48,905 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d76d7130-d1d4-4c8e-956b-297dd64c9583 2025-08-12 18:40:48,910 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/891647ec-09b7-4706-84e5-ccfbe290c74d 2025-08-12 18:40:48,916 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 18:40:48,916 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/63c6c72c-9a4f-4aff-b981-bd48d26d3b94 2025-08-12 18:40:48,924 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d76d7130-d1d4-4c8e-956b-297dd64c9583 2025-08-12 18:40:48,936 - INFO - Verified VN network id 12 for VN 63c6c72c-9a4f-4aff-b981-bd48d26d3b94 2025-08-12 18:40:48,936 - INFO - Verifications in API Server for VN ctest-vn-65518758 passed 2025-08-12 18:40:48,936 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/63c6c72c-9a4f-4aff-b981-bd48d26d3b94 2025-08-12 18:40:48,944 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d76d7130-d1d4-4c8e-956b-297dd64c9583 2025-08-12 18:40:48,950 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d76d7130-d1d4-4c8e-956b-297dd64c9583 2025-08-12 18:40:48,956 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/891647ec-09b7-4706-84e5-ccfbe290c74d 2025-08-12 18:40:48,968 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07975018:ctest-vn-65518758', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07975018', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7189652849524951807', 'uuid-lslong': '13367173289478011796'}, 'enable': 'true', 'created': '2025-08-12T18:40:46', 'last-modified': '2025-08-12T18:40:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.335460'} 2025-08-12 18:40:48,973 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 18:40:48,973 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65518758 passed 2025-08-12 18:40:48,973 - DEBUG - ====Verifying policy data for ctest-vn-65518758 in API_Server ====== 2025-08-12 18:40:48,974 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-12 18:40:48,979 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6b3317a1-9cbf-465f-a12d-fa5c37f51652 2025-08-12 18:40:48,989 - DEBUG - Requesting: http://10.0.0.22:8082/project/7f7bad38-d91a-4f58-8d5e-55ee84d7de3d 2025-08-12 18:40:49,058 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/63c6c72c-9a4f-4aff-b981-bd48d26d3b94 2025-08-12 18:40:49,067 - DEBUG - ==>Verifying data for policy with id: b4e0b640-5238-4848-94d1-8a4e78343fb0, fqn: ['default-domain', 'ctest-TestBasicPolicy-07975018', 'ctest-policy-allow-all-60371350'] 2025-08-12 18:40:49,067 - INFO - VN ctest-vn-65518758 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 18:40:49,067 - DEBUG - Verifying the vn in opserver 2025-08-12 18:40:49,067 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07975018:ctest-vn-65518758 virtual network link through opserver 10.0.0.22 2025-08-12 18:40:49,067 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-12 18:40:49,077 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07975018:ctest-vn-65518758', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07975018:ctest-vn-65518758?flat'} 2025-08-12 18:40:49,077 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07975018:ctest-vn-65518758 is found in opserver 2025-08-12 18:40:49,086 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 18:40:49,091 - DEBUG - VRF ids for VN ctest-vn-65518758: {} 2025-08-12 18:40:49,140 - DEBUG - Services list from nova: [, , ] 2025-08-12 18:40:50,093 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3837-1) 2025-08-12 18:40:51,189 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3837-1) 2025-08-12 18:40:51,191 - INFO - Waiting for VM ctest-TestBasicPolicy-07975018-20490435 to be up.. 2025-08-12 18:40:51,267 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 18:40:56,343 - DEBUG - VM is in ACTIVE state now 2025-08-12 18:40:56,343 - INFO - VM name : ctest-TestBasicPolicy-07975018-20490435 2025-08-12 18:40:56,411 - DEBUG - VM ctest-TestBasicPolicy-07975018-20490435 ID is d9a5cce4-3cd6-44c4-81df-099d9d5b6dad 2025-08-12 18:40:56,429 - DEBUG - VM ctest-TestBasicPolicy-07975018-20490435 launched on Node cn-jenkins-deploy-platform-ansible-os-3837-1 2025-08-12 18:40:56,504 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d9a5cce4-3cd6-44c4-81df-099d9d5b6dad 2025-08-12 18:40:56,515 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a87318fc-8f56-405b-9f04-886a1496acba 2025-08-12 18:40:59,772 - 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 1020ms') 2025-08-12 18:40:59,772 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07975018-20490435 failed! 2025-08-12 18:40:59,828 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07975018:ctest-vn-22880069 is 99.101.154.193 and allocation pool is NOT set 2025-08-12 18:41:01,893 - 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=2.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.430 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.430/1.549/2.669/1.119 ms') 2025-08-12 18:41:01,893 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07975018-20490435 passed 2025-08-12 18:41:02,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 18:41:02,044 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07975018-20490435, IP 99.101.154.195, Port 22 2025-08-12 18:41:02,203 - DEBUG - VM ctest-TestBasicPolicy-07975018-20490435 is ready for SSH connections 2025-08-12 18:41:02,203 - INFO - Waiting for VM ctest-TestBasicPolicy-07975018-04114282 to be up.. 2025-08-12 18:41:02,267 - DEBUG - VM is in ACTIVE state now 2025-08-12 18:41:02,267 - INFO - VM name : ctest-TestBasicPolicy-07975018-04114282 2025-08-12 18:41:02,324 - DEBUG - VM ctest-TestBasicPolicy-07975018-04114282 ID is 3b057bd6-c892-4f72-a488-705a76a125d2 2025-08-12 18:41:02,324 - DEBUG - VM ctest-TestBasicPolicy-07975018-04114282 launched on Node cn-jenkins-deploy-platform-ansible-os-3837-1 2025-08-12 18:41:02,381 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3b057bd6-c892-4f72-a488-705a76a125d2 2025-08-12 18:41:02,389 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/94eb4de0-8ada-41fe-b1ef-5545513ff978 2025-08-12 18:41:03,620 - 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=2.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.376/1.532/2.688/1.156 ms') 2025-08-12 18:41:03,620 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07975018-04114282 passed 2025-08-12 18:41:03,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 18:41:03,780 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07975018-04114282, IP 101.67.84.67, Port 22 2025-08-12 18:41:03,936 - DEBUG - VM ctest-TestBasicPolicy-07975018-04114282 is ready for SSH connections 2025-08-12 18:41:03,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 18:41:03,936 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.67.84.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-12 18:41:03,936 - DEBUG - ping -s 56 -c 3 -W 1 101.67.84.67 2025-08-12 18:41:07,874 - DEBUG - PING 101.67.84.67 (101.67.84.67): 56 data bytes 64 bytes from 101.67.84.67: seq=0 ttl=63 time=3.321 ms 64 bytes from 101.67.84.67: seq=1 ttl=63 time=0.823 ms 64 bytes from 101.67.84.67: seq=2 ttl=63 time=0.916 ms --- 101.67.84.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/1.686/3.321 ms 2025-08-12 18:41:07,874 - INFO - Ping to IP 101.67.84.67 from VM ctest-TestBasicPolicy-07975018-20490435 passed 2025-08-12 18:41:08,051 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b4e0b640-5238-4848-94d1-8a4e78343fb0", "href": "http://10.0.0.22:8082/network-policy/b4e0b640-5238-4848-94d1-8a4e78343fb0"}} 2025-08-12 18:41:08,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 18:41:08,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.67.84.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-12 18:41:08,052 - DEBUG - ping -s 56 -c 3 -W 1 101.67.84.67 2025-08-12 18:41:11,250 - DEBUG - PING 101.67.84.67 (101.67.84.67): 56 data bytes 64 bytes from 101.67.84.67: seq=0 ttl=63 time=1.216 ms --- 101.67.84.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.216/1.216/1.216 ms 2025-08-12 18:41:11,250 - WARNING - Ping to IP 101.67.84.67 from VM ctest-TestBasicPolicy-07975018-20490435 failed 2025-08-12 18:41:11,250 - INFO - Deleting VM ctest-TestBasicPolicy-07975018-04114282 2025-08-12 18:41:11,310 - INFO - Deleting VM ctest-TestBasicPolicy-07975018-20490435 2025-08-12 18:41:11,658 - INFO - Deleted policy ctest-policy-allow-all-60371350 2025-08-12 18:41:11,658 - INFO - Deleting VN ctest-vn-65518758 2025-08-12 18:41:11,690 - DEBUG - VN 63c6c72c-9a4f-4aff-b981-bd48d26d3b94 still in use: Unable to complete operation on network 63c6c72c-9a4f-4aff-b981-bd48d26d3b94. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1043bba3-9a2d-4b87-868f-2936c6ed7885'] 2025-08-12 18:41:11,690 - WARNING - Deleting VN ctest-vn-65518758 failed..Will retry 2025-08-12 18:41:13,782 - DEBUG - Response for deleting network () 2025-08-12 18:41:13,782 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d76d7130-d1d4-4c8e-956b-297dd64c9583 2025-08-12 18:41:13,789 - DEBUG - Response Code: 404 2025-08-12 18:41:13,789 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-12 18:41:13,794 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6b3317a1-9cbf-465f-a12d-fa5c37f51652 2025-08-12 18:41:13,849 - DEBUG - Requesting: http://10.0.0.22:8082/project/7f7bad38-d91a-4f58-8d5e-55ee84d7de3d 2025-08-12 18:41:13,919 - INFO - Validated that VN ctest-vn-65518758 is not found in API Server 2025-08-12 18:41:13,930 - DEBUG - VN ctest-vn-65518758 is not present in Agent 10.0.0.22 2025-08-12 18:41:13,930 - INFO - Validated that VN ctest-vn-65518758 is not in any agent 2025-08-12 18:41:13,946 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65518758 info 2025-08-12 18:41:13,946 - INFO - Deleting VN ctest-vn-22880069 2025-08-12 18:41:14,049 - DEBUG - Response for deleting network () 2025-08-12 18:41:14,050 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b140e2b6-fb27-4c13-966a-b20474ed4403 2025-08-12 18:41:14,057 - DEBUG - Response Code: 404 2025-08-12 18:41:14,057 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-12 18:41:14,062 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6b3317a1-9cbf-465f-a12d-fa5c37f51652 2025-08-12 18:41:14,116 - DEBUG - Requesting: http://10.0.0.22:8082/project/7f7bad38-d91a-4f58-8d5e-55ee84d7de3d 2025-08-12 18:41:14,184 - INFO - Validated that VN ctest-vn-22880069 is not found in API Server 2025-08-12 18:41:14,196 - DEBUG - VN ctest-vn-22880069 is not present in Agent 10.0.0.22 2025-08-12 18:41:14,196 - INFO - Validated that VN ctest-vn-22880069 is not in any agent 2025-08-12 18:41:14,210 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22880069 info 2025-08-12 18:41:14,474 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 18:41:14,474 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-12 18:41:14,474 - INFO - -------------------------------------------------------------------------------- 2025-08-12 18:41:15,117 - INFO - Deleted project: ctest-TestBasicPolicy-07975018, ID : 7f7bad38-d91a-4f58-8d5e-55ee84d7de3d