2026-01-28 22:22:56,426 - INFO - Domain Default found not creating 2026-01-28 22:22:56,566 - INFO - Project ctest-TestBasicPolicy-01281743 not found, creating it 2026-01-28 22:22:56,997 - INFO - Created Project:ctest-TestBasicPolicy-01281743, ID : a79e0d15-668b-4563-a1df-d05a97dcc186 2026-01-28 22:22:58,379 - INFO - ================================================================================ 2026-01-28 22:22:58,380 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-28 22:22:58,380 - 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-28 22:22:58,633 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-01-28 22:22:58,633 - INFO - Initial checks done. Running the testcase now 2026-01-28 22:22:58,634 - INFO - 2026-01-28 22:22:59,167 - DEBUG - Response for create_network : {'network': {'id': '75346d68-12a8-4e22-9779-4b5cc56840bc', 'name': 'ctest-vn-99925270', 'tenant_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'project_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-vn-99925270'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 22:22:59,349 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc1a9471-5e29-459b-9ef1-dcd899a169e2', 'name': '', 'tenant_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'network_id': '75346d68-12a8-4e22-9779-4b5cc56840bc', 'ip_version': 4, 'cidr': '168.249.113.0/26', 'allocation_pools': [{'start': '168.249.113.2', 'end': '168.249.113.62'}], 'gateway_ip': '168.249.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.249.113.2', 'tags': [], 'project_id': 'a79e0d15668b4563a1dfd05a97dcc186'}} 2026-01-28 22:22:59,365 - INFO - Created VN ctest-vn-99925270 2026-01-28 22:22:59,415 - DEBUG - VN ctest-vn-99925270 UUID is 75346d68-12a8-4e22-9779-4b5cc56840bc 2026-01-28 22:22:59,756 - DEBUG - Response for create_network : {'network': {'id': '3fedde14-f1d2-4a31-8abc-4ff30872f91f', 'name': 'ctest-vn-72105508', 'tenant_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'project_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-vn-72105508'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 22:22:59,967 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd47cf459-1c0a-41e3-bc09-bd9bd1255329', 'name': '', 'tenant_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'network_id': '3fedde14-f1d2-4a31-8abc-4ff30872f91f', 'ip_version': 4, 'cidr': '93.199.88.192/26', 'allocation_pools': [{'start': '93.199.88.194', 'end': '93.199.88.254'}], 'gateway_ip': '93.199.88.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.199.88.194', 'tags': [], 'project_id': 'a79e0d15668b4563a1dfd05a97dcc186'}} 2026-01-28 22:22:59,982 - INFO - Created VN ctest-vn-72105508 2026-01-28 22:23:00,031 - DEBUG - VN ctest-vn-72105508 UUID is 3fedde14-f1d2-4a31-8abc-4ff30872f91f 2026-01-28 22:23:00,183 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-99925270, 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-01281743:ctest-vn-72105508, 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-28 22:23:00,455 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '75346d68-12a8-4e22-9779-4b5cc56840bc', 'name': 'ctest-vn-99925270', 'tenant_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'project_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dc1a9471-5e29-459b-9ef1-dcd899a169e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-vn-99925270'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-policy-allow-all-92716434']], 'subnet_ipam': [{'subnet_cidr': '168.249.113.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 22:23:00,724 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3fedde14-f1d2-4a31-8abc-4ff30872f91f', 'name': 'ctest-vn-72105508', 'tenant_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'project_id': 'a79e0d15668b4563a1dfd05a97dcc186', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d47cf459-1c0a-41e3-bc09-bd9bd1255329'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-vn-72105508'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-policy-allow-all-92716434']], 'subnet_ipam': [{'subnet_cidr': '93.199.88.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 22:23:00,875 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-28 22:23:01,169 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-28 22:23:01,196 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7f4837a-788e-4a51-a2cb-23a127bebc0c 2026-01-28 22:23:01,207 - DEBUG - Requesting: http://10.0.0.249:8082/project/a79e0d15-668b-4563-a1df-d05a97dcc186 2026-01-28 22:23:01,283 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/75346d68-12a8-4e22-9779-4b5cc56840bc 2026-01-28 22:23:01,292 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/75346d68-12a8-4e22-9779-4b5cc56840bc 2026-01-28 22:23:01,300 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0ff198e0-08d0-4f8f-b7db-8e060ab33027 2026-01-28 22:23:01,306 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0ff198e0-08d0-4f8f-b7db-8e060ab33027 2026-01-28 22:23:01,311 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/96f820d1-3c7c-493d-a81b-ec2f0f533bed 2026-01-28 22:23:01,316 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 22:23:01,316 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/75346d68-12a8-4e22-9779-4b5cc56840bc 2026-01-28 22:23:01,323 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0ff198e0-08d0-4f8f-b7db-8e060ab33027 2026-01-28 22:23:01,334 - INFO - Verified VN network id 12 for VN 75346d68-12a8-4e22-9779-4b5cc56840bc 2026-01-28 22:23:01,334 - INFO - Verifications in API Server for VN ctest-vn-99925270 passed 2026-01-28 22:23:01,335 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/75346d68-12a8-4e22-9779-4b5cc56840bc 2026-01-28 22:23:01,342 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0ff198e0-08d0-4f8f-b7db-8e060ab33027 2026-01-28 22:23:01,347 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0ff198e0-08d0-4f8f-b7db-8e060ab33027 2026-01-28 22:23:01,353 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/96f820d1-3c7c-493d-a81b-ec2f0f533bed 2026-01-28 22:23:01,364 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-99925270', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01281743', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8445495494983568930', 'uuid-lslong': '10914838033730126012'}, 'enable': 'true', 'created': '2026-01-28T22:22:59', 'last-modified': '2026-01-28T22:23:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923650'} 2026-01-28 22:23:01,369 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 22:23:01,369 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99925270 passed 2026-01-28 22:23:01,369 - DEBUG - ====Verifying policy data for ctest-vn-99925270 in API_Server ====== 2026-01-28 22:23:01,369 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-28 22:23:01,374 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7f4837a-788e-4a51-a2cb-23a127bebc0c 2026-01-28 22:23:01,384 - DEBUG - Requesting: http://10.0.0.249:8082/project/a79e0d15-668b-4563-a1df-d05a97dcc186 2026-01-28 22:23:01,454 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/75346d68-12a8-4e22-9779-4b5cc56840bc 2026-01-28 22:23:01,461 - DEBUG - ==>Verifying data for policy with id: a13da189-822b-4463-98fa-2f1fa88f8231, fqn: ['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-policy-allow-all-92716434'] 2026-01-28 22:23:01,461 - INFO - VN ctest-vn-99925270 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 22:23:01,461 - DEBUG - Verifying the vn in opserver 2026-01-28 22:23:01,462 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-99925270 virtual network link through opserver 10.0.0.249 2026-01-28 22:23:01,462 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-28 22:23:01,755 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-28 22:23:01,813 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-99925270', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-99925270?flat'} 2026-01-28 22:23:01,814 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-99925270 is found in opserver 2026-01-28 22:23:01,822 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 22:23:01,826 - DEBUG - VRF ids for VN ctest-vn-99925270: {} 2026-01-28 22:23:01,826 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-28 22:23:01,830 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7f4837a-788e-4a51-a2cb-23a127bebc0c 2026-01-28 22:23:01,839 - DEBUG - Requesting: http://10.0.0.249:8082/project/a79e0d15-668b-4563-a1df-d05a97dcc186 2026-01-28 22:23:01,908 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3fedde14-f1d2-4a31-8abc-4ff30872f91f 2026-01-28 22:23:01,917 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3fedde14-f1d2-4a31-8abc-4ff30872f91f 2026-01-28 22:23:01,925 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3ba44bfc-b6d2-418a-aa1c-7e9b30938e63 2026-01-28 22:23:01,931 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3ba44bfc-b6d2-418a-aa1c-7e9b30938e63 2026-01-28 22:23:01,937 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/cebb46b8-9d38-4f7e-bd37-3497c0c4e593 2026-01-28 22:23:01,942 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 22:23:01,942 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3fedde14-f1d2-4a31-8abc-4ff30872f91f 2026-01-28 22:23:01,950 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3ba44bfc-b6d2-418a-aa1c-7e9b30938e63 2026-01-28 22:23:01,962 - INFO - Verified VN network id 13 for VN 3fedde14-f1d2-4a31-8abc-4ff30872f91f 2026-01-28 22:23:01,962 - INFO - Verifications in API Server for VN ctest-vn-72105508 passed 2026-01-28 22:23:01,962 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3fedde14-f1d2-4a31-8abc-4ff30872f91f 2026-01-28 22:23:01,969 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3ba44bfc-b6d2-418a-aa1c-7e9b30938e63 2026-01-28 22:23:01,975 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3ba44bfc-b6d2-418a-aa1c-7e9b30938e63 2026-01-28 22:23:01,980 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/cebb46b8-9d38-4f7e-bd37-3497c0c4e593 2026-01-28 22:23:01,990 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-72105508', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01281743', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4606582175407688241', 'uuid-lslong': '9996953178093058335'}, 'enable': 'true', 'created': '2026-01-28T22:22:59', 'last-modified': '2026-01-28T22:23:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.329888'} 2026-01-28 22:23:01,995 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 22:23:01,995 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72105508 passed 2026-01-28 22:23:01,996 - DEBUG - ====Verifying policy data for ctest-vn-72105508 in API_Server ====== 2026-01-28 22:23:01,996 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-28 22:23:02,001 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7f4837a-788e-4a51-a2cb-23a127bebc0c 2026-01-28 22:23:02,011 - DEBUG - Requesting: http://10.0.0.249:8082/project/a79e0d15-668b-4563-a1df-d05a97dcc186 2026-01-28 22:23:02,077 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3fedde14-f1d2-4a31-8abc-4ff30872f91f 2026-01-28 22:23:02,085 - DEBUG - ==>Verifying data for policy with id: a13da189-822b-4463-98fa-2f1fa88f8231, fqn: ['default-domain', 'ctest-TestBasicPolicy-01281743', 'ctest-policy-allow-all-92716434'] 2026-01-28 22:23:02,086 - INFO - VN ctest-vn-72105508 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 22:23:02,086 - DEBUG - Verifying the vn in opserver 2026-01-28 22:23:02,086 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-72105508 virtual network link through opserver 10.0.0.249 2026-01-28 22:23:02,086 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-28 22:23:02,094 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-72105508', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-72105508?flat'} 2026-01-28 22:23:02,094 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-72105508 is found in opserver 2026-01-28 22:23:02,102 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 22:23:02,106 - DEBUG - VRF ids for VN ctest-vn-72105508: {} 2026-01-28 22:23:02,159 - DEBUG - Services list from nova: [, , ] 2026-01-28 22:23:03,156 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5108-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5108-1) 2026-01-28 22:23:04,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5108-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5108-1) 2026-01-28 22:23:04,243 - INFO - Waiting for VM ctest-TestBasicPolicy-01281743-53582741 to be up.. 2026-01-28 22:23:04,315 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 22:23:09,385 - DEBUG - VM is in ACTIVE state now 2026-01-28 22:23:09,385 - INFO - VM name : ctest-TestBasicPolicy-01281743-53582741 2026-01-28 22:23:09,458 - DEBUG - VM ctest-TestBasicPolicy-01281743-53582741 ID is f4905bf8-44eb-49fc-893c-0178f250f5e1 2026-01-28 22:23:09,476 - DEBUG - VM ctest-TestBasicPolicy-01281743-53582741 launched on Node cn-jenkins-deploy-platform-ansible-os-5108-1 2026-01-28 22:23:09,558 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f4905bf8-44eb-49fc-893c-0178f250f5e1 2026-01-28 22:23:09,566 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c3314ca9-e150-4e4f-9ede-b55ebaeb70d4 2026-01-28 22:23:12,812 - 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 1019ms') 2026-01-28 22:23:12,812 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01281743-53582741 failed! 2026-01-28 22:23:12,871 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-01281743:ctest-vn-99925270 is 168.249.113.1 and allocation pool is NOT set 2026-01-28 22:23:14,937 - 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=4.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.790 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.790/2.880/4.971/2.090 ms') 2026-01-28 22:23:14,937 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01281743-53582741 passed 2026-01-28 22:23:15,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 22:23:15,083 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01281743-53582741, IP 168.249.113.3, Port 22 2026-01-28 22:23:15,235 - DEBUG - VM ctest-TestBasicPolicy-01281743-53582741 is ready for SSH connections 2026-01-28 22:23:15,235 - INFO - Waiting for VM ctest-TestBasicPolicy-01281743-91548158 to be up.. 2026-01-28 22:23:15,311 - DEBUG - VM is in ACTIVE state now 2026-01-28 22:23:15,311 - INFO - VM name : ctest-TestBasicPolicy-01281743-91548158 2026-01-28 22:23:15,378 - DEBUG - VM ctest-TestBasicPolicy-01281743-91548158 ID is e95898df-ab74-4446-b0a9-e2c3a8303d83 2026-01-28 22:23:15,379 - DEBUG - VM ctest-TestBasicPolicy-01281743-91548158 launched on Node cn-jenkins-deploy-platform-ansible-os-5108-1 2026-01-28 22:23:15,448 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e95898df-ab74-4446-b0a9-e2c3a8303d83 2026-01-28 22:23:15,456 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/cc1ec247-b84d-40ac-b4c3-9886061e51a0 2026-01-28 22:23:16,691 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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.448/1.762/3.076/1.314 ms') 2026-01-28 22:23:16,691 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-01281743-91548158 passed 2026-01-28 22:23:16,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 22:23:16,839 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01281743-91548158, IP 93.199.88.195, Port 22 2026-01-28 22:23:16,994 - DEBUG - VM ctest-TestBasicPolicy-01281743-91548158 is ready for SSH connections 2026-01-28 22:23:16,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 22:23:16,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.199.88.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-28 22:23:16,994 - DEBUG - ping -s 56 -c 3 -W 1 93.199.88.195 2026-01-28 22:23:20,678 - DEBUG - PING 93.199.88.195 (93.199.88.195): 56 data bytes 64 bytes from 93.199.88.195: seq=0 ttl=63 time=4.368 ms 64 bytes from 93.199.88.195: seq=1 ttl=63 time=1.100 ms 64 bytes from 93.199.88.195: seq=2 ttl=63 time=1.087 ms --- 93.199.88.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.087/2.185/4.368 ms 2026-01-28 22:23:20,678 - INFO - Ping to IP 93.199.88.195 from VM ctest-TestBasicPolicy-01281743-53582741 passed 2026-01-28 22:23:20,855 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a13da189-822b-4463-98fa-2f1fa88f8231", "href": "http://10.0.0.249:8082/network-policy/a13da189-822b-4463-98fa-2f1fa88f8231"}} 2026-01-28 22:23:20,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 22:23:20,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.199.88.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-28 22:23:20,855 - DEBUG - ping -s 56 -c 3 -W 1 93.199.88.195 2026-01-28 22:23:24,050 - DEBUG - PING 93.199.88.195 (93.199.88.195): 56 data bytes --- 93.199.88.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-28 22:23:24,051 - WARNING - Ping to IP 93.199.88.195 from VM ctest-TestBasicPolicy-01281743-53582741 failed 2026-01-28 22:23:24,051 - INFO - Deleting VM ctest-TestBasicPolicy-01281743-91548158 2026-01-28 22:23:24,120 - INFO - Deleting VM ctest-TestBasicPolicy-01281743-53582741 2026-01-28 22:23:24,447 - INFO - Deleted policy ctest-policy-allow-all-92716434 2026-01-28 22:23:24,447 - INFO - Deleting VN ctest-vn-72105508 2026-01-28 22:23:24,476 - DEBUG - VN 3fedde14-f1d2-4a31-8abc-4ff30872f91f still in use: Unable to complete operation on network 3fedde14-f1d2-4a31-8abc-4ff30872f91f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-135f52b3-7368-4319-a7cd-36039a4a3879'] 2026-01-28 22:23:24,476 - WARNING - Deleting VN ctest-vn-72105508 failed..Will retry 2026-01-28 22:23:26,562 - DEBUG - Response for deleting network () 2026-01-28 22:23:26,563 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3ba44bfc-b6d2-418a-aa1c-7e9b30938e63 2026-01-28 22:23:26,568 - DEBUG - Response Code: 404 2026-01-28 22:23:26,568 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-28 22:23:26,572 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7f4837a-788e-4a51-a2cb-23a127bebc0c 2026-01-28 22:23:26,624 - DEBUG - Requesting: http://10.0.0.249:8082/project/a79e0d15-668b-4563-a1df-d05a97dcc186 2026-01-28 22:23:26,690 - INFO - Validated that VN ctest-vn-72105508 is not found in API Server 2026-01-28 22:23:26,699 - DEBUG - VN ctest-vn-72105508 is not present in Agent 10.0.0.249 2026-01-28 22:23:26,699 - INFO - Validated that VN ctest-vn-72105508 is not in any agent 2026-01-28 22:23:26,710 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72105508 info 2026-01-28 22:23:26,710 - INFO - Deleting VN ctest-vn-99925270 2026-01-28 22:23:26,799 - DEBUG - Response for deleting network () 2026-01-28 22:23:26,799 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0ff198e0-08d0-4f8f-b7db-8e060ab33027 2026-01-28 22:23:26,805 - DEBUG - Response Code: 404 2026-01-28 22:23:26,805 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-28 22:23:26,809 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7f4837a-788e-4a51-a2cb-23a127bebc0c 2026-01-28 22:23:26,859 - DEBUG - Requesting: http://10.0.0.249:8082/project/a79e0d15-668b-4563-a1df-d05a97dcc186 2026-01-28 22:23:26,927 - INFO - Validated that VN ctest-vn-99925270 is not found in API Server 2026-01-28 22:23:26,935 - DEBUG - VN ctest-vn-99925270 is not present in Agent 10.0.0.249 2026-01-28 22:23:26,935 - INFO - Validated that VN ctest-vn-99925270 is not in any agent 2026-01-28 22:23:26,947 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99925270 info 2026-01-28 22:23:27,199 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 22:23:27,199 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-28 22:23:27,200 - INFO - -------------------------------------------------------------------------------- 2026-01-28 22:23:27,852 - INFO - Deleted project: ctest-TestBasicPolicy-01281743, ID : a79e0d15-668b-4563-a1df-d05a97dcc186