2025-04-14 19:49:57,321 - INFO - Domain Default found not creating 2025-04-14 19:49:57,512 - INFO - Project ctest-TestBasicPolicy-16166776 not found, creating it 2025-04-14 19:49:58,021 - INFO - Created Project:ctest-TestBasicPolicy-16166776, ID : e51ab3c1-78b8-4b54-8611-c6b0fe34ae9f 2025-04-14 19:49:59,604 - INFO - ================================================================================ 2025-04-14 19:49:59,604 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-14 19:49:59,604 - 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-04-14 19:49:59,863 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-14 19:49:59,863 - INFO - Initial checks done. Running the testcase now 2025-04-14 19:49:59,863 - INFO - 2025-04-14 19:50:00,527 - DEBUG - Response for create_network : {'network': {'id': '5fdb3ef4-1bd4-49b6-baec-20a4e855cf76', 'name': 'ctest-vn-03172756', 'tenant_id': 'e51ab3c178b84b548611c6b0fe34ae9f', 'project_id': 'e51ab3c178b84b548611c6b0fe34ae9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16166776', 'ctest-vn-03172756'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 19:50:00,740 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba6d26ed-e0de-4deb-b8d1-e1b1e241f8f1', 'name': '', 'tenant_id': 'e51ab3c178b84b548611c6b0fe34ae9f', 'network_id': '5fdb3ef4-1bd4-49b6-baec-20a4e855cf76', 'ip_version': 4, 'cidr': '128.9.124.0/26', 'allocation_pools': [{'start': '128.9.124.2', 'end': '128.9.124.62'}], 'gateway_ip': '128.9.124.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.9.124.2', 'tags': [], 'project_id': 'e51ab3c178b84b548611c6b0fe34ae9f'}} 2025-04-14 19:50:00,764 - INFO - Created VN ctest-vn-03172756 2025-04-14 19:50:00,820 - DEBUG - VN ctest-vn-03172756 UUID is 5fdb3ef4-1bd4-49b6-baec-20a4e855cf76 2025-04-14 19:50:01,188 - DEBUG - Response for create_network : {'network': {'id': '34a658e7-8117-4178-adb4-50108de856e2', 'name': 'ctest-vn-56654176', 'tenant_id': 'e51ab3c178b84b548611c6b0fe34ae9f', 'project_id': 'e51ab3c178b84b548611c6b0fe34ae9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16166776', 'ctest-vn-56654176'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 19:50:01,402 - DEBUG - Response for create_subnet : {'subnet': {'id': '83cde5e6-32f8-4d85-b283-989ef8c04562', 'name': '', 'tenant_id': 'e51ab3c178b84b548611c6b0fe34ae9f', 'network_id': '34a658e7-8117-4178-adb4-50108de856e2', 'ip_version': 4, 'cidr': '43.135.126.0/26', 'allocation_pools': [{'start': '43.135.126.2', 'end': '43.135.126.62'}], 'gateway_ip': '43.135.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.135.126.2', 'tags': [], 'project_id': 'e51ab3c178b84b548611c6b0fe34ae9f'}} 2025-04-14 19:50:01,425 - INFO - Created VN ctest-vn-56654176 2025-04-14 19:50:01,480 - DEBUG - VN ctest-vn-56654176 UUID is 34a658e7-8117-4178-adb4-50108de856e2 2025-04-14 19:50:01,606 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16166776:ctest-vn-03172756, 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-16166776:ctest-vn-56654176, 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-04-14 19:50:01,954 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5fdb3ef4-1bd4-49b6-baec-20a4e855cf76', 'name': 'ctest-vn-03172756', 'tenant_id': 'e51ab3c178b84b548611c6b0fe34ae9f', 'project_id': 'e51ab3c178b84b548611c6b0fe34ae9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ba6d26ed-e0de-4deb-b8d1-e1b1e241f8f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16166776', 'ctest-vn-03172756'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16166776', 'ctest-policy-allow-all-08795440']], 'subnet_ipam': [{'subnet_cidr': '128.9.124.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-14 19:50:02,216 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34a658e7-8117-4178-adb4-50108de856e2', 'name': 'ctest-vn-56654176', 'tenant_id': 'e51ab3c178b84b548611c6b0fe34ae9f', 'project_id': 'e51ab3c178b84b548611c6b0fe34ae9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['83cde5e6-32f8-4d85-b283-989ef8c04562'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16166776', 'ctest-vn-56654176'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16166776', 'ctest-policy-allow-all-08795440']], 'subnet_ipam': [{'subnet_cidr': '43.135.126.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-14 19:50:02,388 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-14 19:50:02,692 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-14 19:50:02,729 - DEBUG - Requesting: http://10.0.0.254:8082/domain/de28f950-c33d-4eab-8525-bdde91f8b540 2025-04-14 19:50:02,745 - DEBUG - Requesting: http://10.0.0.254:8082/project/e51ab3c1-78b8-4b54-8611-c6b0fe34ae9f 2025-04-14 19:50:02,826 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5fdb3ef4-1bd4-49b6-baec-20a4e855cf76 2025-04-14 19:50:02,841 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5fdb3ef4-1bd4-49b6-baec-20a4e855cf76 2025-04-14 19:50:02,854 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ea26c493-ebd1-425b-b49d-9dc541b8605c 2025-04-14 19:50:02,864 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ea26c493-ebd1-425b-b49d-9dc541b8605c 2025-04-14 19:50:02,874 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/26403597-ac41-4fa4-a354-c4f75fc9878e 2025-04-14 19:50:02,886 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-14 19:50:02,886 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5fdb3ef4-1bd4-49b6-baec-20a4e855cf76 2025-04-14 19:50:02,899 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ea26c493-ebd1-425b-b49d-9dc541b8605c 2025-04-14 19:50:02,918 - INFO - Verified VN network id 8 for VN 5fdb3ef4-1bd4-49b6-baec-20a4e855cf76 2025-04-14 19:50:02,918 - INFO - Verifications in API Server for VN ctest-vn-03172756 passed 2025-04-14 19:50:02,918 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5fdb3ef4-1bd4-49b6-baec-20a4e855cf76 2025-04-14 19:50:02,931 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ea26c493-ebd1-425b-b49d-9dc541b8605c 2025-04-14 19:50:02,941 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ea26c493-ebd1-425b-b49d-9dc541b8605c 2025-04-14 19:50:02,951 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/26403597-ac41-4fa4-a354-c4f75fc9878e 2025-04-14 19:50:02,969 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16166776:ctest-vn-03172756', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16166776', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6907183671662627254', 'uuid-lslong': '13469176478202974070'}, 'enable': 'true', 'created': '2025-04-14T19:50:00', 'last-modified': '2025-04-14T19:50:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.046521'} 2025-04-14 19:50:02,979 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-14 19:50:02,979 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03172756 passed 2025-04-14 19:50:02,979 - DEBUG - ====Verifying policy data for ctest-vn-03172756 in API_Server ====== 2025-04-14 19:50:02,979 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-14 19:50:02,989 - DEBUG - Requesting: http://10.0.0.254:8082/domain/de28f950-c33d-4eab-8525-bdde91f8b540 2025-04-14 19:50:03,003 - DEBUG - Requesting: http://10.0.0.254:8082/project/e51ab3c1-78b8-4b54-8611-c6b0fe34ae9f 2025-04-14 19:50:03,081 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5fdb3ef4-1bd4-49b6-baec-20a4e855cf76 2025-04-14 19:50:03,095 - DEBUG - ==>Verifying data for policy with id: c2ebd86f-a83c-41d3-83a3-1a045a1d4bab, fqn: ['default-domain', 'ctest-TestBasicPolicy-16166776', 'ctest-policy-allow-all-08795440'] 2025-04-14 19:50:03,095 - INFO - VN ctest-vn-03172756 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-14 19:50:03,095 - DEBUG - Verifying the vn in opserver 2025-04-14 19:50:03,095 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16166776:ctest-vn-03172756 virtual network link through opserver 10.0.0.254 2025-04-14 19:50:03,095 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-14 19:50:03,447 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-14 19:50:03,553 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16166776:ctest-vn-03172756', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16166776:ctest-vn-03172756?flat'} 2025-04-14 19:50:03,553 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16166776:ctest-vn-03172756 is found in opserver 2025-04-14 19:50:03,566 - DEBUG - Do not have enough data to verify VN in agent 2025-04-14 19:50:03,573 - DEBUG - VRF ids for VN ctest-vn-03172756: {} 2025-04-14 19:50:03,573 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-14 19:50:03,580 - DEBUG - Requesting: http://10.0.0.254:8082/domain/de28f950-c33d-4eab-8525-bdde91f8b540 2025-04-14 19:50:03,596 - DEBUG - Requesting: http://10.0.0.254:8082/project/e51ab3c1-78b8-4b54-8611-c6b0fe34ae9f 2025-04-14 19:50:03,675 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/34a658e7-8117-4178-adb4-50108de856e2 2025-04-14 19:50:03,690 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/34a658e7-8117-4178-adb4-50108de856e2 2025-04-14 19:50:03,702 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/03b00e56-2ba0-4f69-a251-b1e799aa9f18 2025-04-14 19:50:03,711 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/03b00e56-2ba0-4f69-a251-b1e799aa9f18 2025-04-14 19:50:03,720 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9312d5b8-f587-467f-8444-8f2e6b31eabf 2025-04-14 19:50:03,730 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-14 19:50:03,730 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/34a658e7-8117-4178-adb4-50108de856e2 2025-04-14 19:50:03,743 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/03b00e56-2ba0-4f69-a251-b1e799aa9f18 2025-04-14 19:50:03,761 - INFO - Verified VN network id 9 for VN 34a658e7-8117-4178-adb4-50108de856e2 2025-04-14 19:50:03,761 - INFO - Verifications in API Server for VN ctest-vn-56654176 passed 2025-04-14 19:50:03,761 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/34a658e7-8117-4178-adb4-50108de856e2 2025-04-14 19:50:03,775 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/03b00e56-2ba0-4f69-a251-b1e799aa9f18 2025-04-14 19:50:03,785 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/03b00e56-2ba0-4f69-a251-b1e799aa9f18 2025-04-14 19:50:03,795 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9312d5b8-f587-467f-8444-8f2e6b31eabf 2025-04-14 19:50:03,812 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16166776:ctest-vn-56654176', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16166776', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3793817487432696184', 'uuid-lslong': '12516717296399963874'}, 'enable': 'true', 'created': '2025-04-14T19:50:01', 'last-modified': '2025-04-14T19:50:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.621208'} 2025-04-14 19:50:03,819 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-14 19:50:03,819 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56654176 passed 2025-04-14 19:50:03,819 - DEBUG - ====Verifying policy data for ctest-vn-56654176 in API_Server ====== 2025-04-14 19:50:03,819 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-14 19:50:03,827 - DEBUG - Requesting: http://10.0.0.254:8082/domain/de28f950-c33d-4eab-8525-bdde91f8b540 2025-04-14 19:50:03,841 - DEBUG - Requesting: http://10.0.0.254:8082/project/e51ab3c1-78b8-4b54-8611-c6b0fe34ae9f 2025-04-14 19:50:03,925 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/34a658e7-8117-4178-adb4-50108de856e2 2025-04-14 19:50:03,937 - DEBUG - ==>Verifying data for policy with id: c2ebd86f-a83c-41d3-83a3-1a045a1d4bab, fqn: ['default-domain', 'ctest-TestBasicPolicy-16166776', 'ctest-policy-allow-all-08795440'] 2025-04-14 19:50:03,937 - INFO - VN ctest-vn-56654176 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-14 19:50:03,937 - DEBUG - Verifying the vn in opserver 2025-04-14 19:50:03,938 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16166776:ctest-vn-56654176 virtual network link through opserver 10.0.0.254 2025-04-14 19:50:03,938 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-14 19:50:03,951 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16166776:ctest-vn-56654176', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16166776:ctest-vn-56654176?flat'} 2025-04-14 19:50:03,951 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16166776:ctest-vn-56654176 is found in opserver 2025-04-14 19:50:03,965 - DEBUG - Do not have enough data to verify VN in agent 2025-04-14 19:50:03,972 - DEBUG - VRF ids for VN ctest-vn-56654176: {} 2025-04-14 19:50:04,046 - DEBUG - Services list from nova: [, , ] 2025-04-14 19:50:05,184 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3108-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3108-1) 2025-04-14 19:50:06,597 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3108-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3108-1) 2025-04-14 19:50:06,597 - INFO - Waiting for VM ctest-TestBasicPolicy-16166776-62631415 to be up.. 2025-04-14 19:50:06,691 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-14 19:50:11,799 - DEBUG - VM is in ACTIVE state now 2025-04-14 19:50:11,799 - INFO - VM name : ctest-TestBasicPolicy-16166776-62631415 2025-04-14 19:50:11,901 - DEBUG - VM ctest-TestBasicPolicy-16166776-62631415 ID is cf4e5c74-0c0a-403c-b75b-fe6501ab9556 2025-04-14 19:50:11,925 - DEBUG - VM ctest-TestBasicPolicy-16166776-62631415 launched on Node cn-jenkins-deploy-platform-ansible-os-3108-1 2025-04-14 19:50:12,023 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cf4e5c74-0c0a-403c-b75b-fe6501ab9556 2025-04-14 19:50:12,034 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6cde5b95-7ce8-4077-84ba-adf343ac5977 2025-04-14 19:50:15,293 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1002ms') 2025-04-14 19:50:15,293 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16166776-62631415 failed! 2025-04-14 19:50:15,356 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-16166776:ctest-vn-03172756 is 128.9.124.1 and allocation pool is NOT set 2025-04-14 19:50:17,424 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.491 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.491/2.585/4.679/2.094 ms') 2025-04-14 19:50:17,424 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16166776-62631415 passed 2025-04-14 19:50:17,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 19:50:17,600 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16166776-62631415, IP 128.9.124.3, Port 22 2025-04-14 19:50:17,779 - DEBUG - VM ctest-TestBasicPolicy-16166776-62631415 is ready for SSH connections 2025-04-14 19:50:17,779 - INFO - Waiting for VM ctest-TestBasicPolicy-16166776-34107201 to be up.. 2025-04-14 19:50:17,877 - DEBUG - VM is in ACTIVE state now 2025-04-14 19:50:17,877 - INFO - VM name : ctest-TestBasicPolicy-16166776-34107201 2025-04-14 19:50:17,971 - DEBUG - VM ctest-TestBasicPolicy-16166776-34107201 ID is 9cfe1fbb-c75f-464d-8990-4c766d12e044 2025-04-14 19:50:17,971 - DEBUG - VM ctest-TestBasicPolicy-16166776-34107201 launched on Node cn-jenkins-deploy-platform-ansible-os-3108-1 2025-04-14 19:50:18,062 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9cfe1fbb-c75f-464d-8990-4c766d12e044 2025-04-14 19:50:18,072 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c99b602c-39ee-4715-9b68-dad2b7beef45 2025-04-14 19:50:19,330 - 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=4.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.21 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.207/3.577/4.947/1.370 ms') 2025-04-14 19:50:19,331 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16166776-34107201 passed 2025-04-14 19:50:19,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 19:50:19,500 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16166776-34107201, IP 43.135.126.3, Port 22 2025-04-14 19:50:19,666 - DEBUG - VM ctest-TestBasicPolicy-16166776-34107201 is ready for SSH connections 2025-04-14 19:50:19,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 19:50:19,666 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.135.126.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-14 19:50:19,666 - DEBUG - ping -s 56 -c 3 -W 1 43.135.126.3 2025-04-14 19:50:23,712 - DEBUG - PING 43.135.126.3 (43.135.126.3): 56 data bytes 64 bytes from 43.135.126.3: seq=0 ttl=63 time=4.141 ms 64 bytes from 43.135.126.3: seq=1 ttl=63 time=1.133 ms 64 bytes from 43.135.126.3: seq=2 ttl=63 time=1.310 ms --- 43.135.126.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.133/2.194/4.141 ms 2025-04-14 19:50:23,712 - INFO - Ping to IP 43.135.126.3 from VM ctest-TestBasicPolicy-16166776-62631415 passed 2025-04-14 19:50:23,896 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c2ebd86f-a83c-41d3-83a3-1a045a1d4bab", "href": "http://10.0.0.254:8082/network-policy/c2ebd86f-a83c-41d3-83a3-1a045a1d4bab"}} 2025-04-14 19:50:23,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 19:50:23,896 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.135.126.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-14 19:50:23,896 - DEBUG - ping -s 56 -c 3 -W 1 43.135.126.3 2025-04-14 19:50:27,114 - DEBUG - PING 43.135.126.3 (43.135.126.3): 56 data bytes 64 bytes from 43.135.126.3: seq=0 ttl=63 time=1.802 ms --- 43.135.126.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.802/1.802/1.802 ms 2025-04-14 19:50:27,114 - WARNING - Ping to IP 43.135.126.3 from VM ctest-TestBasicPolicy-16166776-62631415 failed 2025-04-14 19:50:27,114 - INFO - Deleting VM ctest-TestBasicPolicy-16166776-34107201 2025-04-14 19:50:27,196 - INFO - Deleting VM ctest-TestBasicPolicy-16166776-62631415 2025-04-14 19:50:27,667 - INFO - Deleted policy ctest-policy-allow-all-08795440 2025-04-14 19:50:27,668 - INFO - Deleting VN ctest-vn-56654176 2025-04-14 19:50:27,734 - DEBUG - VN 34a658e7-8117-4178-adb4-50108de856e2 still in use: Unable to complete operation on network 34a658e7-8117-4178-adb4-50108de856e2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-84873261-45b2-4b13-8c2f-3cdb27d72440'] 2025-04-14 19:50:27,735 - WARNING - Deleting VN ctest-vn-56654176 failed..Will retry 2025-04-14 19:50:29,875 - DEBUG - Response for deleting network () 2025-04-14 19:50:29,875 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/03b00e56-2ba0-4f69-a251-b1e799aa9f18 2025-04-14 19:50:29,886 - DEBUG - Response Code: 404 2025-04-14 19:50:29,886 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-14 19:50:29,897 - DEBUG - Requesting: http://10.0.0.254:8082/domain/de28f950-c33d-4eab-8525-bdde91f8b540 2025-04-14 19:50:29,955 - DEBUG - Requesting: http://10.0.0.254:8082/project/e51ab3c1-78b8-4b54-8611-c6b0fe34ae9f 2025-04-14 19:50:30,036 - INFO - Validated that VN ctest-vn-56654176 is not found in API Server 2025-04-14 19:50:30,049 - DEBUG - VN ctest-vn-56654176 is not present in Agent 10.0.0.254 2025-04-14 19:50:30,049 - INFO - Validated that VN ctest-vn-56654176 is not in any agent 2025-04-14 19:50:30,067 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56654176 info 2025-04-14 19:50:30,067 - INFO - Deleting VN ctest-vn-03172756 2025-04-14 19:50:30,212 - DEBUG - Response for deleting network () 2025-04-14 19:50:30,212 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ea26c493-ebd1-425b-b49d-9dc541b8605c 2025-04-14 19:50:30,219 - DEBUG - Response Code: 404 2025-04-14 19:50:30,220 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-14 19:50:30,225 - DEBUG - Requesting: http://10.0.0.254:8082/domain/de28f950-c33d-4eab-8525-bdde91f8b540 2025-04-14 19:50:30,286 - DEBUG - Requesting: http://10.0.0.254:8082/project/e51ab3c1-78b8-4b54-8611-c6b0fe34ae9f 2025-04-14 19:50:30,366 - INFO - Validated that VN ctest-vn-03172756 is not found in API Server 2025-04-14 19:50:30,388 - DEBUG - VN ctest-vn-03172756 is not present in Agent 10.0.0.254 2025-04-14 19:50:30,389 - INFO - Validated that VN ctest-vn-03172756 is not in any agent 2025-04-14 19:50:30,414 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03172756 info 2025-04-14 19:50:30,685 - DEBUG - No XMPP flaps were noticed during the test 2025-04-14 19:50:30,686 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-04-14 19:50:30,686 - INFO - -------------------------------------------------------------------------------- 2025-04-14 19:50:31,441 - INFO - Deleted project: ctest-TestBasicPolicy-16166776, ID : e51ab3c1-78b8-4b54-8611-c6b0fe34ae9f