2026-11-05 15:58:29,763 - INFO - Domain Default found not creating 2026-11-05 15:58:29,930 - INFO - Project ctest-TestBasicPolicy-18045475 not found, creating it 2026-11-05 15:58:30,400 - INFO - Created Project:ctest-TestBasicPolicy-18045475, ID : db7cc14c-9ac2-4f56-a138-4e508b5578e7 2026-11-05 15:58:32,138 - INFO - ================================================================================ 2026-11-05 15:58:32,138 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-05 15:58:32,138 - 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-11-05 15:58:32,399 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2026-11-05 15:58:32,399 - INFO - Initial checks done. Running the testcase now 2026-11-05 15:58:32,399 - INFO - 2026-11-05 15:58:33,015 - DEBUG - Response for create_network : {'network': {'id': 'efd0b512-fc3e-417a-870a-a6f0b42a78c5', 'name': 'ctest-vn-52363738', 'tenant_id': 'db7cc14c9ac24f56a1384e508b5578e7', 'project_id': 'db7cc14c9ac24f56a1384e508b5578e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18045475', 'ctest-vn-52363738'], 'port_security_enabled': True, 'description': ''}} 2026-11-05 15:58:33,190 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c06764f-430f-4aa0-b1ad-052e3bb0ef50', 'name': '', 'tenant_id': 'db7cc14c9ac24f56a1384e508b5578e7', 'network_id': 'efd0b512-fc3e-417a-870a-a6f0b42a78c5', 'ip_version': 4, 'cidr': '71.198.78.64/26', 'allocation_pools': [{'start': '71.198.78.66', 'end': '71.198.78.126'}], 'gateway_ip': '71.198.78.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.198.78.66', 'tags': [], 'project_id': 'db7cc14c9ac24f56a1384e508b5578e7'}} 2026-11-05 15:58:33,206 - INFO - Created VN ctest-vn-52363738 2026-11-05 15:58:33,257 - DEBUG - VN ctest-vn-52363738 UUID is efd0b512-fc3e-417a-870a-a6f0b42a78c5 2026-11-05 15:58:33,585 - DEBUG - Response for create_network : {'network': {'id': '2f3d7132-33fd-438a-b719-7bce356a6bbb', 'name': 'ctest-vn-22434710', 'tenant_id': 'db7cc14c9ac24f56a1384e508b5578e7', 'project_id': 'db7cc14c9ac24f56a1384e508b5578e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18045475', 'ctest-vn-22434710'], 'port_security_enabled': True, 'description': ''}} 2026-11-05 15:58:33,786 - DEBUG - Response for create_subnet : {'subnet': {'id': '5cd20637-eaf3-4e7b-a6dd-f2fe022e038d', 'name': '', 'tenant_id': 'db7cc14c9ac24f56a1384e508b5578e7', 'network_id': '2f3d7132-33fd-438a-b719-7bce356a6bbb', 'ip_version': 4, 'cidr': '52.46.15.64/26', 'allocation_pools': [{'start': '52.46.15.66', 'end': '52.46.15.126'}], 'gateway_ip': '52.46.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.46.15.66', 'tags': [], 'project_id': 'db7cc14c9ac24f56a1384e508b5578e7'}} 2026-11-05 15:58:33,801 - INFO - Created VN ctest-vn-22434710 2026-11-05 15:58:33,857 - DEBUG - VN ctest-vn-22434710 UUID is 2f3d7132-33fd-438a-b719-7bce356a6bbb 2026-11-05 15:58:34,005 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18045475:ctest-vn-52363738, 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-18045475:ctest-vn-22434710, 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-11-05 15:58:34,373 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'efd0b512-fc3e-417a-870a-a6f0b42a78c5', 'name': 'ctest-vn-52363738', 'tenant_id': 'db7cc14c9ac24f56a1384e508b5578e7', 'project_id': 'db7cc14c9ac24f56a1384e508b5578e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8c06764f-430f-4aa0-b1ad-052e3bb0ef50'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18045475', 'ctest-vn-52363738'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18045475', 'ctest-policy-allow-all-65204897']], 'subnet_ipam': [{'subnet_cidr': '71.198.78.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-05 15:58:34,619 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f3d7132-33fd-438a-b719-7bce356a6bbb', 'name': 'ctest-vn-22434710', 'tenant_id': 'db7cc14c9ac24f56a1384e508b5578e7', 'project_id': 'db7cc14c9ac24f56a1384e508b5578e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5cd20637-eaf3-4e7b-a6dd-f2fe022e038d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18045475', 'ctest-vn-22434710'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18045475', 'ctest-policy-allow-all-65204897']], 'subnet_ipam': [{'subnet_cidr': '52.46.15.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-05 15:58:34,789 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-05 15:58:35,150 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-05 15:58:35,178 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4ef23e1-032f-44cc-ad5a-c4ee94ff7d5b 2026-11-05 15:58:35,190 - DEBUG - Requesting: http://10.0.0.161:8082/project/db7cc14c-9ac2-4f56-a138-4e508b5578e7 2026-11-05 15:58:35,264 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/efd0b512-fc3e-417a-870a-a6f0b42a78c5 2026-11-05 15:58:35,276 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/efd0b512-fc3e-417a-870a-a6f0b42a78c5 2026-11-05 15:58:35,286 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/0668d654-1305-4691-8b11-007cf09d8dcf 2026-11-05 15:58:35,294 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/0668d654-1305-4691-8b11-007cf09d8dcf 2026-11-05 15:58:35,301 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/4dd3fa9f-8f05-4e2e-9383-77d33841f457 2026-11-05 15:58:35,308 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-05 15:58:35,308 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/efd0b512-fc3e-417a-870a-a6f0b42a78c5 2026-11-05 15:58:35,317 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/0668d654-1305-4691-8b11-007cf09d8dcf 2026-11-05 15:58:35,331 - INFO - Verified VN network id 12 for VN efd0b512-fc3e-417a-870a-a6f0b42a78c5 2026-11-05 15:58:35,331 - INFO - Verifications in API Server for VN ctest-vn-52363738 passed 2026-11-05 15:58:35,331 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/efd0b512-fc3e-417a-870a-a6f0b42a78c5 2026-11-05 15:58:35,340 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/0668d654-1305-4691-8b11-007cf09d8dcf 2026-11-05 15:58:35,346 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/0668d654-1305-4691-8b11-007cf09d8dcf 2026-11-05 15:58:35,354 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/4dd3fa9f-8f05-4e2e-9383-77d33841f457 2026-11-05 15:58:35,368 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18045475:ctest-vn-52363738', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18045475', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17280510863366570362', 'uuid-lslong': '9730773497632422085'}, 'enable': 'true', 'created': '2026-11-05T15:58:32', 'last-modified': '2026-11-05T15:58:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.028253'} 2026-11-05 15:58:35,376 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-05 15:58:35,376 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52363738 passed 2026-11-05 15:58:35,376 - DEBUG - ====Verifying policy data for ctest-vn-52363738 in API_Server ====== 2026-11-05 15:58:35,376 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-05 15:58:35,382 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4ef23e1-032f-44cc-ad5a-c4ee94ff7d5b 2026-11-05 15:58:35,392 - DEBUG - Requesting: http://10.0.0.161:8082/project/db7cc14c-9ac2-4f56-a138-4e508b5578e7 2026-11-05 15:58:35,465 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/efd0b512-fc3e-417a-870a-a6f0b42a78c5 2026-11-05 15:58:35,474 - DEBUG - ==>Verifying data for policy with id: 7c3a5ae2-a3b9-4fda-9cb8-921640ef4bbd, fqn: ['default-domain', 'ctest-TestBasicPolicy-18045475', 'ctest-policy-allow-all-65204897'] 2026-11-05 15:58:35,474 - INFO - VN ctest-vn-52363738 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-05 15:58:35,474 - DEBUG - Verifying the vn in opserver 2026-11-05 15:58:35,474 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18045475:ctest-vn-52363738 virtual network link through opserver 10.0.0.161 2026-11-05 15:58:35,474 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-05 15:58:35,833 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-05 15:58:35,884 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18045475:ctest-vn-52363738', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18045475:ctest-vn-52363738?flat'} 2026-11-05 15:58:35,884 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18045475:ctest-vn-52363738 is found in opserver 2026-11-05 15:58:35,894 - DEBUG - Do not have enough data to verify VN in agent 2026-11-05 15:58:35,898 - DEBUG - VRF ids for VN ctest-vn-52363738: {} 2026-11-05 15:58:35,898 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-05 15:58:35,903 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4ef23e1-032f-44cc-ad5a-c4ee94ff7d5b 2026-11-05 15:58:35,912 - DEBUG - Requesting: http://10.0.0.161:8082/project/db7cc14c-9ac2-4f56-a138-4e508b5578e7 2026-11-05 15:58:35,982 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/2f3d7132-33fd-438a-b719-7bce356a6bbb 2026-11-05 15:58:35,992 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/2f3d7132-33fd-438a-b719-7bce356a6bbb 2026-11-05 15:58:36,001 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3e0b2121-1ce3-466b-af2a-0c61a0c5af65 2026-11-05 15:58:36,009 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3e0b2121-1ce3-466b-af2a-0c61a0c5af65 2026-11-05 15:58:36,015 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/0cda40aa-c9c3-4337-88fe-3349c93d05b5 2026-11-05 15:58:36,022 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-05 15:58:36,022 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/2f3d7132-33fd-438a-b719-7bce356a6bbb 2026-11-05 15:58:36,032 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3e0b2121-1ce3-466b-af2a-0c61a0c5af65 2026-11-05 15:58:36,047 - INFO - Verified VN network id 13 for VN 2f3d7132-33fd-438a-b719-7bce356a6bbb 2026-11-05 15:58:36,047 - INFO - Verifications in API Server for VN ctest-vn-22434710 passed 2026-11-05 15:58:36,048 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/2f3d7132-33fd-438a-b719-7bce356a6bbb 2026-11-05 15:58:36,058 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3e0b2121-1ce3-466b-af2a-0c61a0c5af65 2026-11-05 15:58:36,065 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3e0b2121-1ce3-466b-af2a-0c61a0c5af65 2026-11-05 15:58:36,072 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/0cda40aa-c9c3-4337-88fe-3349c93d05b5 2026-11-05 15:58:36,083 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18045475:ctest-vn-22434710', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18045475', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3404001353796502410', 'uuid-lslong': '13193712708948224955'}, 'enable': 'true', 'created': '2026-11-05T15:58:33', 'last-modified': '2026-11-05T15:58:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.497348'} 2026-11-05 15:58:36,090 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-05 15:58:36,090 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22434710 passed 2026-11-05 15:58:36,090 - DEBUG - ====Verifying policy data for ctest-vn-22434710 in API_Server ====== 2026-11-05 15:58:36,090 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-05 15:58:36,095 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4ef23e1-032f-44cc-ad5a-c4ee94ff7d5b 2026-11-05 15:58:36,107 - DEBUG - Requesting: http://10.0.0.161:8082/project/db7cc14c-9ac2-4f56-a138-4e508b5578e7 2026-11-05 15:58:36,182 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/2f3d7132-33fd-438a-b719-7bce356a6bbb 2026-11-05 15:58:36,191 - DEBUG - ==>Verifying data for policy with id: 7c3a5ae2-a3b9-4fda-9cb8-921640ef4bbd, fqn: ['default-domain', 'ctest-TestBasicPolicy-18045475', 'ctest-policy-allow-all-65204897'] 2026-11-05 15:58:36,191 - INFO - VN ctest-vn-22434710 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-05 15:58:36,191 - DEBUG - Verifying the vn in opserver 2026-11-05 15:58:36,191 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18045475:ctest-vn-22434710 virtual network link through opserver 10.0.0.161 2026-11-05 15:58:36,191 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-05 15:58:36,200 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18045475:ctest-vn-22434710', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18045475:ctest-vn-22434710?flat'} 2026-11-05 15:58:36,200 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18045475:ctest-vn-22434710 is found in opserver 2026-11-05 15:58:36,209 - DEBUG - Do not have enough data to verify VN in agent 2026-11-05 15:58:36,213 - DEBUG - VRF ids for VN ctest-vn-22434710: {} 2026-11-05 15:58:36,267 - DEBUG - Services list from nova: [, , ] 2026-11-05 15:58:36,683 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6483-1) 2026-11-05 15:58:37,055 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6483-1) 2026-11-05 15:58:37,056 - INFO - Waiting for VM ctest-TestBasicPolicy-18045475-62374681 to be up.. 2026-11-05 15:58:37,091 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 15:58:42,158 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 15:58:47,228 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 15:58:52,296 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 15:58:57,368 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 15:59:02,438 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 15:59:07,511 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 15:59:12,656 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 15:59:17,728 - DEBUG - VM is in ACTIVE state now 2026-11-05 15:59:17,728 - INFO - VM name : ctest-TestBasicPolicy-18045475-62374681 2026-11-05 15:59:17,795 - DEBUG - VM ctest-TestBasicPolicy-18045475-62374681 ID is 31e2fd5c-5a6e-4451-95e8-8243b22358fc 2026-11-05 15:59:17,814 - DEBUG - VM ctest-TestBasicPolicy-18045475-62374681 launched on Node cn-jenkins-deploy-platform-ansible-os-6483-1 2026-11-05 15:59:17,879 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/31e2fd5c-5a6e-4451-95e8-8243b22358fc 2026-11-05 15:59:17,887 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/cf472c90-7d9c-46c5-b22d-aa9b9a750035 2026-11-05 15:59:21,142 - 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=2 ttl=63 time=6.50 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 6.502/6.502/6.502/0.000 ms') 2026-11-05 15:59:21,142 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18045475-62374681 passed 2026-11-05 15:59:21,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-05 15:59:21,293 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18045475-62374681, IP 71.198.78.67, Port 22 2026-11-05 15:59:21,468 - DEBUG - VM ctest-TestBasicPolicy-18045475-62374681 is ready for SSH connections 2026-11-05 15:59:21,468 - INFO - Waiting for VM ctest-TestBasicPolicy-18045475-52686370 to be up.. 2026-11-05 15:59:21,539 - DEBUG - VM is in ACTIVE state now 2026-11-05 15:59:21,539 - INFO - VM name : ctest-TestBasicPolicy-18045475-52686370 2026-11-05 15:59:21,609 - DEBUG - VM ctest-TestBasicPolicy-18045475-52686370 ID is c1906fc0-5a2e-4a08-bb31-7330d40b00cc 2026-11-05 15:59:21,610 - DEBUG - VM ctest-TestBasicPolicy-18045475-52686370 launched on Node cn-jenkins-deploy-platform-ansible-os-6483-1 2026-11-05 15:59:21,684 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/c1906fc0-5a2e-4a08-bb31-7330d40b00cc 2026-11-05 15:59:21,693 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/4369e40b-0042-4971-a0e9-aaa8b7f3e876 2026-11-05 15:59:24,955 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1025ms') 2026-11-05 15:59:24,955 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18045475-52686370 failed! 2026-11-05 15:59:25,011 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18045475:ctest-vn-22434710 is 52.46.15.65 and allocation pool is NOT set 2026-11-05 15:59:27,072 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.426/2.349/4.273/1.923 ms') 2026-11-05 15:59:27,072 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18045475-52686370 passed 2026-11-05 15:59:27,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-05 15:59:27,221 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18045475-52686370, IP 52.46.15.67, Port 22 2026-11-05 15:59:27,381 - DEBUG - VM ctest-TestBasicPolicy-18045475-52686370 is ready for SSH connections 2026-11-05 15:59:27,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-05 15:59:27,381 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.46.15.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-05 15:59:27,381 - DEBUG - ping -s 56 -c 3 -W 1 52.46.15.67 2026-11-05 15:59:31,355 - DEBUG - PING 52.46.15.67 (52.46.15.67): 56 data bytes 64 bytes from 52.46.15.67: seq=0 ttl=63 time=4.012 ms 64 bytes from 52.46.15.67: seq=1 ttl=63 time=0.914 ms 64 bytes from 52.46.15.67: seq=2 ttl=63 time=1.080 ms --- 52.46.15.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/2.002/4.012 ms 2026-11-05 15:59:31,355 - INFO - Ping to IP 52.46.15.67 from VM ctest-TestBasicPolicy-18045475-62374681 passed 2026-11-05 15:59:31,529 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7c3a5ae2-a3b9-4fda-9cb8-921640ef4bbd", "href": "http://10.0.0.161:8082/network-policy/7c3a5ae2-a3b9-4fda-9cb8-921640ef4bbd"}} 2026-11-05 15:59:31,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-05 15:59:31,529 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.46.15.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-05 15:59:31,529 - DEBUG - ping -s 56 -c 3 -W 1 52.46.15.67 2026-11-05 15:59:34,655 - DEBUG - PING 52.46.15.67 (52.46.15.67): 56 data bytes 64 bytes from 52.46.15.67: seq=0 ttl=63 time=2.293 ms --- 52.46.15.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.293/2.293/2.293 ms 2026-11-05 15:59:34,655 - WARNING - Ping to IP 52.46.15.67 from VM ctest-TestBasicPolicy-18045475-62374681 failed 2026-11-05 15:59:34,655 - INFO - Deleting VM ctest-TestBasicPolicy-18045475-52686370 2026-11-05 15:59:34,733 - INFO - Deleting VM ctest-TestBasicPolicy-18045475-62374681 2026-11-05 15:59:35,095 - INFO - Deleted policy ctest-policy-allow-all-65204897 2026-11-05 15:59:35,096 - INFO - Deleting VN ctest-vn-22434710 2026-11-05 15:59:35,127 - DEBUG - VN 2f3d7132-33fd-438a-b719-7bce356a6bbb still in use: Unable to complete operation on network 2f3d7132-33fd-438a-b719-7bce356a6bbb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1b6766e8-5e0f-4ff4-9767-1b144afa8109'] 2026-11-05 15:59:35,127 - WARNING - Deleting VN ctest-vn-22434710 failed..Will retry 2026-11-05 15:59:37,156 - DEBUG - VN 2f3d7132-33fd-438a-b719-7bce356a6bbb still in use: Unable to complete operation on network 2f3d7132-33fd-438a-b719-7bce356a6bbb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7f381ff2-8bad-430a-953b-8d7aaf393a98'] 2026-11-05 15:59:37,156 - WARNING - Deleting VN ctest-vn-22434710 failed..Will retry 2026-11-05 15:59:39,265 - DEBUG - Response for deleting network () 2026-11-05 15:59:39,265 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/3e0b2121-1ce3-466b-af2a-0c61a0c5af65 2026-11-05 15:59:39,269 - DEBUG - Response Code: 404 2026-11-05 15:59:39,269 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-05 15:59:39,279 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4ef23e1-032f-44cc-ad5a-c4ee94ff7d5b 2026-11-05 15:59:39,333 - DEBUG - Requesting: http://10.0.0.161:8082/project/db7cc14c-9ac2-4f56-a138-4e508b5578e7 2026-11-05 15:59:39,410 - INFO - Validated that VN ctest-vn-22434710 is not found in API Server 2026-11-05 15:59:39,421 - DEBUG - VN ctest-vn-22434710 is not present in Agent 10.0.0.161 2026-11-05 15:59:39,421 - INFO - Validated that VN ctest-vn-22434710 is not in any agent 2026-11-05 15:59:39,440 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22434710 info 2026-11-05 15:59:39,440 - INFO - Deleting VN ctest-vn-52363738 2026-11-05 15:59:39,569 - DEBUG - Response for deleting network () 2026-11-05 15:59:39,569 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/0668d654-1305-4691-8b11-007cf09d8dcf 2026-11-05 15:59:39,574 - DEBUG - Response Code: 404 2026-11-05 15:59:39,574 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-05 15:59:39,579 - DEBUG - Requesting: http://10.0.0.161:8082/domain/c4ef23e1-032f-44cc-ad5a-c4ee94ff7d5b 2026-11-05 15:59:39,630 - DEBUG - Requesting: http://10.0.0.161:8082/project/db7cc14c-9ac2-4f56-a138-4e508b5578e7 2026-11-05 15:59:39,697 - INFO - Validated that VN ctest-vn-52363738 is not found in API Server 2026-11-05 15:59:39,709 - DEBUG - VN ctest-vn-52363738 is not present in Agent 10.0.0.161 2026-11-05 15:59:39,709 - INFO - Validated that VN ctest-vn-52363738 is not in any agent 2026-11-05 15:59:39,724 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52363738 info 2026-11-05 15:59:39,979 - DEBUG - No XMPP flaps were noticed during the test 2026-11-05 15:59:39,979 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07] 2026-11-05 15:59:39,979 - INFO - -------------------------------------------------------------------------------- 2026-11-05 15:59:40,734 - INFO - Deleted project: ctest-TestBasicPolicy-18045475, ID : db7cc14c-9ac2-4f56-a138-4e508b5578e7