2025-10-06 15:55:05,074 - INFO - Domain Default found not creating 2025-10-06 15:55:05,205 - INFO - Project ctest-TestBasicPolicy-51105435 not found, creating it 2025-10-06 15:55:05,628 - INFO - Created Project:ctest-TestBasicPolicy-51105435, ID : ce8614f1-f1e0-4f79-90fe-e28f9c2487b1 2025-10-06 15:55:07,560 - INFO - ================================================================================ 2025-10-06 15:55:07,560 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-06 15:55:07,560 - 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-06 15:55:07,813 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-06 15:55:07,813 - INFO - Initial checks done. Running the testcase now 2025-10-06 15:55:07,813 - INFO - 2025-10-06 15:55:08,341 - DEBUG - Response for create_network : {'network': {'id': 'd8010e71-6841-4f0c-94f9-b7d60d0eb1cb', 'name': 'ctest-vn-19110584', 'tenant_id': 'ce8614f1f1e04f7990fee28f9c2487b1', 'project_id': 'ce8614f1f1e04f7990fee28f9c2487b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51105435', 'ctest-vn-19110584'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 15:55:08,524 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1bb7d67-7097-4139-aa53-5bef55afa20a', 'name': '', 'tenant_id': 'ce8614f1f1e04f7990fee28f9c2487b1', 'network_id': 'd8010e71-6841-4f0c-94f9-b7d60d0eb1cb', 'ip_version': 4, 'cidr': '156.195.249.0/26', 'allocation_pools': [{'start': '156.195.249.2', 'end': '156.195.249.62'}], 'gateway_ip': '156.195.249.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.195.249.2', 'tags': [], 'project_id': 'ce8614f1f1e04f7990fee28f9c2487b1'}} 2025-10-06 15:55:08,539 - INFO - Created VN ctest-vn-19110584 2025-10-06 15:55:08,588 - DEBUG - VN ctest-vn-19110584 UUID is d8010e71-6841-4f0c-94f9-b7d60d0eb1cb 2025-10-06 15:55:08,892 - DEBUG - Response for create_network : {'network': {'id': '3008be29-ed95-48b5-8345-2f9c6c6d2463', 'name': 'ctest-vn-59922136', 'tenant_id': 'ce8614f1f1e04f7990fee28f9c2487b1', 'project_id': 'ce8614f1f1e04f7990fee28f9c2487b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51105435', 'ctest-vn-59922136'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 15:55:09,074 - DEBUG - Response for create_subnet : {'subnet': {'id': '7dffd150-df40-4da7-85b1-acc40a373f8a', 'name': '', 'tenant_id': 'ce8614f1f1e04f7990fee28f9c2487b1', 'network_id': '3008be29-ed95-48b5-8345-2f9c6c6d2463', 'ip_version': 4, 'cidr': '108.152.189.64/26', 'allocation_pools': [{'start': '108.152.189.66', 'end': '108.152.189.126'}], 'gateway_ip': '108.152.189.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.152.189.66', 'tags': [], 'project_id': 'ce8614f1f1e04f7990fee28f9c2487b1'}} 2025-10-06 15:55:09,091 - INFO - Created VN ctest-vn-59922136 2025-10-06 15:55:09,141 - DEBUG - VN ctest-vn-59922136 UUID is 3008be29-ed95-48b5-8345-2f9c6c6d2463 2025-10-06 15:55:09,288 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51105435:ctest-vn-19110584, 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-51105435:ctest-vn-59922136, 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-06 15:55:09,588 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd8010e71-6841-4f0c-94f9-b7d60d0eb1cb', 'name': 'ctest-vn-19110584', 'tenant_id': 'ce8614f1f1e04f7990fee28f9c2487b1', 'project_id': 'ce8614f1f1e04f7990fee28f9c2487b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d1bb7d67-7097-4139-aa53-5bef55afa20a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51105435', 'ctest-vn-19110584'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51105435', 'ctest-policy-allow-all-78003779']], 'subnet_ipam': [{'subnet_cidr': '156.195.249.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-06 15:55:09,806 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3008be29-ed95-48b5-8345-2f9c6c6d2463', 'name': 'ctest-vn-59922136', 'tenant_id': 'ce8614f1f1e04f7990fee28f9c2487b1', 'project_id': 'ce8614f1f1e04f7990fee28f9c2487b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7dffd150-df40-4da7-85b1-acc40a373f8a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51105435', 'ctest-vn-59922136'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51105435', 'ctest-policy-allow-all-78003779']], 'subnet_ipam': [{'subnet_cidr': '108.152.189.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-06 15:55:09,965 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-06 15:55:10,258 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-06 15:55:10,281 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1207d219-508d-4593-8404-52bf7e8650af 2025-10-06 15:55:10,291 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce8614f1-f1e0-4f79-90fe-e28f9c2487b1 2025-10-06 15:55:10,357 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d8010e71-6841-4f0c-94f9-b7d60d0eb1cb 2025-10-06 15:55:10,367 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d8010e71-6841-4f0c-94f9-b7d60d0eb1cb 2025-10-06 15:55:10,375 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a626d89d-de0c-4544-af58-bc76a4a64837 2025-10-06 15:55:10,381 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a626d89d-de0c-4544-af58-bc76a4a64837 2025-10-06 15:55:10,387 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/83d6155d-7d0d-46ac-899c-ca7d550f463d 2025-10-06 15:55:10,392 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 15:55:10,392 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d8010e71-6841-4f0c-94f9-b7d60d0eb1cb 2025-10-06 15:55:10,400 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a626d89d-de0c-4544-af58-bc76a4a64837 2025-10-06 15:55:10,414 - INFO - Verified VN network id 11 for VN d8010e71-6841-4f0c-94f9-b7d60d0eb1cb 2025-10-06 15:55:10,414 - INFO - Verifications in API Server for VN ctest-vn-19110584 passed 2025-10-06 15:55:10,414 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d8010e71-6841-4f0c-94f9-b7d60d0eb1cb 2025-10-06 15:55:10,421 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a626d89d-de0c-4544-af58-bc76a4a64837 2025-10-06 15:55:10,427 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a626d89d-de0c-4544-af58-bc76a4a64837 2025-10-06 15:55:10,432 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/83d6155d-7d0d-46ac-899c-ca7d550f463d 2025-10-06 15:55:10,444 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51105435:ctest-vn-19110584', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51105435', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15564737667412348684', 'uuid-lslong': '10734813316784239051'}, 'enable': 'true', 'created': '2025-10-06T15:55:08', 'last-modified': '2025-10-06T15:55:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.875845'} 2025-10-06 15:55:10,450 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 15:55:10,450 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19110584 passed 2025-10-06 15:55:10,450 - DEBUG - ====Verifying policy data for ctest-vn-19110584 in API_Server ====== 2025-10-06 15:55:10,450 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-06 15:55:10,455 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1207d219-508d-4593-8404-52bf7e8650af 2025-10-06 15:55:10,463 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce8614f1-f1e0-4f79-90fe-e28f9c2487b1 2025-10-06 15:55:10,529 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d8010e71-6841-4f0c-94f9-b7d60d0eb1cb 2025-10-06 15:55:10,536 - DEBUG - ==>Verifying data for policy with id: dc6ff691-a2f4-4c33-b2b0-c36443d7116b, fqn: ['default-domain', 'ctest-TestBasicPolicy-51105435', 'ctest-policy-allow-all-78003779'] 2025-10-06 15:55:10,537 - INFO - VN ctest-vn-19110584 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-06 15:55:10,537 - DEBUG - Verifying the vn in opserver 2025-10-06 15:55:10,537 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51105435:ctest-vn-19110584 virtual network link through opserver 10.0.0.38 2025-10-06 15:55:10,537 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-06 15:55:10,826 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-06 15:55:10,873 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51105435:ctest-vn-19110584', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51105435:ctest-vn-19110584?flat'} 2025-10-06 15:55:10,873 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51105435:ctest-vn-19110584 is found in opserver 2025-10-06 15:55:10,881 - DEBUG - Do not have enough data to verify VN in agent 2025-10-06 15:55:10,885 - DEBUG - VRF ids for VN ctest-vn-19110584: {} 2025-10-06 15:55:10,885 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-06 15:55:10,889 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1207d219-508d-4593-8404-52bf7e8650af 2025-10-06 15:55:10,899 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce8614f1-f1e0-4f79-90fe-e28f9c2487b1 2025-10-06 15:55:10,963 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3008be29-ed95-48b5-8345-2f9c6c6d2463 2025-10-06 15:55:10,972 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3008be29-ed95-48b5-8345-2f9c6c6d2463 2025-10-06 15:55:10,979 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d641ad13-5279-42d1-a5d1-484d9ab86658 2025-10-06 15:55:10,985 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d641ad13-5279-42d1-a5d1-484d9ab86658 2025-10-06 15:55:10,990 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/62d77951-4da0-421d-8f50-ead9494cff22 2025-10-06 15:55:10,995 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-06 15:55:10,995 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3008be29-ed95-48b5-8345-2f9c6c6d2463 2025-10-06 15:55:11,002 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d641ad13-5279-42d1-a5d1-484d9ab86658 2025-10-06 15:55:11,015 - INFO - Verified VN network id 12 for VN 3008be29-ed95-48b5-8345-2f9c6c6d2463 2025-10-06 15:55:11,015 - INFO - Verifications in API Server for VN ctest-vn-59922136 passed 2025-10-06 15:55:11,015 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3008be29-ed95-48b5-8345-2f9c6c6d2463 2025-10-06 15:55:11,024 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d641ad13-5279-42d1-a5d1-484d9ab86658 2025-10-06 15:55:11,031 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d641ad13-5279-42d1-a5d1-484d9ab86658 2025-10-06 15:55:11,037 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/62d77951-4da0-421d-8f50-ead9494cff22 2025-10-06 15:55:11,048 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51105435:ctest-vn-59922136', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51105435', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3461225400923146421', 'uuid-lslong': '9459018941242090595'}, 'enable': 'true', 'created': '2025-10-06T15:55:08', 'last-modified': '2025-10-06T15:55:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.262516'} 2025-10-06 15:55:11,054 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-06 15:55:11,054 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59922136 passed 2025-10-06 15:55:11,054 - DEBUG - ====Verifying policy data for ctest-vn-59922136 in API_Server ====== 2025-10-06 15:55:11,054 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-06 15:55:11,059 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1207d219-508d-4593-8404-52bf7e8650af 2025-10-06 15:55:11,067 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce8614f1-f1e0-4f79-90fe-e28f9c2487b1 2025-10-06 15:55:11,134 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3008be29-ed95-48b5-8345-2f9c6c6d2463 2025-10-06 15:55:11,141 - DEBUG - ==>Verifying data for policy with id: dc6ff691-a2f4-4c33-b2b0-c36443d7116b, fqn: ['default-domain', 'ctest-TestBasicPolicy-51105435', 'ctest-policy-allow-all-78003779'] 2025-10-06 15:55:11,141 - INFO - VN ctest-vn-59922136 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-06 15:55:11,142 - DEBUG - Verifying the vn in opserver 2025-10-06 15:55:11,142 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51105435:ctest-vn-59922136 virtual network link through opserver 10.0.0.38 2025-10-06 15:55:11,142 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-06 15:55:11,149 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51105435:ctest-vn-59922136', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51105435:ctest-vn-59922136?flat'} 2025-10-06 15:55:11,149 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51105435:ctest-vn-59922136 is found in opserver 2025-10-06 15:55:11,157 - DEBUG - Do not have enough data to verify VN in agent 2025-10-06 15:55:11,161 - DEBUG - VRF ids for VN ctest-vn-59922136: {} 2025-10-06 15:55:11,210 - DEBUG - Services list from nova: [, , ] 2025-10-06 15:55:12,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4224-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4224-1) 2025-10-06 15:55:13,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4224-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4224-1) 2025-10-06 15:55:13,241 - INFO - Waiting for VM ctest-TestBasicPolicy-51105435-74936747 to be up.. 2025-10-06 15:55:13,326 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 15:55:18,396 - DEBUG - VM is in ACTIVE state now 2025-10-06 15:55:18,396 - INFO - VM name : ctest-TestBasicPolicy-51105435-74936747 2025-10-06 15:55:18,457 - DEBUG - VM ctest-TestBasicPolicy-51105435-74936747 ID is 2b89abb8-6ed1-4826-99d0-78d6f2b950ab 2025-10-06 15:55:18,473 - DEBUG - VM ctest-TestBasicPolicy-51105435-74936747 launched on Node cn-jenkins-deploy-platform-ansible-os-4224-1 2025-10-06 15:55:18,540 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2b89abb8-6ed1-4826-99d0-78d6f2b950ab 2025-10-06 15:55:18,547 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/84baa611-68f4-4753-89a9-bf0ff8580e33 2025-10-06 15:55:21,782 - 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 1008ms') 2025-10-06 15:55:21,783 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51105435-74936747 failed! 2025-10-06 15:55:21,841 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51105435:ctest-vn-19110584 is 156.195.249.1 and allocation pool is NOT set 2025-10-06 15:55:23,903 - 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=3.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.425/1.766/3.107/1.341 ms') 2025-10-06 15:55:23,903 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51105435-74936747 passed 2025-10-06 15:55:24,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 15:55:24,057 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51105435-74936747, IP 156.195.249.3, Port 22 2025-10-06 15:55:24,208 - DEBUG - VM ctest-TestBasicPolicy-51105435-74936747 is ready for SSH connections 2025-10-06 15:55:24,208 - INFO - Waiting for VM ctest-TestBasicPolicy-51105435-75707854 to be up.. 2025-10-06 15:55:24,270 - DEBUG - VM is in ACTIVE state now 2025-10-06 15:55:24,270 - INFO - VM name : ctest-TestBasicPolicy-51105435-75707854 2025-10-06 15:55:24,334 - DEBUG - VM ctest-TestBasicPolicy-51105435-75707854 ID is a70d62e5-7d50-4a69-924d-74b328f05eb1 2025-10-06 15:55:24,334 - DEBUG - VM ctest-TestBasicPolicy-51105435-75707854 launched on Node cn-jenkins-deploy-platform-ansible-os-4224-1 2025-10-06 15:55:24,396 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a70d62e5-7d50-4a69-924d-74b328f05eb1 2025-10-06 15:55:24,403 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/89dc639c-7ce8-4a09-8bc9-2e36fb4cc40f 2025-10-06 15:55:25,634 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 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.371/1.442/2.514/1.071 ms') 2025-10-06 15:55:25,634 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51105435-75707854 passed 2025-10-06 15:55:25,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 15:55:25,781 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51105435-75707854, IP 108.152.189.67, Port 22 2025-10-06 15:55:25,932 - DEBUG - VM ctest-TestBasicPolicy-51105435-75707854 is ready for SSH connections 2025-10-06 15:55:25,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 15:55:25,932 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.152.189.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-06 15:55:25,932 - DEBUG - ping -s 56 -c 3 -W 1 108.152.189.67 2025-10-06 15:55:29,604 - DEBUG - PING 108.152.189.67 (108.152.189.67): 56 data bytes 64 bytes from 108.152.189.67: seq=0 ttl=63 time=3.131 ms 64 bytes from 108.152.189.67: seq=1 ttl=63 time=0.666 ms 64 bytes from 108.152.189.67: seq=2 ttl=63 time=0.651 ms --- 108.152.189.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.651/1.482/3.131 ms 2025-10-06 15:55:29,604 - INFO - Ping to IP 108.152.189.67 from VM ctest-TestBasicPolicy-51105435-74936747 passed 2025-10-06 15:55:29,776 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dc6ff691-a2f4-4c33-b2b0-c36443d7116b", "href": "http://10.0.0.38:8082/network-policy/dc6ff691-a2f4-4c33-b2b0-c36443d7116b"}} 2025-10-06 15:55:29,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 15:55:29,777 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.152.189.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-06 15:55:29,777 - DEBUG - ping -s 56 -c 3 -W 1 108.152.189.67 2025-10-06 15:55:32,977 - DEBUG - PING 108.152.189.67 (108.152.189.67): 56 data bytes --- 108.152.189.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-06 15:55:32,977 - WARNING - Ping to IP 108.152.189.67 from VM ctest-TestBasicPolicy-51105435-74936747 failed 2025-10-06 15:55:32,977 - INFO - Deleting VM ctest-TestBasicPolicy-51105435-75707854 2025-10-06 15:55:33,042 - INFO - Deleting VM ctest-TestBasicPolicy-51105435-74936747 2025-10-06 15:55:33,376 - INFO - Deleted policy ctest-policy-allow-all-78003779 2025-10-06 15:55:33,376 - INFO - Deleting VN ctest-vn-59922136 2025-10-06 15:55:33,407 - DEBUG - VN 3008be29-ed95-48b5-8345-2f9c6c6d2463 still in use: Unable to complete operation on network 3008be29-ed95-48b5-8345-2f9c6c6d2463. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-70143969-b76e-45ea-a579-ea0b87a73409'] 2025-10-06 15:55:33,407 - WARNING - Deleting VN ctest-vn-59922136 failed..Will retry 2025-10-06 15:55:35,498 - DEBUG - Response for deleting network () 2025-10-06 15:55:35,498 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d641ad13-5279-42d1-a5d1-484d9ab86658 2025-10-06 15:55:35,503 - DEBUG - Response Code: 404 2025-10-06 15:55:35,503 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-06 15:55:35,507 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1207d219-508d-4593-8404-52bf7e8650af 2025-10-06 15:55:35,557 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce8614f1-f1e0-4f79-90fe-e28f9c2487b1 2025-10-06 15:55:35,623 - INFO - Validated that VN ctest-vn-59922136 is not found in API Server 2025-10-06 15:55:35,632 - DEBUG - VN ctest-vn-59922136 is not present in Agent 10.0.0.38 2025-10-06 15:55:35,632 - INFO - Validated that VN ctest-vn-59922136 is not in any agent 2025-10-06 15:55:35,643 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59922136 info 2025-10-06 15:55:35,643 - INFO - Deleting VN ctest-vn-19110584 2025-10-06 15:55:35,737 - DEBUG - Response for deleting network () 2025-10-06 15:55:35,737 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a626d89d-de0c-4544-af58-bc76a4a64837 2025-10-06 15:55:35,743 - DEBUG - Response Code: 404 2025-10-06 15:55:35,743 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-06 15:55:35,748 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1207d219-508d-4593-8404-52bf7e8650af 2025-10-06 15:55:35,801 - DEBUG - Requesting: http://10.0.0.38:8082/project/ce8614f1-f1e0-4f79-90fe-e28f9c2487b1 2025-10-06 15:55:35,867 - INFO - Validated that VN ctest-vn-19110584 is not found in API Server 2025-10-06 15:55:35,877 - DEBUG - VN ctest-vn-19110584 is not present in Agent 10.0.0.38 2025-10-06 15:55:35,877 - INFO - Validated that VN ctest-vn-19110584 is not in any agent 2025-10-06 15:55:35,889 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19110584 info 2025-10-06 15:55:36,145 - DEBUG - No XMPP flaps were noticed during the test 2025-10-06 15:55:36,145 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-06 15:55:36,145 - INFO - -------------------------------------------------------------------------------- 2025-10-06 15:55:36,779 - INFO - Deleted project: ctest-TestBasicPolicy-51105435, ID : ce8614f1-f1e0-4f79-90fe-e28f9c2487b1