2025-03-26 02:51:18,151 - INFO - Domain Default found not creating 2025-03-26 02:51:18,295 - INFO - Project ctest-TestBasicPolicy-23661701 not found, creating it 2025-03-26 02:51:18,733 - INFO - Created Project:ctest-TestBasicPolicy-23661701, ID : d1bd6dd0-ce82-4518-bbcb-f1331ab66167 2025-03-26 02:51:20,142 - INFO - ================================================================================ 2025-03-26 02:51:20,143 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-26 02:51:20,144 - 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 2025-03-26 02:51:20,398 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.10': '0'}} with 2025-03-26 02:51:20,398 - INFO - Initial checks done. Running the testcase now 2025-03-26 02:51:20,398 - INFO - 2025-03-26 02:51:20,965 - DEBUG - Response for create_network : {'network': {'id': '91f0d025-6cca-4fca-8a6e-82bedb4e5533', 'name': 'ctest-vn-92410152', 'tenant_id': 'd1bd6dd0ce824518bbcbf1331ab66167', 'project_id': 'd1bd6dd0ce824518bbcbf1331ab66167', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23661701', 'ctest-vn-92410152'], 'port_security_enabled': True, 'description': ''}} 2025-03-26 02:51:21,123 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ded46a83-d774-499b-bb67-0a703b8a1f39', 'name': '', 'tenant_id': 'd1bd6dd0ce824518bbcbf1331ab66167', 'network_id': '91f0d025-6cca-4fca-8a6e-82bedb4e5533', 'ip_version': 4, 'cidr': '129.166.31.128/26', 'allocation_pools': [{'start': '129.166.31.130', 'end': '129.166.31.190'}], 'gateway_ip': '129.166.31.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.166.31.130', 'tags': [], 'project_id': 'd1bd6dd0ce824518bbcbf1331ab66167'}} 2025-03-26 02:51:21,141 - INFO - Created VN ctest-vn-92410152 2025-03-26 02:51:21,193 - DEBUG - VN ctest-vn-92410152 UUID is 91f0d025-6cca-4fca-8a6e-82bedb4e5533 2025-03-26 02:51:21,509 - DEBUG - Response for create_network : {'network': {'id': '6c7286ba-98ea-48ce-b006-99522ac3d79d', 'name': 'ctest-vn-58147433', 'tenant_id': 'd1bd6dd0ce824518bbcbf1331ab66167', 'project_id': 'd1bd6dd0ce824518bbcbf1331ab66167', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23661701', 'ctest-vn-58147433'], 'port_security_enabled': True, 'description': ''}} 2025-03-26 02:51:21,714 - DEBUG - Response for create_subnet : {'subnet': {'id': '59653185-8137-4c98-9f6d-6dbea0af2994', 'name': '', 'tenant_id': 'd1bd6dd0ce824518bbcbf1331ab66167', 'network_id': '6c7286ba-98ea-48ce-b006-99522ac3d79d', 'ip_version': 4, 'cidr': '220.159.108.128/26', 'allocation_pools': [{'start': '220.159.108.130', 'end': '220.159.108.190'}], 'gateway_ip': '220.159.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.159.108.130', 'tags': [], 'project_id': 'd1bd6dd0ce824518bbcbf1331ab66167'}} 2025-03-26 02:51:21,733 - INFO - Created VN ctest-vn-58147433 2025-03-26 02:51:21,785 - DEBUG - VN ctest-vn-58147433 UUID is 6c7286ba-98ea-48ce-b006-99522ac3d79d 2025-03-26 02:51:21,898 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23661701:ctest-vn-92410152, 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-23661701:ctest-vn-58147433, 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] 2025-03-26 02:51:22,194 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '91f0d025-6cca-4fca-8a6e-82bedb4e5533', 'name': 'ctest-vn-92410152', 'tenant_id': 'd1bd6dd0ce824518bbcbf1331ab66167', 'project_id': 'd1bd6dd0ce824518bbcbf1331ab66167', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ded46a83-d774-499b-bb67-0a703b8a1f39'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23661701', 'ctest-vn-92410152'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23661701', 'ctest-policy-allow-all-80695796']], 'subnet_ipam': [{'subnet_cidr': '129.166.31.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-26 02:51:22,466 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6c7286ba-98ea-48ce-b006-99522ac3d79d', 'name': 'ctest-vn-58147433', 'tenant_id': 'd1bd6dd0ce824518bbcbf1331ab66167', 'project_id': 'd1bd6dd0ce824518bbcbf1331ab66167', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59653185-8137-4c98-9f6d-6dbea0af2994'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23661701', 'ctest-vn-58147433'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23661701', 'ctest-policy-allow-all-80695796']], 'subnet_ipam': [{'subnet_cidr': '220.159.108.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-26 02:51:22,625 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-26 02:51:22,929 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-26 02:51:22,967 - DEBUG - Requesting: http://10.0.0.17:8082/domain/dbd48a4e-dfa8-486c-8753-2ed33ecb3bae 2025-03-26 02:51:22,982 - DEBUG - Requesting: http://10.0.0.17:8082/project/d1bd6dd0-ce82-4518-bbcb-f1331ab66167 2025-03-26 02:51:23,058 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/91f0d025-6cca-4fca-8a6e-82bedb4e5533 2025-03-26 02:51:23,069 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/91f0d025-6cca-4fca-8a6e-82bedb4e5533 2025-03-26 02:51:23,079 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f05b759d-b964-42bd-97f9-63bfd5f1cc8a 2025-03-26 02:51:23,086 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f05b759d-b964-42bd-97f9-63bfd5f1cc8a 2025-03-26 02:51:23,093 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/e554fbc2-d614-4390-847b-101716f17d86 2025-03-26 02:51:23,100 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-26 02:51:23,100 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/91f0d025-6cca-4fca-8a6e-82bedb4e5533 2025-03-26 02:51:23,110 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f05b759d-b964-42bd-97f9-63bfd5f1cc8a 2025-03-26 02:51:23,126 - INFO - Verified VN network id 9 for VN 91f0d025-6cca-4fca-8a6e-82bedb4e5533 2025-03-26 02:51:23,126 - INFO - Verifications in API Server for VN ctest-vn-92410152 passed 2025-03-26 02:51:23,126 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/91f0d025-6cca-4fca-8a6e-82bedb4e5533 2025-03-26 02:51:23,136 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f05b759d-b964-42bd-97f9-63bfd5f1cc8a 2025-03-26 02:51:23,147 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f05b759d-b964-42bd-97f9-63bfd5f1cc8a 2025-03-26 02:51:23,160 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/e554fbc2-d614-4390-847b-101716f17d86 2025-03-26 02:51:23,172 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23661701:ctest-vn-92410152', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23661701', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10516133989067673546', 'uuid-lslong': '9975053980906968371'}, 'enable': 'true', 'created': '2025-03-26T02:51:20', 'last-modified': '2025-03-26T02:51:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.012694'} 2025-03-26 02:51:23,178 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-26 02:51:23,179 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92410152 passed 2025-03-26 02:51:23,179 - DEBUG - ====Verifying policy data for ctest-vn-92410152 in API_Server ====== 2025-03-26 02:51:23,179 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-26 02:51:23,184 - DEBUG - Requesting: http://10.0.0.17:8082/domain/dbd48a4e-dfa8-486c-8753-2ed33ecb3bae 2025-03-26 02:51:23,195 - DEBUG - Requesting: http://10.0.0.17:8082/project/d1bd6dd0-ce82-4518-bbcb-f1331ab66167 2025-03-26 02:51:23,269 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/91f0d025-6cca-4fca-8a6e-82bedb4e5533 2025-03-26 02:51:23,279 - DEBUG - ==>Verifying data for policy with id: 5793bb07-c302-46d0-8c13-7eca4ad3fa4b, fqn: ['default-domain', 'ctest-TestBasicPolicy-23661701', 'ctest-policy-allow-all-80695796'] 2025-03-26 02:51:23,279 - INFO - VN ctest-vn-92410152 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-26 02:51:23,279 - DEBUG - Verifying the vn in opserver 2025-03-26 02:51:23,279 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23661701:ctest-vn-92410152 virtual network link through opserver 10.0.0.17 2025-03-26 02:51:23,279 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-03-26 02:51:23,577 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-03-26 02:51:23,635 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23661701:ctest-vn-92410152', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23661701:ctest-vn-92410152?flat'} 2025-03-26 02:51:23,635 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23661701:ctest-vn-92410152 is found in opserver 2025-03-26 02:51:23,646 - DEBUG - Do not have enough data to verify VN in agent 2025-03-26 02:51:23,651 - DEBUG - VRF ids for VN ctest-vn-92410152: {} 2025-03-26 02:51:23,651 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-26 02:51:23,657 - DEBUG - Requesting: http://10.0.0.17:8082/domain/dbd48a4e-dfa8-486c-8753-2ed33ecb3bae 2025-03-26 02:51:23,668 - DEBUG - Requesting: http://10.0.0.17:8082/project/d1bd6dd0-ce82-4518-bbcb-f1331ab66167 2025-03-26 02:51:23,746 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/6c7286ba-98ea-48ce-b006-99522ac3d79d 2025-03-26 02:51:23,760 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/6c7286ba-98ea-48ce-b006-99522ac3d79d 2025-03-26 02:51:23,772 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/b16aecf9-7093-4061-99c0-1b6f6c9034f0 2025-03-26 02:51:23,781 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/b16aecf9-7093-4061-99c0-1b6f6c9034f0 2025-03-26 02:51:23,792 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/a8f6c59e-4027-47c8-a8e1-9aac78083f42 2025-03-26 02:51:23,801 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-26 02:51:23,801 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/6c7286ba-98ea-48ce-b006-99522ac3d79d 2025-03-26 02:51:23,813 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/b16aecf9-7093-4061-99c0-1b6f6c9034f0 2025-03-26 02:51:23,830 - INFO - Verified VN network id 10 for VN 6c7286ba-98ea-48ce-b006-99522ac3d79d 2025-03-26 02:51:23,830 - INFO - Verifications in API Server for VN ctest-vn-58147433 passed 2025-03-26 02:51:23,830 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/6c7286ba-98ea-48ce-b006-99522ac3d79d 2025-03-26 02:51:23,842 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/b16aecf9-7093-4061-99c0-1b6f6c9034f0 2025-03-26 02:51:23,849 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/b16aecf9-7093-4061-99c0-1b6f6c9034f0 2025-03-26 02:51:23,857 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/a8f6c59e-4027-47c8-a8e1-9aac78083f42 2025-03-26 02:51:23,873 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23661701:ctest-vn-58147433', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23661701', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7814456439428761806', 'uuid-lslong': '12683993978719426461'}, 'enable': 'true', 'created': '2025-03-26T02:51:21', 'last-modified': '2025-03-26T02:51:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.471725'} 2025-03-26 02:51:23,879 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-26 02:51:23,879 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58147433 passed 2025-03-26 02:51:23,879 - DEBUG - ====Verifying policy data for ctest-vn-58147433 in API_Server ====== 2025-03-26 02:51:23,879 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-26 02:51:23,885 - DEBUG - Requesting: http://10.0.0.17:8082/domain/dbd48a4e-dfa8-486c-8753-2ed33ecb3bae 2025-03-26 02:51:23,898 - DEBUG - Requesting: http://10.0.0.17:8082/project/d1bd6dd0-ce82-4518-bbcb-f1331ab66167 2025-03-26 02:51:23,986 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/6c7286ba-98ea-48ce-b006-99522ac3d79d 2025-03-26 02:51:23,996 - DEBUG - ==>Verifying data for policy with id: 5793bb07-c302-46d0-8c13-7eca4ad3fa4b, fqn: ['default-domain', 'ctest-TestBasicPolicy-23661701', 'ctest-policy-allow-all-80695796'] 2025-03-26 02:51:23,996 - INFO - VN ctest-vn-58147433 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-26 02:51:23,996 - DEBUG - Verifying the vn in opserver 2025-03-26 02:51:23,996 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23661701:ctest-vn-58147433 virtual network link through opserver 10.0.0.17 2025-03-26 02:51:23,997 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-03-26 02:51:24,010 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23661701:ctest-vn-58147433', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23661701:ctest-vn-58147433?flat'} 2025-03-26 02:51:24,010 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23661701:ctest-vn-58147433 is found in opserver 2025-03-26 02:51:24,023 - DEBUG - Do not have enough data to verify VN in agent 2025-03-26 02:51:24,029 - DEBUG - VRF ids for VN ctest-vn-58147433: {} 2025-03-26 02:51:24,086 - DEBUG - Services list from nova: [, , ] 2025-03-26 02:51:25,174 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2956-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2956-1) 2025-03-26 02:51:26,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2956-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2956-1) 2025-03-26 02:51:26,268 - INFO - Waiting for VM ctest-TestBasicPolicy-23661701-34379915 to be up.. 2025-03-26 02:51:26,347 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-26 02:51:31,432 - DEBUG - VM is in ACTIVE state now 2025-03-26 02:51:31,432 - INFO - VM name : ctest-TestBasicPolicy-23661701-34379915 2025-03-26 02:51:31,505 - DEBUG - VM ctest-TestBasicPolicy-23661701-34379915 ID is 805932d4-f63d-4b2b-9b4b-c2a43e80bdcc 2025-03-26 02:51:31,525 - DEBUG - VM ctest-TestBasicPolicy-23661701-34379915 launched on Node cn-jenkins-deploy-platform-ansible-os-2956-1 2025-03-26 02:51:31,600 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/805932d4-f63d-4b2b-9b4b-c2a43e80bdcc 2025-03-26 02:51:31,608 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/6876b88b-ef7d-424e-8dab-251b1c36df52 2025-03-26 02:51:34,855 - 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 1003ms') 2025-03-26 02:51:34,855 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23661701-34379915 failed! 2025-03-26 02:51:34,909 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23661701:ctest-vn-92410152 is 129.166.31.129 and allocation pool is NOT set 2025-03-26 02:51:36,969 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.540 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.540/1.959/3.378/1.419 ms') 2025-03-26 02:51:36,969 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23661701-34379915 passed 2025-03-26 02:51:37,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 02:51:37,129 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23661701-34379915, IP 129.166.31.131, Port 22 2025-03-26 02:51:37,284 - DEBUG - VM ctest-TestBasicPolicy-23661701-34379915 is ready for SSH connections 2025-03-26 02:51:37,284 - INFO - Waiting for VM ctest-TestBasicPolicy-23661701-77707823 to be up.. 2025-03-26 02:51:37,356 - DEBUG - VM is in ACTIVE state now 2025-03-26 02:51:37,356 - INFO - VM name : ctest-TestBasicPolicy-23661701-77707823 2025-03-26 02:51:37,426 - DEBUG - VM ctest-TestBasicPolicy-23661701-77707823 ID is c7e22e37-9da3-4487-bfe6-7a2f070a7342 2025-03-26 02:51:37,426 - DEBUG - VM ctest-TestBasicPolicy-23661701-77707823 launched on Node cn-jenkins-deploy-platform-ansible-os-2956-1 2025-03-26 02:51:37,498 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/c7e22e37-9da3-4487-bfe6-7a2f070a7342 2025-03-26 02:51:37,506 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/5faa6789-f609-4ad8-bb3f-e85887e02efb 2025-03-26 02:51:38,740 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.571 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.571/1.671/2.771/1.100 ms') 2025-03-26 02:51:38,740 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23661701-77707823 passed 2025-03-26 02:51:38,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 02:51:38,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23661701-77707823, IP 220.159.108.131, Port 22 2025-03-26 02:51:39,075 - DEBUG - VM ctest-TestBasicPolicy-23661701-77707823 is ready for SSH connections 2025-03-26 02:51:39,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 02:51:39,076 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.159.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-03-26 02:51:39,076 - DEBUG - ping -s 56 -c 3 -W 1 220.159.108.131 2025-03-26 02:51:43,025 - DEBUG - PING 220.159.108.131 (220.159.108.131): 56 data bytes 64 bytes from 220.159.108.131: seq=0 ttl=63 time=3.773 ms 64 bytes from 220.159.108.131: seq=1 ttl=63 time=1.028 ms 64 bytes from 220.159.108.131: seq=2 ttl=63 time=0.965 ms --- 220.159.108.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.965/1.922/3.773 ms 2025-03-26 02:51:43,026 - INFO - Ping to IP 220.159.108.131 from VM ctest-TestBasicPolicy-23661701-34379915 passed 2025-03-26 02:51:43,209 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5793bb07-c302-46d0-8c13-7eca4ad3fa4b", "href": "http://10.0.0.17:8082/network-policy/5793bb07-c302-46d0-8c13-7eca4ad3fa4b"}} 2025-03-26 02:51:43,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 02:51:43,209 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.159.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-03-26 02:51:43,209 - DEBUG - ping -s 56 -c 3 -W 1 220.159.108.131 2025-03-26 02:51:46,418 - DEBUG - PING 220.159.108.131 (220.159.108.131): 56 data bytes 64 bytes from 220.159.108.131: seq=0 ttl=63 time=1.308 ms --- 220.159.108.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.308/1.308/1.308 ms 2025-03-26 02:51:46,418 - WARNING - Ping to IP 220.159.108.131 from VM ctest-TestBasicPolicy-23661701-34379915 failed 2025-03-26 02:51:46,418 - INFO - Deleting VM ctest-TestBasicPolicy-23661701-77707823 2025-03-26 02:51:46,483 - INFO - Deleting VM ctest-TestBasicPolicy-23661701-34379915 2025-03-26 02:51:46,859 - INFO - Deleted policy ctest-policy-allow-all-80695796 2025-03-26 02:51:46,859 - INFO - Deleting VN ctest-vn-58147433 2025-03-26 02:51:46,893 - DEBUG - VN 6c7286ba-98ea-48ce-b006-99522ac3d79d still in use: Unable to complete operation on network 6c7286ba-98ea-48ce-b006-99522ac3d79d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-82181321-35cf-4d5f-9a9c-a11e088ce4b0'] 2025-03-26 02:51:46,893 - WARNING - Deleting VN ctest-vn-58147433 failed..Will retry 2025-03-26 02:51:48,992 - DEBUG - Response for deleting network () 2025-03-26 02:51:48,992 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/b16aecf9-7093-4061-99c0-1b6f6c9034f0 2025-03-26 02:51:49,003 - DEBUG - Response Code: 404 2025-03-26 02:51:49,003 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-26 02:51:49,008 - DEBUG - Requesting: http://10.0.0.17:8082/domain/dbd48a4e-dfa8-486c-8753-2ed33ecb3bae 2025-03-26 02:51:49,063 - DEBUG - Requesting: http://10.0.0.17:8082/project/d1bd6dd0-ce82-4518-bbcb-f1331ab66167 2025-03-26 02:51:49,137 - INFO - Validated that VN ctest-vn-58147433 is not found in API Server 2025-03-26 02:51:49,147 - DEBUG - VN ctest-vn-58147433 is not present in Agent 10.0.0.17 2025-03-26 02:51:49,148 - INFO - Validated that VN ctest-vn-58147433 is not in any agent 2025-03-26 02:51:49,162 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58147433 info 2025-03-26 02:51:49,162 - INFO - Deleting VN ctest-vn-92410152 2025-03-26 02:51:49,260 - DEBUG - Response for deleting network () 2025-03-26 02:51:49,260 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f05b759d-b964-42bd-97f9-63bfd5f1cc8a 2025-03-26 02:51:49,268 - DEBUG - Response Code: 404 2025-03-26 02:51:49,268 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-26 02:51:49,273 - DEBUG - Requesting: http://10.0.0.17:8082/domain/dbd48a4e-dfa8-486c-8753-2ed33ecb3bae 2025-03-26 02:51:49,326 - DEBUG - Requesting: http://10.0.0.17:8082/project/d1bd6dd0-ce82-4518-bbcb-f1331ab66167 2025-03-26 02:51:49,393 - INFO - Validated that VN ctest-vn-92410152 is not found in API Server 2025-03-26 02:51:49,404 - DEBUG - VN ctest-vn-92410152 is not present in Agent 10.0.0.17 2025-03-26 02:51:49,404 - INFO - Validated that VN ctest-vn-92410152 is not in any agent 2025-03-26 02:51:49,420 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92410152 info 2025-03-26 02:51:49,678 - DEBUG - No XMPP flaps were noticed during the test 2025-03-26 02:51:49,678 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-03-26 02:51:49,678 - INFO - -------------------------------------------------------------------------------- 2025-03-26 02:51:50,357 - INFO - Deleted project: ctest-TestBasicPolicy-23661701, ID : d1bd6dd0-ce82-4518-bbcb-f1331ab66167