2026-04-29 22:28:58,551 - INFO - Domain Default found not creating 2026-04-29 22:28:58,709 - INFO - Project ctest-TestBasicPolicy-13765166 not found, creating it 2026-04-29 22:28:59,174 - INFO - Created Project:ctest-TestBasicPolicy-13765166, ID : eea16cca-e1ee-401f-81dc-f47ce24d5186 2026-04-29 22:29:00,864 - INFO - ================================================================================ 2026-04-29 22:29:00,864 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-29 22:29:00,864 - 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-04-29 22:29:01,135 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2026-04-29 22:29:01,135 - INFO - Initial checks done. Running the testcase now 2026-04-29 22:29:01,135 - INFO - 2026-04-29 22:29:01,795 - DEBUG - Response for create_network : {'network': {'id': '0ee04ac6-eae0-4c41-a643-67ee59f0e306', 'name': 'ctest-vn-81158289', 'tenant_id': 'eea16ccae1ee401f81dcf47ce24d5186', 'project_id': 'eea16ccae1ee401f81dcf47ce24d5186', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13765166', 'ctest-vn-81158289'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 22:29:01,990 - DEBUG - Response for create_subnet : {'subnet': {'id': '79e72e1f-89e1-4194-804d-410f9a34d9e5', 'name': '', 'tenant_id': 'eea16ccae1ee401f81dcf47ce24d5186', 'network_id': '0ee04ac6-eae0-4c41-a643-67ee59f0e306', 'ip_version': 4, 'cidr': '184.141.14.128/26', 'allocation_pools': [{'start': '184.141.14.130', 'end': '184.141.14.190'}], 'gateway_ip': '184.141.14.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.141.14.130', 'tags': [], 'project_id': 'eea16ccae1ee401f81dcf47ce24d5186'}} 2026-04-29 22:29:02,010 - INFO - Created VN ctest-vn-81158289 2026-04-29 22:29:02,060 - DEBUG - VN ctest-vn-81158289 UUID is 0ee04ac6-eae0-4c41-a643-67ee59f0e306 2026-04-29 22:29:02,353 - DEBUG - Response for create_network : {'network': {'id': '9bf7434b-a6c9-4534-adc3-dff656677168', 'name': 'ctest-vn-50329660', 'tenant_id': 'eea16ccae1ee401f81dcf47ce24d5186', 'project_id': 'eea16ccae1ee401f81dcf47ce24d5186', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13765166', 'ctest-vn-50329660'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 22:29:02,511 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e707da14-0fd6-4f1f-93f8-acffdde9ce5c', 'name': '', 'tenant_id': 'eea16ccae1ee401f81dcf47ce24d5186', 'network_id': '9bf7434b-a6c9-4534-adc3-dff656677168', 'ip_version': 4, 'cidr': '146.180.38.192/26', 'allocation_pools': [{'start': '146.180.38.194', 'end': '146.180.38.254'}], 'gateway_ip': '146.180.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.180.38.194', 'tags': [], 'project_id': 'eea16ccae1ee401f81dcf47ce24d5186'}} 2026-04-29 22:29:02,530 - INFO - Created VN ctest-vn-50329660 2026-04-29 22:29:02,580 - DEBUG - VN ctest-vn-50329660 UUID is 9bf7434b-a6c9-4534-adc3-dff656677168 2026-04-29 22:29:02,697 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13765166:ctest-vn-81158289, 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-13765166:ctest-vn-50329660, 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-04-29 22:29:02,989 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ee04ac6-eae0-4c41-a643-67ee59f0e306', 'name': 'ctest-vn-81158289', 'tenant_id': 'eea16ccae1ee401f81dcf47ce24d5186', 'project_id': 'eea16ccae1ee401f81dcf47ce24d5186', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['79e72e1f-89e1-4194-804d-410f9a34d9e5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13765166', 'ctest-vn-81158289'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13765166', 'ctest-policy-allow-all-27542482']], 'subnet_ipam': [{'subnet_cidr': '184.141.14.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 22:29:03,217 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9bf7434b-a6c9-4534-adc3-dff656677168', 'name': 'ctest-vn-50329660', 'tenant_id': 'eea16ccae1ee401f81dcf47ce24d5186', 'project_id': 'eea16ccae1ee401f81dcf47ce24d5186', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e707da14-0fd6-4f1f-93f8-acffdde9ce5c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13765166', 'ctest-vn-50329660'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13765166', 'ctest-policy-allow-all-27542482']], 'subnet_ipam': [{'subnet_cidr': '146.180.38.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 22:29:03,380 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-29 22:29:03,713 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-29 22:29:03,755 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0d40519a-d52e-4801-b811-5e8ab1dcf333 2026-04-29 22:29:03,769 - DEBUG - Requesting: http://10.0.0.141:8082/project/eea16cca-e1ee-401f-81dc-f47ce24d5186 2026-04-29 22:29:03,849 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0ee04ac6-eae0-4c41-a643-67ee59f0e306 2026-04-29 22:29:03,863 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0ee04ac6-eae0-4c41-a643-67ee59f0e306 2026-04-29 22:29:03,879 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c9256ddc-2ece-475a-a14f-1924e942143c 2026-04-29 22:29:03,889 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c9256ddc-2ece-475a-a14f-1924e942143c 2026-04-29 22:29:03,898 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9f6fc397-365b-42c1-9b9d-4978b2f181f2 2026-04-29 22:29:03,906 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 22:29:03,906 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0ee04ac6-eae0-4c41-a643-67ee59f0e306 2026-04-29 22:29:03,916 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c9256ddc-2ece-475a-a14f-1924e942143c 2026-04-29 22:29:03,930 - INFO - Verified VN network id 11 for VN 0ee04ac6-eae0-4c41-a643-67ee59f0e306 2026-04-29 22:29:03,930 - INFO - Verifications in API Server for VN ctest-vn-81158289 passed 2026-04-29 22:29:03,931 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0ee04ac6-eae0-4c41-a643-67ee59f0e306 2026-04-29 22:29:03,941 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c9256ddc-2ece-475a-a14f-1924e942143c 2026-04-29 22:29:03,948 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c9256ddc-2ece-475a-a14f-1924e942143c 2026-04-29 22:29:03,955 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9f6fc397-365b-42c1-9b9d-4978b2f181f2 2026-04-29 22:29:03,967 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13765166:ctest-vn-81158289', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13765166', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1071938929518726209', 'uuid-lslong': '11980533707144487686'}, 'enable': 'true', 'created': '2026-04-29T22:29:01', 'last-modified': '2026-04-29T22:29:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.002454'} 2026-04-29 22:29:03,973 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 22:29:03,973 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81158289 passed 2026-04-29 22:29:03,973 - DEBUG - ====Verifying policy data for ctest-vn-81158289 in API_Server ====== 2026-04-29 22:29:03,973 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-29 22:29:03,979 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0d40519a-d52e-4801-b811-5e8ab1dcf333 2026-04-29 22:29:03,990 - DEBUG - Requesting: http://10.0.0.141:8082/project/eea16cca-e1ee-401f-81dc-f47ce24d5186 2026-04-29 22:29:04,062 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0ee04ac6-eae0-4c41-a643-67ee59f0e306 2026-04-29 22:29:04,075 - DEBUG - ==>Verifying data for policy with id: 38b50ae8-6e55-4205-bd35-ffca58a7f818, fqn: ['default-domain', 'ctest-TestBasicPolicy-13765166', 'ctest-policy-allow-all-27542482'] 2026-04-29 22:29:04,075 - INFO - VN ctest-vn-81158289 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 22:29:04,075 - DEBUG - Verifying the vn in opserver 2026-04-29 22:29:04,075 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13765166:ctest-vn-81158289 virtual network link through opserver 10.0.0.141 2026-04-29 22:29:04,075 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-04-29 22:29:04,411 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-04-29 22:29:04,481 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13765166:ctest-vn-81158289', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13765166:ctest-vn-81158289?flat'} 2026-04-29 22:29:04,481 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13765166:ctest-vn-81158289 is found in opserver 2026-04-29 22:29:04,492 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 22:29:04,498 - DEBUG - VRF ids for VN ctest-vn-81158289: {} 2026-04-29 22:29:04,498 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-29 22:29:04,504 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0d40519a-d52e-4801-b811-5e8ab1dcf333 2026-04-29 22:29:04,516 - DEBUG - Requesting: http://10.0.0.141:8082/project/eea16cca-e1ee-401f-81dc-f47ce24d5186 2026-04-29 22:29:04,586 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9bf7434b-a6c9-4534-adc3-dff656677168 2026-04-29 22:29:04,598 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9bf7434b-a6c9-4534-adc3-dff656677168 2026-04-29 22:29:04,607 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3f0c5ef5-8223-440c-8824-7c0d05c42039 2026-04-29 22:29:04,615 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3f0c5ef5-8223-440c-8824-7c0d05c42039 2026-04-29 22:29:04,622 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fdac08a3-66aa-42fb-afcf-876994d2d69b 2026-04-29 22:29:04,628 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 22:29:04,628 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9bf7434b-a6c9-4534-adc3-dff656677168 2026-04-29 22:29:04,639 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3f0c5ef5-8223-440c-8824-7c0d05c42039 2026-04-29 22:29:04,656 - INFO - Verified VN network id 12 for VN 9bf7434b-a6c9-4534-adc3-dff656677168 2026-04-29 22:29:04,656 - INFO - Verifications in API Server for VN ctest-vn-50329660 passed 2026-04-29 22:29:04,656 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9bf7434b-a6c9-4534-adc3-dff656677168 2026-04-29 22:29:04,666 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3f0c5ef5-8223-440c-8824-7c0d05c42039 2026-04-29 22:29:04,674 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3f0c5ef5-8223-440c-8824-7c0d05c42039 2026-04-29 22:29:04,681 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fdac08a3-66aa-42fb-afcf-876994d2d69b 2026-04-29 22:29:04,694 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13765166:ctest-vn-50329660', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13765166', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11238525387326178612', 'uuid-lslong': '12521097638124679528'}, 'enable': 'true', 'created': '2026-04-29T22:29:02', 'last-modified': '2026-04-29T22:29:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.497282'} 2026-04-29 22:29:04,699 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 22:29:04,700 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50329660 passed 2026-04-29 22:29:04,700 - DEBUG - ====Verifying policy data for ctest-vn-50329660 in API_Server ====== 2026-04-29 22:29:04,700 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-29 22:29:04,705 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0d40519a-d52e-4801-b811-5e8ab1dcf333 2026-04-29 22:29:04,716 - DEBUG - Requesting: http://10.0.0.141:8082/project/eea16cca-e1ee-401f-81dc-f47ce24d5186 2026-04-29 22:29:04,787 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9bf7434b-a6c9-4534-adc3-dff656677168 2026-04-29 22:29:04,797 - DEBUG - ==>Verifying data for policy with id: 38b50ae8-6e55-4205-bd35-ffca58a7f818, fqn: ['default-domain', 'ctest-TestBasicPolicy-13765166', 'ctest-policy-allow-all-27542482'] 2026-04-29 22:29:04,797 - INFO - VN ctest-vn-50329660 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 22:29:04,797 - DEBUG - Verifying the vn in opserver 2026-04-29 22:29:04,797 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13765166:ctest-vn-50329660 virtual network link through opserver 10.0.0.141 2026-04-29 22:29:04,797 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-04-29 22:29:04,807 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13765166:ctest-vn-50329660', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13765166:ctest-vn-50329660?flat'} 2026-04-29 22:29:04,807 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13765166:ctest-vn-50329660 is found in opserver 2026-04-29 22:29:04,819 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 22:29:04,824 - DEBUG - VRF ids for VN ctest-vn-50329660: {} 2026-04-29 22:29:04,894 - DEBUG - Services list from nova: [, , ] 2026-04-29 22:29:06,019 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5718-1) 2026-04-29 22:29:07,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5718-1) 2026-04-29 22:29:07,267 - INFO - Waiting for VM ctest-TestBasicPolicy-13765166-00137263 to be up.. 2026-04-29 22:29:07,356 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-29 22:29:12,436 - DEBUG - VM is in ACTIVE state now 2026-04-29 22:29:12,437 - INFO - VM name : ctest-TestBasicPolicy-13765166-00137263 2026-04-29 22:29:12,508 - DEBUG - VM ctest-TestBasicPolicy-13765166-00137263 ID is a6657ab4-fb93-4707-93d8-e2d8a8e2a071 2026-04-29 22:29:12,529 - DEBUG - VM ctest-TestBasicPolicy-13765166-00137263 launched on Node cn-jenkins-deploy-platform-ansible-os-5718-1 2026-04-29 22:29:12,604 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a6657ab4-fb93-4707-93d8-e2d8a8e2a071 2026-04-29 22:29:12,613 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/c28796e8-6e6e-4e00-93d5-a2b63f4e190d 2026-04-29 22:29:15,851 - 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 1002ms') 2026-04-29 22:29:15,851 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13765166-00137263 failed! 2026-04-29 22:29:15,908 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13765166:ctest-vn-81158289 is 184.141.14.129 and allocation pool is NOT set 2026-04-29 22:29:17,985 - 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=6.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.324 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 = 0.324/3.618/6.912/3.294 ms') 2026-04-29 22:29:17,985 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13765166-00137263 passed 2026-04-29 22:29:18,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 22:29:18,181 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13765166-00137263, IP 184.141.14.131, Port 22 2026-04-29 22:29:18,350 - DEBUG - VM ctest-TestBasicPolicy-13765166-00137263 is ready for SSH connections 2026-04-29 22:29:18,351 - INFO - Waiting for VM ctest-TestBasicPolicy-13765166-88184170 to be up.. 2026-04-29 22:29:18,431 - DEBUG - VM is in ACTIVE state now 2026-04-29 22:29:18,431 - INFO - VM name : ctest-TestBasicPolicy-13765166-88184170 2026-04-29 22:29:18,501 - DEBUG - VM ctest-TestBasicPolicy-13765166-88184170 ID is 400411ee-d7ea-4cde-803a-7394723051a2 2026-04-29 22:29:18,502 - DEBUG - VM ctest-TestBasicPolicy-13765166-88184170 launched on Node cn-jenkins-deploy-platform-ansible-os-5718-1 2026-04-29 22:29:18,577 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/400411ee-d7ea-4cde-803a-7394723051a2 2026-04-29 22:29:18,586 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/ba75a3c3-7b81-4fbb-b50a-4362e2b872b4 2026-04-29 22:29:19,828 - 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=5.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.14 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.136/3.592/5.048/1.456 ms') 2026-04-29 22:29:19,828 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13765166-88184170 passed 2026-04-29 22:29:19,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 22:29:19,977 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13765166-88184170, IP 146.180.38.195, Port 22 2026-04-29 22:29:20,143 - DEBUG - VM ctest-TestBasicPolicy-13765166-88184170 is ready for SSH connections 2026-04-29 22:29:20,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 22:29:20,143 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.180.38.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-04-29 22:29:20,143 - DEBUG - ping -s 56 -c 3 -W 1 146.180.38.195 2026-04-29 22:29:24,242 - DEBUG - PING 146.180.38.195 (146.180.38.195): 56 data bytes 64 bytes from 146.180.38.195: seq=0 ttl=63 time=4.110 ms 64 bytes from 146.180.38.195: seq=1 ttl=63 time=0.837 ms 64 bytes from 146.180.38.195: seq=2 ttl=63 time=0.865 ms --- 146.180.38.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.837/1.937/4.110 ms 2026-04-29 22:29:24,242 - INFO - Ping to IP 146.180.38.195 from VM ctest-TestBasicPolicy-13765166-00137263 passed 2026-04-29 22:29:24,416 - DEBUG - Policy Update Response {"network-policy": {"uuid": "38b50ae8-6e55-4205-bd35-ffca58a7f818", "href": "http://10.0.0.141:8082/network-policy/38b50ae8-6e55-4205-bd35-ffca58a7f818"}} 2026-04-29 22:29:24,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 22:29:24,416 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.180.38.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-04-29 22:29:24,416 - DEBUG - ping -s 56 -c 3 -W 1 146.180.38.195 2026-04-29 22:29:27,649 - DEBUG - PING 146.180.38.195 (146.180.38.195): 56 data bytes --- 146.180.38.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-29 22:29:27,649 - WARNING - Ping to IP 146.180.38.195 from VM ctest-TestBasicPolicy-13765166-00137263 failed 2026-04-29 22:29:27,649 - INFO - Deleting VM ctest-TestBasicPolicy-13765166-88184170 2026-04-29 22:29:27,715 - INFO - Deleting VM ctest-TestBasicPolicy-13765166-00137263 2026-04-29 22:29:28,077 - INFO - Deleted policy ctest-policy-allow-all-27542482 2026-04-29 22:29:28,077 - INFO - Deleting VN ctest-vn-50329660 2026-04-29 22:29:28,110 - DEBUG - VN 9bf7434b-a6c9-4534-adc3-dff656677168 still in use: Unable to complete operation on network 9bf7434b-a6c9-4534-adc3-dff656677168. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b9ca841a-6377-4f14-be58-79120af8e92d'] 2026-04-29 22:29:28,110 - WARNING - Deleting VN ctest-vn-50329660 failed..Will retry 2026-04-29 22:29:30,209 - DEBUG - Response for deleting network () 2026-04-29 22:29:30,209 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3f0c5ef5-8223-440c-8824-7c0d05c42039 2026-04-29 22:29:30,214 - DEBUG - Response Code: 404 2026-04-29 22:29:30,214 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-29 22:29:30,220 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0d40519a-d52e-4801-b811-5e8ab1dcf333 2026-04-29 22:29:30,274 - DEBUG - Requesting: http://10.0.0.141:8082/project/eea16cca-e1ee-401f-81dc-f47ce24d5186 2026-04-29 22:29:30,345 - INFO - Validated that VN ctest-vn-50329660 is not found in API Server 2026-04-29 22:29:30,354 - DEBUG - VN ctest-vn-50329660 is not present in Agent 10.0.0.141 2026-04-29 22:29:30,354 - INFO - Validated that VN ctest-vn-50329660 is not in any agent 2026-04-29 22:29:30,369 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50329660 info 2026-04-29 22:29:30,369 - INFO - Deleting VN ctest-vn-81158289 2026-04-29 22:29:30,467 - DEBUG - Response for deleting network () 2026-04-29 22:29:30,467 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c9256ddc-2ece-475a-a14f-1924e942143c 2026-04-29 22:29:30,474 - DEBUG - Response Code: 404 2026-04-29 22:29:30,474 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-29 22:29:30,479 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0d40519a-d52e-4801-b811-5e8ab1dcf333 2026-04-29 22:29:30,533 - DEBUG - Requesting: http://10.0.0.141:8082/project/eea16cca-e1ee-401f-81dc-f47ce24d5186 2026-04-29 22:29:30,603 - INFO - Validated that VN ctest-vn-81158289 is not found in API Server 2026-04-29 22:29:30,614 - DEBUG - VN ctest-vn-81158289 is not present in Agent 10.0.0.141 2026-04-29 22:29:30,615 - INFO - Validated that VN ctest-vn-81158289 is not in any agent 2026-04-29 22:29:30,628 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81158289 info 2026-04-29 22:29:30,885 - DEBUG - No XMPP flaps were noticed during the test
2026-04-29 22:29:30,885 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-04-29 22:29:30,886 - INFO - -------------------------------------------------------------------------------- 2026-04-29 22:29:31,625 - INFO - Deleted project: ctest-TestBasicPolicy-13765166, ID : eea16cca-e1ee-401f-81dc-f47ce24d5186