2024-09-11 22:14:54,384 - INFO - Domain Default found not creating 2024-09-11 22:14:54,579 - INFO - Project ctest-TestBasicPolicy-35614645 not found, creating it 2024-09-11 22:14:55,112 - INFO - Created Project:ctest-TestBasicPolicy-35614645, ID : fee31955-0721-4e03-bb85-16c7ee029fb7 2024-09-11 22:14:56,880 - INFO - ================================================================================ 2024-09-11 22:14:56,880 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-11 22:14:56,880 - 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-11 22:14:57,142 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.11': '0'}} with 2024-09-11 22:14:57,142 - INFO - Initial checks done. Running the testcase now 2024-09-11 22:14:57,142 - INFO - 2024-09-11 22:14:57,778 - DEBUG - Response for create_network : {'network': {'id': 'ec19f2d3-0f21-4c3b-abfd-7bb7e4b8d065', 'name': 'ctest-vn-32870346', 'tenant_id': 'fee3195507214e03bb8516c7ee029fb7', 'project_id': 'fee3195507214e03bb8516c7ee029fb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35614645', 'ctest-vn-32870346'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 22:14:57,978 - DEBUG - Response for create_subnet : {'subnet': {'id': '67c65078-507d-47de-a573-a3d33e561840', 'name': '', 'tenant_id': 'fee3195507214e03bb8516c7ee029fb7', 'network_id': 'ec19f2d3-0f21-4c3b-abfd-7bb7e4b8d065', 'ip_version': 4, 'cidr': '60.98.194.0/26', 'allocation_pools': [{'start': '60.98.194.2', 'end': '60.98.194.62'}], 'gateway_ip': '60.98.194.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.98.194.2', 'tags': [], 'project_id': 'fee3195507214e03bb8516c7ee029fb7'}} 2024-09-11 22:14:58,001 - INFO - Created VN ctest-vn-32870346 2024-09-11 22:14:58,062 - DEBUG - VN ctest-vn-32870346 UUID is ec19f2d3-0f21-4c3b-abfd-7bb7e4b8d065 2024-09-11 22:14:58,415 - DEBUG - Response for create_network : {'network': {'id': 'b8c8a97c-9c76-4743-beb0-3d6c00adbc8f', 'name': 'ctest-vn-77399083', 'tenant_id': 'fee3195507214e03bb8516c7ee029fb7', 'project_id': 'fee3195507214e03bb8516c7ee029fb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35614645', 'ctest-vn-77399083'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 22:14:58,635 - DEBUG - Response for create_subnet : {'subnet': {'id': '37cf76c9-d5cb-4128-bc9d-661da190b64f', 'name': '', 'tenant_id': 'fee3195507214e03bb8516c7ee029fb7', 'network_id': 'b8c8a97c-9c76-4743-beb0-3d6c00adbc8f', 'ip_version': 4, 'cidr': '172.165.17.192/26', 'allocation_pools': [{'start': '172.165.17.194', 'end': '172.165.17.254'}], 'gateway_ip': '172.165.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.165.17.194', 'tags': [], 'project_id': 'fee3195507214e03bb8516c7ee029fb7'}} 2024-09-11 22:14:58,663 - INFO - Created VN ctest-vn-77399083 2024-09-11 22:14:58,726 - DEBUG - VN ctest-vn-77399083 UUID is b8c8a97c-9c76-4743-beb0-3d6c00adbc8f 2024-09-11 22:14:58,868 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35614645:ctest-vn-32870346, 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-35614645:ctest-vn-77399083, 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-11 22:14:59,235 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec19f2d3-0f21-4c3b-abfd-7bb7e4b8d065', 'name': 'ctest-vn-32870346', 'tenant_id': 'fee3195507214e03bb8516c7ee029fb7', 'project_id': 'fee3195507214e03bb8516c7ee029fb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['67c65078-507d-47de-a573-a3d33e561840'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35614645', 'ctest-vn-32870346'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35614645', 'ctest-policy-allow-all-92347039']], 'subnet_ipam': [{'subnet_cidr': '60.98.194.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-11 22:14:59,506 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b8c8a97c-9c76-4743-beb0-3d6c00adbc8f', 'name': 'ctest-vn-77399083', 'tenant_id': 'fee3195507214e03bb8516c7ee029fb7', 'project_id': 'fee3195507214e03bb8516c7ee029fb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['37cf76c9-d5cb-4128-bc9d-661da190b64f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35614645', 'ctest-vn-77399083'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35614645', 'ctest-policy-allow-all-92347039']], 'subnet_ipam': [{'subnet_cidr': '172.165.17.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-11 22:14:59,666 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2024-09-11 22:15:00,009 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2024-09-11 22:15:00,046 - DEBUG - Requesting: http://10.0.0.42:8082/domain/28104511-6a48-4f5e-8922-ddc5aaa30c65 2024-09-11 22:15:00,063 - DEBUG - Requesting: http://10.0.0.42:8082/project/fee31955-0721-4e03-bb85-16c7ee029fb7 2024-09-11 22:15:00,156 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/ec19f2d3-0f21-4c3b-abfd-7bb7e4b8d065 2024-09-11 22:15:00,190 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/ec19f2d3-0f21-4c3b-abfd-7bb7e4b8d065 2024-09-11 22:15:00,211 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/a4047818-2ff1-4a3a-9871-6cb4bf87629e 2024-09-11 22:15:00,223 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/a4047818-2ff1-4a3a-9871-6cb4bf87629e 2024-09-11 22:15:00,234 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/5478fc39-8206-442a-9a8c-cf9938eea1db 2024-09-11 22:15:00,245 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-11 22:15:00,245 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/ec19f2d3-0f21-4c3b-abfd-7bb7e4b8d065 2024-09-11 22:15:00,262 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/a4047818-2ff1-4a3a-9871-6cb4bf87629e 2024-09-11 22:15:00,288 - INFO - Verified VN network id 8 for VN ec19f2d3-0f21-4c3b-abfd-7bb7e4b8d065 2024-09-11 22:15:00,288 - INFO - Verifications in API Server for VN ctest-vn-32870346 passed 2024-09-11 22:15:00,288 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/ec19f2d3-0f21-4c3b-abfd-7bb7e4b8d065 2024-09-11 22:15:00,305 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/a4047818-2ff1-4a3a-9871-6cb4bf87629e 2024-09-11 22:15:00,314 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/a4047818-2ff1-4a3a-9871-6cb4bf87629e 2024-09-11 22:15:00,329 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/5478fc39-8206-442a-9a8c-cf9938eea1db 2024-09-11 22:15:00,347 - DEBUG - Control-node 10.0.0.42 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35614645:ctest-vn-32870346', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35614645', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17012896055674620987', 'uuid-lslong': '12393197779340021861'}, 'enable': 'true', 'created': '2024-09-11T22:14:57', 'last-modified': '2024-09-11T22:14:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.159327'} 2024-09-11 22:15:00,357 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-11 22:15:00,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32870346 passed 2024-09-11 22:15:00,357 - DEBUG - ====Verifying policy data for ctest-vn-32870346 in API_Server ====== 2024-09-11 22:15:00,357 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2024-09-11 22:15:00,364 - DEBUG - Requesting: http://10.0.0.42:8082/domain/28104511-6a48-4f5e-8922-ddc5aaa30c65 2024-09-11 22:15:00,381 - DEBUG - Requesting: http://10.0.0.42:8082/project/fee31955-0721-4e03-bb85-16c7ee029fb7 2024-09-11 22:15:00,482 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/ec19f2d3-0f21-4c3b-abfd-7bb7e4b8d065 2024-09-11 22:15:00,508 - DEBUG - ==>Verifying data for policy with id: d6c1cc3a-f2c6-4bd8-bd8f-dbe7b78890ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-35614645', 'ctest-policy-allow-all-92347039'] 2024-09-11 22:15:00,508 - INFO - VN ctest-vn-32870346 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-11 22:15:00,508 - DEBUG - Verifying the vn in opserver 2024-09-11 22:15:00,508 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35614645:ctest-vn-32870346 virtual network link through opserver 10.0.0.42 2024-09-11 22:15:00,508 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2024-09-11 22:15:00,873 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2024-09-11 22:15:01,284 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35614645:ctest-vn-32870346', 'href': 'http://10.0.0.42:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35614645:ctest-vn-32870346?flat'} 2024-09-11 22:15:01,284 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35614645:ctest-vn-32870346 is found in opserver 2024-09-11 22:15:01,306 - DEBUG - Do not have enough data to verify VN in agent 2024-09-11 22:15:01,315 - DEBUG - VRF ids for VN ctest-vn-32870346: {} 2024-09-11 22:15:01,315 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2024-09-11 22:15:01,323 - DEBUG - Requesting: http://10.0.0.42:8082/domain/28104511-6a48-4f5e-8922-ddc5aaa30c65 2024-09-11 22:15:01,340 - DEBUG - Requesting: http://10.0.0.42:8082/project/fee31955-0721-4e03-bb85-16c7ee029fb7 2024-09-11 22:15:01,434 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/b8c8a97c-9c76-4743-beb0-3d6c00adbc8f 2024-09-11 22:15:01,455 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/b8c8a97c-9c76-4743-beb0-3d6c00adbc8f 2024-09-11 22:15:01,470 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/674e3e23-8e7f-4577-9d26-c6c1d471f7df 2024-09-11 22:15:01,481 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/674e3e23-8e7f-4577-9d26-c6c1d471f7df 2024-09-11 22:15:01,492 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/8acd008b-3c9f-4a61-b303-74759273a9ff 2024-09-11 22:15:01,502 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-11 22:15:01,502 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/b8c8a97c-9c76-4743-beb0-3d6c00adbc8f 2024-09-11 22:15:01,521 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/674e3e23-8e7f-4577-9d26-c6c1d471f7df 2024-09-11 22:15:01,545 - INFO - Verified VN network id 9 for VN b8c8a97c-9c76-4743-beb0-3d6c00adbc8f 2024-09-11 22:15:01,545 - INFO - Verifications in API Server for VN ctest-vn-77399083 passed 2024-09-11 22:15:01,546 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/b8c8a97c-9c76-4743-beb0-3d6c00adbc8f 2024-09-11 22:15:01,564 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/674e3e23-8e7f-4577-9d26-c6c1d471f7df 2024-09-11 22:15:01,576 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/674e3e23-8e7f-4577-9d26-c6c1d471f7df 2024-09-11 22:15:01,587 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/8acd008b-3c9f-4a61-b303-74759273a9ff 2024-09-11 22:15:01,606 - DEBUG - Control-node 10.0.0.42 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35614645:ctest-vn-77399083', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35614645', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13315078650986907459', 'uuid-lslong': '13740549997184531599'}, 'enable': 'true', 'created': '2024-09-11T22:14:58', 'last-modified': '2024-09-11T22:14:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.133180'} 2024-09-11 22:15:01,616 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-11 22:15:01,616 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77399083 passed 2024-09-11 22:15:01,616 - DEBUG - ====Verifying policy data for ctest-vn-77399083 in API_Server ====== 2024-09-11 22:15:01,616 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2024-09-11 22:15:01,623 - DEBUG - Requesting: http://10.0.0.42:8082/domain/28104511-6a48-4f5e-8922-ddc5aaa30c65 2024-09-11 22:15:01,640 - DEBUG - Requesting: http://10.0.0.42:8082/project/fee31955-0721-4e03-bb85-16c7ee029fb7 2024-09-11 22:15:01,735 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/b8c8a97c-9c76-4743-beb0-3d6c00adbc8f 2024-09-11 22:15:01,755 - DEBUG - ==>Verifying data for policy with id: d6c1cc3a-f2c6-4bd8-bd8f-dbe7b78890ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-35614645', 'ctest-policy-allow-all-92347039'] 2024-09-11 22:15:01,755 - INFO - VN ctest-vn-77399083 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-11 22:15:01,755 - DEBUG - Verifying the vn in opserver 2024-09-11 22:15:01,755 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35614645:ctest-vn-77399083 virtual network link through opserver 10.0.0.42 2024-09-11 22:15:01,755 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2024-09-11 22:15:01,769 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35614645:ctest-vn-77399083', 'href': 'http://10.0.0.42:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35614645:ctest-vn-77399083?flat'} 2024-09-11 22:15:01,769 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35614645:ctest-vn-77399083 is found in opserver 2024-09-11 22:15:01,783 - DEBUG - Do not have enough data to verify VN in agent 2024-09-11 22:15:01,790 - DEBUG - VRF ids for VN ctest-vn-77399083: {} 2024-09-11 22:15:01,866 - DEBUG - Services list from nova: [, , ] 2024-09-11 22:15:03,235 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1901-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1901-1) 2024-09-11 22:15:04,590 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1901-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1901-1) 2024-09-11 22:15:04,590 - INFO - Waiting for VM ctest-TestBasicPolicy-35614645-93186033 to be up.. 2024-09-11 22:15:04,697 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-11 22:15:09,796 - DEBUG - VM is in ACTIVE state now 2024-09-11 22:15:09,796 - INFO - VM name : ctest-TestBasicPolicy-35614645-93186033 2024-09-11 22:15:09,890 - DEBUG - VM ctest-TestBasicPolicy-35614645-93186033 ID is 0ce68968-5a08-4677-a75d-8cd0becdb474 2024-09-11 22:15:09,919 - DEBUG - VM ctest-TestBasicPolicy-35614645-93186033 launched on Node cn-jenkins-deploy-platform-ansible-os-1901-1 2024-09-11 22:15:10,017 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/0ce68968-5a08-4677-a75d-8cd0becdb474 2024-09-11 22:15:10,029 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/e9df3b9a-2667-407f-bc87-4a1e0312361d 2024-09-11 22:15:13,308 - 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 1006ms') 2024-09-11 22:15:13,308 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35614645-93186033 failed! 2024-09-11 22:15:13,378 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35614645:ctest-vn-32870346 is 60.98.194.1 and allocation pool is NOT set 2024-09-11 22:15:15,438 - 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=14.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.382 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.382/7.324/14.266/6.942 ms') 2024-09-11 22:15:15,438 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35614645-93186033 passed 2024-09-11 22:15:15,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 22:15:15,618 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35614645-93186033, IP 60.98.194.3, Port 22 2024-09-11 22:15:15,792 - DEBUG - VM ctest-TestBasicPolicy-35614645-93186033 is ready for SSH connections 2024-09-11 22:15:15,792 - INFO - Waiting for VM ctest-TestBasicPolicy-35614645-66441843 to be up.. 2024-09-11 22:15:15,901 - DEBUG - VM is in ACTIVE state now 2024-09-11 22:15:15,902 - INFO - VM name : ctest-TestBasicPolicy-35614645-66441843 2024-09-11 22:15:16,011 - DEBUG - VM ctest-TestBasicPolicy-35614645-66441843 ID is a36dce9c-4e55-49e2-a9fc-c6d8062bb1ab 2024-09-11 22:15:16,011 - DEBUG - VM ctest-TestBasicPolicy-35614645-66441843 launched on Node cn-jenkins-deploy-platform-ansible-os-1901-1 2024-09-11 22:15:16,134 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/a36dce9c-4e55-49e2-a9fc-c6d8062bb1ab 2024-09-11 22:15:16,147 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/d88a2530-dfb1-4573-92f0-5107e9aa0237 2024-09-11 22:15:17,430 - 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=5.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.736 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.736/3.047/5.359/2.311 ms') 2024-09-11 22:15:17,430 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35614645-66441843 passed 2024-09-11 22:15:17,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 22:15:17,598 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35614645-66441843, IP 172.165.17.195, Port 22 2024-09-11 22:15:17,768 - DEBUG - VM ctest-TestBasicPolicy-35614645-66441843 is ready for SSH connections 2024-09-11 22:15:17,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 22:15:17,768 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.165.17.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-09-11 22:15:17,768 - DEBUG - ping -s 56 -c 3 -W 1 172.165.17.195 2024-09-11 22:15:21,932 - DEBUG - PING 172.165.17.195 (172.165.17.195): 56 data bytes 64 bytes from 172.165.17.195: seq=0 ttl=63 time=4.757 ms 64 bytes from 172.165.17.195: seq=1 ttl=63 time=1.135 ms 64 bytes from 172.165.17.195: seq=2 ttl=63 time=1.112 ms --- 172.165.17.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.112/2.334/4.757 ms 2024-09-11 22:15:21,932 - INFO - Ping to IP 172.165.17.195 from VM ctest-TestBasicPolicy-35614645-93186033 passed 2024-09-11 22:15:22,130 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d6c1cc3a-f2c6-4bd8-bd8f-dbe7b78890ee", "href": "http://10.0.0.42:8082/network-policy/d6c1cc3a-f2c6-4bd8-bd8f-dbe7b78890ee"}} 2024-09-11 22:15:22,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 22:15:22,130 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.165.17.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-09-11 22:15:22,130 - DEBUG - ping -s 56 -c 3 -W 1 172.165.17.195 2024-09-11 22:15:25,353 - DEBUG - PING 172.165.17.195 (172.165.17.195): 56 data bytes --- 172.165.17.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-11 22:15:25,353 - WARNING - Ping to IP 172.165.17.195 from VM ctest-TestBasicPolicy-35614645-93186033 failed 2024-09-11 22:15:25,353 - INFO - Deleting VM ctest-TestBasicPolicy-35614645-66441843 2024-09-11 22:15:25,435 - INFO - Deleting VM ctest-TestBasicPolicy-35614645-93186033 2024-09-11 22:15:25,956 - INFO - Deleted policy ctest-policy-allow-all-92347039 2024-09-11 22:15:25,957 - INFO - Deleting VN ctest-vn-77399083 2024-09-11 22:15:26,018 - DEBUG - VN b8c8a97c-9c76-4743-beb0-3d6c00adbc8f still in use: Unable to complete operation on network b8c8a97c-9c76-4743-beb0-3d6c00adbc8f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7817b5b8-c91b-40c2-938d-04102ff6774b'] 2024-09-11 22:15:26,018 - WARNING - Deleting VN ctest-vn-77399083 failed..Will retry 2024-09-11 22:15:28,135 - DEBUG - Response for deleting network () 2024-09-11 22:15:28,135 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/674e3e23-8e7f-4577-9d26-c6c1d471f7df 2024-09-11 22:15:28,142 - DEBUG - Response Code: 404 2024-09-11 22:15:28,142 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2024-09-11 22:15:28,148 - DEBUG - Requesting: http://10.0.0.42:8082/domain/28104511-6a48-4f5e-8922-ddc5aaa30c65 2024-09-11 22:15:28,213 - DEBUG - Requesting: http://10.0.0.42:8082/project/fee31955-0721-4e03-bb85-16c7ee029fb7 2024-09-11 22:15:28,298 - INFO - Validated that VN ctest-vn-77399083 is not found in API Server 2024-09-11 22:15:28,312 - DEBUG - VN ctest-vn-77399083 is not present in Agent 10.0.0.42 2024-09-11 22:15:28,312 - INFO - Validated that VN ctest-vn-77399083 is not in any agent 2024-09-11 22:15:28,332 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77399083 info 2024-09-11 22:15:28,332 - INFO - Deleting VN ctest-vn-32870346 2024-09-11 22:15:28,455 - DEBUG - Response for deleting network () 2024-09-11 22:15:28,455 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/a4047818-2ff1-4a3a-9871-6cb4bf87629e 2024-09-11 22:15:28,471 - DEBUG - Response Code: 404 2024-09-11 22:15:28,471 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2024-09-11 22:15:28,479 - DEBUG - Requesting: http://10.0.0.42:8082/domain/28104511-6a48-4f5e-8922-ddc5aaa30c65 2024-09-11 22:15:28,537 - DEBUG - Requesting: http://10.0.0.42:8082/project/fee31955-0721-4e03-bb85-16c7ee029fb7 2024-09-11 22:15:28,618 - INFO - Validated that VN ctest-vn-32870346 is not found in API Server 2024-09-11 22:15:28,631 - DEBUG - VN ctest-vn-32870346 is not present in Agent 10.0.0.42 2024-09-11 22:15:28,631 - INFO - Validated that VN ctest-vn-32870346 is not in any agent 2024-09-11 22:15:28,649 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32870346 info 2024-09-11 22:15:28,920 - DEBUG - No XMPP flaps were noticed during the test 2024-09-11 22:15:28,920 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2024-09-11 22:15:28,920 - INFO - -------------------------------------------------------------------------------- 2024-09-11 22:15:29,691 - INFO - Deleted project: ctest-TestBasicPolicy-35614645, ID : fee31955-0721-4e03-bb85-16c7ee029fb7