2024-10-24 02:45:14,302 - INFO - Domain Default found not creating 2024-10-24 02:45:14,489 - INFO - Project ctest-TestBasicPolicy-40188042 not found, creating it 2024-10-24 02:45:15,031 - INFO - Created Project:ctest-TestBasicPolicy-40188042, ID : 47a6c3e4-d3fb-43b4-bb26-32a7e3846119 2024-10-24 02:45:16,863 - INFO - ================================================================================ 2024-10-24 02:45:16,864 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-10-24 02:45:16,864 - 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-10-24 02:45:17,130 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.12': '0'}} with 2024-10-24 02:45:17,130 - INFO - Initial checks done. Running the testcase now 2024-10-24 02:45:17,131 - INFO - 2024-10-24 02:45:17,792 - DEBUG - Response for create_network : {'network': {'id': 'de52d0cf-8e37-4fc1-a670-39d123ce5c37', 'name': 'ctest-vn-66703689', 'tenant_id': '47a6c3e4d3fb43b4bb2632a7e3846119', 'project_id': '47a6c3e4d3fb43b4bb2632a7e3846119', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40188042', 'ctest-vn-66703689'], 'port_security_enabled': True, 'description': ''}} 2024-10-24 02:45:18,016 - DEBUG - Response for create_subnet : {'subnet': {'id': '39ee8ef7-2701-42fe-8c1b-6f0d3ccc445f', 'name': '', 'tenant_id': '47a6c3e4d3fb43b4bb2632a7e3846119', 'network_id': 'de52d0cf-8e37-4fc1-a670-39d123ce5c37', 'ip_version': 4, 'cidr': '198.39.59.0/26', 'allocation_pools': [{'start': '198.39.59.2', 'end': '198.39.59.62'}], 'gateway_ip': '198.39.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.39.59.2', 'tags': [], 'project_id': '47a6c3e4d3fb43b4bb2632a7e3846119'}} 2024-10-24 02:45:18,038 - INFO - Created VN ctest-vn-66703689 2024-10-24 02:45:18,099 - DEBUG - VN ctest-vn-66703689 UUID is de52d0cf-8e37-4fc1-a670-39d123ce5c37 2024-10-24 02:45:18,452 - DEBUG - Response for create_network : {'network': {'id': '820cf33d-7402-4556-839f-559b7be24053', 'name': 'ctest-vn-39332373', 'tenant_id': '47a6c3e4d3fb43b4bb2632a7e3846119', 'project_id': '47a6c3e4d3fb43b4bb2632a7e3846119', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40188042', 'ctest-vn-39332373'], 'port_security_enabled': True, 'description': ''}} 2024-10-24 02:45:18,630 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8447b38-1558-4680-918a-f211f1220184', 'name': '', 'tenant_id': '47a6c3e4d3fb43b4bb2632a7e3846119', 'network_id': '820cf33d-7402-4556-839f-559b7be24053', 'ip_version': 4, 'cidr': '147.89.139.0/26', 'allocation_pools': [{'start': '147.89.139.2', 'end': '147.89.139.62'}], 'gateway_ip': '147.89.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.89.139.2', 'tags': [], 'project_id': '47a6c3e4d3fb43b4bb2632a7e3846119'}} 2024-10-24 02:45:18,653 - INFO - Created VN ctest-vn-39332373 2024-10-24 02:45:18,711 - DEBUG - VN ctest-vn-39332373 UUID is 820cf33d-7402-4556-839f-559b7be24053 2024-10-24 02:45:18,844 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40188042:ctest-vn-66703689, 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-40188042:ctest-vn-39332373, 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-10-24 02:45:19,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'de52d0cf-8e37-4fc1-a670-39d123ce5c37', 'name': 'ctest-vn-66703689', 'tenant_id': '47a6c3e4d3fb43b4bb2632a7e3846119', 'project_id': '47a6c3e4d3fb43b4bb2632a7e3846119', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['39ee8ef7-2701-42fe-8c1b-6f0d3ccc445f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40188042', 'ctest-vn-66703689'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40188042', 'ctest-policy-allow-all-98524809']], 'subnet_ipam': [{'subnet_cidr': '198.39.59.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-10-24 02:45:19,470 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '820cf33d-7402-4556-839f-559b7be24053', 'name': 'ctest-vn-39332373', 'tenant_id': '47a6c3e4d3fb43b4bb2632a7e3846119', 'project_id': '47a6c3e4d3fb43b4bb2632a7e3846119', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c8447b38-1558-4680-918a-f211f1220184'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40188042', 'ctest-vn-39332373'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40188042', 'ctest-policy-allow-all-98524809']], 'subnet_ipam': [{'subnet_cidr': '147.89.139.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-10-24 02:45:19,655 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2024-10-24 02:45:19,993 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2024-10-24 02:45:20,031 - DEBUG - Requesting: http://10.0.0.34:8082/domain/b56ff9a7-4f1b-487d-b912-1e6969d39a08 2024-10-24 02:45:20,049 - DEBUG - Requesting: http://10.0.0.34:8082/project/47a6c3e4-d3fb-43b4-bb26-32a7e3846119 2024-10-24 02:45:20,138 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/de52d0cf-8e37-4fc1-a670-39d123ce5c37 2024-10-24 02:45:20,157 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/de52d0cf-8e37-4fc1-a670-39d123ce5c37 2024-10-24 02:45:20,174 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/83e054af-8fb8-4320-857c-74c53457d378 2024-10-24 02:45:20,185 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/83e054af-8fb8-4320-857c-74c53457d378 2024-10-24 02:45:20,196 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/616a3c8f-3ed3-483b-807f-a4287550b704 2024-10-24 02:45:20,205 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-24 02:45:20,205 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/de52d0cf-8e37-4fc1-a670-39d123ce5c37 2024-10-24 02:45:20,221 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/83e054af-8fb8-4320-857c-74c53457d378 2024-10-24 02:45:20,243 - INFO - Verified VN network id 8 for VN de52d0cf-8e37-4fc1-a670-39d123ce5c37 2024-10-24 02:45:20,244 - INFO - Verifications in API Server for VN ctest-vn-66703689 passed 2024-10-24 02:45:20,244 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/de52d0cf-8e37-4fc1-a670-39d123ce5c37 2024-10-24 02:45:20,260 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/83e054af-8fb8-4320-857c-74c53457d378 2024-10-24 02:45:20,269 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/83e054af-8fb8-4320-857c-74c53457d378 2024-10-24 02:45:20,279 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/616a3c8f-3ed3-483b-807f-a4287550b704 2024-10-24 02:45:20,295 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40188042:ctest-vn-66703689', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40188042', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16020096414373072833', 'uuid-lslong': '11993149378099305527'}, 'enable': 'true', 'created': '2024-10-24T02:45:17', 'last-modified': '2024-10-24T02:45:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.137487'} 2024-10-24 02:45:20,304 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-24 02:45:20,304 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66703689 passed 2024-10-24 02:45:20,305 - DEBUG - ====Verifying policy data for ctest-vn-66703689 in API_Server ====== 2024-10-24 02:45:20,305 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2024-10-24 02:45:20,312 - DEBUG - Requesting: http://10.0.0.34:8082/domain/b56ff9a7-4f1b-487d-b912-1e6969d39a08 2024-10-24 02:45:20,332 - DEBUG - Requesting: http://10.0.0.34:8082/project/47a6c3e4-d3fb-43b4-bb26-32a7e3846119 2024-10-24 02:45:20,424 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/de52d0cf-8e37-4fc1-a670-39d123ce5c37 2024-10-24 02:45:20,440 - DEBUG - ==>Verifying data for policy with id: 2e42f446-0ea8-4a0c-854d-a141caa0ba54, fqn: ['default-domain', 'ctest-TestBasicPolicy-40188042', 'ctest-policy-allow-all-98524809'] 2024-10-24 02:45:20,440 - INFO - VN ctest-vn-66703689 Policy verification: verify_vn_policy_in_api_server, status: True 2024-10-24 02:45:20,440 - DEBUG - Verifying the vn in opserver 2024-10-24 02:45:20,440 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40188042:ctest-vn-66703689 virtual network link through opserver 10.0.0.34 2024-10-24 02:45:20,440 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2024-10-24 02:45:20,776 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2024-10-24 02:45:20,849 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40188042:ctest-vn-66703689', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40188042:ctest-vn-66703689?flat'} 2024-10-24 02:45:20,849 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40188042:ctest-vn-66703689 is found in opserver 2024-10-24 02:45:20,862 - DEBUG - Do not have enough data to verify VN in agent 2024-10-24 02:45:20,868 - DEBUG - VRF ids for VN ctest-vn-66703689: {} 2024-10-24 02:45:20,869 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2024-10-24 02:45:20,876 - DEBUG - Requesting: http://10.0.0.34:8082/domain/b56ff9a7-4f1b-487d-b912-1e6969d39a08 2024-10-24 02:45:20,891 - DEBUG - Requesting: http://10.0.0.34:8082/project/47a6c3e4-d3fb-43b4-bb26-32a7e3846119 2024-10-24 02:45:20,978 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/820cf33d-7402-4556-839f-559b7be24053 2024-10-24 02:45:20,997 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/820cf33d-7402-4556-839f-559b7be24053 2024-10-24 02:45:21,013 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d8dbca9a-84c7-46d7-adbc-be0063a8e099 2024-10-24 02:45:21,024 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d8dbca9a-84c7-46d7-adbc-be0063a8e099 2024-10-24 02:45:21,034 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/b6a054b3-e09a-4a63-aefa-20fc5f21a654 2024-10-24 02:45:21,042 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-24 02:45:21,042 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/820cf33d-7402-4556-839f-559b7be24053 2024-10-24 02:45:21,058 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d8dbca9a-84c7-46d7-adbc-be0063a8e099 2024-10-24 02:45:21,082 - INFO - Verified VN network id 9 for VN 820cf33d-7402-4556-839f-559b7be24053 2024-10-24 02:45:21,082 - INFO - Verifications in API Server for VN ctest-vn-39332373 passed 2024-10-24 02:45:21,083 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/820cf33d-7402-4556-839f-559b7be24053 2024-10-24 02:45:21,100 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d8dbca9a-84c7-46d7-adbc-be0063a8e099 2024-10-24 02:45:21,112 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d8dbca9a-84c7-46d7-adbc-be0063a8e099 2024-10-24 02:45:21,123 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/b6a054b3-e09a-4a63-aefa-20fc5f21a654 2024-10-24 02:45:21,140 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40188042:ctest-vn-39332373', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40188042', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9371132369916020054', 'uuid-lslong': '9484393466552270931'}, 'enable': 'true', 'created': '2024-10-24T02:45:18', 'last-modified': '2024-10-24T02:45:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.692168'} 2024-10-24 02:45:21,148 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-24 02:45:21,148 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39332373 passed 2024-10-24 02:45:21,148 - DEBUG - ====Verifying policy data for ctest-vn-39332373 in API_Server ====== 2024-10-24 02:45:21,148 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2024-10-24 02:45:21,155 - DEBUG - Requesting: http://10.0.0.34:8082/domain/b56ff9a7-4f1b-487d-b912-1e6969d39a08 2024-10-24 02:45:21,170 - DEBUG - Requesting: http://10.0.0.34:8082/project/47a6c3e4-d3fb-43b4-bb26-32a7e3846119 2024-10-24 02:45:21,259 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/820cf33d-7402-4556-839f-559b7be24053 2024-10-24 02:45:21,278 - DEBUG - ==>Verifying data for policy with id: 2e42f446-0ea8-4a0c-854d-a141caa0ba54, fqn: ['default-domain', 'ctest-TestBasicPolicy-40188042', 'ctest-policy-allow-all-98524809'] 2024-10-24 02:45:21,278 - INFO - VN ctest-vn-39332373 Policy verification: verify_vn_policy_in_api_server, status: True 2024-10-24 02:45:21,278 - DEBUG - Verifying the vn in opserver 2024-10-24 02:45:21,278 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40188042:ctest-vn-39332373 virtual network link through opserver 10.0.0.34 2024-10-24 02:45:21,279 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2024-10-24 02:45:21,292 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40188042:ctest-vn-39332373', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40188042:ctest-vn-39332373?flat'} 2024-10-24 02:45:21,293 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40188042:ctest-vn-39332373 is found in opserver 2024-10-24 02:45:21,306 - DEBUG - Do not have enough data to verify VN in agent 2024-10-24 02:45:21,312 - DEBUG - VRF ids for VN ctest-vn-39332373: {} 2024-10-24 02:45:21,373 - DEBUG - Services list from nova: [, , ] 2024-10-24 02:45:22,564 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2135-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2135-1) 2024-10-24 02:45:24,090 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2135-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2135-1) 2024-10-24 02:45:24,090 - INFO - Waiting for VM ctest-TestBasicPolicy-40188042-65413045 to be up.. 2024-10-24 02:45:24,198 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-24 02:45:29,315 - DEBUG - VM is in ACTIVE state now 2024-10-24 02:45:29,315 - INFO - VM name : ctest-TestBasicPolicy-40188042-65413045 2024-10-24 02:45:29,453 - DEBUG - VM ctest-TestBasicPolicy-40188042-65413045 ID is 325f98d5-8d10-4178-be0b-7dedac89ac37 2024-10-24 02:45:29,483 - DEBUG - VM ctest-TestBasicPolicy-40188042-65413045 launched on Node cn-jenkins-deploy-platform-ansible-os-2135-1 2024-10-24 02:45:29,594 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/325f98d5-8d10-4178-be0b-7dedac89ac37 2024-10-24 02:45:29,609 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/619b4dbd-fd8c-4b4e-862e-72c351398939 2024-10-24 02:45:32,914 - 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 1026ms') 2024-10-24 02:45:32,915 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40188042-65413045 failed! 2024-10-24 02:45:32,979 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40188042:ctest-vn-66703689 is 198.39.59.1 and allocation pool is NOT set 2024-10-24 02:45:35,047 - 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=15.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.09 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 = 3.089/9.305/15.522/6.216 ms') 2024-10-24 02:45:35,047 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40188042-65413045 passed 2024-10-24 02:45:35,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 02:45:35,208 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40188042-65413045, IP 198.39.59.3, Port 22 2024-10-24 02:45:35,375 - DEBUG - VM ctest-TestBasicPolicy-40188042-65413045 is ready for SSH connections 2024-10-24 02:45:35,375 - INFO - Waiting for VM ctest-TestBasicPolicy-40188042-19867363 to be up.. 2024-10-24 02:45:35,482 - DEBUG - VM is in ACTIVE state now 2024-10-24 02:45:35,482 - INFO - VM name : ctest-TestBasicPolicy-40188042-19867363 2024-10-24 02:45:35,581 - DEBUG - VM ctest-TestBasicPolicy-40188042-19867363 ID is 310f5c28-4a62-465f-b1ad-be4d84c9cf2e 2024-10-24 02:45:35,581 - DEBUG - VM ctest-TestBasicPolicy-40188042-19867363 launched on Node cn-jenkins-deploy-platform-ansible-os-2135-1 2024-10-24 02:45:35,687 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/310f5c28-4a62-465f-b1ad-be4d84c9cf2e 2024-10-24 02:45:35,705 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/6711a5a5-d933-475c-a347-2ac6a74b4167 2024-10-24 02:45:36,992 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.58 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 = 1.580/2.506/3.432/0.926 ms') 2024-10-24 02:45:36,992 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40188042-19867363 passed 2024-10-24 02:45:37,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 02:45:37,151 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40188042-19867363, IP 147.89.139.3, Port 22 2024-10-24 02:45:37,318 - DEBUG - VM ctest-TestBasicPolicy-40188042-19867363 is ready for SSH connections 2024-10-24 02:45:37,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 02:45:37,318 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.89.139.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2024-10-24 02:45:37,318 - DEBUG - ping -s 56 -c 3 -W 1 147.89.139.3 2024-10-24 02:45:41,440 - DEBUG - PING 147.89.139.3 (147.89.139.3): 56 data bytes 64 bytes from 147.89.139.3: seq=0 ttl=63 time=4.509 ms 64 bytes from 147.89.139.3: seq=1 ttl=63 time=1.112 ms 64 bytes from 147.89.139.3: seq=2 ttl=63 time=1.086 ms --- 147.89.139.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.086/2.235/4.509 ms 2024-10-24 02:45:41,440 - INFO - Ping to IP 147.89.139.3 from VM ctest-TestBasicPolicy-40188042-65413045 passed 2024-10-24 02:45:41,635 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2e42f446-0ea8-4a0c-854d-a141caa0ba54", "href": "http://10.0.0.34:8082/network-policy/2e42f446-0ea8-4a0c-854d-a141caa0ba54"}} 2024-10-24 02:45:41,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 02:45:41,635 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.89.139.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2024-10-24 02:45:41,635 - DEBUG - ping -s 56 -c 3 -W 1 147.89.139.3 2024-10-24 02:45:44,864 - DEBUG - PING 147.89.139.3 (147.89.139.3): 56 data bytes --- 147.89.139.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-10-24 02:45:44,864 - WARNING - Ping to IP 147.89.139.3 from VM ctest-TestBasicPolicy-40188042-65413045 failed 2024-10-24 02:45:44,864 - INFO - Deleting VM ctest-TestBasicPolicy-40188042-19867363 2024-10-24 02:45:44,950 - INFO - Deleting VM ctest-TestBasicPolicy-40188042-65413045 2024-10-24 02:45:45,711 - INFO - Deleted policy ctest-policy-allow-all-98524809 2024-10-24 02:45:45,711 - INFO - Deleting VN ctest-vn-39332373 2024-10-24 02:45:45,799 - DEBUG - VN 820cf33d-7402-4556-839f-559b7be24053 still in use: Unable to complete operation on network 820cf33d-7402-4556-839f-559b7be24053. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-efa8b5c7-acdc-4555-ae0d-da30fc66c256'] 2024-10-24 02:45:45,800 - WARNING - Deleting VN ctest-vn-39332373 failed..Will retry 2024-10-24 02:45:47,925 - DEBUG - Response for deleting network () 2024-10-24 02:45:47,925 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d8dbca9a-84c7-46d7-adbc-be0063a8e099 2024-10-24 02:45:47,932 - DEBUG - Response Code: 404 2024-10-24 02:45:47,932 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2024-10-24 02:45:47,940 - DEBUG - Requesting: http://10.0.0.34:8082/domain/b56ff9a7-4f1b-487d-b912-1e6969d39a08 2024-10-24 02:45:48,006 - DEBUG - Requesting: http://10.0.0.34:8082/project/47a6c3e4-d3fb-43b4-bb26-32a7e3846119 2024-10-24 02:45:48,095 - INFO - Validated that VN ctest-vn-39332373 is not found in API Server 2024-10-24 02:45:48,109 - DEBUG - VN ctest-vn-39332373 is not present in Agent 10.0.0.34 2024-10-24 02:45:48,109 - INFO - Validated that VN ctest-vn-39332373 is not in any agent 2024-10-24 02:45:48,128 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39332373 info 2024-10-24 02:45:48,128 - INFO - Deleting VN ctest-vn-66703689 2024-10-24 02:45:48,259 - DEBUG - Response for deleting network () 2024-10-24 02:45:48,260 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/83e054af-8fb8-4320-857c-74c53457d378 2024-10-24 02:45:48,268 - DEBUG - Response Code: 404 2024-10-24 02:45:48,268 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2024-10-24 02:45:48,274 - DEBUG - Requesting: http://10.0.0.34:8082/domain/b56ff9a7-4f1b-487d-b912-1e6969d39a08 2024-10-24 02:45:48,330 - DEBUG - Requesting: http://10.0.0.34:8082/project/47a6c3e4-d3fb-43b4-bb26-32a7e3846119 2024-10-24 02:45:48,419 - INFO - Validated that VN ctest-vn-66703689 is not found in API Server 2024-10-24 02:45:48,432 - DEBUG - VN ctest-vn-66703689 is not present in Agent 10.0.0.34 2024-10-24 02:45:48,432 - INFO - Validated that VN ctest-vn-66703689 is not in any agent 2024-10-24 02:45:48,448 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66703689 info 2024-10-24 02:45:48,705 - DEBUG - No XMPP flaps were noticed during the test 2024-10-24 02:45:48,705 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2024-10-24 02:45:48,705 - INFO - -------------------------------------------------------------------------------- 2024-10-24 02:45:49,466 - INFO - Deleted project: ctest-TestBasicPolicy-40188042, ID : 47a6c3e4-d3fb-43b4-bb26-32a7e3846119