2025-09-08 12:00:52,406 - INFO - Domain Default found not creating 2025-09-08 12:00:52,541 - INFO - Project ctest-TestBasicPolicy-09241802 not found, creating it 2025-09-08 12:00:52,988 - INFO - Created Project:ctest-TestBasicPolicy-09241802, ID : 63cf0ad2-b2c3-425e-8a28-d36e7a68f290 2025-09-08 12:00:54,368 - INFO - ================================================================================ 2025-09-08 12:00:54,368 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-08 12:00:54,368 - 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 2025-09-08 12:00:54,622 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-08 12:00:54,623 - INFO - Initial checks done. Running the testcase now 2025-09-08 12:00:54,623 - INFO - 2025-09-08 12:00:55,140 - DEBUG - Response for create_network : {'network': {'id': '6b2ec69c-4f27-4839-874c-b3b453f5a449', 'name': 'ctest-vn-36428205', 'tenant_id': '63cf0ad2b2c3425e8a28d36e7a68f290', 'project_id': '63cf0ad2b2c3425e8a28d36e7a68f290', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09241802', 'ctest-vn-36428205'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:00:55,348 - DEBUG - Response for create_subnet : {'subnet': {'id': '2058051f-6d99-4c09-b23b-cd8467babfe8', 'name': '', 'tenant_id': '63cf0ad2b2c3425e8a28d36e7a68f290', 'network_id': '6b2ec69c-4f27-4839-874c-b3b453f5a449', 'ip_version': 4, 'cidr': '120.172.74.128/26', 'allocation_pools': [{'start': '120.172.74.130', 'end': '120.172.74.190'}], 'gateway_ip': '120.172.74.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.172.74.130', 'tags': [], 'project_id': '63cf0ad2b2c3425e8a28d36e7a68f290'}} 2025-09-08 12:00:55,364 - INFO - Created VN ctest-vn-36428205 2025-09-08 12:00:55,416 - DEBUG - VN ctest-vn-36428205 UUID is 6b2ec69c-4f27-4839-874c-b3b453f5a449 2025-09-08 12:00:55,712 - DEBUG - Response for create_network : {'network': {'id': 'fdb11f25-b8ae-43a8-9e30-8c526878f0f1', 'name': 'ctest-vn-01461426', 'tenant_id': '63cf0ad2b2c3425e8a28d36e7a68f290', 'project_id': '63cf0ad2b2c3425e8a28d36e7a68f290', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09241802', 'ctest-vn-01461426'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:00:55,900 - DEBUG - Response for create_subnet : {'subnet': {'id': '64d34017-6f3c-40a6-876a-2425caef7a47', 'name': '', 'tenant_id': '63cf0ad2b2c3425e8a28d36e7a68f290', 'network_id': 'fdb11f25-b8ae-43a8-9e30-8c526878f0f1', 'ip_version': 4, 'cidr': '64.119.175.128/26', 'allocation_pools': [{'start': '64.119.175.130', 'end': '64.119.175.190'}], 'gateway_ip': '64.119.175.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.119.175.130', 'tags': [], 'project_id': '63cf0ad2b2c3425e8a28d36e7a68f290'}} 2025-09-08 12:00:55,916 - INFO - Created VN ctest-vn-01461426 2025-09-08 12:00:55,972 - DEBUG - VN ctest-vn-01461426 UUID is fdb11f25-b8ae-43a8-9e30-8c526878f0f1 2025-09-08 12:00:56,142 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09241802:ctest-vn-36428205, 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-09241802:ctest-vn-01461426, 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] 2025-09-08 12:00:56,427 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6b2ec69c-4f27-4839-874c-b3b453f5a449', 'name': 'ctest-vn-36428205', 'tenant_id': '63cf0ad2b2c3425e8a28d36e7a68f290', 'project_id': '63cf0ad2b2c3425e8a28d36e7a68f290', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2058051f-6d99-4c09-b23b-cd8467babfe8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09241802', 'ctest-vn-36428205'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09241802', 'ctest-policy-allow-all-74109395']], 'subnet_ipam': [{'subnet_cidr': '120.172.74.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:00:56,692 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fdb11f25-b8ae-43a8-9e30-8c526878f0f1', 'name': 'ctest-vn-01461426', 'tenant_id': '63cf0ad2b2c3425e8a28d36e7a68f290', 'project_id': '63cf0ad2b2c3425e8a28d36e7a68f290', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64d34017-6f3c-40a6-876a-2425caef7a47'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09241802', 'ctest-vn-01461426'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09241802', 'ctest-policy-allow-all-74109395']], 'subnet_ipam': [{'subnet_cidr': '64.119.175.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:00:56,852 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 12:00:57,145 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 12:00:57,171 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0fe0a250-1561-4c42-ae6c-0056308b180a 2025-09-08 12:00:57,185 - DEBUG - Requesting: http://10.0.0.22:8082/project/63cf0ad2-b2c3-425e-8a28-d36e7a68f290 2025-09-08 12:00:57,254 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6b2ec69c-4f27-4839-874c-b3b453f5a449 2025-09-08 12:00:57,264 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6b2ec69c-4f27-4839-874c-b3b453f5a449 2025-09-08 12:00:57,273 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d74086cd-ff18-424a-abde-249c246608ee 2025-09-08 12:00:57,281 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d74086cd-ff18-424a-abde-249c246608ee 2025-09-08 12:00:57,287 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/73561a60-51d9-41a0-ac60-f5fd81e1d38f 2025-09-08 12:00:57,292 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 12:00:57,293 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6b2ec69c-4f27-4839-874c-b3b453f5a449 2025-09-08 12:00:57,300 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d74086cd-ff18-424a-abde-249c246608ee 2025-09-08 12:00:57,312 - INFO - Verified VN network id 12 for VN 6b2ec69c-4f27-4839-874c-b3b453f5a449 2025-09-08 12:00:57,313 - INFO - Verifications in API Server for VN ctest-vn-36428205 passed 2025-09-08 12:00:57,313 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6b2ec69c-4f27-4839-874c-b3b453f5a449 2025-09-08 12:00:57,320 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d74086cd-ff18-424a-abde-249c246608ee 2025-09-08 12:00:57,326 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d74086cd-ff18-424a-abde-249c246608ee 2025-09-08 12:00:57,331 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/73561a60-51d9-41a0-ac60-f5fd81e1d38f 2025-09-08 12:00:57,341 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09241802:ctest-vn-36428205', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09241802', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7723328785632151609', 'uuid-lslong': '9749364880434373705'}, 'enable': 'true', 'created': '2025-09-08T12:00:55', 'last-modified': '2025-09-08T12:00:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.939781'} 2025-09-08 12:00:57,347 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 12:00:57,347 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36428205 passed 2025-09-08 12:00:57,347 - DEBUG - ====Verifying policy data for ctest-vn-36428205 in API_Server ====== 2025-09-08 12:00:57,347 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 12:00:57,352 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0fe0a250-1561-4c42-ae6c-0056308b180a 2025-09-08 12:00:57,362 - DEBUG - Requesting: http://10.0.0.22:8082/project/63cf0ad2-b2c3-425e-8a28-d36e7a68f290 2025-09-08 12:00:57,429 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6b2ec69c-4f27-4839-874c-b3b453f5a449 2025-09-08 12:00:57,438 - DEBUG - ==>Verifying data for policy with id: 6b3e1cef-9e64-49be-80e6-dc53348a388a, fqn: ['default-domain', 'ctest-TestBasicPolicy-09241802', 'ctest-policy-allow-all-74109395'] 2025-09-08 12:00:57,438 - INFO - VN ctest-vn-36428205 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 12:00:57,438 - DEBUG - Verifying the vn in opserver 2025-09-08 12:00:57,438 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09241802:ctest-vn-36428205 virtual network link through opserver 10.0.0.22 2025-09-08 12:00:57,438 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-08 12:00:57,734 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-08 12:00:57,793 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09241802:ctest-vn-36428205', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09241802:ctest-vn-36428205?flat'} 2025-09-08 12:00:57,793 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09241802:ctest-vn-36428205 is found in opserver 2025-09-08 12:00:57,802 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 12:00:57,807 - DEBUG - VRF ids for VN ctest-vn-36428205: {} 2025-09-08 12:00:57,807 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 12:00:57,813 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0fe0a250-1561-4c42-ae6c-0056308b180a 2025-09-08 12:00:57,824 - DEBUG - Requesting: http://10.0.0.22:8082/project/63cf0ad2-b2c3-425e-8a28-d36e7a68f290 2025-09-08 12:00:57,895 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fdb11f25-b8ae-43a8-9e30-8c526878f0f1 2025-09-08 12:00:57,907 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fdb11f25-b8ae-43a8-9e30-8c526878f0f1 2025-09-08 12:00:57,915 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4eeecbe8-6564-4429-b140-283942c1c569 2025-09-08 12:00:57,922 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4eeecbe8-6564-4429-b140-283942c1c569 2025-09-08 12:00:57,928 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/651e1efc-3a16-4b93-93c3-92fd609929ca 2025-09-08 12:00:57,934 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 12:00:57,934 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fdb11f25-b8ae-43a8-9e30-8c526878f0f1 2025-09-08 12:00:57,942 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4eeecbe8-6564-4429-b140-283942c1c569 2025-09-08 12:00:57,954 - INFO - Verified VN network id 13 for VN fdb11f25-b8ae-43a8-9e30-8c526878f0f1 2025-09-08 12:00:57,955 - INFO - Verifications in API Server for VN ctest-vn-01461426 passed 2025-09-08 12:00:57,955 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fdb11f25-b8ae-43a8-9e30-8c526878f0f1 2025-09-08 12:00:57,962 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4eeecbe8-6564-4429-b140-283942c1c569 2025-09-08 12:00:57,969 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4eeecbe8-6564-4429-b140-283942c1c569 2025-09-08 12:00:57,976 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/651e1efc-3a16-4b93-93c3-92fd609929ca 2025-09-08 12:00:57,987 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09241802:ctest-vn-01461426', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09241802', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18280426609346233256', 'uuid-lslong': '11398764942442688753'}, 'enable': 'true', 'created': '2025-09-08T12:00:55', 'last-modified': '2025-09-08T12:00:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.357026'} 2025-09-08 12:00:57,994 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 12:00:57,994 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01461426 passed 2025-09-08 12:00:57,994 - DEBUG - ====Verifying policy data for ctest-vn-01461426 in API_Server ====== 2025-09-08 12:00:57,994 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 12:00:58,001 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0fe0a250-1561-4c42-ae6c-0056308b180a 2025-09-08 12:00:58,011 - DEBUG - Requesting: http://10.0.0.22:8082/project/63cf0ad2-b2c3-425e-8a28-d36e7a68f290 2025-09-08 12:00:58,078 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fdb11f25-b8ae-43a8-9e30-8c526878f0f1 2025-09-08 12:00:58,089 - DEBUG - ==>Verifying data for policy with id: 6b3e1cef-9e64-49be-80e6-dc53348a388a, fqn: ['default-domain', 'ctest-TestBasicPolicy-09241802', 'ctest-policy-allow-all-74109395'] 2025-09-08 12:00:58,089 - INFO - VN ctest-vn-01461426 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 12:00:58,089 - DEBUG - Verifying the vn in opserver 2025-09-08 12:00:58,089 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09241802:ctest-vn-01461426 virtual network link through opserver 10.0.0.22 2025-09-08 12:00:58,089 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-08 12:00:58,098 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09241802:ctest-vn-01461426', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09241802:ctest-vn-01461426?flat'} 2025-09-08 12:00:58,099 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09241802:ctest-vn-01461426 is found in opserver 2025-09-08 12:00:58,108 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 12:00:58,112 - DEBUG - VRF ids for VN ctest-vn-01461426: {} 2025-09-08 12:00:58,166 - DEBUG - Services list from nova: [, , ] 2025-09-08 12:00:59,182 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4045-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4045-1) 2025-09-08 12:01:00,272 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4045-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4045-1) 2025-09-08 12:01:00,272 - INFO - Waiting for VM ctest-TestBasicPolicy-09241802-09188325 to be up.. 2025-09-08 12:01:00,356 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 12:01:05,426 - DEBUG - VM is in ACTIVE state now 2025-09-08 12:01:05,426 - INFO - VM name : ctest-TestBasicPolicy-09241802-09188325 2025-09-08 12:01:05,494 - DEBUG - VM ctest-TestBasicPolicy-09241802-09188325 ID is ba0679e2-1f67-4043-b90c-590cf5f06041 2025-09-08 12:01:05,514 - DEBUG - VM ctest-TestBasicPolicy-09241802-09188325 launched on Node cn-jenkins-deploy-platform-ansible-os-4045-1 2025-09-08 12:01:05,584 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ba0679e2-1f67-4043-b90c-590cf5f06041 2025-09-08 12:01:05,592 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5049da90-c058-40d9-8b0a-3809af280d5e 2025-09-08 12:01:08,852 - 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 1031ms') 2025-09-08 12:01:08,852 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09241802-09188325 failed! 2025-09-08 12:01:08,904 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09241802:ctest-vn-36428205 is 120.172.74.129 and allocation pool is NOT set 2025-09-08 12:01:10,960 - 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=5.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.359 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.359/3.124/5.890/2.765 ms') 2025-09-08 12:01:10,960 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09241802-09188325 passed 2025-09-08 12:01:11,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:01:11,116 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09241802-09188325, IP 120.172.74.131, Port 22 2025-09-08 12:01:11,272 - DEBUG - VM ctest-TestBasicPolicy-09241802-09188325 is ready for SSH connections 2025-09-08 12:01:11,272 - INFO - Waiting for VM ctest-TestBasicPolicy-09241802-28504193 to be up.. 2025-09-08 12:01:11,342 - DEBUG - VM is in ACTIVE state now 2025-09-08 12:01:11,343 - INFO - VM name : ctest-TestBasicPolicy-09241802-28504193 2025-09-08 12:01:11,409 - DEBUG - VM ctest-TestBasicPolicy-09241802-28504193 ID is 9aeb62fe-9348-4d24-ac14-8f44e8204b43 2025-09-08 12:01:11,409 - DEBUG - VM ctest-TestBasicPolicy-09241802-28504193 launched on Node cn-jenkins-deploy-platform-ansible-os-4045-1 2025-09-08 12:01:11,473 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9aeb62fe-9348-4d24-ac14-8f44e8204b43 2025-09-08 12:01:11,481 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4d9c4f00-29a8-4f7b-8bd5-4df14c176b86 2025-09-08 12:01:12,716 - 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=2.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/1.669/2.919/1.249 ms') 2025-09-08 12:01:12,717 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09241802-28504193 passed 2025-09-08 12:01:12,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:01:12,864 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09241802-28504193, IP 64.119.175.131, Port 22 2025-09-08 12:01:13,019 - DEBUG - VM ctest-TestBasicPolicy-09241802-28504193 is ready for SSH connections 2025-09-08 12:01:13,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:01:13,019 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.119.175.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 12:01:13,020 - DEBUG - ping -s 56 -c 3 -W 1 64.119.175.131 2025-09-08 12:01:16,691 - DEBUG - PING 64.119.175.131 (64.119.175.131): 56 data bytes 64 bytes from 64.119.175.131: seq=0 ttl=63 time=3.198 ms 64 bytes from 64.119.175.131: seq=1 ttl=63 time=0.772 ms 64 bytes from 64.119.175.131: seq=2 ttl=63 time=0.952 ms --- 64.119.175.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.640/3.198 ms 2025-09-08 12:01:16,691 - INFO - Ping to IP 64.119.175.131 from VM ctest-TestBasicPolicy-09241802-09188325 passed 2025-09-08 12:01:16,872 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6b3e1cef-9e64-49be-80e6-dc53348a388a", "href": "http://10.0.0.22:8082/network-policy/6b3e1cef-9e64-49be-80e6-dc53348a388a"}} 2025-09-08 12:01:16,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:01:16,872 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.119.175.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 12:01:16,872 - DEBUG - ping -s 56 -c 3 -W 1 64.119.175.131 2025-09-08 12:01:20,081 - DEBUG - PING 64.119.175.131 (64.119.175.131): 56 data bytes --- 64.119.175.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 12:01:20,081 - WARNING - Ping to IP 64.119.175.131 from VM ctest-TestBasicPolicy-09241802-09188325 failed 2025-09-08 12:01:20,082 - INFO - Deleting VM ctest-TestBasicPolicy-09241802-28504193 2025-09-08 12:01:20,165 - INFO - Deleting VM ctest-TestBasicPolicy-09241802-09188325 2025-09-08 12:01:20,578 - INFO - Deleted policy ctest-policy-allow-all-74109395 2025-09-08 12:01:20,578 - INFO - Deleting VN ctest-vn-01461426 2025-09-08 12:01:20,620 - DEBUG - VN fdb11f25-b8ae-43a8-9e30-8c526878f0f1 still in use: Unable to complete operation on network fdb11f25-b8ae-43a8-9e30-8c526878f0f1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e8d24ba4-f289-4880-bc14-e34e6b8206c3'] 2025-09-08 12:01:20,620 - WARNING - Deleting VN ctest-vn-01461426 failed..Will retry 2025-09-08 12:01:22,727 - DEBUG - Response for deleting network () 2025-09-08 12:01:22,727 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4eeecbe8-6564-4429-b140-283942c1c569 2025-09-08 12:01:22,734 - DEBUG - Response Code: 404 2025-09-08 12:01:22,734 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 12:01:22,740 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0fe0a250-1561-4c42-ae6c-0056308b180a 2025-09-08 12:01:22,794 - DEBUG - Requesting: http://10.0.0.22:8082/project/63cf0ad2-b2c3-425e-8a28-d36e7a68f290 2025-09-08 12:01:22,862 - INFO - Validated that VN ctest-vn-01461426 is not found in API Server 2025-09-08 12:01:22,873 - DEBUG - VN ctest-vn-01461426 is not present in Agent 10.0.0.22 2025-09-08 12:01:22,873 - INFO - Validated that VN ctest-vn-01461426 is not in any agent 2025-09-08 12:01:22,886 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01461426 info 2025-09-08 12:01:22,886 - INFO - Deleting VN ctest-vn-36428205 2025-09-08 12:01:22,991 - DEBUG - Response for deleting network () 2025-09-08 12:01:22,991 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d74086cd-ff18-424a-abde-249c246608ee 2025-09-08 12:01:22,995 - DEBUG - Response Code: 404 2025-09-08 12:01:22,995 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 12:01:23,000 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0fe0a250-1561-4c42-ae6c-0056308b180a 2025-09-08 12:01:23,052 - DEBUG - Requesting: http://10.0.0.22:8082/project/63cf0ad2-b2c3-425e-8a28-d36e7a68f290 2025-09-08 12:01:23,119 - INFO - Validated that VN ctest-vn-36428205 is not found in API Server 2025-09-08 12:01:23,128 - DEBUG - VN ctest-vn-36428205 is not present in Agent 10.0.0.22 2025-09-08 12:01:23,128 - INFO - Validated that VN ctest-vn-36428205 is not in any agent 2025-09-08 12:01:23,139 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36428205 info 2025-09-08 12:01:23,402 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 12:01:23,402 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-08 12:01:23,402 - INFO - -------------------------------------------------------------------------------- 2025-09-08 12:01:24,090 - INFO - Deleted project: ctest-TestBasicPolicy-09241802, ID : 63cf0ad2-b2c3-425e-8a28-d36e7a68f290