2026-01-15 09:12:54,283 - INFO - Domain Default found not creating 2026-01-15 09:12:54,443 - INFO - Project ctest-TestBasicPolicy-40510040 not found, creating it 2026-01-15 09:12:54,877 - INFO - Created Project:ctest-TestBasicPolicy-40510040, ID : 9c39e05a-6b75-4b68-a9de-7743f8d26b8f 2026-01-15 09:12:56,364 - INFO - ================================================================================ 2026-01-15 09:12:56,364 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-15 09:12:56,364 - 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-01-15 09:12:56,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.242': '0'}} with 2026-01-15 09:12:56,631 - INFO - Initial checks done. Running the testcase now 2026-01-15 09:12:56,631 - INFO - 2026-01-15 09:12:57,212 - DEBUG - Response for create_network : {'network': {'id': 'eb327086-bdc3-452f-81d7-01f741096821', 'name': 'ctest-vn-65488123', 'tenant_id': '9c39e05a6b754b68a9de7743f8d26b8f', 'project_id': '9c39e05a6b754b68a9de7743f8d26b8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40510040', 'ctest-vn-65488123'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 09:12:57,353 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4d10f03-a038-406b-8e53-e782610ddea0', 'name': '', 'tenant_id': '9c39e05a6b754b68a9de7743f8d26b8f', 'network_id': 'eb327086-bdc3-452f-81d7-01f741096821', 'ip_version': 4, 'cidr': '138.154.227.128/26', 'allocation_pools': [{'start': '138.154.227.130', 'end': '138.154.227.190'}], 'gateway_ip': '138.154.227.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.154.227.130', 'tags': [], 'project_id': '9c39e05a6b754b68a9de7743f8d26b8f'}} 2026-01-15 09:12:57,370 - INFO - Created VN ctest-vn-65488123 2026-01-15 09:12:57,422 - DEBUG - VN ctest-vn-65488123 UUID is eb327086-bdc3-452f-81d7-01f741096821 2026-01-15 09:12:57,729 - DEBUG - Response for create_network : {'network': {'id': 'c12c7754-b03d-4e14-b6c7-46075deecf52', 'name': 'ctest-vn-68748877', 'tenant_id': '9c39e05a6b754b68a9de7743f8d26b8f', 'project_id': '9c39e05a6b754b68a9de7743f8d26b8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40510040', 'ctest-vn-68748877'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 09:12:57,916 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ab42559-9de3-424f-96f8-b1db18c0ae8a', 'name': '', 'tenant_id': '9c39e05a6b754b68a9de7743f8d26b8f', 'network_id': 'c12c7754-b03d-4e14-b6c7-46075deecf52', 'ip_version': 4, 'cidr': '166.244.198.128/26', 'allocation_pools': [{'start': '166.244.198.130', 'end': '166.244.198.190'}], 'gateway_ip': '166.244.198.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.244.198.130', 'tags': [], 'project_id': '9c39e05a6b754b68a9de7743f8d26b8f'}} 2026-01-15 09:12:57,932 - INFO - Created VN ctest-vn-68748877 2026-01-15 09:12:57,982 - DEBUG - VN ctest-vn-68748877 UUID is c12c7754-b03d-4e14-b6c7-46075deecf52 2026-01-15 09:12:58,093 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40510040:ctest-vn-65488123, 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-40510040:ctest-vn-68748877, 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-01-15 09:12:58,379 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb327086-bdc3-452f-81d7-01f741096821', 'name': 'ctest-vn-65488123', 'tenant_id': '9c39e05a6b754b68a9de7743f8d26b8f', 'project_id': '9c39e05a6b754b68a9de7743f8d26b8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c4d10f03-a038-406b-8e53-e782610ddea0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40510040', 'ctest-vn-65488123'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40510040', 'ctest-policy-allow-all-18129835']], 'subnet_ipam': [{'subnet_cidr': '138.154.227.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-15 09:12:58,650 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c12c7754-b03d-4e14-b6c7-46075deecf52', 'name': 'ctest-vn-68748877', 'tenant_id': '9c39e05a6b754b68a9de7743f8d26b8f', 'project_id': '9c39e05a6b754b68a9de7743f8d26b8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2ab42559-9de3-424f-96f8-b1db18c0ae8a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40510040', 'ctest-vn-68748877'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40510040', 'ctest-policy-allow-all-18129835']], 'subnet_ipam': [{'subnet_cidr': '166.244.198.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-15 09:12:58,786 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-15 09:12:59,085 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-15 09:12:59,115 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8043ddf2-b842-4863-a86d-8f79735d90aa 2026-01-15 09:12:59,128 - DEBUG - Requesting: http://10.0.0.22:8082/project/9c39e05a-6b75-4b68-a9de-7743f8d26b8f 2026-01-15 09:12:59,205 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/eb327086-bdc3-452f-81d7-01f741096821 2026-01-15 09:12:59,217 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/eb327086-bdc3-452f-81d7-01f741096821 2026-01-15 09:12:59,226 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/287657df-62af-4963-a4ba-1c0c328697dc 2026-01-15 09:12:59,234 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/287657df-62af-4963-a4ba-1c0c328697dc 2026-01-15 09:12:59,241 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fb7eb0f6-94e2-4db1-95bb-0678508b17ea 2026-01-15 09:12:59,246 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-15 09:12:59,247 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/eb327086-bdc3-452f-81d7-01f741096821 2026-01-15 09:12:59,255 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/287657df-62af-4963-a4ba-1c0c328697dc 2026-01-15 09:12:59,267 - INFO - Verified VN network id 11 for VN eb327086-bdc3-452f-81d7-01f741096821 2026-01-15 09:12:59,267 - INFO - Verifications in API Server for VN ctest-vn-65488123 passed 2026-01-15 09:12:59,268 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/eb327086-bdc3-452f-81d7-01f741096821 2026-01-15 09:12:59,275 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/287657df-62af-4963-a4ba-1c0c328697dc 2026-01-15 09:12:59,282 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/287657df-62af-4963-a4ba-1c0c328697dc 2026-01-15 09:12:59,288 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fb7eb0f6-94e2-4db1-95bb-0678508b17ea 2026-01-15 09:12:59,300 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40510040:ctest-vn-65488123', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40510040', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16947732071760217391', 'uuid-lslong': '9355948912345180193'}, 'enable': 'true', 'created': '2026-01-15T09:12:57', 'last-modified': '2026-01-15T09:12:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943339'} 2026-01-15 09:12:59,307 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-15 09:12:59,307 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65488123 passed 2026-01-15 09:12:59,307 - DEBUG - ====Verifying policy data for ctest-vn-65488123 in API_Server ====== 2026-01-15 09:12:59,307 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-15 09:12:59,312 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8043ddf2-b842-4863-a86d-8f79735d90aa 2026-01-15 09:12:59,322 - DEBUG - Requesting: http://10.0.0.22:8082/project/9c39e05a-6b75-4b68-a9de-7743f8d26b8f 2026-01-15 09:12:59,391 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/eb327086-bdc3-452f-81d7-01f741096821 2026-01-15 09:12:59,399 - DEBUG - ==>Verifying data for policy with id: c9c79de4-eb89-460e-b8ff-ada21aed2d1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-40510040', 'ctest-policy-allow-all-18129835'] 2026-01-15 09:12:59,399 - INFO - VN ctest-vn-65488123 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-15 09:12:59,399 - DEBUG - Verifying the vn in opserver 2026-01-15 09:12:59,399 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40510040:ctest-vn-65488123 virtual network link through opserver 10.0.0.22 2026-01-15 09:12:59,400 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-15 09:12:59,697 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-15 09:12:59,755 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40510040:ctest-vn-65488123', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40510040:ctest-vn-65488123?flat'} 2026-01-15 09:12:59,755 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40510040:ctest-vn-65488123 is found in opserver 2026-01-15 09:12:59,764 - DEBUG - Do not have enough data to verify VN in agent 2026-01-15 09:12:59,769 - DEBUG - VRF ids for VN ctest-vn-65488123: {} 2026-01-15 09:12:59,769 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-15 09:12:59,775 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8043ddf2-b842-4863-a86d-8f79735d90aa 2026-01-15 09:12:59,787 - DEBUG - Requesting: http://10.0.0.22:8082/project/9c39e05a-6b75-4b68-a9de-7743f8d26b8f 2026-01-15 09:12:59,854 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c12c7754-b03d-4e14-b6c7-46075deecf52 2026-01-15 09:12:59,864 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c12c7754-b03d-4e14-b6c7-46075deecf52 2026-01-15 09:12:59,873 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c996111c-fa21-4538-8caa-700f9d0c3153 2026-01-15 09:12:59,880 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c996111c-fa21-4538-8caa-700f9d0c3153 2026-01-15 09:12:59,889 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1b69ded3-08c4-47b8-98a2-8fc4fd539684 2026-01-15 09:12:59,897 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-15 09:12:59,897 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c12c7754-b03d-4e14-b6c7-46075deecf52 2026-01-15 09:12:59,907 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c996111c-fa21-4538-8caa-700f9d0c3153 2026-01-15 09:12:59,920 - INFO - Verified VN network id 12 for VN c12c7754-b03d-4e14-b6c7-46075deecf52 2026-01-15 09:12:59,921 - INFO - Verifications in API Server for VN ctest-vn-68748877 passed 2026-01-15 09:12:59,921 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c12c7754-b03d-4e14-b6c7-46075deecf52 2026-01-15 09:12:59,929 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c996111c-fa21-4538-8caa-700f9d0c3153 2026-01-15 09:12:59,936 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c996111c-fa21-4538-8caa-700f9d0c3153 2026-01-15 09:12:59,944 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1b69ded3-08c4-47b8-98a2-8fc4fd539684 2026-01-15 09:12:59,957 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40510040:ctest-vn-68748877', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40510040', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13919631753913126420', 'uuid-lslong': '13170572632722952018'}, 'enable': 'true', 'created': '2026-01-15T09:12:57', 'last-modified': '2026-01-15T09:12:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.379976'} 2026-01-15 09:12:59,963 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-15 09:12:59,963 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68748877 passed 2026-01-15 09:12:59,963 - DEBUG - ====Verifying policy data for ctest-vn-68748877 in API_Server ====== 2026-01-15 09:12:59,964 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-15 09:12:59,969 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8043ddf2-b842-4863-a86d-8f79735d90aa 2026-01-15 09:12:59,981 - DEBUG - Requesting: http://10.0.0.22:8082/project/9c39e05a-6b75-4b68-a9de-7743f8d26b8f 2026-01-15 09:13:00,049 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c12c7754-b03d-4e14-b6c7-46075deecf52 2026-01-15 09:13:00,058 - DEBUG - ==>Verifying data for policy with id: c9c79de4-eb89-460e-b8ff-ada21aed2d1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-40510040', 'ctest-policy-allow-all-18129835'] 2026-01-15 09:13:00,058 - INFO - VN ctest-vn-68748877 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-15 09:13:00,058 - DEBUG - Verifying the vn in opserver 2026-01-15 09:13:00,058 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40510040:ctest-vn-68748877 virtual network link through opserver 10.0.0.22 2026-01-15 09:13:00,058 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-15 09:13:00,068 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40510040:ctest-vn-68748877', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40510040:ctest-vn-68748877?flat'} 2026-01-15 09:13:00,068 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40510040:ctest-vn-68748877 is found in opserver 2026-01-15 09:13:00,077 - DEBUG - Do not have enough data to verify VN in agent 2026-01-15 09:13:00,082 - DEBUG - VRF ids for VN ctest-vn-68748877: {} 2026-01-15 09:13:00,137 - DEBUG - Services list from nova: [, , ] 2026-01-15 09:13:01,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5016-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5016-1) 2026-01-15 09:13:02,395 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5016-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5016-1) 2026-01-15 09:13:02,395 - INFO - Waiting for VM ctest-TestBasicPolicy-40510040-18154268 to be up.. 2026-01-15 09:13:02,464 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-15 09:13:07,542 - DEBUG - VM is in ACTIVE state now 2026-01-15 09:13:07,543 - INFO - VM name : ctest-TestBasicPolicy-40510040-18154268 2026-01-15 09:13:07,618 - DEBUG - VM ctest-TestBasicPolicy-40510040-18154268 ID is 2de66273-d06d-4fb8-a55d-013c15f9481e 2026-01-15 09:13:07,636 - DEBUG - VM ctest-TestBasicPolicy-40510040-18154268 launched on Node cn-jenkins-deploy-platform-ansible-os-5016-1 2026-01-15 09:13:07,709 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2de66273-d06d-4fb8-a55d-013c15f9481e 2026-01-15 09:13:07,717 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/11702038-307d-41a6-87da-dad4133e3460 2026-01-15 09:13:10,964 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-01-15 09:13:10,964 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40510040-18154268 failed! 2026-01-15 09:13:11,018 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40510040:ctest-vn-65488123 is 138.154.227.129 and allocation pool is NOT set 2026-01-15 09:13:13,079 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.605 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.605/4.030/7.455/3.425 ms') 2026-01-15 09:13:13,079 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40510040-18154268 passed 2026-01-15 09:13:13,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 09:13:13,226 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40510040-18154268, IP 138.154.227.131, Port 22 2026-01-15 09:13:13,378 - DEBUG - VM ctest-TestBasicPolicy-40510040-18154268 is ready for SSH connections 2026-01-15 09:13:13,378 - INFO - Waiting for VM ctest-TestBasicPolicy-40510040-82646051 to be up.. 2026-01-15 09:13:13,451 - DEBUG - VM is in ACTIVE state now 2026-01-15 09:13:13,451 - INFO - VM name : ctest-TestBasicPolicy-40510040-82646051 2026-01-15 09:13:13,520 - DEBUG - VM ctest-TestBasicPolicy-40510040-82646051 ID is 142d82ff-3efe-420d-8a7f-b9a340c4724d 2026-01-15 09:13:13,520 - DEBUG - VM ctest-TestBasicPolicy-40510040-82646051 launched on Node cn-jenkins-deploy-platform-ansible-os-5016-1 2026-01-15 09:13:13,588 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/142d82ff-3efe-420d-8a7f-b9a340c4724d 2026-01-15 09:13:13,595 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/88cca94e-bd0a-445f-9c0e-839d3ed45073 2026-01-15 09:13:14,835 - 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=3.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.439/2.161/3.883/1.722 ms') 2026-01-15 09:13:14,835 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40510040-82646051 passed 2026-01-15 09:13:14,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 09:13:14,986 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40510040-82646051, IP 166.244.198.131, Port 22 2026-01-15 09:13:15,142 - DEBUG - VM ctest-TestBasicPolicy-40510040-82646051 is ready for SSH connections 2026-01-15 09:13:15,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 09:13:15,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.244.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-15 09:13:15,142 - DEBUG - ping -s 56 -c 3 -W 1 166.244.198.131 2026-01-15 09:13:19,134 - DEBUG - PING 166.244.198.131 (166.244.198.131): 56 data bytes 64 bytes from 166.244.198.131: seq=0 ttl=63 time=3.593 ms 64 bytes from 166.244.198.131: seq=1 ttl=63 time=0.840 ms 64 bytes from 166.244.198.131: seq=2 ttl=63 time=0.738 ms --- 166.244.198.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.738/1.723/3.593 ms 2026-01-15 09:13:19,134 - INFO - Ping to IP 166.244.198.131 from VM ctest-TestBasicPolicy-40510040-18154268 passed 2026-01-15 09:13:19,310 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c9c79de4-eb89-460e-b8ff-ada21aed2d1f", "href": "http://10.0.0.22:8082/network-policy/c9c79de4-eb89-460e-b8ff-ada21aed2d1f"}} 2026-01-15 09:13:19,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 09:13:19,310 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.244.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-15 09:13:19,310 - DEBUG - ping -s 56 -c 3 -W 1 166.244.198.131 2026-01-15 09:13:22,519 - DEBUG - PING 166.244.198.131 (166.244.198.131): 56 data bytes --- 166.244.198.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-15 09:13:22,519 - WARNING - Ping to IP 166.244.198.131 from VM ctest-TestBasicPolicy-40510040-18154268 failed 2026-01-15 09:13:22,519 - INFO - Deleting VM ctest-TestBasicPolicy-40510040-82646051 2026-01-15 09:13:22,584 - INFO - Deleting VM ctest-TestBasicPolicy-40510040-18154268 2026-01-15 09:13:22,928 - INFO - Deleted policy ctest-policy-allow-all-18129835 2026-01-15 09:13:22,928 - INFO - Deleting VN ctest-vn-68748877 2026-01-15 09:13:22,959 - DEBUG - VN c12c7754-b03d-4e14-b6c7-46075deecf52 still in use: Unable to complete operation on network c12c7754-b03d-4e14-b6c7-46075deecf52. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1ee380a2-23e1-4b04-bfd3-b8f086f1c3db'] 2026-01-15 09:13:22,960 - WARNING - Deleting VN ctest-vn-68748877 failed..Will retry 2026-01-15 09:13:25,065 - DEBUG - Response for deleting network () 2026-01-15 09:13:25,065 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c996111c-fa21-4538-8caa-700f9d0c3153 2026-01-15 09:13:25,071 - DEBUG - Response Code: 404 2026-01-15 09:13:25,071 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-15 09:13:25,076 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8043ddf2-b842-4863-a86d-8f79735d90aa 2026-01-15 09:13:25,132 - DEBUG - Requesting: http://10.0.0.22:8082/project/9c39e05a-6b75-4b68-a9de-7743f8d26b8f 2026-01-15 09:13:25,208 - INFO - Validated that VN ctest-vn-68748877 is not found in API Server 2026-01-15 09:13:25,217 - DEBUG - VN ctest-vn-68748877 is not present in Agent 10.0.0.22 2026-01-15 09:13:25,217 - INFO - Validated that VN ctest-vn-68748877 is not in any agent 2026-01-15 09:13:25,232 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68748877 info 2026-01-15 09:13:25,232 - INFO - Deleting VN ctest-vn-65488123 2026-01-15 09:13:25,329 - DEBUG - Response for deleting network () 2026-01-15 09:13:25,329 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/287657df-62af-4963-a4ba-1c0c328697dc 2026-01-15 09:13:25,333 - DEBUG - Response Code: 404 2026-01-15 09:13:25,334 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-15 09:13:25,338 - DEBUG - Requesting: http://10.0.0.22:8082/domain/8043ddf2-b842-4863-a86d-8f79735d90aa 2026-01-15 09:13:25,390 - DEBUG - Requesting: http://10.0.0.22:8082/project/9c39e05a-6b75-4b68-a9de-7743f8d26b8f 2026-01-15 09:13:25,457 - INFO - Validated that VN ctest-vn-65488123 is not found in API Server 2026-01-15 09:13:25,465 - DEBUG - VN ctest-vn-65488123 is not present in Agent 10.0.0.22 2026-01-15 09:13:25,465 - INFO - Validated that VN ctest-vn-65488123 is not in any agent 2026-01-15 09:13:25,477 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65488123 info 2026-01-15 09:13:25,731 - DEBUG - No XMPP flaps were noticed during the test
2026-01-15 09:13:25,731 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-15 09:13:25,731 - INFO - -------------------------------------------------------------------------------- 2026-01-15 09:13:26,397 - INFO - Deleted project: ctest-TestBasicPolicy-40510040, ID : 9c39e05a-6b75-4b68-a9de-7743f8d26b8f