2026-07-09 13:01:30,380 - INFO - Domain Default found not creating 2026-07-09 13:01:30,507 - INFO - Project ctest-TestBasicPolicy-29255904 not found, creating it 2026-07-09 13:01:30,967 - INFO - Created Project:ctest-TestBasicPolicy-29255904, ID : 5c9b63fb-5dc9-4f50-b9a6-15905df426b5 2026-07-09 13:01:32,351 - INFO - ================================================================================ 2026-07-09 13:01:32,351 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-09 13:01:32,351 - 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-07-09 13:01:32,603 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-09 13:01:32,603 - INFO - Initial checks done. Running the testcase now 2026-07-09 13:01:32,603 - INFO - 2026-07-09 13:01:33,133 - DEBUG - Response for create_network : {'network': {'id': '15a440ee-44d2-4daf-869e-16ee7c0ceae4', 'name': 'ctest-vn-96806027', 'tenant_id': '5c9b63fb5dc94f50b9a615905df426b5', 'project_id': '5c9b63fb5dc94f50b9a615905df426b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29255904', 'ctest-vn-96806027'], 'port_security_enabled': True, 'description': ''}} 2026-07-09 13:01:33,278 - DEBUG - Response for create_subnet : {'subnet': {'id': '30a185e2-0a92-4af6-93cb-6da948f83aea', 'name': '', 'tenant_id': '5c9b63fb5dc94f50b9a615905df426b5', 'network_id': '15a440ee-44d2-4daf-869e-16ee7c0ceae4', 'ip_version': 4, 'cidr': '47.192.172.128/26', 'allocation_pools': [{'start': '47.192.172.130', 'end': '47.192.172.190'}], 'gateway_ip': '47.192.172.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.192.172.130', 'tags': [], 'project_id': '5c9b63fb5dc94f50b9a615905df426b5'}} 2026-07-09 13:01:33,292 - INFO - Created VN ctest-vn-96806027 2026-07-09 13:01:33,342 - DEBUG - VN ctest-vn-96806027 UUID is 15a440ee-44d2-4daf-869e-16ee7c0ceae4 2026-07-09 13:01:33,631 - DEBUG - Response for create_network : {'network': {'id': 'f0735886-c515-4625-acee-67d303efebdc', 'name': 'ctest-vn-81513718', 'tenant_id': '5c9b63fb5dc94f50b9a615905df426b5', 'project_id': '5c9b63fb5dc94f50b9a615905df426b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29255904', 'ctest-vn-81513718'], 'port_security_enabled': True, 'description': ''}} 2026-07-09 13:01:33,791 - DEBUG - Response for create_subnet : {'subnet': {'id': '4db68295-cd71-4d89-ad07-f4ee2f4409a7', 'name': '', 'tenant_id': '5c9b63fb5dc94f50b9a615905df426b5', 'network_id': 'f0735886-c515-4625-acee-67d303efebdc', 'ip_version': 4, 'cidr': '16.47.254.192/26', 'allocation_pools': [{'start': '16.47.254.194', 'end': '16.47.254.254'}], 'gateway_ip': '16.47.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.47.254.194', 'tags': [], 'project_id': '5c9b63fb5dc94f50b9a615905df426b5'}} 2026-07-09 13:01:33,804 - INFO - Created VN ctest-vn-81513718 2026-07-09 13:01:33,858 - DEBUG - VN ctest-vn-81513718 UUID is f0735886-c515-4625-acee-67d303efebdc 2026-07-09 13:01:33,998 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29255904:ctest-vn-96806027, 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-29255904:ctest-vn-81513718, 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-07-09 13:01:34,287 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '15a440ee-44d2-4daf-869e-16ee7c0ceae4', 'name': 'ctest-vn-96806027', 'tenant_id': '5c9b63fb5dc94f50b9a615905df426b5', 'project_id': '5c9b63fb5dc94f50b9a615905df426b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['30a185e2-0a92-4af6-93cb-6da948f83aea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29255904', 'ctest-vn-96806027'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29255904', 'ctest-policy-allow-all-75418340']], 'subnet_ipam': [{'subnet_cidr': '47.192.172.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-09 13:01:34,507 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0735886-c515-4625-acee-67d303efebdc', 'name': 'ctest-vn-81513718', 'tenant_id': '5c9b63fb5dc94f50b9a615905df426b5', 'project_id': '5c9b63fb5dc94f50b9a615905df426b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4db68295-cd71-4d89-ad07-f4ee2f4409a7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29255904', 'ctest-vn-81513718'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29255904', 'ctest-policy-allow-all-75418340']], 'subnet_ipam': [{'subnet_cidr': '16.47.254.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-09 13:01:34,670 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-09 13:01:34,982 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-09 13:01:35,005 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5955dd0c-91ed-41dd-b5f4-1f49950ca44e 2026-07-09 13:01:35,015 - DEBUG - Requesting: http://10.0.0.50:8082/project/5c9b63fb-5dc9-4f50-b9a6-15905df426b5 2026-07-09 13:01:35,087 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15a440ee-44d2-4daf-869e-16ee7c0ceae4 2026-07-09 13:01:35,098 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15a440ee-44d2-4daf-869e-16ee7c0ceae4 2026-07-09 13:01:35,107 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4caf25b5-faab-4a2e-a478-5d9b908d21ab 2026-07-09 13:01:35,113 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4caf25b5-faab-4a2e-a478-5d9b908d21ab 2026-07-09 13:01:35,118 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d8ead0c4-d4af-45e3-9340-b333fc1fc7e2 2026-07-09 13:01:35,123 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-09 13:01:35,123 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15a440ee-44d2-4daf-869e-16ee7c0ceae4 2026-07-09 13:01:35,130 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4caf25b5-faab-4a2e-a478-5d9b908d21ab 2026-07-09 13:01:35,140 - INFO - Verified VN network id 11 for VN 15a440ee-44d2-4daf-869e-16ee7c0ceae4 2026-07-09 13:01:35,140 - INFO - Verifications in API Server for VN ctest-vn-96806027 passed 2026-07-09 13:01:35,140 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15a440ee-44d2-4daf-869e-16ee7c0ceae4 2026-07-09 13:01:35,146 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4caf25b5-faab-4a2e-a478-5d9b908d21ab 2026-07-09 13:01:35,151 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4caf25b5-faab-4a2e-a478-5d9b908d21ab 2026-07-09 13:01:35,156 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d8ead0c4-d4af-45e3-9340-b333fc1fc7e2 2026-07-09 13:01:35,165 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29255904:ctest-vn-96806027', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29255904', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1559442763078061487', 'uuid-lslong': '9700215860941875940'}, 'enable': 'true', 'created': '2026-07-09T13:01:33', 'last-modified': '2026-07-09T13:01:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893551'} 2026-07-09 13:01:35,170 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-09 13:01:35,170 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96806027 passed 2026-07-09 13:01:35,170 - DEBUG - ====Verifying policy data for ctest-vn-96806027 in API_Server ====== 2026-07-09 13:01:35,170 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-09 13:01:35,174 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5955dd0c-91ed-41dd-b5f4-1f49950ca44e 2026-07-09 13:01:35,181 - DEBUG - Requesting: http://10.0.0.50:8082/project/5c9b63fb-5dc9-4f50-b9a6-15905df426b5 2026-07-09 13:01:35,254 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15a440ee-44d2-4daf-869e-16ee7c0ceae4 2026-07-09 13:01:35,261 - DEBUG - ==>Verifying data for policy with id: fd511885-19ee-4dcb-a7b2-48e7244d5443, fqn: ['default-domain', 'ctest-TestBasicPolicy-29255904', 'ctest-policy-allow-all-75418340'] 2026-07-09 13:01:35,261 - INFO - VN ctest-vn-96806027 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-09 13:01:35,261 - DEBUG - Verifying the vn in opserver 2026-07-09 13:01:35,261 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29255904:ctest-vn-96806027 virtual network link through opserver 10.0.0.50 2026-07-09 13:01:35,261 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-09 13:01:35,581 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-09 13:01:35,631 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29255904:ctest-vn-96806027', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29255904:ctest-vn-96806027?flat'} 2026-07-09 13:01:35,631 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29255904:ctest-vn-96806027 is found in opserver 2026-07-09 13:01:35,641 - DEBUG - Do not have enough data to verify VN in agent 2026-07-09 13:01:35,645 - DEBUG - VRF ids for VN ctest-vn-96806027: {} 2026-07-09 13:01:35,645 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-09 13:01:35,650 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5955dd0c-91ed-41dd-b5f4-1f49950ca44e 2026-07-09 13:01:35,659 - DEBUG - Requesting: http://10.0.0.50:8082/project/5c9b63fb-5dc9-4f50-b9a6-15905df426b5 2026-07-09 13:01:35,723 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0735886-c515-4625-acee-67d303efebdc 2026-07-09 13:01:35,732 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0735886-c515-4625-acee-67d303efebdc 2026-07-09 13:01:35,740 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/45ba0a73-2c37-4349-b80d-5fdc2a5bdf60 2026-07-09 13:01:35,745 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/45ba0a73-2c37-4349-b80d-5fdc2a5bdf60 2026-07-09 13:01:35,749 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8a386d7e-e38b-4f7b-a407-496ec292fdba 2026-07-09 13:01:35,754 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-09 13:01:35,754 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0735886-c515-4625-acee-67d303efebdc 2026-07-09 13:01:35,760 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/45ba0a73-2c37-4349-b80d-5fdc2a5bdf60 2026-07-09 13:01:35,771 - INFO - Verified VN network id 12 for VN f0735886-c515-4625-acee-67d303efebdc 2026-07-09 13:01:35,771 - INFO - Verifications in API Server for VN ctest-vn-81513718 passed 2026-07-09 13:01:35,771 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0735886-c515-4625-acee-67d303efebdc 2026-07-09 13:01:35,778 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/45ba0a73-2c37-4349-b80d-5fdc2a5bdf60 2026-07-09 13:01:35,783 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/45ba0a73-2c37-4349-b80d-5fdc2a5bdf60 2026-07-09 13:01:35,788 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8a386d7e-e38b-4f7b-a407-496ec292fdba 2026-07-09 13:01:35,797 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29255904:ctest-vn-81513718', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29255904', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17326289527279797797', 'uuid-lslong': '12461011374982556636'}, 'enable': 'true', 'created': '2026-07-09T13:01:33', 'last-modified': '2026-07-09T13:01:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.316489'} 2026-07-09 13:01:35,802 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-09 13:01:35,802 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81513718 passed 2026-07-09 13:01:35,802 - DEBUG - ====Verifying policy data for ctest-vn-81513718 in API_Server ====== 2026-07-09 13:01:35,802 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-09 13:01:35,806 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5955dd0c-91ed-41dd-b5f4-1f49950ca44e 2026-07-09 13:01:35,815 - DEBUG - Requesting: http://10.0.0.50:8082/project/5c9b63fb-5dc9-4f50-b9a6-15905df426b5 2026-07-09 13:01:35,885 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f0735886-c515-4625-acee-67d303efebdc 2026-07-09 13:01:35,893 - DEBUG - ==>Verifying data for policy with id: fd511885-19ee-4dcb-a7b2-48e7244d5443, fqn: ['default-domain', 'ctest-TestBasicPolicy-29255904', 'ctest-policy-allow-all-75418340'] 2026-07-09 13:01:35,893 - INFO - VN ctest-vn-81513718 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-09 13:01:35,893 - DEBUG - Verifying the vn in opserver 2026-07-09 13:01:35,893 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29255904:ctest-vn-81513718 virtual network link through opserver 10.0.0.50 2026-07-09 13:01:35,893 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-09 13:01:35,900 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29255904:ctest-vn-81513718', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29255904:ctest-vn-81513718?flat'} 2026-07-09 13:01:35,900 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29255904:ctest-vn-81513718 is found in opserver 2026-07-09 13:01:35,908 - DEBUG - Do not have enough data to verify VN in agent 2026-07-09 13:01:35,911 - DEBUG - VRF ids for VN ctest-vn-81513718: {} 2026-07-09 13:01:35,957 - DEBUG - Services list from nova: [, , ] 2026-07-09 13:01:36,220 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6088-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6088-1) 2026-07-09 13:01:36,539 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6088-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6088-1) 2026-07-09 13:01:36,540 - INFO - Waiting for VM ctest-TestBasicPolicy-29255904-54429478 to be up.. 2026-07-09 13:01:36,570 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-09 13:01:41,631 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-09 13:01:46,694 - DEBUG - VM is in ACTIVE state now 2026-07-09 13:01:46,694 - INFO - VM name : ctest-TestBasicPolicy-29255904-54429478 2026-07-09 13:01:46,759 - DEBUG - VM ctest-TestBasicPolicy-29255904-54429478 ID is 904761ac-2e4d-48d4-8bd1-6479c200c045 2026-07-09 13:01:46,776 - DEBUG - VM ctest-TestBasicPolicy-29255904-54429478 launched on Node cn-jenkins-deploy-platform-ansible-os-6088-1 2026-07-09 13:01:46,840 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/904761ac-2e4d-48d4-8bd1-6479c200c045 2026-07-09 13:01:46,846 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/57d78ce4-648f-4fe6-b370-d5cbbc1a11bc 2026-07-09 13:01:50,092 - 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 1024ms') 2026-07-09 13:01:50,092 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29255904-54429478 failed! 2026-07-09 13:01:50,146 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29255904:ctest-vn-96806027 is 47.192.172.129 and allocation pool is NOT set 2026-07-09 13:01:52,205 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.14 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 = 1.140/2.008/2.876/0.868 ms') 2026-07-09 13:01:52,205 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29255904-54429478 passed 2026-07-09 13:01:52,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-09 13:01:52,346 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29255904-54429478, IP 47.192.172.131, Port 22 2026-07-09 13:01:52,501 - DEBUG - VM ctest-TestBasicPolicy-29255904-54429478 is ready for SSH connections 2026-07-09 13:01:52,502 - INFO - Waiting for VM ctest-TestBasicPolicy-29255904-98204697 to be up.. 2026-07-09 13:01:52,567 - DEBUG - VM is in ACTIVE state now 2026-07-09 13:01:52,567 - INFO - VM name : ctest-TestBasicPolicy-29255904-98204697 2026-07-09 13:01:52,629 - DEBUG - VM ctest-TestBasicPolicy-29255904-98204697 ID is 9ab052ec-6255-4041-91a1-4426d9a64786 2026-07-09 13:01:52,629 - DEBUG - VM ctest-TestBasicPolicy-29255904-98204697 launched on Node cn-jenkins-deploy-platform-ansible-os-6088-1 2026-07-09 13:01:52,698 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9ab052ec-6255-4041-91a1-4426d9a64786 2026-07-09 13:01:52,705 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fa39e654-39db-4485-aaab-cf6e61cc5519 2026-07-09 13:01:55,948 - 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=2 ttl=63 time=4.23 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 4.233/4.233/4.233/0.000 ms') 2026-07-09 13:01:55,948 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29255904-98204697 passed 2026-07-09 13:01:56,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-09 13:01:56,098 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29255904-98204697, IP 16.47.254.195, Port 22 2026-07-09 13:01:56,249 - DEBUG - VM ctest-TestBasicPolicy-29255904-98204697 is ready for SSH connections 2026-07-09 13:01:56,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-09 13:01:56,250 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.47.254.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-09 13:01:56,250 - DEBUG - ping -s 56 -c 3 -W 1 16.47.254.195 2026-07-09 13:02:00,073 - DEBUG - PING 16.47.254.195 (16.47.254.195): 56 data bytes 64 bytes from 16.47.254.195: seq=0 ttl=63 time=4.084 ms 64 bytes from 16.47.254.195: seq=1 ttl=63 time=0.864 ms 64 bytes from 16.47.254.195: seq=2 ttl=63 time=1.074 ms --- 16.47.254.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/2.007/4.084 ms 2026-07-09 13:02:00,073 - INFO - Ping to IP 16.47.254.195 from VM ctest-TestBasicPolicy-29255904-54429478 passed 2026-07-09 13:02:00,250 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fd511885-19ee-4dcb-a7b2-48e7244d5443", "href": "http://10.0.0.50:8082/network-policy/fd511885-19ee-4dcb-a7b2-48e7244d5443"}} 2026-07-09 13:02:00,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-09 13:02:00,250 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.47.254.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-09 13:02:00,250 - DEBUG - ping -s 56 -c 3 -W 1 16.47.254.195 2026-07-09 13:02:03,361 - DEBUG - PING 16.47.254.195 (16.47.254.195): 56 data bytes --- 16.47.254.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-07-09 13:02:03,363 - WARNING - Ping to IP 16.47.254.195 from VM ctest-TestBasicPolicy-29255904-54429478 failed 2026-07-09 13:02:03,363 - INFO - Deleting VM ctest-TestBasicPolicy-29255904-98204697 2026-07-09 13:02:03,433 - INFO - Deleting VM ctest-TestBasicPolicy-29255904-54429478 2026-07-09 13:02:03,736 - INFO - Deleted policy ctest-policy-allow-all-75418340 2026-07-09 13:02:03,736 - INFO - Deleting VN ctest-vn-81513718 2026-07-09 13:02:03,760 - DEBUG - VN f0735886-c515-4625-acee-67d303efebdc still in use: Unable to complete operation on network f0735886-c515-4625-acee-67d303efebdc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ccfcba66-f3b0-45f6-9c62-668b48c1f2dc'] 2026-07-09 13:02:03,761 - WARNING - Deleting VN ctest-vn-81513718 failed..Will retry 2026-07-09 13:02:05,848 - DEBUG - Response for deleting network () 2026-07-09 13:02:05,848 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/45ba0a73-2c37-4349-b80d-5fdc2a5bdf60 2026-07-09 13:02:05,855 - DEBUG - Response Code: 404 2026-07-09 13:02:05,855 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-09 13:02:05,859 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5955dd0c-91ed-41dd-b5f4-1f49950ca44e 2026-07-09 13:02:05,911 - DEBUG - Requesting: http://10.0.0.50:8082/project/5c9b63fb-5dc9-4f50-b9a6-15905df426b5 2026-07-09 13:02:05,979 - INFO - Validated that VN ctest-vn-81513718 is not found in API Server 2026-07-09 13:02:05,988 - DEBUG - VN ctest-vn-81513718 is not present in Agent 10.0.0.50 2026-07-09 13:02:05,988 - INFO - Validated that VN ctest-vn-81513718 is not in any agent 2026-07-09 13:02:06,000 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81513718 info 2026-07-09 13:02:06,000 - INFO - Deleting VN ctest-vn-96806027 2026-07-09 13:02:06,092 - DEBUG - Response for deleting network () 2026-07-09 13:02:06,093 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4caf25b5-faab-4a2e-a478-5d9b908d21ab 2026-07-09 13:02:06,097 - DEBUG - Response Code: 404 2026-07-09 13:02:06,097 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-09 13:02:06,101 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5955dd0c-91ed-41dd-b5f4-1f49950ca44e 2026-07-09 13:02:06,153 - DEBUG - Requesting: http://10.0.0.50:8082/project/5c9b63fb-5dc9-4f50-b9a6-15905df426b5 2026-07-09 13:02:06,221 - INFO - Validated that VN ctest-vn-96806027 is not found in API Server 2026-07-09 13:02:06,229 - DEBUG - VN ctest-vn-96806027 is not present in Agent 10.0.0.50 2026-07-09 13:02:06,229 - INFO - Validated that VN ctest-vn-96806027 is not in any agent 2026-07-09 13:02:06,241 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96806027 info 2026-07-09 13:02:06,494 - DEBUG - No XMPP flaps were noticed during the test 2026-07-09 13:02:06,494 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-07-09 13:02:06,494 - INFO - -------------------------------------------------------------------------------- 2026-07-09 13:02:07,177 - INFO - Deleted project: ctest-TestBasicPolicy-29255904, ID : 5c9b63fb-5dc9-4f50-b9a6-15905df426b5