2024-08-26 21:25:55,206 - INFO - Domain Default found not creating 2024-08-26 21:25:55,355 - INFO - Project ctest-TestBasicPolicy-47312299 not found, creating it 2024-08-26 21:25:55,806 - INFO - Created Project:ctest-TestBasicPolicy-47312299, ID : 365a889e-444d-48f3-93ea-09b3f8595b90 2024-08-26 21:25:57,284 - INFO - ================================================================================ 2024-08-26 21:25:57,284 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-26 21:25:57,284 - 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-08-26 21:25:57,539 - DEBUG - Nothing to compare xmpp stats {'10.0.0.68': {'10.20.0.6': '0'}} with 2024-08-26 21:25:57,539 - INFO - Initial checks done. Running the testcase now 2024-08-26 21:25:57,539 - INFO - 2024-08-26 21:26:00,085 - DEBUG - Response for create_network : {'network': {'id': '50605d89-d283-4d57-8093-fded0ee69a01', 'name': 'ctest-vn-18909350', 'tenant_id': '365a889e444d48f393ea09b3f8595b90', 'project_id': '365a889e444d48f393ea09b3f8595b90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47312299', 'ctest-vn-18909350'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 21:26:00,270 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4ba8345-a0b1-4dc3-a392-ad193c01e12e', 'name': '', 'tenant_id': '365a889e444d48f393ea09b3f8595b90', 'network_id': '50605d89-d283-4d57-8093-fded0ee69a01', 'ip_version': 4, 'cidr': '80.189.45.0/26', 'allocation_pools': [{'start': '80.189.45.2', 'end': '80.189.45.62'}], 'gateway_ip': '80.189.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.189.45.2', 'tags': [], 'project_id': '365a889e444d48f393ea09b3f8595b90'}} 2024-08-26 21:26:00,288 - INFO - Created VN ctest-vn-18909350 2024-08-26 21:26:00,340 - DEBUG - VN ctest-vn-18909350 UUID is 50605d89-d283-4d57-8093-fded0ee69a01 2024-08-26 21:26:00,703 - DEBUG - Response for create_network : {'network': {'id': 'd37af0bb-5f4f-4d53-aedf-2a392e8e9aae', 'name': 'ctest-vn-27872186', 'tenant_id': '365a889e444d48f393ea09b3f8595b90', 'project_id': '365a889e444d48f393ea09b3f8595b90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47312299', 'ctest-vn-27872186'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 21:26:03,387 - DEBUG - Response for create_subnet : {'subnet': {'id': '05355f88-fb6c-4a79-9139-544c5ae0b6fb', 'name': '', 'tenant_id': '365a889e444d48f393ea09b3f8595b90', 'network_id': 'd37af0bb-5f4f-4d53-aedf-2a392e8e9aae', 'ip_version': 4, 'cidr': '22.35.213.128/26', 'allocation_pools': [{'start': '22.35.213.130', 'end': '22.35.213.190'}], 'gateway_ip': '22.35.213.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.35.213.130', 'tags': [], 'project_id': '365a889e444d48f393ea09b3f8595b90'}} 2024-08-26 21:26:03,406 - INFO - Created VN ctest-vn-27872186 2024-08-26 21:26:03,460 - DEBUG - VN ctest-vn-27872186 UUID is d37af0bb-5f4f-4d53-aedf-2a392e8e9aae 2024-08-26 21:26:03,574 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47312299:ctest-vn-18909350, 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-47312299:ctest-vn-27872186, 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-08-26 21:26:03,865 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '50605d89-d283-4d57-8093-fded0ee69a01', 'name': 'ctest-vn-18909350', 'tenant_id': '365a889e444d48f393ea09b3f8595b90', 'project_id': '365a889e444d48f393ea09b3f8595b90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4ba8345-a0b1-4dc3-a392-ad193c01e12e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47312299', 'ctest-vn-18909350'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47312299', 'ctest-policy-allow-all-52417580']], 'subnet_ipam': [{'subnet_cidr': '80.189.45.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-26 21:26:04,153 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd37af0bb-5f4f-4d53-aedf-2a392e8e9aae', 'name': 'ctest-vn-27872186', 'tenant_id': '365a889e444d48f393ea09b3f8595b90', 'project_id': '365a889e444d48f393ea09b3f8595b90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['05355f88-fb6c-4a79-9139-544c5ae0b6fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47312299', 'ctest-vn-27872186'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47312299', 'ctest-policy-allow-all-52417580']], 'subnet_ipam': [{'subnet_cidr': '22.35.213.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-26 21:26:04,300 - DEBUG - Requesting: http://10.0.0.68:8082/domains 2024-08-26 21:26:04,597 - DEBUG - Requesting: http://10.0.0.68:8082/domains 2024-08-26 21:26:04,627 - DEBUG - Requesting: http://10.0.0.68:8082/domain/a44a4fde-21b8-412c-b7f2-be0ef55b8e5e 2024-08-26 21:26:04,640 - DEBUG - Requesting: http://10.0.0.68:8082/project/365a889e-444d-48f3-93ea-09b3f8595b90 2024-08-26 21:26:04,715 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-network/50605d89-d283-4d57-8093-fded0ee69a01 2024-08-26 21:26:04,725 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-network/50605d89-d283-4d57-8093-fded0ee69a01 2024-08-26 21:26:04,733 - DEBUG - Requesting: http://10.0.0.68:8082/routing-instance/f9d32d04-1c27-4978-99c0-120e422d9a70 2024-08-26 21:26:04,740 - DEBUG - Requesting: http://10.0.0.68:8082/routing-instance/f9d32d04-1c27-4978-99c0-120e422d9a70 2024-08-26 21:26:04,747 - DEBUG - Requesting: http://10.0.0.68:8082/route-target/0d984a62-d7ee-4f43-b3c6-e26fa04a6481 2024-08-26 21:26:04,754 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-26 21:26:04,754 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-network/50605d89-d283-4d57-8093-fded0ee69a01 2024-08-26 21:26:04,763 - DEBUG - Requesting: http://10.0.0.68:8082/routing-instance/f9d32d04-1c27-4978-99c0-120e422d9a70 2024-08-26 21:26:04,776 - INFO - Verified VN network id 7 for VN 50605d89-d283-4d57-8093-fded0ee69a01 2024-08-26 21:26:04,777 - INFO - Verifications in API Server for VN ctest-vn-18909350 passed 2024-08-26 21:26:04,777 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-network/50605d89-d283-4d57-8093-fded0ee69a01 2024-08-26 21:26:04,784 - DEBUG - Requesting: http://10.0.0.68:8082/routing-instance/f9d32d04-1c27-4978-99c0-120e422d9a70 2024-08-26 21:26:04,791 - DEBUG - Requesting: http://10.0.0.68:8082/routing-instance/f9d32d04-1c27-4978-99c0-120e422d9a70 2024-08-26 21:26:04,798 - DEBUG - Requesting: http://10.0.0.68:8082/route-target/0d984a62-d7ee-4f43-b3c6-e26fa04a6481 2024-08-26 21:26:04,811 - DEBUG - Control-node 10.0.0.68 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47312299:ctest-vn-18909350', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47312299', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5791731967322180951', 'uuid-lslong': '9265028053030312449'}, 'enable': 'true', 'created': '2024-08-26T21:26:00', 'last-modified': '2024-08-26T21:26:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.969277'} 2024-08-26 21:26:04,818 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-26 21:26:04,818 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18909350 passed 2024-08-26 21:26:04,818 - DEBUG - ====Verifying policy data for ctest-vn-18909350 in API_Server ====== 2024-08-26 21:26:04,818 - DEBUG - Requesting: http://10.0.0.68:8082/domains 2024-08-26 21:26:04,824 - DEBUG - Requesting: http://10.0.0.68:8082/domain/a44a4fde-21b8-412c-b7f2-be0ef55b8e5e 2024-08-26 21:26:04,838 - DEBUG - Requesting: http://10.0.0.68:8082/project/365a889e-444d-48f3-93ea-09b3f8595b90 2024-08-26 21:26:04,911 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-network/50605d89-d283-4d57-8093-fded0ee69a01 2024-08-26 21:26:04,923 - DEBUG - ==>Verifying data for policy with id: 1153fce0-cb74-44f5-991a-315fed17a02d, fqn: ['default-domain', 'ctest-TestBasicPolicy-47312299', 'ctest-policy-allow-all-52417580'] 2024-08-26 21:26:04,923 - INFO - VN ctest-vn-18909350 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-26 21:26:04,923 - DEBUG - Verifying the vn in opserver 2024-08-26 21:26:04,923 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47312299:ctest-vn-18909350 virtual network link through opserver 10.0.0.68 2024-08-26 21:26:04,923 - DEBUG - Requesting: http://10.0.0.68:8081/analytics/uves/virtual-networks 2024-08-26 21:26:05,217 - DEBUG - Requesting: http://10.0.0.68:8081/analytics/uves/virtual-networks 2024-08-26 21:26:05,280 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47312299:ctest-vn-18909350', 'href': 'http://10.0.0.68:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47312299:ctest-vn-18909350?flat'} 2024-08-26 21:26:05,280 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47312299:ctest-vn-18909350 is found in opserver 2024-08-26 21:26:05,291 - DEBUG - Do not have enough data to verify VN in agent 2024-08-26 21:26:05,297 - DEBUG - VRF ids for VN ctest-vn-18909350: {} 2024-08-26 21:26:05,297 - DEBUG - Requesting: http://10.0.0.68:8082/domains 2024-08-26 21:26:05,303 - DEBUG - Requesting: http://10.0.0.68:8082/domain/a44a4fde-21b8-412c-b7f2-be0ef55b8e5e 2024-08-26 21:26:05,316 - DEBUG - Requesting: http://10.0.0.68:8082/project/365a889e-444d-48f3-93ea-09b3f8595b90 2024-08-26 21:26:05,384 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-network/d37af0bb-5f4f-4d53-aedf-2a392e8e9aae 2024-08-26 21:26:05,394 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-network/d37af0bb-5f4f-4d53-aedf-2a392e8e9aae 2024-08-26 21:26:05,402 - DEBUG - Requesting: http://10.0.0.68:8082/routing-instance/9786cf03-a793-418a-907c-00d49d753f8f 2024-08-26 21:26:05,411 - DEBUG - Requesting: http://10.0.0.68:8082/routing-instance/9786cf03-a793-418a-907c-00d49d753f8f 2024-08-26 21:26:05,418 - DEBUG - Requesting: http://10.0.0.68:8082/route-target/94c4f3b3-dead-4fc1-a4e3-270e8080cbba 2024-08-26 21:26:05,425 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-26 21:26:05,425 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-network/d37af0bb-5f4f-4d53-aedf-2a392e8e9aae 2024-08-26 21:26:05,433 - DEBUG - Requesting: http://10.0.0.68:8082/routing-instance/9786cf03-a793-418a-907c-00d49d753f8f 2024-08-26 21:26:05,444 - INFO - Verified VN network id 8 for VN d37af0bb-5f4f-4d53-aedf-2a392e8e9aae 2024-08-26 21:26:05,445 - INFO - Verifications in API Server for VN ctest-vn-27872186 passed 2024-08-26 21:26:05,445 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-network/d37af0bb-5f4f-4d53-aedf-2a392e8e9aae 2024-08-26 21:26:05,453 - DEBUG - Requesting: http://10.0.0.68:8082/routing-instance/9786cf03-a793-418a-907c-00d49d753f8f 2024-08-26 21:26:05,459 - DEBUG - Requesting: http://10.0.0.68:8082/routing-instance/9786cf03-a793-418a-907c-00d49d753f8f 2024-08-26 21:26:05,466 - DEBUG - Requesting: http://10.0.0.68:8082/route-target/94c4f3b3-dead-4fc1-a4e3-270e8080cbba 2024-08-26 21:26:05,478 - DEBUG - Control-node 10.0.0.68 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47312299:ctest-vn-27872186', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47312299', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15238756976710077779', 'uuid-lslong': '12600836707488537262'}, 'enable': 'true', 'created': '2024-08-26T21:26:00', 'last-modified': '2024-08-26T21:26:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.394947'} 2024-08-26 21:26:05,484 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-26 21:26:05,484 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27872186 passed 2024-08-26 21:26:05,484 - DEBUG - ====Verifying policy data for ctest-vn-27872186 in API_Server ====== 2024-08-26 21:26:05,484 - DEBUG - Requesting: http://10.0.0.68:8082/domains 2024-08-26 21:26:05,491 - DEBUG - Requesting: http://10.0.0.68:8082/domain/a44a4fde-21b8-412c-b7f2-be0ef55b8e5e 2024-08-26 21:26:05,503 - DEBUG - Requesting: http://10.0.0.68:8082/project/365a889e-444d-48f3-93ea-09b3f8595b90 2024-08-26 21:26:05,574 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-network/d37af0bb-5f4f-4d53-aedf-2a392e8e9aae 2024-08-26 21:26:05,583 - DEBUG - ==>Verifying data for policy with id: 1153fce0-cb74-44f5-991a-315fed17a02d, fqn: ['default-domain', 'ctest-TestBasicPolicy-47312299', 'ctest-policy-allow-all-52417580'] 2024-08-26 21:26:05,584 - INFO - VN ctest-vn-27872186 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-26 21:26:05,584 - DEBUG - Verifying the vn in opserver 2024-08-26 21:26:05,584 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47312299:ctest-vn-27872186 virtual network link through opserver 10.0.0.68 2024-08-26 21:26:05,584 - DEBUG - Requesting: http://10.0.0.68:8081/analytics/uves/virtual-networks 2024-08-26 21:26:05,596 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47312299:ctest-vn-27872186', 'href': 'http://10.0.0.68:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47312299:ctest-vn-27872186?flat'} 2024-08-26 21:26:05,596 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47312299:ctest-vn-27872186 is found in opserver 2024-08-26 21:26:05,608 - DEBUG - Do not have enough data to verify VN in agent 2024-08-26 21:26:05,614 - DEBUG - VRF ids for VN ctest-vn-27872186: {} 2024-08-26 21:26:05,668 - DEBUG - Services list from nova: [, , ] 2024-08-26 21:26:06,773 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1773-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1773-1) 2024-08-26 21:26:11,122 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1773-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1773-1) 2024-08-26 21:26:11,122 - INFO - Waiting for VM ctest-TestBasicPolicy-47312299-72439731 to be up.. 2024-08-26 21:26:11,202 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 21:26:16,287 - DEBUG - VM is in ACTIVE state now 2024-08-26 21:26:16,287 - INFO - VM name : ctest-TestBasicPolicy-47312299-72439731 2024-08-26 21:26:16,372 - DEBUG - VM ctest-TestBasicPolicy-47312299-72439731 ID is 73f72a34-0a8c-4f01-a6fa-973eacd55fc7 2024-08-26 21:26:16,392 - DEBUG - VM ctest-TestBasicPolicy-47312299-72439731 launched on Node cn-jenkins-deploy-platform-ansible-os-1773-1 2024-08-26 21:26:16,476 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-machine/73f72a34-0a8c-4f01-a6fa-973eacd55fc7 2024-08-26 21:26:16,486 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-machine-interface/d28c06a6-cd54-4a39-a390-ebad3100cbd8 2024-08-26 21:26:19,752 - 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 1027ms') 2024-08-26 21:26:19,753 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47312299-72439731 failed! 2024-08-26 21:26:19,808 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47312299:ctest-vn-18909350 is 80.189.45.1 and allocation pool is NOT set 2024-08-26 21:26:23,884 - 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=2 ttl=63 time=6.35 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 6.353/6.353/6.353/0.000 ms') 2024-08-26 21:26:23,884 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47312299-72439731 passed 2024-08-26 21:26:24,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:26:24,040 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47312299-72439731, IP 80.189.45.3, Port 22 2024-08-26 21:26:24,200 - DEBUG - VM ctest-TestBasicPolicy-47312299-72439731 is ready for SSH connections 2024-08-26 21:26:24,200 - INFO - Waiting for VM ctest-TestBasicPolicy-47312299-52027503 to be up.. 2024-08-26 21:26:24,278 - DEBUG - VM is in ACTIVE state now 2024-08-26 21:26:24,278 - INFO - VM name : ctest-TestBasicPolicy-47312299-52027503 2024-08-26 21:26:24,352 - DEBUG - VM ctest-TestBasicPolicy-47312299-52027503 ID is 266f6b4c-6ed8-4c40-aa8c-4c6998c73f80 2024-08-26 21:26:24,352 - DEBUG - VM ctest-TestBasicPolicy-47312299-52027503 launched on Node cn-jenkins-deploy-platform-ansible-os-1773-1 2024-08-26 21:26:24,424 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-machine/266f6b4c-6ed8-4c40-aa8c-4c6998c73f80 2024-08-26 21:26:24,432 - DEBUG - Requesting: http://10.0.0.68:8082/virtual-machine-interface/ff3db074-4901-4664-993d-717a4147f874 2024-08-26 21:26:25,665 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.642 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.642/2.179/3.716/1.537 ms') 2024-08-26 21:26:25,665 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47312299-52027503 passed 2024-08-26 21:26:25,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:26:25,812 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47312299-52027503, IP 22.35.213.131, Port 22 2024-08-26 21:26:25,964 - DEBUG - VM ctest-TestBasicPolicy-47312299-52027503 is ready for SSH connections 2024-08-26 21:26:25,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:26:25,964 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.35.213.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.68, gateway password: c0ntrail123 2024-08-26 21:26:25,964 - DEBUG - ping -s 56 -c 3 -W 1 22.35.213.131 2024-08-26 21:26:30,248 - DEBUG - PING 22.35.213.131 (22.35.213.131): 56 data bytes 64 bytes from 22.35.213.131: seq=0 ttl=63 time=3.155 ms 64 bytes from 22.35.213.131: seq=1 ttl=63 time=0.728 ms 64 bytes from 22.35.213.131: seq=2 ttl=63 time=0.791 ms --- 22.35.213.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.728/1.558/3.155 ms 2024-08-26 21:26:30,248 - INFO - Ping to IP 22.35.213.131 from VM ctest-TestBasicPolicy-47312299-72439731 passed 2024-08-26 21:26:30,428 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1153fce0-cb74-44f5-991a-315fed17a02d", "href": "http://10.0.0.68:8082/network-policy/1153fce0-cb74-44f5-991a-315fed17a02d"}} 2024-08-26 21:26:30,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 21:26:30,428 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.35.213.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.68, gateway password: c0ntrail123 2024-08-26 21:26:30,429 - DEBUG - ping -s 56 -c 3 -W 1 22.35.213.131 2024-08-26 21:26:33,636 - DEBUG - PING 22.35.213.131 (22.35.213.131): 56 data bytes --- 22.35.213.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-08-26 21:26:33,637 - WARNING - Ping to IP 22.35.213.131 from VM ctest-TestBasicPolicy-47312299-72439731 failed 2024-08-26 21:26:33,637 - INFO - Deleting VM ctest-TestBasicPolicy-47312299-52027503 2024-08-26 21:26:33,699 - INFO - Deleting VM ctest-TestBasicPolicy-47312299-72439731 2024-08-26 21:26:34,058 - INFO - Deleted policy ctest-policy-allow-all-52417580 2024-08-26 21:26:34,058 - INFO - Deleting VN ctest-vn-27872186 2024-08-26 21:26:34,093 - DEBUG - VN d37af0bb-5f4f-4d53-aedf-2a392e8e9aae still in use: Unable to complete operation on network d37af0bb-5f4f-4d53-aedf-2a392e8e9aae. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-46844099-46c4-4710-a280-964432aa0a2f'] 2024-08-26 21:26:34,093 - WARNING - Deleting VN ctest-vn-27872186 failed..Will retry 2024-08-26 21:26:36,198 - DEBUG - Response for deleting network () 2024-08-26 21:26:36,198 - DEBUG - Requesting: http://10.0.0.68:8082/routing-instance/9786cf03-a793-418a-907c-00d49d753f8f 2024-08-26 21:26:36,208 - DEBUG - Response Code: 404 2024-08-26 21:26:36,208 - DEBUG - Requesting: http://10.0.0.68:8082/domains 2024-08-26 21:26:36,214 - DEBUG - Requesting: http://10.0.0.68:8082/domain/a44a4fde-21b8-412c-b7f2-be0ef55b8e5e 2024-08-26 21:26:36,271 - DEBUG - Requesting: http://10.0.0.68:8082/project/365a889e-444d-48f3-93ea-09b3f8595b90 2024-08-26 21:26:36,339 - INFO - Validated that VN ctest-vn-27872186 is not found in API Server 2024-08-26 21:26:36,350 - DEBUG - VN ctest-vn-27872186 is not present in Agent 10.0.0.68 2024-08-26 21:26:36,350 - INFO - Validated that VN ctest-vn-27872186 is not in any agent 2024-08-26 21:26:36,365 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27872186 info 2024-08-26 21:26:36,365 - INFO - Deleting VN ctest-vn-18909350 2024-08-26 21:26:36,635 - DEBUG - Response for deleting network () 2024-08-26 21:26:36,635 - DEBUG - Requesting: http://10.0.0.68:8082/routing-instance/f9d32d04-1c27-4978-99c0-120e422d9a70 2024-08-26 21:26:36,644 - DEBUG - Response Code: 404 2024-08-26 21:26:36,645 - DEBUG - Requesting: http://10.0.0.68:8082/domains 2024-08-26 21:26:36,650 - DEBUG - Requesting: http://10.0.0.68:8082/domain/a44a4fde-21b8-412c-b7f2-be0ef55b8e5e 2024-08-26 21:26:36,710 - DEBUG - Requesting: http://10.0.0.68:8082/project/365a889e-444d-48f3-93ea-09b3f8595b90 2024-08-26 21:26:36,787 - INFO - Validated that VN ctest-vn-18909350 is not found in API Server 2024-08-26 21:26:36,798 - DEBUG - VN ctest-vn-18909350 is not present in Agent 10.0.0.68 2024-08-26 21:26:36,798 - INFO - Validated that VN ctest-vn-18909350 is not in any agent 2024-08-26 21:26:36,814 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18909350 info 2024-08-26 21:26:37,071 - DEBUG - No XMPP flaps were noticed during the test 2024-08-26 21:26:37,071 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40] 2024-08-26 21:26:37,071 - INFO - -------------------------------------------------------------------------------- 2024-08-26 21:26:37,738 - INFO - Deleted project: ctest-TestBasicPolicy-47312299, ID : 365a889e-444d-48f3-93ea-09b3f8595b90