2026-06-03 16:43:55,010 - INFO - Domain Default found not creating 2026-06-03 16:43:55,186 - INFO - Project ctest-TestBasicPolicy-25121434 not found, creating it 2026-06-03 16:43:55,684 - INFO - Created Project:ctest-TestBasicPolicy-25121434, ID : 3ffb3f9c-aabd-4163-b86a-271cfb337a99 2026-06-03 16:43:57,207 - INFO - ================================================================================ 2026-06-03 16:43:57,207 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-03 16:43:57,207 - 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 2026-06-03 16:43:57,469 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-06-03 16:43:57,469 - INFO - Initial checks done. Running the testcase now 2026-06-03 16:43:57,469 - INFO - 2026-06-03 16:43:58,023 - DEBUG - Response for create_network : {'network': {'id': 'd7f5504e-eda6-4d1a-853e-4774a3d8f949', 'name': 'ctest-vn-57828242', 'tenant_id': '3ffb3f9caabd4163b86a271cfb337a99', 'project_id': '3ffb3f9caabd4163b86a271cfb337a99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25121434', 'ctest-vn-57828242'], 'port_security_enabled': True, 'description': ''}} 2026-06-03 16:43:58,223 - DEBUG - Response for create_subnet : {'subnet': {'id': '888c69ee-af99-448a-a2b3-7fa236c687ce', 'name': '', 'tenant_id': '3ffb3f9caabd4163b86a271cfb337a99', 'network_id': 'd7f5504e-eda6-4d1a-853e-4774a3d8f949', 'ip_version': 4, 'cidr': '121.21.93.192/26', 'allocation_pools': [{'start': '121.21.93.194', 'end': '121.21.93.254'}], 'gateway_ip': '121.21.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.21.93.194', 'tags': [], 'project_id': '3ffb3f9caabd4163b86a271cfb337a99'}} 2026-06-03 16:43:58,241 - INFO - Created VN ctest-vn-57828242 2026-06-03 16:43:58,292 - DEBUG - VN ctest-vn-57828242 UUID is d7f5504e-eda6-4d1a-853e-4774a3d8f949 2026-06-03 16:43:58,589 - DEBUG - Response for create_network : {'network': {'id': 'd6c5afe1-fadb-44f4-826b-d73f14c6eb5a', 'name': 'ctest-vn-97775910', 'tenant_id': '3ffb3f9caabd4163b86a271cfb337a99', 'project_id': '3ffb3f9caabd4163b86a271cfb337a99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25121434', 'ctest-vn-97775910'], 'port_security_enabled': True, 'description': ''}} 2026-06-03 16:43:58,757 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0b43e27-422c-4a07-84cf-a2312e22c481', 'name': '', 'tenant_id': '3ffb3f9caabd4163b86a271cfb337a99', 'network_id': 'd6c5afe1-fadb-44f4-826b-d73f14c6eb5a', 'ip_version': 4, 'cidr': '216.24.160.128/26', 'allocation_pools': [{'start': '216.24.160.130', 'end': '216.24.160.190'}], 'gateway_ip': '216.24.160.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.24.160.130', 'tags': [], 'project_id': '3ffb3f9caabd4163b86a271cfb337a99'}} 2026-06-03 16:43:58,775 - INFO - Created VN ctest-vn-97775910 2026-06-03 16:43:58,828 - DEBUG - VN ctest-vn-97775910 UUID is d6c5afe1-fadb-44f4-826b-d73f14c6eb5a 2026-06-03 16:43:58,984 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25121434:ctest-vn-57828242, 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-25121434:ctest-vn-97775910, 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] 2026-06-03 16:43:59,279 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd7f5504e-eda6-4d1a-853e-4774a3d8f949', 'name': 'ctest-vn-57828242', 'tenant_id': '3ffb3f9caabd4163b86a271cfb337a99', 'project_id': '3ffb3f9caabd4163b86a271cfb337a99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['888c69ee-af99-448a-a2b3-7fa236c687ce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25121434', 'ctest-vn-57828242'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25121434', 'ctest-policy-allow-all-07795967']], 'subnet_ipam': [{'subnet_cidr': '121.21.93.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-03 16:43:59,518 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd6c5afe1-fadb-44f4-826b-d73f14c6eb5a', 'name': 'ctest-vn-97775910', 'tenant_id': '3ffb3f9caabd4163b86a271cfb337a99', 'project_id': '3ffb3f9caabd4163b86a271cfb337a99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a0b43e27-422c-4a07-84cf-a2312e22c481'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25121434', 'ctest-vn-97775910'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25121434', 'ctest-policy-allow-all-07795967']], 'subnet_ipam': [{'subnet_cidr': '216.24.160.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-03 16:43:59,684 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-03 16:43:59,981 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-03 16:44:00,014 - DEBUG - Requesting: http://10.0.0.38:8082/domain/48f12088-9884-4e7e-a88e-94e33964d033 2026-06-03 16:44:00,027 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ffb3f9c-aabd-4163-b86a-271cfb337a99 2026-06-03 16:44:00,100 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d7f5504e-eda6-4d1a-853e-4774a3d8f949 2026-06-03 16:44:00,113 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d7f5504e-eda6-4d1a-853e-4774a3d8f949 2026-06-03 16:44:00,124 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c564546-6b37-4d7f-b5f2-9f6698443d32 2026-06-03 16:44:00,131 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c564546-6b37-4d7f-b5f2-9f6698443d32 2026-06-03 16:44:00,138 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a596826b-f359-4eea-b9e4-74a8e163207e 2026-06-03 16:44:00,143 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-03 16:44:00,143 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d7f5504e-eda6-4d1a-853e-4774a3d8f949 2026-06-03 16:44:00,152 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c564546-6b37-4d7f-b5f2-9f6698443d32 2026-06-03 16:44:00,165 - INFO - Verified VN network id 11 for VN d7f5504e-eda6-4d1a-853e-4774a3d8f949 2026-06-03 16:44:00,165 - INFO - Verifications in API Server for VN ctest-vn-57828242 passed 2026-06-03 16:44:00,166 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d7f5504e-eda6-4d1a-853e-4774a3d8f949 2026-06-03 16:44:00,174 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c564546-6b37-4d7f-b5f2-9f6698443d32 2026-06-03 16:44:00,181 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c564546-6b37-4d7f-b5f2-9f6698443d32 2026-06-03 16:44:00,189 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a596826b-f359-4eea-b9e4-74a8e163207e 2026-06-03 16:44:00,201 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25121434:ctest-vn-57828242', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25121434', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15561432387373387034', 'uuid-lslong': '9601190021891160393'}, 'enable': 'true', 'created': '2026-06-03T16:43:57', 'last-modified': '2026-06-03T16:43:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943029'} 2026-06-03 16:44:00,207 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-03 16:44:00,207 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57828242 passed 2026-06-03 16:44:00,207 - DEBUG - ====Verifying policy data for ctest-vn-57828242 in API_Server ====== 2026-06-03 16:44:00,207 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-03 16:44:00,213 - DEBUG - Requesting: http://10.0.0.38:8082/domain/48f12088-9884-4e7e-a88e-94e33964d033 2026-06-03 16:44:00,224 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ffb3f9c-aabd-4163-b86a-271cfb337a99 2026-06-03 16:44:00,292 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d7f5504e-eda6-4d1a-853e-4774a3d8f949 2026-06-03 16:44:00,300 - DEBUG - ==>Verifying data for policy with id: 90e2cd32-c3c4-4b4a-91c8-c8bb6ccfb1c2, fqn: ['default-domain', 'ctest-TestBasicPolicy-25121434', 'ctest-policy-allow-all-07795967'] 2026-06-03 16:44:00,300 - INFO - VN ctest-vn-57828242 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-03 16:44:00,300 - DEBUG - Verifying the vn in opserver 2026-06-03 16:44:00,300 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25121434:ctest-vn-57828242 virtual network link through opserver 10.0.0.38 2026-06-03 16:44:00,301 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-03 16:44:00,592 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-03 16:44:00,654 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25121434:ctest-vn-57828242', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25121434:ctest-vn-57828242?flat'} 2026-06-03 16:44:00,654 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25121434:ctest-vn-57828242 is found in opserver 2026-06-03 16:44:00,665 - DEBUG - Do not have enough data to verify VN in agent 2026-06-03 16:44:00,670 - DEBUG - VRF ids for VN ctest-vn-57828242: {} 2026-06-03 16:44:00,670 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-03 16:44:00,675 - DEBUG - Requesting: http://10.0.0.38:8082/domain/48f12088-9884-4e7e-a88e-94e33964d033 2026-06-03 16:44:00,686 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ffb3f9c-aabd-4163-b86a-271cfb337a99 2026-06-03 16:44:00,758 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d6c5afe1-fadb-44f4-826b-d73f14c6eb5a 2026-06-03 16:44:00,770 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d6c5afe1-fadb-44f4-826b-d73f14c6eb5a 2026-06-03 16:44:00,781 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/154b1924-00e5-45c0-a2dd-a6044234f7b9 2026-06-03 16:44:00,788 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/154b1924-00e5-45c0-a2dd-a6044234f7b9 2026-06-03 16:44:00,797 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/577c3785-98d8-43cf-9474-30908215dd08 2026-06-03 16:44:00,803 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-03 16:44:00,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d6c5afe1-fadb-44f4-826b-d73f14c6eb5a 2026-06-03 16:44:00,812 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/154b1924-00e5-45c0-a2dd-a6044234f7b9 2026-06-03 16:44:00,828 - INFO - Verified VN network id 12 for VN d6c5afe1-fadb-44f4-826b-d73f14c6eb5a 2026-06-03 16:44:00,828 - INFO - Verifications in API Server for VN ctest-vn-97775910 passed 2026-06-03 16:44:00,828 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d6c5afe1-fadb-44f4-826b-d73f14c6eb5a 2026-06-03 16:44:00,838 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/154b1924-00e5-45c0-a2dd-a6044234f7b9 2026-06-03 16:44:00,845 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/154b1924-00e5-45c0-a2dd-a6044234f7b9 2026-06-03 16:44:00,853 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/577c3785-98d8-43cf-9474-30908215dd08 2026-06-03 16:44:00,865 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25121434:ctest-vn-97775910', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25121434', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15475969079639753972', 'uuid-lslong': '9397841713370164058'}, 'enable': 'true', 'created': '2026-06-03T16:43:58', 'last-modified': '2026-06-03T16:43:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.367763'} 2026-06-03 16:44:00,871 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-03 16:44:00,871 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97775910 passed 2026-06-03 16:44:00,871 - DEBUG - ====Verifying policy data for ctest-vn-97775910 in API_Server ====== 2026-06-03 16:44:00,871 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-03 16:44:00,877 - DEBUG - Requesting: http://10.0.0.38:8082/domain/48f12088-9884-4e7e-a88e-94e33964d033 2026-06-03 16:44:00,888 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ffb3f9c-aabd-4163-b86a-271cfb337a99 2026-06-03 16:44:00,958 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d6c5afe1-fadb-44f4-826b-d73f14c6eb5a 2026-06-03 16:44:00,967 - DEBUG - ==>Verifying data for policy with id: 90e2cd32-c3c4-4b4a-91c8-c8bb6ccfb1c2, fqn: ['default-domain', 'ctest-TestBasicPolicy-25121434', 'ctest-policy-allow-all-07795967'] 2026-06-03 16:44:00,967 - INFO - VN ctest-vn-97775910 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-03 16:44:00,967 - DEBUG - Verifying the vn in opserver 2026-06-03 16:44:00,967 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25121434:ctest-vn-97775910 virtual network link through opserver 10.0.0.38 2026-06-03 16:44:00,967 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-03 16:44:00,977 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25121434:ctest-vn-97775910', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25121434:ctest-vn-97775910?flat'} 2026-06-03 16:44:00,977 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25121434:ctest-vn-97775910 is found in opserver 2026-06-03 16:44:00,987 - DEBUG - Do not have enough data to verify VN in agent 2026-06-03 16:44:00,993 - DEBUG - VRF ids for VN ctest-vn-97775910: {} 2026-06-03 16:44:01,054 - DEBUG - Services list from nova: [, , ] 2026-06-03 16:44:02,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5882-1) 2026-06-03 16:44:03,231 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5882-1) 2026-06-03 16:44:03,231 - INFO - Waiting for VM ctest-TestBasicPolicy-25121434-94828794 to be up.. 2026-06-03 16:44:03,318 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-03 16:44:08,396 - DEBUG - VM is in ACTIVE state now 2026-06-03 16:44:08,396 - INFO - VM name : ctest-TestBasicPolicy-25121434-94828794 2026-06-03 16:44:08,479 - DEBUG - VM ctest-TestBasicPolicy-25121434-94828794 ID is 6c158118-2004-489f-ae93-0a4d791c1ad7 2026-06-03 16:44:08,502 - DEBUG - VM ctest-TestBasicPolicy-25121434-94828794 launched on Node cn-jenkins-deploy-platform-ansible-os-5882-1 2026-06-03 16:44:08,595 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6c158118-2004-489f-ae93-0a4d791c1ad7 2026-06-03 16:44:08,604 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/caec61f3-45a4-48b5-b8a8-06289b79af87 2026-06-03 16:44:11,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 1018ms') 2026-06-03 16:44:11,866 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25121434-94828794 failed! 2026-06-03 16:44:11,924 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25121434:ctest-vn-57828242 is 121.21.93.193 and allocation pool is NOT set 2026-06-03 16:44:13,989 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.40 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 = 1.404/4.671/7.939/3.267 ms') 2026-06-03 16:44:13,989 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25121434-94828794 passed 2026-06-03 16:44:14,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 16:44:14,136 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25121434-94828794, IP 121.21.93.195, Port 22 2026-06-03 16:44:14,302 - DEBUG - VM ctest-TestBasicPolicy-25121434-94828794 is ready for SSH connections 2026-06-03 16:44:14,302 - INFO - Waiting for VM ctest-TestBasicPolicy-25121434-03822994 to be up.. 2026-06-03 16:44:14,382 - DEBUG - VM is in ACTIVE state now 2026-06-03 16:44:14,382 - INFO - VM name : ctest-TestBasicPolicy-25121434-03822994 2026-06-03 16:44:14,463 - DEBUG - VM ctest-TestBasicPolicy-25121434-03822994 ID is c9998d1b-b9f2-4da8-8f00-f8250ffa11e7 2026-06-03 16:44:14,463 - DEBUG - VM ctest-TestBasicPolicy-25121434-03822994 launched on Node cn-jenkins-deploy-platform-ansible-os-5882-1 2026-06-03 16:44:14,540 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c9998d1b-b9f2-4da8-8f00-f8250ffa11e7 2026-06-03 16:44:14,549 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9f4643cc-fdd0-414c-af90-70273568b307 2026-06-03 16:44:15,781 - 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=4.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.52 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 = 2.521/3.390/4.259/0.869 ms') 2026-06-03 16:44:15,782 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25121434-03822994 passed 2026-06-03 16:44:15,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 16:44:15,929 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25121434-03822994, IP 216.24.160.131, Port 22 2026-06-03 16:44:16,079 - DEBUG - VM ctest-TestBasicPolicy-25121434-03822994 is ready for SSH connections 2026-06-03 16:44:16,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 16:44:16,079 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.24.160.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-03 16:44:16,080 - DEBUG - ping -s 56 -c 3 -W 1 216.24.160.131 2026-06-03 16:44:20,156 - DEBUG - PING 216.24.160.131 (216.24.160.131): 56 data bytes 64 bytes from 216.24.160.131: seq=0 ttl=63 time=3.373 ms 64 bytes from 216.24.160.131: seq=1 ttl=63 time=0.853 ms 64 bytes from 216.24.160.131: seq=2 ttl=63 time=0.848 ms --- 216.24.160.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/1.691/3.373 ms 2026-06-03 16:44:20,156 - INFO - Ping to IP 216.24.160.131 from VM ctest-TestBasicPolicy-25121434-94828794 passed 2026-06-03 16:44:20,328 - DEBUG - Policy Update Response {"network-policy": {"uuid": "90e2cd32-c3c4-4b4a-91c8-c8bb6ccfb1c2", "href": "http://10.0.0.38:8082/network-policy/90e2cd32-c3c4-4b4a-91c8-c8bb6ccfb1c2"}} 2026-06-03 16:44:20,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 16:44:20,328 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.24.160.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-03 16:44:20,328 - DEBUG - ping -s 56 -c 3 -W 1 216.24.160.131 2026-06-03 16:44:23,566 - DEBUG - PING 216.24.160.131 (216.24.160.131): 56 data bytes --- 216.24.160.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-03 16:44:23,566 - WARNING - Ping to IP 216.24.160.131 from VM ctest-TestBasicPolicy-25121434-94828794 failed 2026-06-03 16:44:23,566 - INFO - Deleting VM ctest-TestBasicPolicy-25121434-03822994 2026-06-03 16:44:23,647 - INFO - Deleting VM ctest-TestBasicPolicy-25121434-94828794 2026-06-03 16:44:24,026 - INFO - Deleted policy ctest-policy-allow-all-07795967 2026-06-03 16:44:24,026 - INFO - Deleting VN ctest-vn-97775910 2026-06-03 16:44:24,061 - DEBUG - VN d6c5afe1-fadb-44f4-826b-d73f14c6eb5a still in use: Unable to complete operation on network d6c5afe1-fadb-44f4-826b-d73f14c6eb5a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4084dfdc-fd27-4733-b7dc-20dec0de13d9'] 2026-06-03 16:44:24,062 - WARNING - Deleting VN ctest-vn-97775910 failed..Will retry 2026-06-03 16:44:26,178 - DEBUG - Response for deleting network () 2026-06-03 16:44:26,178 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/154b1924-00e5-45c0-a2dd-a6044234f7b9 2026-06-03 16:44:26,184 - DEBUG - Response Code: 404 2026-06-03 16:44:26,184 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-03 16:44:26,190 - DEBUG - Requesting: http://10.0.0.38:8082/domain/48f12088-9884-4e7e-a88e-94e33964d033 2026-06-03 16:44:26,245 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ffb3f9c-aabd-4163-b86a-271cfb337a99 2026-06-03 16:44:26,313 - INFO - Validated that VN ctest-vn-97775910 is not found in API Server 2026-06-03 16:44:26,322 - DEBUG - VN ctest-vn-97775910 is not present in Agent 10.0.0.38 2026-06-03 16:44:26,323 - INFO - Validated that VN ctest-vn-97775910 is not in any agent 2026-06-03 16:44:26,335 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97775910 info 2026-06-03 16:44:26,335 - INFO - Deleting VN ctest-vn-57828242 2026-06-03 16:44:26,428 - DEBUG - Response for deleting network () 2026-06-03 16:44:26,428 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3c564546-6b37-4d7f-b5f2-9f6698443d32 2026-06-03 16:44:26,435 - DEBUG - Response Code: 404 2026-06-03 16:44:26,435 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-03 16:44:26,440 - DEBUG - Requesting: http://10.0.0.38:8082/domain/48f12088-9884-4e7e-a88e-94e33964d033 2026-06-03 16:44:26,494 - DEBUG - Requesting: http://10.0.0.38:8082/project/3ffb3f9c-aabd-4163-b86a-271cfb337a99 2026-06-03 16:44:26,561 - INFO - Validated that VN ctest-vn-57828242 is not found in API Server 2026-06-03 16:44:26,571 - DEBUG - VN ctest-vn-57828242 is not present in Agent 10.0.0.38 2026-06-03 16:44:26,571 - INFO - Validated that VN ctest-vn-57828242 is not in any agent 2026-06-03 16:44:26,586 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57828242 info 2026-06-03 16:44:26,841 - DEBUG - No XMPP flaps were noticed during the test 2026-06-03 16:44:26,841 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-06-03 16:44:26,841 - INFO - -------------------------------------------------------------------------------- 2026-06-03 16:44:27,521 - INFO - Deleted project: ctest-TestBasicPolicy-25121434, ID : 3ffb3f9c-aabd-4163-b86a-271cfb337a99