2024-12-26 02:14:57,251 - INFO - Domain Default found not creating 2024-12-26 02:14:57,410 - INFO - Project ctest-TestBasicPolicy-44829030 not found, creating it 2024-12-26 02:14:57,862 - INFO - Created Project:ctest-TestBasicPolicy-44829030, ID : 16ba1589-1802-41f9-ad80-371814a19d99 2024-12-26 02:14:59,322 - INFO - ================================================================================ 2024-12-26 02:14:59,323 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-12-26 02:14:59,323 - 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 2024-12-26 02:14:59,580 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with 2024-12-26 02:14:59,580 - INFO - Initial checks done. Running the testcase now 2024-12-26 02:14:59,580 - INFO - 2024-12-26 02:15:00,132 - DEBUG - Response for create_network : {'network': {'id': '12247e6d-9833-4f8c-9471-578894116a47', 'name': 'ctest-vn-10927320', 'tenant_id': '16ba1589180241f9ad80371814a19d99', 'project_id': '16ba1589180241f9ad80371814a19d99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44829030', 'ctest-vn-10927320'], 'port_security_enabled': True, 'description': ''}} 2024-12-26 02:15:00,358 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f63b60b9-7c9c-4ced-9cf7-5ad323c288c7', 'name': '', 'tenant_id': '16ba1589180241f9ad80371814a19d99', 'network_id': '12247e6d-9833-4f8c-9471-578894116a47', 'ip_version': 4, 'cidr': '54.3.130.0/26', 'allocation_pools': [{'start': '54.3.130.2', 'end': '54.3.130.62'}], 'gateway_ip': '54.3.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.3.130.2', 'tags': [], 'project_id': '16ba1589180241f9ad80371814a19d99'}} 2024-12-26 02:15:00,378 - INFO - Created VN ctest-vn-10927320 2024-12-26 02:15:00,430 - DEBUG - VN ctest-vn-10927320 UUID is 12247e6d-9833-4f8c-9471-578894116a47 2024-12-26 02:15:00,735 - DEBUG - Response for create_network : {'network': {'id': '186ff3e7-07a9-429c-983a-3c5585255e9a', 'name': 'ctest-vn-81832264', 'tenant_id': '16ba1589180241f9ad80371814a19d99', 'project_id': '16ba1589180241f9ad80371814a19d99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44829030', 'ctest-vn-81832264'], 'port_security_enabled': True, 'description': ''}} 2024-12-26 02:15:00,895 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5cee1a4-dd09-456a-b921-7a0addd6953d', 'name': '', 'tenant_id': '16ba1589180241f9ad80371814a19d99', 'network_id': '186ff3e7-07a9-429c-983a-3c5585255e9a', 'ip_version': 4, 'cidr': '31.185.71.128/26', 'allocation_pools': [{'start': '31.185.71.130', 'end': '31.185.71.190'}], 'gateway_ip': '31.185.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.185.71.130', 'tags': [], 'project_id': '16ba1589180241f9ad80371814a19d99'}} 2024-12-26 02:15:00,915 - INFO - Created VN ctest-vn-81832264 2024-12-26 02:15:00,969 - DEBUG - VN ctest-vn-81832264 UUID is 186ff3e7-07a9-429c-983a-3c5585255e9a 2024-12-26 02:15:01,102 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44829030:ctest-vn-10927320, 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-44829030:ctest-vn-81832264, 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] 2024-12-26 02:15:01,420 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '12247e6d-9833-4f8c-9471-578894116a47', 'name': 'ctest-vn-10927320', 'tenant_id': '16ba1589180241f9ad80371814a19d99', 'project_id': '16ba1589180241f9ad80371814a19d99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f63b60b9-7c9c-4ced-9cf7-5ad323c288c7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44829030', 'ctest-vn-10927320'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44829030', 'ctest-policy-allow-all-43558534']], 'subnet_ipam': [{'subnet_cidr': '54.3.130.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-12-26 02:15:01,718 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '186ff3e7-07a9-429c-983a-3c5585255e9a', 'name': 'ctest-vn-81832264', 'tenant_id': '16ba1589180241f9ad80371814a19d99', 'project_id': '16ba1589180241f9ad80371814a19d99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d5cee1a4-dd09-456a-b921-7a0addd6953d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44829030', 'ctest-vn-81832264'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44829030', 'ctest-policy-allow-all-43558534']], 'subnet_ipam': [{'subnet_cidr': '31.185.71.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-12-26 02:15:01,870 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-12-26 02:15:02,170 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-12-26 02:15:02,203 - DEBUG - Requesting: http://10.0.0.22:8082/domain/bd126eeb-8396-4a3a-a43d-81feab7422ef 2024-12-26 02:15:02,220 - DEBUG - Requesting: http://10.0.0.22:8082/project/16ba1589-1802-41f9-ad80-371814a19d99 2024-12-26 02:15:02,297 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/12247e6d-9833-4f8c-9471-578894116a47 2024-12-26 02:15:02,310 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/12247e6d-9833-4f8c-9471-578894116a47 2024-12-26 02:15:02,323 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3dc6b5f-b667-41d1-ba4a-29d6b1fdf613 2024-12-26 02:15:02,332 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3dc6b5f-b667-41d1-ba4a-29d6b1fdf613 2024-12-26 02:15:02,341 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/823cb0b1-514d-4cca-b40a-fc8293076c58 2024-12-26 02:15:02,349 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-12-26 02:15:02,349 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/12247e6d-9833-4f8c-9471-578894116a47 2024-12-26 02:15:02,360 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3dc6b5f-b667-41d1-ba4a-29d6b1fdf613 2024-12-26 02:15:02,377 - INFO - Verified VN network id 8 for VN 12247e6d-9833-4f8c-9471-578894116a47 2024-12-26 02:15:02,377 - INFO - Verifications in API Server for VN ctest-vn-10927320 passed 2024-12-26 02:15:02,377 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/12247e6d-9833-4f8c-9471-578894116a47 2024-12-26 02:15:02,388 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3dc6b5f-b667-41d1-ba4a-29d6b1fdf613 2024-12-26 02:15:02,397 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3dc6b5f-b667-41d1-ba4a-29d6b1fdf613 2024-12-26 02:15:02,406 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/823cb0b1-514d-4cca-b40a-fc8293076c58 2024-12-26 02:15:02,420 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44829030:ctest-vn-10927320', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44829030', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1307308801014321036', 'uuid-lslong': '10696426834092976711'}, 'enable': 'true', 'created': '2024-12-26T02:15:00', 'last-modified': '2024-12-26T02:15:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.027360'} 2024-12-26 02:15:02,428 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-12-26 02:15:02,428 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10927320 passed 2024-12-26 02:15:02,428 - DEBUG - ====Verifying policy data for ctest-vn-10927320 in API_Server ====== 2024-12-26 02:15:02,428 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-12-26 02:15:02,435 - DEBUG - Requesting: http://10.0.0.22:8082/domain/bd126eeb-8396-4a3a-a43d-81feab7422ef 2024-12-26 02:15:02,448 - DEBUG - Requesting: http://10.0.0.22:8082/project/16ba1589-1802-41f9-ad80-371814a19d99 2024-12-26 02:15:02,527 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/12247e6d-9833-4f8c-9471-578894116a47 2024-12-26 02:15:02,538 - DEBUG - ==>Verifying data for policy with id: fd5dc0d0-dba9-4fb0-bb34-ea34f8c44506, fqn: ['default-domain', 'ctest-TestBasicPolicy-44829030', 'ctest-policy-allow-all-43558534'] 2024-12-26 02:15:02,539 - INFO - VN ctest-vn-10927320 Policy verification: verify_vn_policy_in_api_server, status: True 2024-12-26 02:15:02,539 - DEBUG - Verifying the vn in opserver 2024-12-26 02:15:02,539 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44829030:ctest-vn-10927320 virtual network link through opserver 10.0.0.22 2024-12-26 02:15:02,539 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-12-26 02:15:02,835 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-12-26 02:15:02,894 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44829030:ctest-vn-10927320', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44829030:ctest-vn-10927320?flat'} 2024-12-26 02:15:02,894 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44829030:ctest-vn-10927320 is found in opserver 2024-12-26 02:15:02,906 - DEBUG - Do not have enough data to verify VN in agent 2024-12-26 02:15:02,912 - DEBUG - VRF ids for VN ctest-vn-10927320: {} 2024-12-26 02:15:02,912 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-12-26 02:15:02,919 - DEBUG - Requesting: http://10.0.0.22:8082/domain/bd126eeb-8396-4a3a-a43d-81feab7422ef 2024-12-26 02:15:02,935 - DEBUG - Requesting: http://10.0.0.22:8082/project/16ba1589-1802-41f9-ad80-371814a19d99 2024-12-26 02:15:03,012 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/186ff3e7-07a9-429c-983a-3c5585255e9a 2024-12-26 02:15:03,027 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/186ff3e7-07a9-429c-983a-3c5585255e9a 2024-12-26 02:15:03,039 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0041c611-affe-401c-ac09-8b836ec7e4dd 2024-12-26 02:15:03,049 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0041c611-affe-401c-ac09-8b836ec7e4dd 2024-12-26 02:15:03,056 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/61d32aae-3c85-442b-bdaf-58ec6c4f906c 2024-12-26 02:15:03,064 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-12-26 02:15:03,064 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/186ff3e7-07a9-429c-983a-3c5585255e9a 2024-12-26 02:15:03,075 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0041c611-affe-401c-ac09-8b836ec7e4dd 2024-12-26 02:15:03,092 - INFO - Verified VN network id 9 for VN 186ff3e7-07a9-429c-983a-3c5585255e9a 2024-12-26 02:15:03,092 - INFO - Verifications in API Server for VN ctest-vn-81832264 passed 2024-12-26 02:15:03,092 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/186ff3e7-07a9-429c-983a-3c5585255e9a 2024-12-26 02:15:03,106 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0041c611-affe-401c-ac09-8b836ec7e4dd 2024-12-26 02:15:03,115 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0041c611-affe-401c-ac09-8b836ec7e4dd 2024-12-26 02:15:03,124 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/61d32aae-3c85-442b-bdaf-58ec6c4f906c 2024-12-26 02:15:03,139 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44829030:ctest-vn-81832264', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44829030', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1760894152916681372', 'uuid-lslong': '10969146180417969818'}, 'enable': 'true', 'created': '2024-12-26T02:15:00', 'last-modified': '2024-12-26T02:15:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.487707'} 2024-12-26 02:15:03,147 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-12-26 02:15:03,147 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81832264 passed 2024-12-26 02:15:03,147 - DEBUG - ====Verifying policy data for ctest-vn-81832264 in API_Server ====== 2024-12-26 02:15:03,147 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-12-26 02:15:03,153 - DEBUG - Requesting: http://10.0.0.22:8082/domain/bd126eeb-8396-4a3a-a43d-81feab7422ef 2024-12-26 02:15:03,166 - DEBUG - Requesting: http://10.0.0.22:8082/project/16ba1589-1802-41f9-ad80-371814a19d99 2024-12-26 02:15:03,249 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/186ff3e7-07a9-429c-983a-3c5585255e9a 2024-12-26 02:15:03,259 - DEBUG - ==>Verifying data for policy with id: fd5dc0d0-dba9-4fb0-bb34-ea34f8c44506, fqn: ['default-domain', 'ctest-TestBasicPolicy-44829030', 'ctest-policy-allow-all-43558534'] 2024-12-26 02:15:03,259 - INFO - VN ctest-vn-81832264 Policy verification: verify_vn_policy_in_api_server, status: True 2024-12-26 02:15:03,259 - DEBUG - Verifying the vn in opserver 2024-12-26 02:15:03,259 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44829030:ctest-vn-81832264 virtual network link through opserver 10.0.0.22 2024-12-26 02:15:03,259 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-12-26 02:15:03,271 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44829030:ctest-vn-81832264', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44829030:ctest-vn-81832264?flat'} 2024-12-26 02:15:03,272 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44829030:ctest-vn-81832264 is found in opserver 2024-12-26 02:15:03,284 - DEBUG - Do not have enough data to verify VN in agent 2024-12-26 02:15:03,291 - DEBUG - VRF ids for VN ctest-vn-81832264: {} 2024-12-26 02:15:03,370 - DEBUG - Services list from nova: [, , ] 2024-12-26 02:15:04,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2496-1) 2024-12-26 02:15:05,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2496-1) 2024-12-26 02:15:05,726 - INFO - Waiting for VM ctest-TestBasicPolicy-44829030-35892796 to be up.. 2024-12-26 02:15:05,816 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-26 02:15:10,901 - DEBUG - VM is in ACTIVE state now 2024-12-26 02:15:10,901 - INFO - VM name : ctest-TestBasicPolicy-44829030-35892796 2024-12-26 02:15:10,990 - DEBUG - VM ctest-TestBasicPolicy-44829030-35892796 ID is d844a4e6-c08e-47c7-ab4e-e7fa2a56d827 2024-12-26 02:15:11,015 - DEBUG - VM ctest-TestBasicPolicy-44829030-35892796 launched on Node cn-jenkins-deploy-platform-ansible-os-2496-1. 2024-12-26 02:15:11,107 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d844a4e6-c08e-47c7-ab4e-e7fa2a56d827 2024-12-26 02:15:11,116 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/30b83c3a-7692-46e9-9611-e1d4b5efdd30 2024-12-26 02:15:14,376 - 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 1015ms') 2024-12-26 02:15:14,376 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44829030-35892796 failed! 2024-12-26 02:15:14,433 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44829030:ctest-vn-10927320 is 54.3.130.1 and allocation pool is NOT set 2024-12-26 02:15:16,502 - 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=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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.422/5.345/10.268/4.923 ms') 2024-12-26 02:15:16,503 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44829030-35892796 passed 2024-12-26 02:15:16,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-26 02:15:16,654 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44829030-35892796, IP 54.3.130.3, Port 22 2024-12-26 02:15:16,820 - DEBUG - VM ctest-TestBasicPolicy-44829030-35892796 is ready for SSH connections 2024-12-26 02:15:16,820 - INFO - Waiting for VM ctest-TestBasicPolicy-44829030-01715951 to be up.. 2024-12-26 02:15:16,896 - DEBUG - VM is in ACTIVE state now 2024-12-26 02:15:16,896 - INFO - VM name : ctest-TestBasicPolicy-44829030-01715951 2024-12-26 02:15:16,974 - DEBUG - VM ctest-TestBasicPolicy-44829030-01715951 ID is cee9a0d8-635a-49bb-9a10-66a6dab81754 2024-12-26 02:15:16,974 - DEBUG - VM ctest-TestBasicPolicy-44829030-01715951 launched on Node cn-jenkins-deploy-platform-ansible-os-2496-1. 2024-12-26 02:15:17,051 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cee9a0d8-635a-49bb-9a10-66a6dab81754 2024-12-26 02:15:17,062 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/bfdd2e54-4e94-4d34-a9a9-eb9085fccbfd 2024-12-26 02:15:18,310 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.35 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.353/2.586/3.820/1.233 ms') 2024-12-26 02:15:18,310 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44829030-01715951 passed 2024-12-26 02:15:18,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-26 02:15:18,466 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44829030-01715951, IP 31.185.71.131, Port 22 2024-12-26 02:15:18,625 - DEBUG - VM ctest-TestBasicPolicy-44829030-01715951 is ready for SSH connections 2024-12-26 02:15:18,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-26 02:15:18,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.185.71.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-12-26 02:15:18,625 - DEBUG - ping -s 56 -c 3 -W 1 31.185.71.131 2024-12-26 02:15:22,616 - DEBUG - PING 31.185.71.131 (31.185.71.131): 56 data bytes 64 bytes from 31.185.71.131: seq=0 ttl=63 time=4.073 ms 64 bytes from 31.185.71.131: seq=1 ttl=63 time=0.889 ms 64 bytes from 31.185.71.131: seq=2 ttl=63 time=0.788 ms --- 31.185.71.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.788/1.916/4.073 ms 2024-12-26 02:15:22,616 - INFO - Ping to IP 31.185.71.131 from VM ctest-TestBasicPolicy-44829030-35892796 passed 2024-12-26 02:15:22,797 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fd5dc0d0-dba9-4fb0-bb34-ea34f8c44506", "href": "http://10.0.0.22:8082/network-policy/fd5dc0d0-dba9-4fb0-bb34-ea34f8c44506"}} 2024-12-26 02:15:22,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-26 02:15:22,798 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.185.71.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-12-26 02:15:22,798 - DEBUG - ping -s 56 -c 3 -W 1 31.185.71.131 2024-12-26 02:15:26,004 - DEBUG - PING 31.185.71.131 (31.185.71.131): 56 data bytes 64 bytes from 31.185.71.131: seq=0 ttl=63 time=1.373 ms --- 31.185.71.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.373/1.373/1.373 ms 2024-12-26 02:15:26,005 - WARNING - Ping to IP 31.185.71.131 from VM ctest-TestBasicPolicy-44829030-35892796 failed 2024-12-26 02:15:26,005 - INFO - Deleting VM ctest-TestBasicPolicy-44829030-01715951 2024-12-26 02:15:26,081 - INFO - Deleting VM ctest-TestBasicPolicy-44829030-35892796 2024-12-26 02:15:26,496 - INFO - Deleted policy ctest-policy-allow-all-43558534 2024-12-26 02:15:26,497 - INFO - Deleting VN ctest-vn-81832264 2024-12-26 02:15:26,538 - DEBUG - VN 186ff3e7-07a9-429c-983a-3c5585255e9a still in use: Unable to complete operation on network 186ff3e7-07a9-429c-983a-3c5585255e9a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-72a71252-6ca0-460e-ade2-7a6168ab4b74'] 2024-12-26 02:15:26,538 - WARNING - Deleting VN ctest-vn-81832264 failed..Will retry 2024-12-26 02:15:28,645 - DEBUG - Response for deleting network () 2024-12-26 02:15:28,645 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0041c611-affe-401c-ac09-8b836ec7e4dd 2024-12-26 02:15:28,650 - DEBUG - Response Code: 404 2024-12-26 02:15:28,651 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-12-26 02:15:28,659 - DEBUG - Requesting: http://10.0.0.22:8082/domain/bd126eeb-8396-4a3a-a43d-81feab7422ef 2024-12-26 02:15:28,711 - DEBUG - Requesting: http://10.0.0.22:8082/project/16ba1589-1802-41f9-ad80-371814a19d99 2024-12-26 02:15:28,784 - INFO - Validated that VN ctest-vn-81832264 is not found in API Server 2024-12-26 02:15:28,795 - DEBUG - VN ctest-vn-81832264 is not present in Agent 10.0.0.22 2024-12-26 02:15:28,795 - INFO - Validated that VN ctest-vn-81832264 is not in any agent 2024-12-26 02:15:28,812 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81832264 info 2024-12-26 02:15:28,812 - INFO - Deleting VN ctest-vn-10927320 2024-12-26 02:15:28,917 - DEBUG - Response for deleting network () 2024-12-26 02:15:28,918 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3dc6b5f-b667-41d1-ba4a-29d6b1fdf613 2024-12-26 02:15:28,925 - DEBUG - Response Code: 404 2024-12-26 02:15:28,925 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-12-26 02:15:28,931 - DEBUG - Requesting: http://10.0.0.22:8082/domain/bd126eeb-8396-4a3a-a43d-81feab7422ef 2024-12-26 02:15:28,984 - DEBUG - Requesting: http://10.0.0.22:8082/project/16ba1589-1802-41f9-ad80-371814a19d99 2024-12-26 02:15:29,059 - INFO - Validated that VN ctest-vn-10927320 is not found in API Server 2024-12-26 02:15:29,071 - DEBUG - VN ctest-vn-10927320 is not present in Agent 10.0.0.22 2024-12-26 02:15:29,071 - INFO - Validated that VN ctest-vn-10927320 is not in any agent 2024-12-26 02:15:29,087 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10927320 info 2024-12-26 02:15:29,343 - DEBUG - No XMPP flaps were noticed during the test 2024-12-26 02:15:29,343 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2024-12-26 02:15:29,343 - INFO - -------------------------------------------------------------------------------- 2024-12-26 02:15:30,029 - INFO - Deleted project: ctest-TestBasicPolicy-44829030, ID : 16ba1589-1802-41f9-ad80-371814a19d99