2024-09-18 00:41:56,392 - INFO - Domain Default found not creating 2024-09-18 00:41:56,561 - INFO - Project ctest-TestBasicPolicy-48500937 not found, creating it 2024-09-18 00:41:57,047 - INFO - Created Project:ctest-TestBasicPolicy-48500937, ID : 8a1b2a44-e2f2-4dd6-81c8-431278f463df 2024-09-18 00:41:58,525 - INFO - ================================================================================ 2024-09-18 00:41:58,525 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-18 00:41:58,525 - 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-09-18 00:41:58,787 - DEBUG - Nothing to compare xmpp stats {'10.0.0.71': {'10.20.0.5': '0'}} with 2024-09-18 00:41:58,788 - INFO - Initial checks done. Running the testcase now 2024-09-18 00:41:58,788 - INFO - 2024-09-18 00:41:59,357 - DEBUG - Response for create_network : {'network': {'id': '7b133c81-7e81-4b79-9c87-6e7a25394a4b', 'name': 'ctest-vn-86755885', 'tenant_id': '8a1b2a44e2f24dd681c8431278f463df', 'project_id': '8a1b2a44e2f24dd681c8431278f463df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48500937', 'ctest-vn-86755885'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 00:41:59,533 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc1c1be9-0d6b-41b5-94ce-efe521fde202', 'name': '', 'tenant_id': '8a1b2a44e2f24dd681c8431278f463df', 'network_id': '7b133c81-7e81-4b79-9c87-6e7a25394a4b', 'ip_version': 4, 'cidr': '18.2.161.128/26', 'allocation_pools': [{'start': '18.2.161.130', 'end': '18.2.161.190'}], 'gateway_ip': '18.2.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.2.161.130', 'tags': [], 'project_id': '8a1b2a44e2f24dd681c8431278f463df'}} 2024-09-18 00:41:59,554 - INFO - Created VN ctest-vn-86755885 2024-09-18 00:41:59,613 - DEBUG - VN ctest-vn-86755885 UUID is 7b133c81-7e81-4b79-9c87-6e7a25394a4b 2024-09-18 00:41:59,929 - DEBUG - Response for create_network : {'network': {'id': '22288269-b9f1-472d-981b-b447a1e8b56e', 'name': 'ctest-vn-39647081', 'tenant_id': '8a1b2a44e2f24dd681c8431278f463df', 'project_id': '8a1b2a44e2f24dd681c8431278f463df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48500937', 'ctest-vn-39647081'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 00:42:00,101 - DEBUG - Response for create_subnet : {'subnet': {'id': '52c68ba5-3199-49c4-bcb6-48074ddf04dd', 'name': '', 'tenant_id': '8a1b2a44e2f24dd681c8431278f463df', 'network_id': '22288269-b9f1-472d-981b-b447a1e8b56e', 'ip_version': 4, 'cidr': '49.168.151.0/26', 'allocation_pools': [{'start': '49.168.151.2', 'end': '49.168.151.62'}], 'gateway_ip': '49.168.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.168.151.2', 'tags': [], 'project_id': '8a1b2a44e2f24dd681c8431278f463df'}} 2024-09-18 00:42:00,121 - INFO - Created VN ctest-vn-39647081 2024-09-18 00:42:00,177 - DEBUG - VN ctest-vn-39647081 UUID is 22288269-b9f1-472d-981b-b447a1e8b56e 2024-09-18 00:42:00,294 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48500937:ctest-vn-86755885, 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-48500937:ctest-vn-39647081, 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-09-18 00:42:00,604 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7b133c81-7e81-4b79-9c87-6e7a25394a4b', 'name': 'ctest-vn-86755885', 'tenant_id': '8a1b2a44e2f24dd681c8431278f463df', 'project_id': '8a1b2a44e2f24dd681c8431278f463df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dc1c1be9-0d6b-41b5-94ce-efe521fde202'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48500937', 'ctest-vn-86755885'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48500937', 'ctest-policy-allow-all-59934034']], 'subnet_ipam': [{'subnet_cidr': '18.2.161.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-18 00:42:00,857 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '22288269-b9f1-472d-981b-b447a1e8b56e', 'name': 'ctest-vn-39647081', 'tenant_id': '8a1b2a44e2f24dd681c8431278f463df', 'project_id': '8a1b2a44e2f24dd681c8431278f463df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['52c68ba5-3199-49c4-bcb6-48074ddf04dd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48500937', 'ctest-vn-39647081'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48500937', 'ctest-policy-allow-all-59934034']], 'subnet_ipam': [{'subnet_cidr': '49.168.151.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-18 00:42:01,029 - DEBUG - Requesting: http://10.0.0.71:8082/domains 2024-09-18 00:42:01,329 - DEBUG - Requesting: http://10.0.0.71:8082/domains 2024-09-18 00:42:01,363 - DEBUG - Requesting: http://10.0.0.71:8082/domain/c428d941-dcfc-4e32-ac73-aed81d0a36db 2024-09-18 00:42:01,379 - DEBUG - Requesting: http://10.0.0.71:8082/project/8a1b2a44-e2f2-4dd6-81c8-431278f463df 2024-09-18 00:42:01,461 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-network/7b133c81-7e81-4b79-9c87-6e7a25394a4b 2024-09-18 00:42:01,477 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-network/7b133c81-7e81-4b79-9c87-6e7a25394a4b 2024-09-18 00:42:01,491 - DEBUG - Requesting: http://10.0.0.71:8082/routing-instance/c6d5f038-6bee-4576-87a6-356bac009b47 2024-09-18 00:42:01,500 - DEBUG - Requesting: http://10.0.0.71:8082/routing-instance/c6d5f038-6bee-4576-87a6-356bac009b47 2024-09-18 00:42:01,509 - DEBUG - Requesting: http://10.0.0.71:8082/route-target/f5147d0c-24d1-4fab-bc7b-24e152dbc280 2024-09-18 00:42:01,517 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-18 00:42:01,517 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-network/7b133c81-7e81-4b79-9c87-6e7a25394a4b 2024-09-18 00:42:01,531 - DEBUG - Requesting: http://10.0.0.71:8082/routing-instance/c6d5f038-6bee-4576-87a6-356bac009b47 2024-09-18 00:42:01,553 - INFO - Verified VN network id 8 for VN 7b133c81-7e81-4b79-9c87-6e7a25394a4b 2024-09-18 00:42:01,554 - INFO - Verifications in API Server for VN ctest-vn-86755885 passed 2024-09-18 00:42:01,554 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-network/7b133c81-7e81-4b79-9c87-6e7a25394a4b 2024-09-18 00:42:01,569 - DEBUG - Requesting: http://10.0.0.71:8082/routing-instance/c6d5f038-6bee-4576-87a6-356bac009b47 2024-09-18 00:42:01,578 - DEBUG - Requesting: http://10.0.0.71:8082/routing-instance/c6d5f038-6bee-4576-87a6-356bac009b47 2024-09-18 00:42:01,588 - DEBUG - Requesting: http://10.0.0.71:8082/route-target/f5147d0c-24d1-4fab-bc7b-24e152dbc280 2024-09-18 00:42:01,603 - DEBUG - Control-node 10.0.0.71 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48500937:ctest-vn-86755885', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48500937', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8868498618093489017', 'uuid-lslong': '11279105262662273611'}, 'enable': 'true', 'created': '2024-09-18T00:41:59', 'last-modified': '2024-09-18T00:42:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.019591'} 2024-09-18 00:42:01,612 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-18 00:42:01,612 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86755885 passed 2024-09-18 00:42:01,612 - DEBUG - ====Verifying policy data for ctest-vn-86755885 in API_Server ====== 2024-09-18 00:42:01,612 - DEBUG - Requesting: http://10.0.0.71:8082/domains 2024-09-18 00:42:01,619 - DEBUG - Requesting: http://10.0.0.71:8082/domain/c428d941-dcfc-4e32-ac73-aed81d0a36db 2024-09-18 00:42:01,633 - DEBUG - Requesting: http://10.0.0.71:8082/project/8a1b2a44-e2f2-4dd6-81c8-431278f463df 2024-09-18 00:42:01,715 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-network/7b133c81-7e81-4b79-9c87-6e7a25394a4b 2024-09-18 00:42:01,732 - DEBUG - ==>Verifying data for policy with id: 0a1617f9-a5d3-40f7-a162-21c6ff9100bb, fqn: ['default-domain', 'ctest-TestBasicPolicy-48500937', 'ctest-policy-allow-all-59934034'] 2024-09-18 00:42:01,732 - INFO - VN ctest-vn-86755885 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-18 00:42:01,732 - DEBUG - Verifying the vn in opserver 2024-09-18 00:42:01,732 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48500937:ctest-vn-86755885 virtual network link through opserver 10.0.0.71 2024-09-18 00:42:01,732 - DEBUG - Requesting: http://10.0.0.71:8081/analytics/uves/virtual-networks 2024-09-18 00:42:02,038 - DEBUG - Requesting: http://10.0.0.71:8081/analytics/uves/virtual-networks 2024-09-18 00:42:02,106 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48500937:ctest-vn-86755885', 'href': 'http://10.0.0.71:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48500937:ctest-vn-86755885?flat'} 2024-09-18 00:42:02,106 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48500937:ctest-vn-86755885 is found in opserver 2024-09-18 00:42:02,118 - DEBUG - Do not have enough data to verify VN in agent 2024-09-18 00:42:02,123 - DEBUG - VRF ids for VN ctest-vn-86755885: {} 2024-09-18 00:42:02,123 - DEBUG - Requesting: http://10.0.0.71:8082/domains 2024-09-18 00:42:02,130 - DEBUG - Requesting: http://10.0.0.71:8082/domain/c428d941-dcfc-4e32-ac73-aed81d0a36db 2024-09-18 00:42:02,143 - DEBUG - Requesting: http://10.0.0.71:8082/project/8a1b2a44-e2f2-4dd6-81c8-431278f463df 2024-09-18 00:42:02,233 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-network/22288269-b9f1-472d-981b-b447a1e8b56e 2024-09-18 00:42:02,250 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-network/22288269-b9f1-472d-981b-b447a1e8b56e 2024-09-18 00:42:02,263 - DEBUG - Requesting: http://10.0.0.71:8082/routing-instance/b5398754-8816-449f-87a7-7270bef80a21 2024-09-18 00:42:02,272 - DEBUG - Requesting: http://10.0.0.71:8082/routing-instance/b5398754-8816-449f-87a7-7270bef80a21 2024-09-18 00:42:02,282 - DEBUG - Requesting: http://10.0.0.71:8082/route-target/78ed9b17-e610-4749-890c-0fd5d8420498 2024-09-18 00:42:02,291 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-18 00:42:02,291 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-network/22288269-b9f1-472d-981b-b447a1e8b56e 2024-09-18 00:42:02,309 - DEBUG - Requesting: http://10.0.0.71:8082/routing-instance/b5398754-8816-449f-87a7-7270bef80a21 2024-09-18 00:42:02,333 - INFO - Verified VN network id 9 for VN 22288269-b9f1-472d-981b-b447a1e8b56e 2024-09-18 00:42:02,333 - INFO - Verifications in API Server for VN ctest-vn-39647081 passed 2024-09-18 00:42:02,334 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-network/22288269-b9f1-472d-981b-b447a1e8b56e 2024-09-18 00:42:02,348 - DEBUG - Requesting: http://10.0.0.71:8082/routing-instance/b5398754-8816-449f-87a7-7270bef80a21 2024-09-18 00:42:02,358 - DEBUG - Requesting: http://10.0.0.71:8082/routing-instance/b5398754-8816-449f-87a7-7270bef80a21 2024-09-18 00:42:02,367 - DEBUG - Requesting: http://10.0.0.71:8082/route-target/78ed9b17-e610-4749-890c-0fd5d8420498 2024-09-18 00:42:02,381 - DEBUG - Control-node 10.0.0.71 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48500937:ctest-vn-39647081', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48500937', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2461360586960750381', 'uuid-lslong': '10960552337888294254'}, 'enable': 'true', 'created': '2024-09-18T00:41:59', 'last-modified': '2024-09-18T00:42:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.544195'} 2024-09-18 00:42:02,388 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-18 00:42:02,388 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39647081 passed 2024-09-18 00:42:02,388 - DEBUG - ====Verifying policy data for ctest-vn-39647081 in API_Server ====== 2024-09-18 00:42:02,388 - DEBUG - Requesting: http://10.0.0.71:8082/domains 2024-09-18 00:42:02,395 - DEBUG - Requesting: http://10.0.0.71:8082/domain/c428d941-dcfc-4e32-ac73-aed81d0a36db 2024-09-18 00:42:02,409 - DEBUG - Requesting: http://10.0.0.71:8082/project/8a1b2a44-e2f2-4dd6-81c8-431278f463df 2024-09-18 00:42:02,490 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-network/22288269-b9f1-472d-981b-b447a1e8b56e 2024-09-18 00:42:02,504 - DEBUG - ==>Verifying data for policy with id: 0a1617f9-a5d3-40f7-a162-21c6ff9100bb, fqn: ['default-domain', 'ctest-TestBasicPolicy-48500937', 'ctest-policy-allow-all-59934034'] 2024-09-18 00:42:02,504 - INFO - VN ctest-vn-39647081 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-18 00:42:02,504 - DEBUG - Verifying the vn in opserver 2024-09-18 00:42:02,504 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48500937:ctest-vn-39647081 virtual network link through opserver 10.0.0.71 2024-09-18 00:42:02,504 - DEBUG - Requesting: http://10.0.0.71:8081/analytics/uves/virtual-networks 2024-09-18 00:42:02,515 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48500937:ctest-vn-39647081', 'href': 'http://10.0.0.71:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48500937:ctest-vn-39647081?flat'} 2024-09-18 00:42:02,515 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48500937:ctest-vn-39647081 is found in opserver 2024-09-18 00:42:02,526 - DEBUG - Do not have enough data to verify VN in agent 2024-09-18 00:42:02,532 - DEBUG - VRF ids for VN ctest-vn-39647081: {} 2024-09-18 00:42:02,590 - DEBUG - Services list from nova: [, , ] 2024-09-18 00:42:03,635 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1978-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1978-1) 2024-09-18 00:42:04,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1978-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1978-1) 2024-09-18 00:42:04,889 - INFO - Waiting for VM ctest-TestBasicPolicy-48500937-66184280 to be up.. 2024-09-18 00:42:04,969 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-18 00:42:10,055 - DEBUG - VM is in ACTIVE state now 2024-09-18 00:42:10,056 - INFO - VM name : ctest-TestBasicPolicy-48500937-66184280 2024-09-18 00:42:10,146 - DEBUG - VM ctest-TestBasicPolicy-48500937-66184280 ID is 034fecbc-c2b6-4301-8aba-4002b8ec8423 2024-09-18 00:42:10,167 - DEBUG - VM ctest-TestBasicPolicy-48500937-66184280 launched on Node cn-jenkins-deploy-platform-ansible-os-1978-1 2024-09-18 00:42:10,248 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-machine/034fecbc-c2b6-4301-8aba-4002b8ec8423 2024-09-18 00:42:10,258 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-machine-interface/0fd9e46f-612f-44db-9792-52bd1de51b25 2024-09-18 00:42:13,539 - 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 1022ms') 2024-09-18 00:42:13,539 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48500937-66184280 failed! 2024-09-18 00:42:13,602 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48500937:ctest-vn-86755885 is 18.2.161.129 and allocation pool is NOT set 2024-09-18 00:42:15,670 - 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=3.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.551 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.551/1.808/3.065/1.257 ms') 2024-09-18 00:42:15,671 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48500937-66184280 passed 2024-09-18 00:42:15,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 00:42:15,834 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48500937-66184280, IP 18.2.161.131, Port 22 2024-09-18 00:42:15,989 - DEBUG - VM ctest-TestBasicPolicy-48500937-66184280 is ready for SSH connections 2024-09-18 00:42:15,990 - INFO - Waiting for VM ctest-TestBasicPolicy-48500937-34103313 to be up.. 2024-09-18 00:42:16,066 - DEBUG - VM is in ACTIVE state now 2024-09-18 00:42:16,066 - INFO - VM name : ctest-TestBasicPolicy-48500937-34103313 2024-09-18 00:42:16,150 - DEBUG - VM ctest-TestBasicPolicy-48500937-34103313 ID is 3ff5cd69-32a7-41a0-aa4c-3bed0881cf5d 2024-09-18 00:42:16,150 - DEBUG - VM ctest-TestBasicPolicy-48500937-34103313 launched on Node cn-jenkins-deploy-platform-ansible-os-1978-1 2024-09-18 00:42:16,236 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-machine/3ff5cd69-32a7-41a0-aa4c-3bed0881cf5d 2024-09-18 00:42:16,246 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-machine-interface/9936547f-39d9-49e0-8f35-a662b943b1d9 2024-09-18 00:42:17,490 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 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.388/1.585/2.783/1.197 ms') 2024-09-18 00:42:17,490 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48500937-34103313 passed 2024-09-18 00:42:17,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 00:42:17,654 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48500937-34103313, IP 49.168.151.3, Port 22 2024-09-18 00:42:17,813 - DEBUG - VM ctest-TestBasicPolicy-48500937-34103313 is ready for SSH connections 2024-09-18 00:42:17,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 00:42:17,814 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.168.151.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.71, gateway password: c0ntrail123 2024-09-18 00:42:17,814 - DEBUG - ping -s 56 -c 3 -W 1 49.168.151.3 2024-09-18 00:42:21,786 - DEBUG - PING 49.168.151.3 (49.168.151.3): 56 data bytes 64 bytes from 49.168.151.3: seq=0 ttl=63 time=4.013 ms 64 bytes from 49.168.151.3: seq=1 ttl=63 time=0.809 ms 64 bytes from 49.168.151.3: seq=2 ttl=63 time=0.707 ms --- 49.168.151.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.707/1.843/4.013 ms 2024-09-18 00:42:21,787 - INFO - Ping to IP 49.168.151.3 from VM ctest-TestBasicPolicy-48500937-66184280 passed 2024-09-18 00:42:21,973 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0a1617f9-a5d3-40f7-a162-21c6ff9100bb", "href": "http://10.0.0.71:8082/network-policy/0a1617f9-a5d3-40f7-a162-21c6ff9100bb"}} 2024-09-18 00:42:21,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 00:42:21,974 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.168.151.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.71, gateway password: c0ntrail123 2024-09-18 00:42:21,974 - DEBUG - ping -s 56 -c 3 -W 1 49.168.151.3 2024-09-18 00:42:25,168 - DEBUG - PING 49.168.151.3 (49.168.151.3): 56 data bytes --- 49.168.151.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-18 00:42:25,168 - WARNING - Ping to IP 49.168.151.3 from VM ctest-TestBasicPolicy-48500937-66184280 failed 2024-09-18 00:42:25,168 - INFO - Deleting VM ctest-TestBasicPolicy-48500937-34103313 2024-09-18 00:42:25,233 - INFO - Deleting VM ctest-TestBasicPolicy-48500937-66184280 2024-09-18 00:42:25,661 - INFO - Deleted policy ctest-policy-allow-all-59934034 2024-09-18 00:42:25,662 - INFO - Deleting VN ctest-vn-39647081 2024-09-18 00:42:25,697 - DEBUG - VN 22288269-b9f1-472d-981b-b447a1e8b56e still in use: Unable to complete operation on network 22288269-b9f1-472d-981b-b447a1e8b56e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-62714eaa-e11c-4ffb-995f-6c0d9a2095c7'] 2024-09-18 00:42:25,697 - WARNING - Deleting VN ctest-vn-39647081 failed..Will retry 2024-09-18 00:42:27,802 - DEBUG - Response for deleting network () 2024-09-18 00:42:27,802 - DEBUG - Requesting: http://10.0.0.71:8082/routing-instance/b5398754-8816-449f-87a7-7270bef80a21 2024-09-18 00:42:27,807 - DEBUG - Response Code: 404 2024-09-18 00:42:27,807 - DEBUG - Requesting: http://10.0.0.71:8082/domains 2024-09-18 00:42:27,813 - DEBUG - Requesting: http://10.0.0.71:8082/domain/c428d941-dcfc-4e32-ac73-aed81d0a36db 2024-09-18 00:42:27,872 - DEBUG - Requesting: http://10.0.0.71:8082/project/8a1b2a44-e2f2-4dd6-81c8-431278f463df 2024-09-18 00:42:27,951 - INFO - Validated that VN ctest-vn-39647081 is not found in API Server 2024-09-18 00:42:27,962 - DEBUG - VN ctest-vn-39647081 is not present in Agent 10.0.0.71 2024-09-18 00:42:27,962 - INFO - Validated that VN ctest-vn-39647081 is not in any agent 2024-09-18 00:42:27,977 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39647081 info 2024-09-18 00:42:27,977 - INFO - Deleting VN ctest-vn-86755885 2024-09-18 00:42:28,080 - DEBUG - Response for deleting network () 2024-09-18 00:42:28,080 - DEBUG - Requesting: http://10.0.0.71:8082/routing-instance/c6d5f038-6bee-4576-87a6-356bac009b47 2024-09-18 00:42:28,086 - DEBUG - Response Code: 404 2024-09-18 00:42:28,086 - DEBUG - Requesting: http://10.0.0.71:8082/domains 2024-09-18 00:42:28,093 - DEBUG - Requesting: http://10.0.0.71:8082/domain/c428d941-dcfc-4e32-ac73-aed81d0a36db 2024-09-18 00:42:28,152 - DEBUG - Requesting: http://10.0.0.71:8082/project/8a1b2a44-e2f2-4dd6-81c8-431278f463df 2024-09-18 00:42:28,228 - INFO - Validated that VN ctest-vn-86755885 is not found in API Server 2024-09-18 00:42:28,239 - DEBUG - VN ctest-vn-86755885 is not present in Agent 10.0.0.71 2024-09-18 00:42:28,239 - INFO - Validated that VN ctest-vn-86755885 is not in any agent 2024-09-18 00:42:28,254 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86755885 info 2024-09-18 00:42:28,511 - DEBUG - No XMPP flaps were noticed during the test 2024-09-18 00:42:28,511 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2024-09-18 00:42:28,511 - INFO - -------------------------------------------------------------------------------- 2024-09-18 00:42:29,241 - INFO - Deleted project: ctest-TestBasicPolicy-48500937, ID : 8a1b2a44-e2f2-4dd6-81c8-431278f463df