2026-01-15 02:14:09,643 - INFO - Domain Default found not creating 2026-01-15 02:14:09,803 - INFO - Project ctest-TestBasicPolicy-71354739 not found, creating it 2026-01-15 02:14:10,234 - INFO - Created Project:ctest-TestBasicPolicy-71354739, ID : b916dacb-136b-4a0f-9f24-b4bcee8d5e6c 2026-01-15 02:14:11,647 - INFO - ================================================================================ 2026-01-15 02:14:11,647 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-15 02:14:11,647 - 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 02:14:11,903 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.253': '0'}} with 2026-01-15 02:14:11,903 - INFO - Initial checks done. Running the testcase now 2026-01-15 02:14:11,903 - INFO - 2026-01-15 02:14:12,429 - DEBUG - Response for create_network : {'network': {'id': 'a1842e92-6af5-416f-b10f-fd0bd7f2bc4c', 'name': 'ctest-vn-91164826', 'tenant_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'project_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-vn-91164826'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:14:12,582 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f94e2f5-05c7-437f-8728-a0f61ebe9af5', 'name': '', 'tenant_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'network_id': 'a1842e92-6af5-416f-b10f-fd0bd7f2bc4c', 'ip_version': 4, 'cidr': '138.94.187.128/26', 'allocation_pools': [{'start': '138.94.187.130', 'end': '138.94.187.190'}], 'gateway_ip': '138.94.187.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.94.187.130', 'tags': [], 'project_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c'}} 2026-01-15 02:14:12,596 - INFO - Created VN ctest-vn-91164826 2026-01-15 02:14:12,646 - DEBUG - VN ctest-vn-91164826 UUID is a1842e92-6af5-416f-b10f-fd0bd7f2bc4c 2026-01-15 02:14:12,950 - DEBUG - Response for create_network : {'network': {'id': '5d75717a-10b2-4db8-9a18-5fa40197cc28', 'name': 'ctest-vn-54438922', 'tenant_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'project_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-vn-54438922'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:14:13,139 - DEBUG - Response for create_subnet : {'subnet': {'id': '559b829c-f61c-404b-9f6f-aace0b80ebd5', 'name': '', 'tenant_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'network_id': '5d75717a-10b2-4db8-9a18-5fa40197cc28', 'ip_version': 4, 'cidr': '148.207.79.192/26', 'allocation_pools': [{'start': '148.207.79.194', 'end': '148.207.79.254'}], 'gateway_ip': '148.207.79.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.207.79.194', 'tags': [], 'project_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c'}} 2026-01-15 02:14:13,154 - INFO - Created VN ctest-vn-54438922 2026-01-15 02:14:13,206 - DEBUG - VN ctest-vn-54438922 UUID is 5d75717a-10b2-4db8-9a18-5fa40197cc28 2026-01-15 02:14:13,350 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-91164826, 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-71354739:ctest-vn-54438922, 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 02:14:13,633 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a1842e92-6af5-416f-b10f-fd0bd7f2bc4c', 'name': 'ctest-vn-91164826', 'tenant_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'project_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f94e2f5-05c7-437f-8728-a0f61ebe9af5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-vn-91164826'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-policy-allow-all-76439881']], 'subnet_ipam': [{'subnet_cidr': '138.94.187.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:14:13,903 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5d75717a-10b2-4db8-9a18-5fa40197cc28', 'name': 'ctest-vn-54438922', 'tenant_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'project_id': 'b916dacb136b4a0f9f24b4bcee8d5e6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['559b829c-f61c-404b-9f6f-aace0b80ebd5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-vn-54438922'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-policy-allow-all-76439881']], 'subnet_ipam': [{'subnet_cidr': '148.207.79.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:14:14,042 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-15 02:14:14,332 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-15 02:14:14,361 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9b74440b-35e0-4ba6-8740-85a215f286a0 2026-01-15 02:14:14,371 - DEBUG - Requesting: http://10.0.0.241:8082/project/b916dacb-136b-4a0f-9f24-b4bcee8d5e6c 2026-01-15 02:14:14,439 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a1842e92-6af5-416f-b10f-fd0bd7f2bc4c 2026-01-15 02:14:14,448 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a1842e92-6af5-416f-b10f-fd0bd7f2bc4c 2026-01-15 02:14:14,455 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/110742ce-35dd-4f2d-bab6-5ced4f4c69ad 2026-01-15 02:14:14,461 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/110742ce-35dd-4f2d-bab6-5ced4f4c69ad 2026-01-15 02:14:14,466 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/5ac0314f-8785-4786-9498-e3d1ef713652 2026-01-15 02:14:14,471 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-15 02:14:14,471 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a1842e92-6af5-416f-b10f-fd0bd7f2bc4c 2026-01-15 02:14:14,477 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/110742ce-35dd-4f2d-bab6-5ced4f4c69ad 2026-01-15 02:14:14,488 - INFO - Verified VN network id 9 for VN a1842e92-6af5-416f-b10f-fd0bd7f2bc4c 2026-01-15 02:14:14,488 - INFO - Verifications in API Server for VN ctest-vn-91164826 passed 2026-01-15 02:14:14,488 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a1842e92-6af5-416f-b10f-fd0bd7f2bc4c 2026-01-15 02:14:14,495 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/110742ce-35dd-4f2d-bab6-5ced4f4c69ad 2026-01-15 02:14:14,500 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/110742ce-35dd-4f2d-bab6-5ced4f4c69ad 2026-01-15 02:14:14,505 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/5ac0314f-8785-4786-9498-e3d1ef713652 2026-01-15 02:14:14,514 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-91164826', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71354739', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11638478543426765167', 'uuid-lslong': '12758694496673381452'}, 'enable': 'true', 'created': '2026-01-15T02:14:12', 'last-modified': '2026-01-15T02:14:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.900790'} 2026-01-15 02:14:14,520 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-15 02:14:14,520 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91164826 passed 2026-01-15 02:14:14,520 - DEBUG - ====Verifying policy data for ctest-vn-91164826 in API_Server ====== 2026-01-15 02:14:14,520 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-15 02:14:14,524 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9b74440b-35e0-4ba6-8740-85a215f286a0 2026-01-15 02:14:14,533 - DEBUG - Requesting: http://10.0.0.241:8082/project/b916dacb-136b-4a0f-9f24-b4bcee8d5e6c 2026-01-15 02:14:14,605 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a1842e92-6af5-416f-b10f-fd0bd7f2bc4c 2026-01-15 02:14:14,614 - DEBUG - ==>Verifying data for policy with id: 8536dea5-fb7d-4460-9ba5-2ce029a96a78, fqn: ['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-policy-allow-all-76439881'] 2026-01-15 02:14:14,614 - INFO - VN ctest-vn-91164826 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-15 02:14:14,614 - DEBUG - Verifying the vn in opserver 2026-01-15 02:14:14,614 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-91164826 virtual network link through opserver 10.0.0.241 2026-01-15 02:14:14,614 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-01-15 02:14:14,904 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-01-15 02:14:14,959 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-91164826', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-91164826?flat'} 2026-01-15 02:14:14,959 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-91164826 is found in opserver 2026-01-15 02:14:14,968 - DEBUG - Do not have enough data to verify VN in agent 2026-01-15 02:14:14,972 - DEBUG - VRF ids for VN ctest-vn-91164826: {} 2026-01-15 02:14:14,972 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-15 02:14:14,977 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9b74440b-35e0-4ba6-8740-85a215f286a0 2026-01-15 02:14:14,987 - DEBUG - Requesting: http://10.0.0.241:8082/project/b916dacb-136b-4a0f-9f24-b4bcee8d5e6c 2026-01-15 02:14:15,055 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d75717a-10b2-4db8-9a18-5fa40197cc28 2026-01-15 02:14:15,065 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d75717a-10b2-4db8-9a18-5fa40197cc28 2026-01-15 02:14:15,072 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/20b5ac72-6a8e-4f62-b96e-0c706a4ee366 2026-01-15 02:14:15,078 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/20b5ac72-6a8e-4f62-b96e-0c706a4ee366 2026-01-15 02:14:15,083 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/e8639f53-43cf-49fa-b76b-59d49470482c 2026-01-15 02:14:15,088 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-15 02:14:15,088 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d75717a-10b2-4db8-9a18-5fa40197cc28 2026-01-15 02:14:15,095 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/20b5ac72-6a8e-4f62-b96e-0c706a4ee366 2026-01-15 02:14:15,107 - INFO - Verified VN network id 10 for VN 5d75717a-10b2-4db8-9a18-5fa40197cc28 2026-01-15 02:14:15,107 - INFO - Verifications in API Server for VN ctest-vn-54438922 passed 2026-01-15 02:14:15,107 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d75717a-10b2-4db8-9a18-5fa40197cc28 2026-01-15 02:14:15,114 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/20b5ac72-6a8e-4f62-b96e-0c706a4ee366 2026-01-15 02:14:15,119 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/20b5ac72-6a8e-4f62-b96e-0c706a4ee366 2026-01-15 02:14:15,124 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/e8639f53-43cf-49fa-b76b-59d49470482c 2026-01-15 02:14:15,133 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-54438922', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71354739', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6734413586882514360', 'uuid-lslong': '11103730039287958568'}, 'enable': 'true', 'created': '2026-01-15T02:14:12', 'last-modified': '2026-01-15T02:14:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.306609'} 2026-01-15 02:14:15,138 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-15 02:14:15,138 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54438922 passed 2026-01-15 02:14:15,139 - DEBUG - ====Verifying policy data for ctest-vn-54438922 in API_Server ====== 2026-01-15 02:14:15,139 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-15 02:14:15,143 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9b74440b-35e0-4ba6-8740-85a215f286a0 2026-01-15 02:14:15,152 - DEBUG - Requesting: http://10.0.0.241:8082/project/b916dacb-136b-4a0f-9f24-b4bcee8d5e6c 2026-01-15 02:14:15,223 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5d75717a-10b2-4db8-9a18-5fa40197cc28 2026-01-15 02:14:15,231 - DEBUG - ==>Verifying data for policy with id: 8536dea5-fb7d-4460-9ba5-2ce029a96a78, fqn: ['default-domain', 'ctest-TestBasicPolicy-71354739', 'ctest-policy-allow-all-76439881'] 2026-01-15 02:14:15,232 - INFO - VN ctest-vn-54438922 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-15 02:14:15,232 - DEBUG - Verifying the vn in opserver 2026-01-15 02:14:15,232 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-54438922 virtual network link through opserver 10.0.0.241 2026-01-15 02:14:15,232 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-01-15 02:14:15,241 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-54438922', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-54438922?flat'} 2026-01-15 02:14:15,241 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-54438922 is found in opserver 2026-01-15 02:14:15,250 - DEBUG - Do not have enough data to verify VN in agent 2026-01-15 02:14:15,254 - DEBUG - VRF ids for VN ctest-vn-54438922: {} 2026-01-15 02:14:15,311 - DEBUG - Services list from nova: [, , ] 2026-01-15 02:14:16,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5013-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5013-1) 2026-01-15 02:14:17,604 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5013-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5013-1) 2026-01-15 02:14:17,604 - INFO - Waiting for VM ctest-TestBasicPolicy-71354739-43385126 to be up.. 2026-01-15 02:14:17,685 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-15 02:14:22,761 - DEBUG - VM is in ACTIVE state now 2026-01-15 02:14:22,761 - INFO - VM name : ctest-TestBasicPolicy-71354739-43385126 2026-01-15 02:14:22,844 - DEBUG - VM ctest-TestBasicPolicy-71354739-43385126 ID is a878de7e-8e20-4006-8494-9c2637853b60 2026-01-15 02:14:22,865 - DEBUG - VM ctest-TestBasicPolicy-71354739-43385126 launched on Node cn-jenkins-deploy-platform-ansible-os-5013-1 2026-01-15 02:14:22,945 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/a878de7e-8e20-4006-8494-9c2637853b60 2026-01-15 02:14:22,955 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/f6a2c404-4be4-4496-b79a-6c9623b9cdba 2026-01-15 02:14:26,195 - 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 1003ms') 2026-01-15 02:14:26,195 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71354739-43385126 failed! 2026-01-15 02:14:26,250 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71354739:ctest-vn-91164826 is 138.94.187.129 and allocation pool is NOT set 2026-01-15 02:14:28,311 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 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.362/3.988/7.615/3.626 ms') 2026-01-15 02:14:28,311 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71354739-43385126 passed 2026-01-15 02:14:28,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:14:28,462 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71354739-43385126, IP 138.94.187.131, Port 22 2026-01-15 02:14:28,635 - DEBUG - VM ctest-TestBasicPolicy-71354739-43385126 is ready for SSH connections 2026-01-15 02:14:28,635 - INFO - Waiting for VM ctest-TestBasicPolicy-71354739-74019011 to be up.. 2026-01-15 02:14:28,708 - DEBUG - VM is in ACTIVE state now 2026-01-15 02:14:28,708 - INFO - VM name : ctest-TestBasicPolicy-71354739-74019011 2026-01-15 02:14:28,774 - DEBUG - VM ctest-TestBasicPolicy-71354739-74019011 ID is 36356f52-3a34-470e-bf7a-7daed418b7b5 2026-01-15 02:14:28,774 - DEBUG - VM ctest-TestBasicPolicy-71354739-74019011 launched on Node cn-jenkins-deploy-platform-ansible-os-5013-1 2026-01-15 02:14:28,847 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/36356f52-3a34-470e-bf7a-7daed418b7b5 2026-01-15 02:14:28,855 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/650e3034-aa1a-4116-a1a3-7aef40f25c72 2026-01-15 02:14:30,085 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.365 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.365/1.728/3.092/1.363 ms') 2026-01-15 02:14:30,085 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71354739-74019011 passed 2026-01-15 02:14:30,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:14:30,238 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71354739-74019011, IP 148.207.79.195, Port 22 2026-01-15 02:14:30,401 - DEBUG - VM ctest-TestBasicPolicy-71354739-74019011 is ready for SSH connections 2026-01-15 02:14:30,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:14:30,401 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.207.79.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-01-15 02:14:30,401 - DEBUG - ping -s 56 -c 3 -W 1 148.207.79.195 2026-01-15 02:14:34,104 - DEBUG - PING 148.207.79.195 (148.207.79.195): 56 data bytes 64 bytes from 148.207.79.195: seq=0 ttl=63 time=3.348 ms 64 bytes from 148.207.79.195: seq=1 ttl=63 time=0.846 ms 64 bytes from 148.207.79.195: seq=2 ttl=63 time=0.919 ms --- 148.207.79.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/1.704/3.348 ms 2026-01-15 02:14:34,104 - INFO - Ping to IP 148.207.79.195 from VM ctest-TestBasicPolicy-71354739-43385126 passed 2026-01-15 02:14:34,273 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8536dea5-fb7d-4460-9ba5-2ce029a96a78", "href": "http://10.0.0.241:8082/network-policy/8536dea5-fb7d-4460-9ba5-2ce029a96a78"}} 2026-01-15 02:14:34,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:14:34,274 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.207.79.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-01-15 02:14:34,274 - DEBUG - ping -s 56 -c 3 -W 1 148.207.79.195 2026-01-15 02:14:37,474 - DEBUG - PING 148.207.79.195 (148.207.79.195): 56 data bytes --- 148.207.79.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-15 02:14:37,474 - WARNING - Ping to IP 148.207.79.195 from VM ctest-TestBasicPolicy-71354739-43385126 failed 2026-01-15 02:14:37,474 - INFO - Deleting VM ctest-TestBasicPolicy-71354739-74019011 2026-01-15 02:14:37,541 - INFO - Deleting VM ctest-TestBasicPolicy-71354739-43385126 2026-01-15 02:14:37,926 - INFO - Deleted policy ctest-policy-allow-all-76439881 2026-01-15 02:14:37,926 - INFO - Deleting VN ctest-vn-54438922 2026-01-15 02:14:37,954 - DEBUG - VN 5d75717a-10b2-4db8-9a18-5fa40197cc28 still in use: Unable to complete operation on network 5d75717a-10b2-4db8-9a18-5fa40197cc28. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cb55d1bb-5da9-4b01-8c8f-4c25c08c52a4'] 2026-01-15 02:14:37,954 - WARNING - Deleting VN ctest-vn-54438922 failed..Will retry 2026-01-15 02:14:40,049 - DEBUG - Response for deleting network () 2026-01-15 02:14:40,049 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/20b5ac72-6a8e-4f62-b96e-0c706a4ee366 2026-01-15 02:14:40,054 - DEBUG - Response Code: 404 2026-01-15 02:14:40,054 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-15 02:14:40,058 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9b74440b-35e0-4ba6-8740-85a215f286a0 2026-01-15 02:14:40,111 - DEBUG - Requesting: http://10.0.0.241:8082/project/b916dacb-136b-4a0f-9f24-b4bcee8d5e6c 2026-01-15 02:14:40,180 - INFO - Validated that VN ctest-vn-54438922 is not found in API Server 2026-01-15 02:14:40,190 - DEBUG - VN ctest-vn-54438922 is not present in Agent 10.0.0.241 2026-01-15 02:14:40,190 - INFO - Validated that VN ctest-vn-54438922 is not in any agent 2026-01-15 02:14:40,201 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54438922 info 2026-01-15 02:14:40,201 - INFO - Deleting VN ctest-vn-91164826 2026-01-15 02:14:40,285 - DEBUG - Response for deleting network () 2026-01-15 02:14:40,285 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/110742ce-35dd-4f2d-bab6-5ced4f4c69ad 2026-01-15 02:14:40,295 - DEBUG - Response Code: 404 2026-01-15 02:14:40,295 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-15 02:14:40,299 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9b74440b-35e0-4ba6-8740-85a215f286a0 2026-01-15 02:14:40,350 - DEBUG - Requesting: http://10.0.0.241:8082/project/b916dacb-136b-4a0f-9f24-b4bcee8d5e6c 2026-01-15 02:14:40,416 - INFO - Validated that VN ctest-vn-91164826 is not found in API Server 2026-01-15 02:14:40,426 - DEBUG - VN ctest-vn-91164826 is not present in Agent 10.0.0.241 2026-01-15 02:14:40,426 - INFO - Validated that VN ctest-vn-91164826 is not in any agent 2026-01-15 02:14:40,437 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91164826 info 2026-01-15 02:14:40,691 - DEBUG - No XMPP flaps were noticed during the test
2026-01-15 02:14:40,691 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-15 02:14:40,691 - INFO - -------------------------------------------------------------------------------- 2026-01-15 02:14:41,364 - INFO - Deleted project: ctest-TestBasicPolicy-71354739, ID : b916dacb-136b-4a0f-9f24-b4bcee8d5e6c