2024-09-20 19:50:16,717 - INFO - Domain Default found not creating 2024-09-20 19:50:16,880 - INFO - Project ctest-TestBasicPolicy-10014934 not found, creating it 2024-09-20 19:50:17,366 - INFO - Created Project:ctest-TestBasicPolicy-10014934, ID : 9d82abfc-ce9d-4d4d-8c5e-a61efe6b2d50 2024-09-20 19:50:18,879 - INFO - ================================================================================ 2024-09-20 19:50:18,879 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-20 19:50:18,879 - 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-20 19:50:19,141 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.8': '0'}} with 2024-09-20 19:50:19,141 - INFO - Initial checks done. Running the testcase now 2024-09-20 19:50:19,141 - INFO - 2024-09-20 19:50:19,716 - DEBUG - Response for create_network : {'network': {'id': '4df919de-68b9-414d-93db-2ee082b0efc2', 'name': 'ctest-vn-74971241', 'tenant_id': '9d82abfcce9d4d4d8c5ea61efe6b2d50', 'project_id': '9d82abfcce9d4d4d8c5ea61efe6b2d50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10014934', 'ctest-vn-74971241'], 'port_security_enabled': True, 'description': ''}} 2024-09-20 19:50:19,941 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca53d5be-fc0e-43d7-a10f-ac515033d2af', 'name': '', 'tenant_id': '9d82abfcce9d4d4d8c5ea61efe6b2d50', 'network_id': '4df919de-68b9-414d-93db-2ee082b0efc2', 'ip_version': 4, 'cidr': '129.152.98.0/26', 'allocation_pools': [{'start': '129.152.98.2', 'end': '129.152.98.62'}], 'gateway_ip': '129.152.98.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.152.98.2', 'tags': [], 'project_id': '9d82abfcce9d4d4d8c5ea61efe6b2d50'}} 2024-09-20 19:50:19,961 - INFO - Created VN ctest-vn-74971241 2024-09-20 19:50:20,019 - DEBUG - VN ctest-vn-74971241 UUID is 4df919de-68b9-414d-93db-2ee082b0efc2 2024-09-20 19:50:20,325 - DEBUG - Response for create_network : {'network': {'id': '5827669a-38e3-46cb-8281-7d6e10b3d71f', 'name': 'ctest-vn-23441699', 'tenant_id': '9d82abfcce9d4d4d8c5ea61efe6b2d50', 'project_id': '9d82abfcce9d4d4d8c5ea61efe6b2d50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10014934', 'ctest-vn-23441699'], 'port_security_enabled': True, 'description': ''}} 2024-09-20 19:50:20,495 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fa5f021-be1c-4c3c-9f7a-088f6c82a868', 'name': '', 'tenant_id': '9d82abfcce9d4d4d8c5ea61efe6b2d50', 'network_id': '5827669a-38e3-46cb-8281-7d6e10b3d71f', 'ip_version': 4, 'cidr': '210.210.167.128/26', 'allocation_pools': [{'start': '210.210.167.130', 'end': '210.210.167.190'}], 'gateway_ip': '210.210.167.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.210.167.130', 'tags': [], 'project_id': '9d82abfcce9d4d4d8c5ea61efe6b2d50'}} 2024-09-20 19:50:20,513 - INFO - Created VN ctest-vn-23441699 2024-09-20 19:50:20,571 - DEBUG - VN ctest-vn-23441699 UUID is 5827669a-38e3-46cb-8281-7d6e10b3d71f 2024-09-20 19:50:20,689 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10014934:ctest-vn-74971241, 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-10014934:ctest-vn-23441699, 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-20 19:50:20,989 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4df919de-68b9-414d-93db-2ee082b0efc2', 'name': 'ctest-vn-74971241', 'tenant_id': '9d82abfcce9d4d4d8c5ea61efe6b2d50', 'project_id': '9d82abfcce9d4d4d8c5ea61efe6b2d50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ca53d5be-fc0e-43d7-a10f-ac515033d2af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10014934', 'ctest-vn-74971241'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10014934', 'ctest-policy-allow-all-63662720']], 'subnet_ipam': [{'subnet_cidr': '129.152.98.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-20 19:50:21,234 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5827669a-38e3-46cb-8281-7d6e10b3d71f', 'name': 'ctest-vn-23441699', 'tenant_id': '9d82abfcce9d4d4d8c5ea61efe6b2d50', 'project_id': '9d82abfcce9d4d4d8c5ea61efe6b2d50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3fa5f021-be1c-4c3c-9f7a-088f6c82a868'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10014934', 'ctest-vn-23441699'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10014934', 'ctest-policy-allow-all-63662720']], 'subnet_ipam': [{'subnet_cidr': '210.210.167.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-20 19:50:21,403 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-20 19:50:21,701 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-20 19:50:21,736 - DEBUG - Requesting: http://10.0.0.28:8082/domain/dc57561d-3615-4067-8635-a0d47f34dde7 2024-09-20 19:50:21,751 - DEBUG - Requesting: http://10.0.0.28:8082/project/9d82abfc-ce9d-4d4d-8c5e-a61efe6b2d50 2024-09-20 19:50:21,837 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/4df919de-68b9-414d-93db-2ee082b0efc2 2024-09-20 19:50:21,853 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/4df919de-68b9-414d-93db-2ee082b0efc2 2024-09-20 19:50:21,868 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/36cbbd44-3cb0-40ec-8f18-6b964db80d1b 2024-09-20 19:50:21,877 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/36cbbd44-3cb0-40ec-8f18-6b964db80d1b 2024-09-20 19:50:21,886 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/62d065ed-b03a-4d0b-9762-a31e062767a1 2024-09-20 19:50:21,893 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-20 19:50:21,893 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/4df919de-68b9-414d-93db-2ee082b0efc2 2024-09-20 19:50:21,910 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/36cbbd44-3cb0-40ec-8f18-6b964db80d1b 2024-09-20 19:50:21,929 - INFO - Verified VN network id 8 for VN 4df919de-68b9-414d-93db-2ee082b0efc2 2024-09-20 19:50:21,929 - INFO - Verifications in API Server for VN ctest-vn-74971241 passed 2024-09-20 19:50:21,929 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/4df919de-68b9-414d-93db-2ee082b0efc2 2024-09-20 19:50:21,944 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/36cbbd44-3cb0-40ec-8f18-6b964db80d1b 2024-09-20 19:50:21,953 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/36cbbd44-3cb0-40ec-8f18-6b964db80d1b 2024-09-20 19:50:21,963 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/62d065ed-b03a-4d0b-9762-a31e062767a1 2024-09-20 19:50:21,976 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10014934:ctest-vn-74971241', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10014934', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5618550453151809869', 'uuid-lslong': '10654160885275226050'}, 'enable': 'true', 'created': '2024-09-20T19:50:19', 'last-modified': '2024-09-20T19:50:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.004206'} 2024-09-20 19:50:21,984 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-20 19:50:21,984 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74971241 passed 2024-09-20 19:50:21,985 - DEBUG - ====Verifying policy data for ctest-vn-74971241 in API_Server ====== 2024-09-20 19:50:21,985 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-20 19:50:21,991 - DEBUG - Requesting: http://10.0.0.28:8082/domain/dc57561d-3615-4067-8635-a0d47f34dde7 2024-09-20 19:50:22,007 - DEBUG - Requesting: http://10.0.0.28:8082/project/9d82abfc-ce9d-4d4d-8c5e-a61efe6b2d50 2024-09-20 19:50:22,087 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/4df919de-68b9-414d-93db-2ee082b0efc2 2024-09-20 19:50:22,102 - DEBUG - ==>Verifying data for policy with id: 0c3e1c20-1f1b-479e-b2d3-789244bebffd, fqn: ['default-domain', 'ctest-TestBasicPolicy-10014934', 'ctest-policy-allow-all-63662720'] 2024-09-20 19:50:22,102 - INFO - VN ctest-vn-74971241 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-20 19:50:22,102 - DEBUG - Verifying the vn in opserver 2024-09-20 19:50:22,103 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10014934:ctest-vn-74971241 virtual network link through opserver 10.0.0.28 2024-09-20 19:50:22,103 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-20 19:50:22,413 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-20 19:50:22,481 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10014934:ctest-vn-74971241', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10014934:ctest-vn-74971241?flat'} 2024-09-20 19:50:22,481 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10014934:ctest-vn-74971241 is found in opserver 2024-09-20 19:50:22,492 - DEBUG - Do not have enough data to verify VN in agent 2024-09-20 19:50:22,497 - DEBUG - VRF ids for VN ctest-vn-74971241: {} 2024-09-20 19:50:22,497 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-20 19:50:22,503 - DEBUG - Requesting: http://10.0.0.28:8082/domain/dc57561d-3615-4067-8635-a0d47f34dde7 2024-09-20 19:50:22,516 - DEBUG - Requesting: http://10.0.0.28:8082/project/9d82abfc-ce9d-4d4d-8c5e-a61efe6b2d50 2024-09-20 19:50:22,599 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/5827669a-38e3-46cb-8281-7d6e10b3d71f 2024-09-20 19:50:22,615 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/5827669a-38e3-46cb-8281-7d6e10b3d71f 2024-09-20 19:50:22,628 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/f1abaf35-0f23-4e40-b9c3-7f1bbd7f77c6 2024-09-20 19:50:22,637 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/f1abaf35-0f23-4e40-b9c3-7f1bbd7f77c6 2024-09-20 19:50:22,645 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/f6f28382-eb75-46b7-9101-0c32b27847b2 2024-09-20 19:50:22,651 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-20 19:50:22,652 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/5827669a-38e3-46cb-8281-7d6e10b3d71f 2024-09-20 19:50:22,664 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/f1abaf35-0f23-4e40-b9c3-7f1bbd7f77c6 2024-09-20 19:50:22,684 - INFO - Verified VN network id 9 for VN 5827669a-38e3-46cb-8281-7d6e10b3d71f 2024-09-20 19:50:22,684 - INFO - Verifications in API Server for VN ctest-vn-23441699 passed 2024-09-20 19:50:22,684 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/5827669a-38e3-46cb-8281-7d6e10b3d71f 2024-09-20 19:50:22,699 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/f1abaf35-0f23-4e40-b9c3-7f1bbd7f77c6 2024-09-20 19:50:22,707 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/f1abaf35-0f23-4e40-b9c3-7f1bbd7f77c6 2024-09-20 19:50:22,715 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/f6f28382-eb75-46b7-9101-0c32b27847b2 2024-09-20 19:50:22,729 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10014934:ctest-vn-23441699', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10014934', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6352158611994789579', 'uuid-lslong': '9403935408606402335'}, 'enable': 'true', 'created': '2024-09-20T19:50:20', 'last-modified': '2024-09-20T19:50:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.524905'} 2024-09-20 19:50:22,738 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-20 19:50:22,738 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23441699 passed 2024-09-20 19:50:22,738 - DEBUG - ====Verifying policy data for ctest-vn-23441699 in API_Server ====== 2024-09-20 19:50:22,738 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-20 19:50:22,744 - DEBUG - Requesting: http://10.0.0.28:8082/domain/dc57561d-3615-4067-8635-a0d47f34dde7 2024-09-20 19:50:22,757 - DEBUG - Requesting: http://10.0.0.28:8082/project/9d82abfc-ce9d-4d4d-8c5e-a61efe6b2d50 2024-09-20 19:50:22,841 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/5827669a-38e3-46cb-8281-7d6e10b3d71f 2024-09-20 19:50:22,857 - DEBUG - ==>Verifying data for policy with id: 0c3e1c20-1f1b-479e-b2d3-789244bebffd, fqn: ['default-domain', 'ctest-TestBasicPolicy-10014934', 'ctest-policy-allow-all-63662720'] 2024-09-20 19:50:22,857 - INFO - VN ctest-vn-23441699 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-20 19:50:22,857 - DEBUG - Verifying the vn in opserver 2024-09-20 19:50:22,857 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10014934:ctest-vn-23441699 virtual network link through opserver 10.0.0.28 2024-09-20 19:50:22,857 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-20 19:50:22,871 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10014934:ctest-vn-23441699', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10014934:ctest-vn-23441699?flat'} 2024-09-20 19:50:22,871 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10014934:ctest-vn-23441699 is found in opserver 2024-09-20 19:50:22,884 - DEBUG - Do not have enough data to verify VN in agent 2024-09-20 19:50:22,890 - DEBUG - VRF ids for VN ctest-vn-23441699: {} 2024-09-20 19:50:22,956 - DEBUG - Services list from nova: [, , ] 2024-09-20 19:50:24,123 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2010-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2010-1) 2024-09-20 19:50:25,309 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2010-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2010-1) 2024-09-20 19:50:25,309 - INFO - Waiting for VM ctest-TestBasicPolicy-10014934-33677333 to be up.. 2024-09-20 19:50:25,405 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-20 19:50:30,489 - DEBUG - VM is in ACTIVE state now 2024-09-20 19:50:30,489 - INFO - VM name : ctest-TestBasicPolicy-10014934-33677333 2024-09-20 19:50:30,571 - DEBUG - VM ctest-TestBasicPolicy-10014934-33677333 ID is b7e8bf0e-51f6-4dd2-80fd-5c8952547204 2024-09-20 19:50:30,592 - DEBUG - VM ctest-TestBasicPolicy-10014934-33677333 launched on Node cn-jenkins-deploy-platform-ansible-os-2010-1 2024-09-20 19:50:30,682 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/b7e8bf0e-51f6-4dd2-80fd-5c8952547204 2024-09-20 19:50:30,694 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/b231058d-40e7-412b-a68a-2f4a47893eaf 2024-09-20 19:50:33,968 - 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-20 19:50:33,968 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10014934-33677333 failed! 2024-09-20 19:50:34,031 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10014934:ctest-vn-74971241 is 129.152.98.1 and allocation pool is NOT set 2024-09-20 19:50:36,089 - 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=2.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.442/1.558/2.675/1.116 ms') 2024-09-20 19:50:36,089 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10014934-33677333 passed 2024-09-20 19:50:36,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-20 19:50:36,251 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10014934-33677333, IP 129.152.98.3, Port 22 2024-09-20 19:50:36,407 - DEBUG - VM ctest-TestBasicPolicy-10014934-33677333 is ready for SSH connections 2024-09-20 19:50:36,407 - INFO - Waiting for VM ctest-TestBasicPolicy-10014934-05078937 to be up.. 2024-09-20 19:50:36,486 - DEBUG - VM is in ACTIVE state now 2024-09-20 19:50:36,486 - INFO - VM name : ctest-TestBasicPolicy-10014934-05078937 2024-09-20 19:50:36,560 - DEBUG - VM ctest-TestBasicPolicy-10014934-05078937 ID is f3512361-238c-4085-8cbf-cf8e3f2687be 2024-09-20 19:50:36,560 - DEBUG - VM ctest-TestBasicPolicy-10014934-05078937 launched on Node cn-jenkins-deploy-platform-ansible-os-2010-1 2024-09-20 19:50:36,639 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/f3512361-238c-4085-8cbf-cf8e3f2687be 2024-09-20 19:50:36,649 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/01230316-737d-42ca-a259-9ecf12aee3b6 2024-09-20 19:50:37,912 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.911 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.911/2.575/4.240/1.664 ms') 2024-09-20 19:50:37,912 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10014934-05078937 passed 2024-09-20 19:50:38,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-20 19:50:38,075 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10014934-05078937, IP 210.210.167.131, Port 22 2024-09-20 19:50:38,230 - DEBUG - VM ctest-TestBasicPolicy-10014934-05078937 is ready for SSH connections 2024-09-20 19:50:38,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-20 19:50:38,230 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.210.167.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-20 19:50:38,230 - DEBUG - ping -s 56 -c 3 -W 1 210.210.167.131 2024-09-20 19:50:42,262 - DEBUG - PING 210.210.167.131 (210.210.167.131): 56 data bytes 64 bytes from 210.210.167.131: seq=0 ttl=63 time=3.449 ms 64 bytes from 210.210.167.131: seq=1 ttl=63 time=0.856 ms 64 bytes from 210.210.167.131: seq=2 ttl=63 time=1.077 ms --- 210.210.167.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.856/1.794/3.449 ms 2024-09-20 19:50:42,262 - INFO - Ping to IP 210.210.167.131 from VM ctest-TestBasicPolicy-10014934-33677333 passed 2024-09-20 19:50:42,447 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0c3e1c20-1f1b-479e-b2d3-789244bebffd", "href": "http://10.0.0.28:8082/network-policy/0c3e1c20-1f1b-479e-b2d3-789244bebffd"}} 2024-09-20 19:50:42,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-20 19:50:42,447 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.210.167.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-20 19:50:42,447 - DEBUG - ping -s 56 -c 3 -W 1 210.210.167.131 2024-09-20 19:50:45,650 - DEBUG - PING 210.210.167.131 (210.210.167.131): 56 data bytes 64 bytes from 210.210.167.131: seq=0 ttl=63 time=1.427 ms --- 210.210.167.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.427/1.427/1.427 ms 2024-09-20 19:50:45,651 - WARNING - Ping to IP 210.210.167.131 from VM ctest-TestBasicPolicy-10014934-33677333 failed 2024-09-20 19:50:45,651 - INFO - Deleting VM ctest-TestBasicPolicy-10014934-05078937 2024-09-20 19:50:45,722 - INFO - Deleting VM ctest-TestBasicPolicy-10014934-33677333 2024-09-20 19:50:46,164 - INFO - Deleted policy ctest-policy-allow-all-63662720 2024-09-20 19:50:46,164 - INFO - Deleting VN ctest-vn-23441699 2024-09-20 19:50:46,201 - DEBUG - VN 5827669a-38e3-46cb-8281-7d6e10b3d71f still in use: Unable to complete operation on network 5827669a-38e3-46cb-8281-7d6e10b3d71f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c2e8ac8a-098f-48d0-babe-6d10c5e254ae'] 2024-09-20 19:50:46,201 - WARNING - Deleting VN ctest-vn-23441699 failed..Will retry 2024-09-20 19:50:48,311 - DEBUG - Response for deleting network () 2024-09-20 19:50:48,311 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/f1abaf35-0f23-4e40-b9c3-7f1bbd7f77c6 2024-09-20 19:50:48,320 - DEBUG - Response Code: 404 2024-09-20 19:50:48,320 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-20 19:50:48,326 - DEBUG - Requesting: http://10.0.0.28:8082/domain/dc57561d-3615-4067-8635-a0d47f34dde7 2024-09-20 19:50:48,381 - DEBUG - Requesting: http://10.0.0.28:8082/project/9d82abfc-ce9d-4d4d-8c5e-a61efe6b2d50 2024-09-20 19:50:48,458 - INFO - Validated that VN ctest-vn-23441699 is not found in API Server 2024-09-20 19:50:48,471 - DEBUG - VN ctest-vn-23441699 is not present in Agent 10.0.0.28 2024-09-20 19:50:48,471 - INFO - Validated that VN ctest-vn-23441699 is not in any agent 2024-09-20 19:50:48,486 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23441699 info 2024-09-20 19:50:48,486 - INFO - Deleting VN ctest-vn-74971241 2024-09-20 19:50:48,590 - DEBUG - Response for deleting network () 2024-09-20 19:50:48,590 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/36cbbd44-3cb0-40ec-8f18-6b964db80d1b 2024-09-20 19:50:48,596 - DEBUG - Response Code: 404 2024-09-20 19:50:48,596 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-20 19:50:48,605 - DEBUG - Requesting: http://10.0.0.28:8082/domain/dc57561d-3615-4067-8635-a0d47f34dde7 2024-09-20 19:50:48,665 - DEBUG - Requesting: http://10.0.0.28:8082/project/9d82abfc-ce9d-4d4d-8c5e-a61efe6b2d50 2024-09-20 19:50:48,745 - INFO - Validated that VN ctest-vn-74971241 is not found in API Server 2024-09-20 19:50:48,756 - DEBUG - VN ctest-vn-74971241 is not present in Agent 10.0.0.28 2024-09-20 19:50:48,756 - INFO - Validated that VN ctest-vn-74971241 is not in any agent 2024-09-20 19:50:48,771 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74971241 info 2024-09-20 19:50:49,024 - DEBUG - No XMPP flaps were noticed during the test 2024-09-20 19:50:49,024 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2024-09-20 19:50:49,025 - INFO - -------------------------------------------------------------------------------- 2024-09-20 19:50:49,744 - INFO - Deleted project: ctest-TestBasicPolicy-10014934, ID : 9d82abfc-ce9d-4d4d-8c5e-a61efe6b2d50