2025-10-21 15:25:19,836 - INFO - Domain Default found not creating 2025-10-21 15:25:19,973 - INFO - Project ctest-TestBasicPolicy-60518478 not found, creating it 2025-10-21 15:25:20,429 - INFO - Created Project:ctest-TestBasicPolicy-60518478, ID : 36ab57d4-6733-48e1-a1cc-460d9a36ef62 2025-10-21 15:25:21,838 - INFO - ================================================================================ 2025-10-21 15:25:21,838 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 15:25:21,839 - 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-21 15:25:22,087 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-10-21 15:25:22,087 - INFO - Initial checks done. Running the testcase now 2025-10-21 15:25:22,087 - INFO - 2025-10-21 15:25:22,601 - DEBUG - Response for create_network : {'network': {'id': 'cde8e77b-87b7-49c7-86e2-a6a2cd73f87e', 'name': 'ctest-vn-67862854', 'tenant_id': '36ab57d4673348e1a1cc460d9a36ef62', 'project_id': '36ab57d4673348e1a1cc460d9a36ef62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60518478', 'ctest-vn-67862854'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 15:25:22,770 - DEBUG - Response for create_subnet : {'subnet': {'id': '54ffd73c-5f5a-4616-aaa0-9d6286240f90', 'name': '', 'tenant_id': '36ab57d4673348e1a1cc460d9a36ef62', 'network_id': 'cde8e77b-87b7-49c7-86e2-a6a2cd73f87e', 'ip_version': 4, 'cidr': '216.191.46.192/26', 'allocation_pools': [{'start': '216.191.46.194', 'end': '216.191.46.254'}], 'gateway_ip': '216.191.46.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.191.46.194', 'tags': [], 'project_id': '36ab57d4673348e1a1cc460d9a36ef62'}} 2025-10-21 15:25:22,785 - INFO - Created VN ctest-vn-67862854 2025-10-21 15:25:22,838 - DEBUG - VN ctest-vn-67862854 UUID is cde8e77b-87b7-49c7-86e2-a6a2cd73f87e 2025-10-21 15:25:23,143 - DEBUG - Response for create_network : {'network': {'id': '4315fe15-1c94-4f24-bc4c-04c6d45e871f', 'name': 'ctest-vn-29431131', 'tenant_id': '36ab57d4673348e1a1cc460d9a36ef62', 'project_id': '36ab57d4673348e1a1cc460d9a36ef62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60518478', 'ctest-vn-29431131'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 15:25:23,298 - DEBUG - Response for create_subnet : {'subnet': {'id': '4de8eb2f-ea4d-4765-a08b-3e0dc7b68b9d', 'name': '', 'tenant_id': '36ab57d4673348e1a1cc460d9a36ef62', 'network_id': '4315fe15-1c94-4f24-bc4c-04c6d45e871f', 'ip_version': 4, 'cidr': '21.98.26.128/26', 'allocation_pools': [{'start': '21.98.26.130', 'end': '21.98.26.190'}], 'gateway_ip': '21.98.26.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.98.26.130', 'tags': [], 'project_id': '36ab57d4673348e1a1cc460d9a36ef62'}} 2025-10-21 15:25:23,313 - INFO - Created VN ctest-vn-29431131 2025-10-21 15:25:23,362 - DEBUG - VN ctest-vn-29431131 UUID is 4315fe15-1c94-4f24-bc4c-04c6d45e871f 2025-10-21 15:25:23,505 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60518478:ctest-vn-67862854, 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-60518478:ctest-vn-29431131, 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-21 15:25:23,780 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cde8e77b-87b7-49c7-86e2-a6a2cd73f87e', 'name': 'ctest-vn-67862854', 'tenant_id': '36ab57d4673348e1a1cc460d9a36ef62', 'project_id': '36ab57d4673348e1a1cc460d9a36ef62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['54ffd73c-5f5a-4616-aaa0-9d6286240f90'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60518478', 'ctest-vn-67862854'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60518478', 'ctest-policy-allow-all-90382947']], 'subnet_ipam': [{'subnet_cidr': '216.191.46.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 15:25:24,018 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4315fe15-1c94-4f24-bc4c-04c6d45e871f', 'name': 'ctest-vn-29431131', 'tenant_id': '36ab57d4673348e1a1cc460d9a36ef62', 'project_id': '36ab57d4673348e1a1cc460d9a36ef62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4de8eb2f-ea4d-4765-a08b-3e0dc7b68b9d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60518478', 'ctest-vn-29431131'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60518478', 'ctest-policy-allow-all-90382947']], 'subnet_ipam': [{'subnet_cidr': '21.98.26.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 15:25:24,158 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-21 15:25:24,454 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-21 15:25:24,481 - DEBUG - Requesting: http://10.0.0.41:8082/domain/cb0d9fe4-4f68-4853-be03-f69af2411f49 2025-10-21 15:25:24,491 - DEBUG - Requesting: http://10.0.0.41:8082/project/36ab57d4-6733-48e1-a1cc-460d9a36ef62 2025-10-21 15:25:24,561 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/cde8e77b-87b7-49c7-86e2-a6a2cd73f87e 2025-10-21 15:25:24,572 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/cde8e77b-87b7-49c7-86e2-a6a2cd73f87e 2025-10-21 15:25:24,580 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/737f52b2-f3da-4b6b-b429-e9dcbf46fc61 2025-10-21 15:25:24,586 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/737f52b2-f3da-4b6b-b429-e9dcbf46fc61 2025-10-21 15:25:24,591 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/f4c6984c-bc2f-4b7e-a6c4-4ee7c0942c3e 2025-10-21 15:25:24,596 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 15:25:24,596 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/cde8e77b-87b7-49c7-86e2-a6a2cd73f87e 2025-10-21 15:25:24,603 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/737f52b2-f3da-4b6b-b429-e9dcbf46fc61 2025-10-21 15:25:24,614 - INFO - Verified VN network id 12 for VN cde8e77b-87b7-49c7-86e2-a6a2cd73f87e 2025-10-21 15:25:24,614 - INFO - Verifications in API Server for VN ctest-vn-67862854 passed 2025-10-21 15:25:24,614 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/cde8e77b-87b7-49c7-86e2-a6a2cd73f87e 2025-10-21 15:25:24,622 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/737f52b2-f3da-4b6b-b429-e9dcbf46fc61 2025-10-21 15:25:24,628 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/737f52b2-f3da-4b6b-b429-e9dcbf46fc61 2025-10-21 15:25:24,634 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/f4c6984c-bc2f-4b7e-a6c4-4ee7c0942c3e 2025-10-21 15:25:24,644 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60518478:ctest-vn-67862854', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60518478', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14837363490116028871', 'uuid-lslong': '9719514163980793982'}, 'enable': 'true', 'created': '2025-10-21T15:25:22', 'last-modified': '2025-10-21T15:25:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.880556'} 2025-10-21 15:25:24,651 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 15:25:24,651 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67862854 passed 2025-10-21 15:25:24,651 - DEBUG - ====Verifying policy data for ctest-vn-67862854 in API_Server ====== 2025-10-21 15:25:24,651 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-21 15:25:24,656 - DEBUG - Requesting: http://10.0.0.41:8082/domain/cb0d9fe4-4f68-4853-be03-f69af2411f49 2025-10-21 15:25:24,668 - DEBUG - Requesting: http://10.0.0.41:8082/project/36ab57d4-6733-48e1-a1cc-460d9a36ef62 2025-10-21 15:25:24,743 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/cde8e77b-87b7-49c7-86e2-a6a2cd73f87e 2025-10-21 15:25:24,753 - DEBUG - ==>Verifying data for policy with id: 6fc00521-1f0d-440a-8f4c-862dbbbe1832, fqn: ['default-domain', 'ctest-TestBasicPolicy-60518478', 'ctest-policy-allow-all-90382947'] 2025-10-21 15:25:24,753 - INFO - VN ctest-vn-67862854 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 15:25:24,753 - DEBUG - Verifying the vn in opserver 2025-10-21 15:25:24,753 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60518478:ctest-vn-67862854 virtual network link through opserver 10.0.0.41 2025-10-21 15:25:24,753 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-21 15:25:25,044 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-21 15:25:25,097 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60518478:ctest-vn-67862854', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60518478:ctest-vn-67862854?flat'} 2025-10-21 15:25:25,097 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60518478:ctest-vn-67862854 is found in opserver 2025-10-21 15:25:25,105 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 15:25:25,109 - DEBUG - VRF ids for VN ctest-vn-67862854: {} 2025-10-21 15:25:25,109 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-21 15:25:25,114 - DEBUG - Requesting: http://10.0.0.41:8082/domain/cb0d9fe4-4f68-4853-be03-f69af2411f49 2025-10-21 15:25:25,125 - DEBUG - Requesting: http://10.0.0.41:8082/project/36ab57d4-6733-48e1-a1cc-460d9a36ef62 2025-10-21 15:25:25,195 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4315fe15-1c94-4f24-bc4c-04c6d45e871f 2025-10-21 15:25:25,206 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4315fe15-1c94-4f24-bc4c-04c6d45e871f 2025-10-21 15:25:25,214 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2ecb4253-ca09-4fda-afe3-17d3abe6935b 2025-10-21 15:25:25,220 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2ecb4253-ca09-4fda-afe3-17d3abe6935b 2025-10-21 15:25:25,226 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/77864ba3-0f26-4d48-9043-024408f3e470 2025-10-21 15:25:25,232 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 15:25:25,232 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4315fe15-1c94-4f24-bc4c-04c6d45e871f 2025-10-21 15:25:25,241 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2ecb4253-ca09-4fda-afe3-17d3abe6935b 2025-10-21 15:25:25,256 - INFO - Verified VN network id 13 for VN 4315fe15-1c94-4f24-bc4c-04c6d45e871f 2025-10-21 15:25:25,256 - INFO - Verifications in API Server for VN ctest-vn-29431131 passed 2025-10-21 15:25:25,256 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4315fe15-1c94-4f24-bc4c-04c6d45e871f 2025-10-21 15:25:25,265 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2ecb4253-ca09-4fda-afe3-17d3abe6935b 2025-10-21 15:25:25,272 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2ecb4253-ca09-4fda-afe3-17d3abe6935b 2025-10-21 15:25:25,279 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/77864ba3-0f26-4d48-9043-024408f3e470 2025-10-21 15:25:25,290 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60518478:ctest-vn-29431131', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60518478', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4834049141679345444', 'uuid-lslong': '13568225029373462303'}, 'enable': 'true', 'created': '2025-10-21T15:25:23', 'last-modified': '2025-10-21T15:25:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.296845'} 2025-10-21 15:25:25,295 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 15:25:25,295 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29431131 passed 2025-10-21 15:25:25,295 - DEBUG - ====Verifying policy data for ctest-vn-29431131 in API_Server ====== 2025-10-21 15:25:25,295 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-21 15:25:25,301 - DEBUG - Requesting: http://10.0.0.41:8082/domain/cb0d9fe4-4f68-4853-be03-f69af2411f49 2025-10-21 15:25:25,312 - DEBUG - Requesting: http://10.0.0.41:8082/project/36ab57d4-6733-48e1-a1cc-460d9a36ef62 2025-10-21 15:25:25,384 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4315fe15-1c94-4f24-bc4c-04c6d45e871f 2025-10-21 15:25:25,395 - DEBUG - ==>Verifying data for policy with id: 6fc00521-1f0d-440a-8f4c-862dbbbe1832, fqn: ['default-domain', 'ctest-TestBasicPolicy-60518478', 'ctest-policy-allow-all-90382947'] 2025-10-21 15:25:25,395 - INFO - VN ctest-vn-29431131 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 15:25:25,395 - DEBUG - Verifying the vn in opserver 2025-10-21 15:25:25,395 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60518478:ctest-vn-29431131 virtual network link through opserver 10.0.0.41 2025-10-21 15:25:25,395 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-21 15:25:25,405 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60518478:ctest-vn-29431131', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60518478:ctest-vn-29431131?flat'} 2025-10-21 15:25:25,405 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60518478:ctest-vn-29431131 is found in opserver 2025-10-21 15:25:25,415 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 15:25:25,419 - DEBUG - VRF ids for VN ctest-vn-29431131: {} 2025-10-21 15:25:25,469 - DEBUG - Services list from nova: [, , ] 2025-10-21 15:25:26,430 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4396-1) 2025-10-21 15:25:27,513 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4396-1) 2025-10-21 15:25:27,513 - INFO - Waiting for VM ctest-TestBasicPolicy-60518478-43376846 to be up.. 2025-10-21 15:25:27,599 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 15:25:32,665 - DEBUG - VM is in ACTIVE state now 2025-10-21 15:25:32,665 - INFO - VM name : ctest-TestBasicPolicy-60518478-43376846 2025-10-21 15:25:32,731 - DEBUG - VM ctest-TestBasicPolicy-60518478-43376846 ID is b382b4e0-e1a7-41e7-9bbd-056c7e70b245 2025-10-21 15:25:32,748 - DEBUG - VM ctest-TestBasicPolicy-60518478-43376846 launched on Node cn-jenkins-deploy-platform-ansible-os-4396-1 2025-10-21 15:25:32,811 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/b382b4e0-e1a7-41e7-9bbd-056c7e70b245 2025-10-21 15:25:32,818 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/ee1f2252-cfff-4a20-9d30-015243ab19c6 2025-10-21 15:25:36,045 - 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 1003ms') 2025-10-21 15:25:36,045 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60518478-43376846 failed! 2025-10-21 15:25:36,098 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60518478:ctest-vn-67862854 is 216.191.46.193 and allocation pool is NOT set 2025-10-21 15:25:38,162 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.26 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 = 2.258/4.511/6.764/2.253 ms') 2025-10-21 15:25:38,162 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60518478-43376846 passed 2025-10-21 15:25:38,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:25:38,314 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60518478-43376846, IP 216.191.46.195, Port 22 2025-10-21 15:25:38,470 - DEBUG - VM ctest-TestBasicPolicy-60518478-43376846 is ready for SSH connections 2025-10-21 15:25:38,470 - INFO - Waiting for VM ctest-TestBasicPolicy-60518478-67998153 to be up.. 2025-10-21 15:25:38,541 - DEBUG - VM is in ACTIVE state now 2025-10-21 15:25:38,541 - INFO - VM name : ctest-TestBasicPolicy-60518478-67998153 2025-10-21 15:25:38,606 - DEBUG - VM ctest-TestBasicPolicy-60518478-67998153 ID is e1b4a0a4-8c68-4850-969e-7416054a3ca9 2025-10-21 15:25:38,606 - DEBUG - VM ctest-TestBasicPolicy-60518478-67998153 launched on Node cn-jenkins-deploy-platform-ansible-os-4396-1 2025-10-21 15:25:38,669 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/e1b4a0a4-8c68-4850-969e-7416054a3ca9 2025-10-21 15:25:38,676 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a5325d25-038d-4ee6-8a8d-a3ac6a2e32ba 2025-10-21 15:25:39,897 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.553/2.696/1.142 ms') 2025-10-21 15:25:39,897 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-60518478-67998153 passed 2025-10-21 15:25:40,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:25:40,046 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60518478-67998153, IP 21.98.26.131, Port 22 2025-10-21 15:25:40,197 - DEBUG - VM ctest-TestBasicPolicy-60518478-67998153 is ready for SSH connections 2025-10-21 15:25:40,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:25:40,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.98.26.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-21 15:25:40,197 - DEBUG - ping -s 56 -c 3 -W 1 21.98.26.131 2025-10-21 15:25:43,875 - DEBUG - PING 21.98.26.131 (21.98.26.131): 56 data bytes 64 bytes from 21.98.26.131: seq=0 ttl=63 time=3.419 ms 64 bytes from 21.98.26.131: seq=1 ttl=63 time=0.766 ms 64 bytes from 21.98.26.131: seq=2 ttl=63 time=0.708 ms --- 21.98.26.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.708/1.631/3.419 ms 2025-10-21 15:25:43,875 - INFO - Ping to IP 21.98.26.131 from VM ctest-TestBasicPolicy-60518478-43376846 passed 2025-10-21 15:25:44,049 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6fc00521-1f0d-440a-8f4c-862dbbbe1832", "href": "http://10.0.0.41:8082/network-policy/6fc00521-1f0d-440a-8f4c-862dbbbe1832"}} 2025-10-21 15:25:44,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:25:44,050 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.98.26.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-21 15:25:44,050 - DEBUG - ping -s 56 -c 3 -W 1 21.98.26.131 2025-10-21 15:25:47,252 - DEBUG - PING 21.98.26.131 (21.98.26.131): 56 data bytes --- 21.98.26.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 15:25:47,253 - WARNING - Ping to IP 21.98.26.131 from VM ctest-TestBasicPolicy-60518478-43376846 failed 2025-10-21 15:25:47,253 - INFO - Deleting VM ctest-TestBasicPolicy-60518478-67998153 2025-10-21 15:25:47,312 - INFO - Deleting VM ctest-TestBasicPolicy-60518478-43376846 2025-10-21 15:25:47,653 - INFO - Deleted policy ctest-policy-allow-all-90382947 2025-10-21 15:25:47,653 - INFO - Deleting VN ctest-vn-29431131 2025-10-21 15:25:47,684 - DEBUG - VN 4315fe15-1c94-4f24-bc4c-04c6d45e871f still in use: Unable to complete operation on network 4315fe15-1c94-4f24-bc4c-04c6d45e871f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-85ae7fba-3f5f-4ff0-b55e-b1913f5c2e8e'] 2025-10-21 15:25:47,684 - WARNING - Deleting VN ctest-vn-29431131 failed..Will retry 2025-10-21 15:25:49,771 - DEBUG - Response for deleting network () 2025-10-21 15:25:49,771 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/2ecb4253-ca09-4fda-afe3-17d3abe6935b 2025-10-21 15:25:49,777 - DEBUG - Response Code: 404 2025-10-21 15:25:49,777 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-21 15:25:49,782 - DEBUG - Requesting: http://10.0.0.41:8082/domain/cb0d9fe4-4f68-4853-be03-f69af2411f49 2025-10-21 15:25:49,835 - DEBUG - Requesting: http://10.0.0.41:8082/project/36ab57d4-6733-48e1-a1cc-460d9a36ef62 2025-10-21 15:25:49,903 - INFO - Validated that VN ctest-vn-29431131 is not found in API Server 2025-10-21 15:25:49,912 - DEBUG - VN ctest-vn-29431131 is not present in Agent 10.0.0.41 2025-10-21 15:25:49,912 - INFO - Validated that VN ctest-vn-29431131 is not in any agent 2025-10-21 15:25:49,925 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29431131 info 2025-10-21 15:25:49,925 - INFO - Deleting VN ctest-vn-67862854 2025-10-21 15:25:50,010 - DEBUG - Response for deleting network () 2025-10-21 15:25:50,010 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/737f52b2-f3da-4b6b-b429-e9dcbf46fc61 2025-10-21 15:25:50,016 - DEBUG - Response Code: 404 2025-10-21 15:25:50,016 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-21 15:25:50,021 - DEBUG - Requesting: http://10.0.0.41:8082/domain/cb0d9fe4-4f68-4853-be03-f69af2411f49 2025-10-21 15:25:50,079 - DEBUG - Requesting: http://10.0.0.41:8082/project/36ab57d4-6733-48e1-a1cc-460d9a36ef62 2025-10-21 15:25:50,157 - INFO - Validated that VN ctest-vn-67862854 is not found in API Server 2025-10-21 15:25:50,166 - DEBUG - VN ctest-vn-67862854 is not present in Agent 10.0.0.41 2025-10-21 15:25:50,166 - INFO - Validated that VN ctest-vn-67862854 is not in any agent 2025-10-21 15:25:50,177 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67862854 info 2025-10-21 15:25:50,432 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 15:25:50,432 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-21 15:25:50,432 - INFO - -------------------------------------------------------------------------------- 2025-10-21 15:25:51,079 - INFO - Deleted project: ctest-TestBasicPolicy-60518478, ID : 36ab57d4-6733-48e1-a1cc-460d9a36ef62