2026-06-17 14:31:05,053 - INFO - Domain Default found not creating 2026-06-17 14:31:05,267 - INFO - Project ctest-TestBasicPolicy-48017143 not found, creating it 2026-06-17 14:31:05,758 - INFO - Created Project:ctest-TestBasicPolicy-48017143, ID : 96d4f8a4-46bc-448c-849e-83e6ff7224da 2026-06-17 14:31:07,300 - INFO - ================================================================================ 2026-06-17 14:31:07,301 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-17 14:31:07,301 - 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-17 14:31:07,573 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2026-06-17 14:31:07,573 - INFO - Initial checks done. Running the testcase now 2026-06-17 14:31:07,574 - INFO - 2026-06-17 14:31:08,223 - DEBUG - Response for create_network : {'network': {'id': '4014b740-8354-4d35-bb0e-eb0af1646eff', 'name': 'ctest-vn-96198812', 'tenant_id': '96d4f8a446bc448c849e83e6ff7224da', 'project_id': '96d4f8a446bc448c849e83e6ff7224da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-vn-96198812'], 'port_security_enabled': True, 'description': ''}} 2026-06-17 14:31:08,378 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e2eeb16-93c3-473a-82c7-d3cf3c002251', 'name': '', 'tenant_id': '96d4f8a446bc448c849e83e6ff7224da', 'network_id': '4014b740-8354-4d35-bb0e-eb0af1646eff', 'ip_version': 4, 'cidr': '52.183.179.128/26', 'allocation_pools': [{'start': '52.183.179.130', 'end': '52.183.179.190'}], 'gateway_ip': '52.183.179.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.183.179.130', 'tags': [], 'project_id': '96d4f8a446bc448c849e83e6ff7224da'}} 2026-06-17 14:31:08,395 - INFO - Created VN ctest-vn-96198812 2026-06-17 14:31:08,446 - DEBUG - VN ctest-vn-96198812 UUID is 4014b740-8354-4d35-bb0e-eb0af1646eff 2026-06-17 14:31:08,778 - DEBUG - Response for create_network : {'network': {'id': '48ac8d60-63a3-48b6-b9b5-0d1c26d996dc', 'name': 'ctest-vn-04484712', 'tenant_id': '96d4f8a446bc448c849e83e6ff7224da', 'project_id': '96d4f8a446bc448c849e83e6ff7224da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-vn-04484712'], 'port_security_enabled': True, 'description': ''}} 2026-06-17 14:31:08,935 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c12d2e01-0a09-4430-92bc-093bb6a45c71', 'name': '', 'tenant_id': '96d4f8a446bc448c849e83e6ff7224da', 'network_id': '48ac8d60-63a3-48b6-b9b5-0d1c26d996dc', 'ip_version': 4, 'cidr': '58.250.155.128/26', 'allocation_pools': [{'start': '58.250.155.130', 'end': '58.250.155.190'}], 'gateway_ip': '58.250.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.250.155.130', 'tags': [], 'project_id': '96d4f8a446bc448c849e83e6ff7224da'}} 2026-06-17 14:31:08,950 - INFO - Created VN ctest-vn-04484712 2026-06-17 14:31:09,006 - DEBUG - VN ctest-vn-04484712 UUID is 48ac8d60-63a3-48b6-b9b5-0d1c26d996dc 2026-06-17 14:31:09,162 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-96198812, 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-48017143:ctest-vn-04484712, 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-17 14:31:09,466 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4014b740-8354-4d35-bb0e-eb0af1646eff', 'name': 'ctest-vn-96198812', 'tenant_id': '96d4f8a446bc448c849e83e6ff7224da', 'project_id': '96d4f8a446bc448c849e83e6ff7224da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2e2eeb16-93c3-473a-82c7-d3cf3c002251'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-vn-96198812'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-policy-allow-all-71899959']], 'subnet_ipam': [{'subnet_cidr': '52.183.179.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-17 14:31:09,694 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48ac8d60-63a3-48b6-b9b5-0d1c26d996dc', 'name': 'ctest-vn-04484712', 'tenant_id': '96d4f8a446bc448c849e83e6ff7224da', 'project_id': '96d4f8a446bc448c849e83e6ff7224da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c12d2e01-0a09-4430-92bc-093bb6a45c71'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-vn-04484712'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-policy-allow-all-71899959']], 'subnet_ipam': [{'subnet_cidr': '58.250.155.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-17 14:31:09,850 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-17 14:31:10,169 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-17 14:31:10,201 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bdf7433b-f8e1-4070-9bb1-b819b30db180 2026-06-17 14:31:10,213 - DEBUG - Requesting: http://10.0.0.249:8082/project/96d4f8a4-46bc-448c-849e-83e6ff7224da 2026-06-17 14:31:10,285 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4014b740-8354-4d35-bb0e-eb0af1646eff 2026-06-17 14:31:10,295 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4014b740-8354-4d35-bb0e-eb0af1646eff 2026-06-17 14:31:10,304 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/07d20cda-ea40-4c7d-9a0b-9d0408ea483a 2026-06-17 14:31:10,310 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/07d20cda-ea40-4c7d-9a0b-9d0408ea483a 2026-06-17 14:31:10,316 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/228ab861-1b6b-4826-8eb1-cc32e5f1cfcb 2026-06-17 14:31:10,321 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-17 14:31:10,321 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4014b740-8354-4d35-bb0e-eb0af1646eff 2026-06-17 14:31:10,329 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/07d20cda-ea40-4c7d-9a0b-9d0408ea483a 2026-06-17 14:31:10,341 - INFO - Verified VN network id 12 for VN 4014b740-8354-4d35-bb0e-eb0af1646eff 2026-06-17 14:31:10,341 - INFO - Verifications in API Server for VN ctest-vn-96198812 passed 2026-06-17 14:31:10,341 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4014b740-8354-4d35-bb0e-eb0af1646eff 2026-06-17 14:31:10,349 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/07d20cda-ea40-4c7d-9a0b-9d0408ea483a 2026-06-17 14:31:10,355 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/07d20cda-ea40-4c7d-9a0b-9d0408ea483a 2026-06-17 14:31:10,360 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/228ab861-1b6b-4826-8eb1-cc32e5f1cfcb 2026-06-17 14:31:10,369 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-96198812', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48017143', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4617517005670731061', 'uuid-lslong': '13478969166998564607'}, 'enable': 'true', 'created': '2026-06-17T14:31:08', 'last-modified': '2026-06-17T14:31:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923868'} 2026-06-17 14:31:10,374 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-17 14:31:10,374 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96198812 passed 2026-06-17 14:31:10,374 - DEBUG - ====Verifying policy data for ctest-vn-96198812 in API_Server ====== 2026-06-17 14:31:10,374 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-17 14:31:10,379 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bdf7433b-f8e1-4070-9bb1-b819b30db180 2026-06-17 14:31:10,389 - DEBUG - Requesting: http://10.0.0.249:8082/project/96d4f8a4-46bc-448c-849e-83e6ff7224da 2026-06-17 14:31:10,451 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4014b740-8354-4d35-bb0e-eb0af1646eff 2026-06-17 14:31:10,459 - DEBUG - ==>Verifying data for policy with id: 1f7d8dcd-3cd1-422c-b30d-d66af9a8504a, fqn: ['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-policy-allow-all-71899959'] 2026-06-17 14:31:10,459 - INFO - VN ctest-vn-96198812 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-17 14:31:10,459 - DEBUG - Verifying the vn in opserver 2026-06-17 14:31:10,459 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-96198812 virtual network link through opserver 10.0.0.249 2026-06-17 14:31:10,459 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-17 14:31:10,783 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-17 14:31:10,835 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-96198812', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-96198812?flat'} 2026-06-17 14:31:10,836 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-96198812 is found in opserver 2026-06-17 14:31:10,846 - DEBUG - Do not have enough data to verify VN in agent 2026-06-17 14:31:10,851 - DEBUG - VRF ids for VN ctest-vn-96198812: {} 2026-06-17 14:31:10,851 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-17 14:31:10,856 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bdf7433b-f8e1-4070-9bb1-b819b30db180 2026-06-17 14:31:10,867 - DEBUG - Requesting: http://10.0.0.249:8082/project/96d4f8a4-46bc-448c-849e-83e6ff7224da 2026-06-17 14:31:10,937 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48ac8d60-63a3-48b6-b9b5-0d1c26d996dc 2026-06-17 14:31:10,946 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48ac8d60-63a3-48b6-b9b5-0d1c26d996dc 2026-06-17 14:31:10,954 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3f15cbcb-356f-4e9d-9441-880364e403c5 2026-06-17 14:31:10,960 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3f15cbcb-356f-4e9d-9441-880364e403c5 2026-06-17 14:31:10,965 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1229f697-950b-4c2f-8196-867968c3a39c 2026-06-17 14:31:10,970 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-17 14:31:10,970 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48ac8d60-63a3-48b6-b9b5-0d1c26d996dc 2026-06-17 14:31:10,976 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3f15cbcb-356f-4e9d-9441-880364e403c5 2026-06-17 14:31:10,986 - INFO - Verified VN network id 13 for VN 48ac8d60-63a3-48b6-b9b5-0d1c26d996dc 2026-06-17 14:31:10,986 - INFO - Verifications in API Server for VN ctest-vn-04484712 passed 2026-06-17 14:31:10,986 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48ac8d60-63a3-48b6-b9b5-0d1c26d996dc 2026-06-17 14:31:10,993 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3f15cbcb-356f-4e9d-9441-880364e403c5 2026-06-17 14:31:10,999 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3f15cbcb-356f-4e9d-9441-880364e403c5 2026-06-17 14:31:11,005 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1229f697-950b-4c2f-8196-867968c3a39c 2026-06-17 14:31:11,015 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-04484712', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48017143', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5236715911853066422', 'uuid-lslong': '13381616282363336412'}, 'enable': 'true', 'created': '2026-06-17T14:31:08', 'last-modified': '2026-06-17T14:31:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.341436'} 2026-06-17 14:31:11,020 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-17 14:31:11,020 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04484712 passed 2026-06-17 14:31:11,021 - DEBUG - ====Verifying policy data for ctest-vn-04484712 in API_Server ====== 2026-06-17 14:31:11,021 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-17 14:31:11,025 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bdf7433b-f8e1-4070-9bb1-b819b30db180 2026-06-17 14:31:11,035 - DEBUG - Requesting: http://10.0.0.249:8082/project/96d4f8a4-46bc-448c-849e-83e6ff7224da 2026-06-17 14:31:11,104 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48ac8d60-63a3-48b6-b9b5-0d1c26d996dc 2026-06-17 14:31:11,112 - DEBUG - ==>Verifying data for policy with id: 1f7d8dcd-3cd1-422c-b30d-d66af9a8504a, fqn: ['default-domain', 'ctest-TestBasicPolicy-48017143', 'ctest-policy-allow-all-71899959'] 2026-06-17 14:31:11,112 - INFO - VN ctest-vn-04484712 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-17 14:31:11,112 - DEBUG - Verifying the vn in opserver 2026-06-17 14:31:11,112 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-04484712 virtual network link through opserver 10.0.0.249 2026-06-17 14:31:11,112 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-06-17 14:31:11,120 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-04484712', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-04484712?flat'} 2026-06-17 14:31:11,120 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-04484712 is found in opserver 2026-06-17 14:31:11,128 - DEBUG - Do not have enough data to verify VN in agent 2026-06-17 14:31:11,133 - DEBUG - VRF ids for VN ctest-vn-04484712: {} 2026-06-17 14:31:11,186 - DEBUG - Services list from nova: [, , ] 2026-06-17 14:31:12,183 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5965-1) 2026-06-17 14:31:13,233 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5965-1) 2026-06-17 14:31:13,233 - INFO - Waiting for VM ctest-TestBasicPolicy-48017143-04284652 to be up.. 2026-06-17 14:31:13,281 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-17 14:31:18,346 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-17 14:31:23,419 - DEBUG - VM is in ACTIVE state now 2026-06-17 14:31:23,419 - INFO - VM name : ctest-TestBasicPolicy-48017143-04284652 2026-06-17 14:31:23,518 - DEBUG - VM ctest-TestBasicPolicy-48017143-04284652 ID is cd83a190-abb3-4e9f-8188-79455ecca4f9 2026-06-17 14:31:23,535 - DEBUG - VM ctest-TestBasicPolicy-48017143-04284652 launched on Node cn-jenkins-deploy-platform-ansible-os-5965-1 2026-06-17 14:31:23,602 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/cd83a190-abb3-4e9f-8188-79455ecca4f9 2026-06-17 14:31:23,609 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a7e1e209-9cd3-44c9-8ef2-fe4ae157f821 2026-06-17 14:31:26,830 - 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 1025ms') 2026-06-17 14:31:26,830 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48017143-04284652 failed! 2026-06-17 14:31:26,882 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48017143:ctest-vn-96198812 is 52.183.179.129 and allocation pool is NOT set 2026-06-17 14:31:28,945 - 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=8.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 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.420/4.666/8.912/4.246 ms') 2026-06-17 14:31:28,945 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48017143-04284652 passed 2026-06-17 14:31:29,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 14:31:29,091 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48017143-04284652, IP 52.183.179.131, Port 22 2026-06-17 14:31:29,245 - DEBUG - VM ctest-TestBasicPolicy-48017143-04284652 is ready for SSH connections 2026-06-17 14:31:29,246 - INFO - Waiting for VM ctest-TestBasicPolicy-48017143-64339773 to be up.. 2026-06-17 14:31:29,316 - DEBUG - VM is in ACTIVE state now 2026-06-17 14:31:29,316 - INFO - VM name : ctest-TestBasicPolicy-48017143-64339773 2026-06-17 14:31:29,391 - DEBUG - VM ctest-TestBasicPolicy-48017143-64339773 ID is 8e90a770-b109-4967-ae05-9ac694eb3145 2026-06-17 14:31:29,391 - DEBUG - VM ctest-TestBasicPolicy-48017143-64339773 launched on Node cn-jenkins-deploy-platform-ansible-os-5965-1 2026-06-17 14:31:29,460 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/8e90a770-b109-4967-ae05-9ac694eb3145 2026-06-17 14:31:29,467 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/fb7cf7ff-e98b-47f6-a177-ec74753638a8 2026-06-17 14:31:30,696 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.25 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 = 1.249/2.857/4.466/1.608 ms') 2026-06-17 14:31:30,696 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48017143-64339773 passed 2026-06-17 14:31:30,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 14:31:30,847 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48017143-64339773, IP 58.250.155.131, Port 22 2026-06-17 14:31:31,013 - DEBUG - VM ctest-TestBasicPolicy-48017143-64339773 is ready for SSH connections 2026-06-17 14:31:31,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 14:31:31,013 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.250.155.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-17 14:31:31,013 - DEBUG - ping -s 56 -c 3 -W 1 58.250.155.131 2026-06-17 14:31:34,886 - DEBUG - PING 58.250.155.131 (58.250.155.131): 56 data bytes 64 bytes from 58.250.155.131: seq=0 ttl=63 time=4.598 ms 64 bytes from 58.250.155.131: seq=1 ttl=63 time=0.996 ms 64 bytes from 58.250.155.131: seq=2 ttl=63 time=1.009 ms --- 58.250.155.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.996/2.201/4.598 ms 2026-06-17 14:31:34,886 - INFO - Ping to IP 58.250.155.131 from VM ctest-TestBasicPolicy-48017143-04284652 passed 2026-06-17 14:31:35,066 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1f7d8dcd-3cd1-422c-b30d-d66af9a8504a", "href": "http://10.0.0.249:8082/network-policy/1f7d8dcd-3cd1-422c-b30d-d66af9a8504a"}} 2026-06-17 14:31:35,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 14:31:35,066 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.250.155.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-17 14:31:35,066 - DEBUG - ping -s 56 -c 3 -W 1 58.250.155.131 2026-06-17 14:31:38,183 - DEBUG - PING 58.250.155.131 (58.250.155.131): 56 data bytes --- 58.250.155.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-17 14:31:38,184 - WARNING - Ping to IP 58.250.155.131 from VM ctest-TestBasicPolicy-48017143-04284652 failed 2026-06-17 14:31:38,184 - INFO - Deleting VM ctest-TestBasicPolicy-48017143-64339773 2026-06-17 14:31:38,248 - INFO - Deleting VM ctest-TestBasicPolicy-48017143-04284652 2026-06-17 14:31:38,598 - INFO - Deleted policy ctest-policy-allow-all-71899959 2026-06-17 14:31:38,598 - INFO - Deleting VN ctest-vn-04484712 2026-06-17 14:31:38,626 - DEBUG - VN 48ac8d60-63a3-48b6-b9b5-0d1c26d996dc still in use: Unable to complete operation on network 48ac8d60-63a3-48b6-b9b5-0d1c26d996dc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4209e6cc-8800-4bf5-b4fe-e4ad981f7771'] 2026-06-17 14:31:38,626 - WARNING - Deleting VN ctest-vn-04484712 failed..Will retry 2026-06-17 14:31:40,723 - DEBUG - Response for deleting network () 2026-06-17 14:31:40,723 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3f15cbcb-356f-4e9d-9441-880364e403c5 2026-06-17 14:31:40,738 - DEBUG - Response Code: 404 2026-06-17 14:31:40,738 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-17 14:31:40,746 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bdf7433b-f8e1-4070-9bb1-b819b30db180 2026-06-17 14:31:40,801 - DEBUG - Requesting: http://10.0.0.249:8082/project/96d4f8a4-46bc-448c-849e-83e6ff7224da 2026-06-17 14:31:40,882 - INFO - Validated that VN ctest-vn-04484712 is not found in API Server 2026-06-17 14:31:40,894 - DEBUG - VN ctest-vn-04484712 is not present in Agent 10.0.0.249 2026-06-17 14:31:40,894 - INFO - Validated that VN ctest-vn-04484712 is not in any agent 2026-06-17 14:31:40,908 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04484712 info 2026-06-17 14:31:40,908 - INFO - Deleting VN ctest-vn-96198812 2026-06-17 14:31:41,019 - DEBUG - Response for deleting network () 2026-06-17 14:31:41,019 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/07d20cda-ea40-4c7d-9a0b-9d0408ea483a 2026-06-17 14:31:41,029 - DEBUG - Response Code: 404 2026-06-17 14:31:41,029 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-06-17 14:31:41,033 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bdf7433b-f8e1-4070-9bb1-b819b30db180 2026-06-17 14:31:41,087 - DEBUG - Requesting: http://10.0.0.249:8082/project/96d4f8a4-46bc-448c-849e-83e6ff7224da 2026-06-17 14:31:41,153 - INFO - Validated that VN ctest-vn-96198812 is not found in API Server 2026-06-17 14:31:41,163 - DEBUG - VN ctest-vn-96198812 is not present in Agent 10.0.0.249 2026-06-17 14:31:41,163 - INFO - Validated that VN ctest-vn-96198812 is not in any agent 2026-06-17 14:31:41,177 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96198812 info 2026-06-17 14:31:41,435 - DEBUG - No XMPP flaps were noticed during the test
2026-06-17 14:31:41,435 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-06-17 14:31:41,435 - INFO - -------------------------------------------------------------------------------- 2026-06-17 14:31:42,112 - INFO - Deleted project: ctest-TestBasicPolicy-48017143, ID : 96d4f8a4-46bc-448c-849e-83e6ff7224da