2024-09-11 16:17:11,213 - INFO - Domain Default found not creating 2024-09-11 16:17:11,454 - INFO - Project ctest-TestBasicPolicy-06151134 not found, creating it 2024-09-11 16:17:12,043 - INFO - Created Project:ctest-TestBasicPolicy-06151134, ID : c689d98f-1e59-48da-a530-987307c5b595 2024-09-11 16:17:14,021 - INFO - ================================================================================ 2024-09-11 16:17:14,021 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-11 16:17:14,021 - 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 16:17:14,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.17': '0'}} with 2024-09-11 16:17:14,299 - INFO - Initial checks done. Running the testcase now 2024-09-11 16:17:14,301 - INFO - 2024-09-11 16:17:15,009 - DEBUG - Response for create_network : {'network': {'id': 'e3870dfc-b8ee-4091-85fd-24badc5192a7', 'name': 'ctest-vn-71786209', 'tenant_id': 'c689d98f1e5948daa530987307c5b595', 'project_id': 'c689d98f1e5948daa530987307c5b595', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06151134', 'ctest-vn-71786209'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 16:17:15,178 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3cd64f8-abd1-4d80-a0b2-fe5b99dd05b9', 'name': '', 'tenant_id': 'c689d98f1e5948daa530987307c5b595', 'network_id': 'e3870dfc-b8ee-4091-85fd-24badc5192a7', 'ip_version': 4, 'cidr': '134.111.89.128/26', 'allocation_pools': [{'start': '134.111.89.130', 'end': '134.111.89.190'}], 'gateway_ip': '134.111.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.111.89.130', 'tags': [], 'project_id': 'c689d98f1e5948daa530987307c5b595'}} 2024-09-11 16:17:15,204 - INFO - Created VN ctest-vn-71786209 2024-09-11 16:17:15,259 - DEBUG - VN ctest-vn-71786209 UUID is e3870dfc-b8ee-4091-85fd-24badc5192a7 2024-09-11 16:17:15,645 - DEBUG - Response for create_network : {'network': {'id': 'b5a95ee9-79b1-4da1-8e63-b4db2109cbd9', 'name': 'ctest-vn-77105183', 'tenant_id': 'c689d98f1e5948daa530987307c5b595', 'project_id': 'c689d98f1e5948daa530987307c5b595', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06151134', 'ctest-vn-77105183'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 16:17:15,900 - DEBUG - Response for create_subnet : {'subnet': {'id': '42835b22-04d7-4aa9-9bc4-11cb7462202d', 'name': '', 'tenant_id': 'c689d98f1e5948daa530987307c5b595', 'network_id': 'b5a95ee9-79b1-4da1-8e63-b4db2109cbd9', 'ip_version': 4, 'cidr': '212.222.241.128/26', 'allocation_pools': [{'start': '212.222.241.130', 'end': '212.222.241.190'}], 'gateway_ip': '212.222.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.222.241.130', 'tags': [], 'project_id': 'c689d98f1e5948daa530987307c5b595'}} 2024-09-11 16:17:15,931 - INFO - Created VN ctest-vn-77105183 2024-09-11 16:17:15,987 - DEBUG - VN ctest-vn-77105183 UUID is b5a95ee9-79b1-4da1-8e63-b4db2109cbd9 2024-09-11 16:17:16,135 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06151134:ctest-vn-71786209, 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-06151134:ctest-vn-77105183, 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 16:17:16,481 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e3870dfc-b8ee-4091-85fd-24badc5192a7', 'name': 'ctest-vn-71786209', 'tenant_id': 'c689d98f1e5948daa530987307c5b595', 'project_id': 'c689d98f1e5948daa530987307c5b595', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c3cd64f8-abd1-4d80-a0b2-fe5b99dd05b9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06151134', 'ctest-vn-71786209'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06151134', 'ctest-policy-allow-all-89140748']], 'subnet_ipam': [{'subnet_cidr': '134.111.89.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-11 16:17:16,755 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b5a95ee9-79b1-4da1-8e63-b4db2109cbd9', 'name': 'ctest-vn-77105183', 'tenant_id': 'c689d98f1e5948daa530987307c5b595', 'project_id': 'c689d98f1e5948daa530987307c5b595', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['42835b22-04d7-4aa9-9bc4-11cb7462202d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06151134', 'ctest-vn-77105183'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06151134', 'ctest-policy-allow-all-89140748']], 'subnet_ipam': [{'subnet_cidr': '212.222.241.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-11 16:17:16,947 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-11 16:17:17,356 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-11 16:17:17,416 - DEBUG - Requesting: http://10.0.0.28:8082/domain/3a43b8f9-1859-4bc9-8231-2acdca3f8e9c 2024-09-11 16:17:17,438 - DEBUG - Requesting: http://10.0.0.28:8082/project/c689d98f-1e59-48da-a530-987307c5b595 2024-09-11 16:17:17,539 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/e3870dfc-b8ee-4091-85fd-24badc5192a7 2024-09-11 16:17:17,555 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/e3870dfc-b8ee-4091-85fd-24badc5192a7 2024-09-11 16:17:17,570 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/c9bd3c59-d252-42fb-81a1-1d30b311d9e9 2024-09-11 16:17:17,580 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/c9bd3c59-d252-42fb-81a1-1d30b311d9e9 2024-09-11 16:17:17,590 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/6a879aaf-3801-46b3-8f10-604f158a9ee0 2024-09-11 16:17:17,601 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-11 16:17:17,601 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/e3870dfc-b8ee-4091-85fd-24badc5192a7 2024-09-11 16:17:17,614 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/c9bd3c59-d252-42fb-81a1-1d30b311d9e9 2024-09-11 16:17:17,634 - INFO - Verified VN network id 8 for VN e3870dfc-b8ee-4091-85fd-24badc5192a7 2024-09-11 16:17:17,635 - INFO - Verifications in API Server for VN ctest-vn-71786209 passed 2024-09-11 16:17:17,635 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/e3870dfc-b8ee-4091-85fd-24badc5192a7 2024-09-11 16:17:17,647 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/c9bd3c59-d252-42fb-81a1-1d30b311d9e9 2024-09-11 16:17:17,657 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/c9bd3c59-d252-42fb-81a1-1d30b311d9e9 2024-09-11 16:17:17,666 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/6a879aaf-3801-46b3-8f10-604f158a9ee0 2024-09-11 16:17:17,684 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06151134:ctest-vn-71786209', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06151134', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16395088347551121553', 'uuid-lslong': '9654913561131061927'}, 'enable': 'true', 'created': '2024-09-11T16:17:14', 'last-modified': '2024-09-11T16:17:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.239259'} 2024-09-11 16:17:17,693 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-11 16:17:17,693 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71786209 passed 2024-09-11 16:17:17,693 - DEBUG - ====Verifying policy data for ctest-vn-71786209 in API_Server ====== 2024-09-11 16:17:17,693 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-11 16:17:17,701 - DEBUG - Requesting: http://10.0.0.28:8082/domain/3a43b8f9-1859-4bc9-8231-2acdca3f8e9c 2024-09-11 16:17:17,716 - DEBUG - Requesting: http://10.0.0.28:8082/project/c689d98f-1e59-48da-a530-987307c5b595 2024-09-11 16:17:17,799 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/e3870dfc-b8ee-4091-85fd-24badc5192a7 2024-09-11 16:17:17,812 - DEBUG - ==>Verifying data for policy with id: 14b5dee7-5d6e-4981-8a8c-d7838ba7c740, fqn: ['default-domain', 'ctest-TestBasicPolicy-06151134', 'ctest-policy-allow-all-89140748'] 2024-09-11 16:17:17,812 - INFO - VN ctest-vn-71786209 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-11 16:17:17,812 - DEBUG - Verifying the vn in opserver 2024-09-11 16:17:17,812 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06151134:ctest-vn-71786209 virtual network link through opserver 10.0.0.28 2024-09-11 16:17:17,813 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-11 16:17:18,181 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-11 16:17:18,262 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06151134:ctest-vn-71786209', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06151134:ctest-vn-71786209?flat'} 2024-09-11 16:17:18,263 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06151134:ctest-vn-71786209 is found in opserver 2024-09-11 16:17:18,277 - DEBUG - Do not have enough data to verify VN in agent 2024-09-11 16:17:18,283 - DEBUG - VRF ids for VN ctest-vn-71786209: {} 2024-09-11 16:17:18,283 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-11 16:17:18,291 - DEBUG - Requesting: http://10.0.0.28:8082/domain/3a43b8f9-1859-4bc9-8231-2acdca3f8e9c 2024-09-11 16:17:18,307 - DEBUG - Requesting: http://10.0.0.28:8082/project/c689d98f-1e59-48da-a530-987307c5b595 2024-09-11 16:17:18,386 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/b5a95ee9-79b1-4da1-8e63-b4db2109cbd9 2024-09-11 16:17:18,400 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/b5a95ee9-79b1-4da1-8e63-b4db2109cbd9 2024-09-11 16:17:18,411 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/ad79a14f-c183-456f-9983-e962fd49b3ff 2024-09-11 16:17:18,423 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/ad79a14f-c183-456f-9983-e962fd49b3ff 2024-09-11 16:17:18,433 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/f0fba048-0549-4045-9c73-838b9d428ba2 2024-09-11 16:17:18,442 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-11 16:17:18,442 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/b5a95ee9-79b1-4da1-8e63-b4db2109cbd9 2024-09-11 16:17:18,455 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/ad79a14f-c183-456f-9983-e962fd49b3ff 2024-09-11 16:17:18,480 - INFO - Verified VN network id 9 for VN b5a95ee9-79b1-4da1-8e63-b4db2109cbd9 2024-09-11 16:17:18,480 - INFO - Verifications in API Server for VN ctest-vn-77105183 passed 2024-09-11 16:17:18,480 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/b5a95ee9-79b1-4da1-8e63-b4db2109cbd9 2024-09-11 16:17:18,496 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/ad79a14f-c183-456f-9983-e962fd49b3ff 2024-09-11 16:17:18,508 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/ad79a14f-c183-456f-9983-e962fd49b3ff 2024-09-11 16:17:18,521 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/f0fba048-0549-4045-9c73-838b9d428ba2 2024-09-11 16:17:18,542 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06151134:ctest-vn-77105183', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06151134', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13090098148791111073', 'uuid-lslong': '10260243229325249497'}, 'enable': 'true', 'created': '2024-09-11T16:17:15', 'last-modified': '2024-09-11T16:17:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.815286'} 2024-09-11 16:17:18,552 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-11 16:17:18,553 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77105183 passed 2024-09-11 16:17:18,553 - DEBUG - ====Verifying policy data for ctest-vn-77105183 in API_Server ====== 2024-09-11 16:17:18,553 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-11 16:17:18,562 - DEBUG - Requesting: http://10.0.0.28:8082/domain/3a43b8f9-1859-4bc9-8231-2acdca3f8e9c 2024-09-11 16:17:18,579 - DEBUG - Requesting: http://10.0.0.28:8082/project/c689d98f-1e59-48da-a530-987307c5b595 2024-09-11 16:17:18,664 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/b5a95ee9-79b1-4da1-8e63-b4db2109cbd9 2024-09-11 16:17:18,675 - DEBUG - ==>Verifying data for policy with id: 14b5dee7-5d6e-4981-8a8c-d7838ba7c740, fqn: ['default-domain', 'ctest-TestBasicPolicy-06151134', 'ctest-policy-allow-all-89140748'] 2024-09-11 16:17:18,676 - INFO - VN ctest-vn-77105183 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-11 16:17:18,676 - DEBUG - Verifying the vn in opserver 2024-09-11 16:17:18,676 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06151134:ctest-vn-77105183 virtual network link through opserver 10.0.0.28 2024-09-11 16:17:18,676 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-11 16:17:18,690 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06151134:ctest-vn-77105183', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06151134:ctest-vn-77105183?flat'} 2024-09-11 16:17:18,690 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06151134:ctest-vn-77105183 is found in opserver 2024-09-11 16:17:18,705 - DEBUG - Do not have enough data to verify VN in agent 2024-09-11 16:17:18,711 - DEBUG - VRF ids for VN ctest-vn-77105183: {} 2024-09-11 16:17:18,785 - DEBUG - Services list from nova: [, , ] 2024-09-11 16:17:20,289 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1899-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1899-1) 2024-09-11 16:17:22,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1899-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1899-1) 2024-09-11 16:17:22,042 - INFO - Waiting for VM ctest-TestBasicPolicy-06151134-24553226 to be up.. 2024-09-11 16:17:22,222 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-11 16:17:27,361 - DEBUG - VM is in ACTIVE state now 2024-09-11 16:17:27,362 - INFO - VM name : ctest-TestBasicPolicy-06151134-24553226 2024-09-11 16:17:27,522 - DEBUG - VM ctest-TestBasicPolicy-06151134-24553226 ID is 83706786-37c4-403a-9809-906fdccd4062 2024-09-11 16:17:27,552 - DEBUG - VM ctest-TestBasicPolicy-06151134-24553226 launched on Node cn-jenkins-deploy-platform-ansible-os-1899-1 2024-09-11 16:17:27,705 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/83706786-37c4-403a-9809-906fdccd4062 2024-09-11 16:17:27,720 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/c3c59284-c383-4a30-9553-cfc754985b23 2024-09-11 16:17:30,941 - 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 1001ms') 2024-09-11 16:17:30,941 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06151134-24553226 failed! 2024-09-11 16:17:30,999 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06151134:ctest-vn-71786209 is 134.111.89.129 and allocation pool is NOT set 2024-09-11 16:17:35,073 - 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=5.12 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 5.121/5.121/5.121/0.000 ms') 2024-09-11 16:17:35,073 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06151134-24553226 passed 2024-09-11 16:17:35,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 16:17:35,231 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06151134-24553226, IP 134.111.89.131, Port 22 2024-09-11 16:17:35,401 - DEBUG - VM ctest-TestBasicPolicy-06151134-24553226 is ready for SSH connections 2024-09-11 16:17:35,402 - INFO - Waiting for VM ctest-TestBasicPolicy-06151134-57402076 to be up.. 2024-09-11 16:17:35,520 - DEBUG - VM is in ACTIVE state now 2024-09-11 16:17:35,520 - INFO - VM name : ctest-TestBasicPolicy-06151134-57402076 2024-09-11 16:17:35,621 - DEBUG - VM ctest-TestBasicPolicy-06151134-57402076 ID is e3702308-212c-4630-9dc5-9efc922ef626 2024-09-11 16:17:35,621 - DEBUG - VM ctest-TestBasicPolicy-06151134-57402076 launched on Node cn-jenkins-deploy-platform-ansible-os-1899-1 2024-09-11 16:17:35,713 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/e3702308-212c-4630-9dc5-9efc922ef626 2024-09-11 16:17:35,726 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/8addcc50-5381-4db4-8fed-e7bd5dee2f1b 2024-09-11 16:17:36,979 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.741 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.741/2.149/3.557/1.408 ms') 2024-09-11 16:17:36,979 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06151134-57402076 passed 2024-09-11 16:17:37,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 16:17:37,135 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06151134-57402076, IP 212.222.241.131, Port 22 2024-09-11 16:17:37,310 - DEBUG - VM ctest-TestBasicPolicy-06151134-57402076 is ready for SSH connections 2024-09-11 16:17:37,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 16:17:37,311 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.222.241.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-11 16:17:37,312 - DEBUG - ping -s 56 -c 3 -W 1 212.222.241.131 2024-09-11 16:17:41,523 - DEBUG - PING 212.222.241.131 (212.222.241.131): 56 data bytes 64 bytes from 212.222.241.131: seq=0 ttl=63 time=3.916 ms 64 bytes from 212.222.241.131: seq=1 ttl=63 time=1.072 ms 64 bytes from 212.222.241.131: seq=2 ttl=63 time=1.105 ms --- 212.222.241.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.072/2.031/3.916 ms 2024-09-11 16:17:41,523 - INFO - Ping to IP 212.222.241.131 from VM ctest-TestBasicPolicy-06151134-24553226 passed 2024-09-11 16:17:41,711 - DEBUG - Policy Update Response {"network-policy": {"uuid": "14b5dee7-5d6e-4981-8a8c-d7838ba7c740", "href": "http://10.0.0.28:8082/network-policy/14b5dee7-5d6e-4981-8a8c-d7838ba7c740"}} 2024-09-11 16:17:41,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 16:17:41,711 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.222.241.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-11 16:17:41,711 - DEBUG - ping -s 56 -c 3 -W 1 212.222.241.131 2024-09-11 16:17:44,951 - DEBUG - PING 212.222.241.131 (212.222.241.131): 56 data bytes --- 212.222.241.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-11 16:17:44,952 - WARNING - Ping to IP 212.222.241.131 from VM ctest-TestBasicPolicy-06151134-24553226 failed 2024-09-11 16:17:44,952 - INFO - Deleting VM ctest-TestBasicPolicy-06151134-57402076 2024-09-11 16:17:45,043 - INFO - Deleting VM ctest-TestBasicPolicy-06151134-24553226 2024-09-11 16:17:45,622 - INFO - Deleted policy ctest-policy-allow-all-89140748 2024-09-11 16:17:45,622 - INFO - Deleting VN ctest-vn-77105183 2024-09-11 16:17:45,685 - DEBUG - VN b5a95ee9-79b1-4da1-8e63-b4db2109cbd9 still in use: Unable to complete operation on network b5a95ee9-79b1-4da1-8e63-b4db2109cbd9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e96a2b17-95ab-4bf6-9639-afec6e919054'] 2024-09-11 16:17:45,685 - WARNING - Deleting VN ctest-vn-77105183 failed..Will retry 2024-09-11 16:17:47,843 - DEBUG - Response for deleting network () 2024-09-11 16:17:47,844 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/ad79a14f-c183-456f-9983-e962fd49b3ff 2024-09-11 16:17:47,860 - DEBUG - Response Code: 404 2024-09-11 16:17:47,860 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-11 16:17:47,874 - DEBUG - Requesting: http://10.0.0.28:8082/domain/3a43b8f9-1859-4bc9-8231-2acdca3f8e9c 2024-09-11 16:17:47,895 - DEBUG - Requesting: http://10.0.0.28:8082/project/c689d98f-1e59-48da-a530-987307c5b595 2024-09-11 16:17:47,983 - INFO - Validated that VN ctest-vn-77105183 is not found in API Server 2024-09-11 16:17:48,000 - DEBUG - VN ctest-vn-77105183 is not present in Agent 10.0.0.28 2024-09-11 16:17:48,000 - INFO - Validated that VN ctest-vn-77105183 is not in any agent 2024-09-11 16:17:48,028 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77105183 info 2024-09-11 16:17:48,029 - INFO - Deleting VN ctest-vn-71786209 2024-09-11 16:17:48,193 - DEBUG - Response for deleting network () 2024-09-11 16:17:48,193 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/c9bd3c59-d252-42fb-81a1-1d30b311d9e9 2024-09-11 16:17:48,208 - DEBUG - Response Code: 404 2024-09-11 16:17:48,208 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-11 16:17:48,219 - DEBUG - Requesting: http://10.0.0.28:8082/domain/3a43b8f9-1859-4bc9-8231-2acdca3f8e9c 2024-09-11 16:17:48,239 - DEBUG - Requesting: http://10.0.0.28:8082/project/c689d98f-1e59-48da-a530-987307c5b595 2024-09-11 16:17:48,327 - INFO - Validated that VN ctest-vn-71786209 is not found in API Server 2024-09-11 16:17:48,343 - DEBUG - VN ctest-vn-71786209 is not present in Agent 10.0.0.28 2024-09-11 16:17:48,343 - INFO - Validated that VN ctest-vn-71786209 is not in any agent 2024-09-11 16:17:48,372 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71786209 info 2024-09-11 16:17:48,644 - DEBUG - No XMPP flaps were noticed during the test 2024-09-11 16:17:48,644 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2024-09-11 16:17:48,644 - INFO - -------------------------------------------------------------------------------- 2024-09-11 16:17:49,441 - INFO - Deleted project: ctest-TestBasicPolicy-06151134, ID : c689d98f-1e59-48da-a530-987307c5b595