2025-06-21 03:55:06,781 - INFO - Domain Default found not creating 2025-06-21 03:55:06,936 - INFO - Project ctest-TestBasicPolicy-12391031 not found, creating it 2025-06-21 03:55:07,420 - INFO - Created Project:ctest-TestBasicPolicy-12391031, ID : 8b728d13-53cd-4105-9d9d-504265849db9 2025-06-21 03:55:09,048 - INFO - ================================================================================ 2025-06-21 03:55:09,049 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-21 03:55:09,049 - 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-06-21 03:55:09,304 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-21 03:55:09,304 - INFO - Initial checks done. Running the testcase now 2025-06-21 03:55:09,304 - INFO - 2025-06-21 03:55:09,896 - DEBUG - Response for create_network : {'network': {'id': '688628d3-a505-4b1e-be3a-71c65192df1b', 'name': 'ctest-vn-05835831', 'tenant_id': '8b728d1353cd41059d9d504265849db9', 'project_id': '8b728d1353cd41059d9d504265849db9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12391031', 'ctest-vn-05835831'], 'port_security_enabled': True, 'description': ''}} 2025-06-21 03:55:10,141 - DEBUG - Response for create_subnet : {'subnet': {'id': '32fcfd9d-3ba4-4164-aba6-2b3300dda938', 'name': '', 'tenant_id': '8b728d1353cd41059d9d504265849db9', 'network_id': '688628d3-a505-4b1e-be3a-71c65192df1b', 'ip_version': 4, 'cidr': '209.188.163.128/26', 'allocation_pools': [{'start': '209.188.163.130', 'end': '209.188.163.190'}], 'gateway_ip': '209.188.163.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.188.163.130', 'tags': [], 'project_id': '8b728d1353cd41059d9d504265849db9'}} 2025-06-21 03:55:10,160 - INFO - Created VN ctest-vn-05835831 2025-06-21 03:55:10,213 - DEBUG - VN ctest-vn-05835831 UUID is 688628d3-a505-4b1e-be3a-71c65192df1b 2025-06-21 03:55:10,512 - DEBUG - Response for create_network : {'network': {'id': '2cf846f6-4de5-438a-a90e-4bcec9a9d769', 'name': 'ctest-vn-44557656', 'tenant_id': '8b728d1353cd41059d9d504265849db9', 'project_id': '8b728d1353cd41059d9d504265849db9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12391031', 'ctest-vn-44557656'], 'port_security_enabled': True, 'description': ''}} 2025-06-21 03:55:10,677 - DEBUG - Response for create_subnet : {'subnet': {'id': '5fd508cf-0634-48e1-a594-123f7c8abda2', 'name': '', 'tenant_id': '8b728d1353cd41059d9d504265849db9', 'network_id': '2cf846f6-4de5-438a-a90e-4bcec9a9d769', 'ip_version': 4, 'cidr': '91.65.130.192/26', 'allocation_pools': [{'start': '91.65.130.194', 'end': '91.65.130.254'}], 'gateway_ip': '91.65.130.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.65.130.194', 'tags': [], 'project_id': '8b728d1353cd41059d9d504265849db9'}} 2025-06-21 03:55:10,697 - INFO - Created VN ctest-vn-44557656 2025-06-21 03:55:10,749 - DEBUG - VN ctest-vn-44557656 UUID is 2cf846f6-4de5-438a-a90e-4bcec9a9d769 2025-06-21 03:55:10,866 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12391031:ctest-vn-05835831, 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-12391031:ctest-vn-44557656, 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-06-21 03:55:11,197 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '688628d3-a505-4b1e-be3a-71c65192df1b', 'name': 'ctest-vn-05835831', 'tenant_id': '8b728d1353cd41059d9d504265849db9', 'project_id': '8b728d1353cd41059d9d504265849db9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['32fcfd9d-3ba4-4164-aba6-2b3300dda938'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12391031', 'ctest-vn-05835831'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12391031', 'ctest-policy-allow-all-84816480']], 'subnet_ipam': [{'subnet_cidr': '209.188.163.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-21 03:55:11,501 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2cf846f6-4de5-438a-a90e-4bcec9a9d769', 'name': 'ctest-vn-44557656', 'tenant_id': '8b728d1353cd41059d9d504265849db9', 'project_id': '8b728d1353cd41059d9d504265849db9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5fd508cf-0634-48e1-a594-123f7c8abda2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12391031', 'ctest-vn-44557656'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12391031', 'ctest-policy-allow-all-84816480']], 'subnet_ipam': [{'subnet_cidr': '91.65.130.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-21 03:55:11,645 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-21 03:55:11,991 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-21 03:55:12,032 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6e6555dd-305d-45e9-8e35-6945d84b5ac6 2025-06-21 03:55:12,051 - DEBUG - Requesting: http://10.0.0.254:8082/project/8b728d13-53cd-4105-9d9d-504265849db9 2025-06-21 03:55:12,131 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/688628d3-a505-4b1e-be3a-71c65192df1b 2025-06-21 03:55:12,143 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/688628d3-a505-4b1e-be3a-71c65192df1b 2025-06-21 03:55:12,153 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/afaeea44-fa60-4289-a96e-809a3725d652 2025-06-21 03:55:12,161 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/afaeea44-fa60-4289-a96e-809a3725d652 2025-06-21 03:55:12,168 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5afd9e4e-ad4e-4966-a952-4992110f9451 2025-06-21 03:55:12,174 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-21 03:55:12,174 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/688628d3-a505-4b1e-be3a-71c65192df1b 2025-06-21 03:55:12,183 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/afaeea44-fa60-4289-a96e-809a3725d652 2025-06-21 03:55:12,197 - INFO - Verified VN network id 8 for VN 688628d3-a505-4b1e-be3a-71c65192df1b 2025-06-21 03:55:12,198 - INFO - Verifications in API Server for VN ctest-vn-05835831 passed 2025-06-21 03:55:12,198 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/688628d3-a505-4b1e-be3a-71c65192df1b 2025-06-21 03:55:12,207 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/afaeea44-fa60-4289-a96e-809a3725d652 2025-06-21 03:55:12,214 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/afaeea44-fa60-4289-a96e-809a3725d652 2025-06-21 03:55:12,220 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5afd9e4e-ad4e-4966-a952-4992110f9451 2025-06-21 03:55:12,233 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12391031:ctest-vn-05835831', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12391031', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7531752316295531294', 'uuid-lslong': '13707393512441569051'}, 'enable': 'true', 'created': '2025-06-21T03:55:09', 'last-modified': '2025-06-21T03:55:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.075329'} 2025-06-21 03:55:12,239 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-21 03:55:12,239 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05835831 passed 2025-06-21 03:55:12,240 - DEBUG - ====Verifying policy data for ctest-vn-05835831 in API_Server ====== 2025-06-21 03:55:12,240 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-21 03:55:12,246 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6e6555dd-305d-45e9-8e35-6945d84b5ac6 2025-06-21 03:55:12,261 - DEBUG - Requesting: http://10.0.0.254:8082/project/8b728d13-53cd-4105-9d9d-504265849db9 2025-06-21 03:55:12,332 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/688628d3-a505-4b1e-be3a-71c65192df1b 2025-06-21 03:55:12,342 - DEBUG - ==>Verifying data for policy with id: 15c05fee-8417-4a75-8608-31fa770a6ab6, fqn: ['default-domain', 'ctest-TestBasicPolicy-12391031', 'ctest-policy-allow-all-84816480'] 2025-06-21 03:55:12,342 - INFO - VN ctest-vn-05835831 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-21 03:55:12,343 - DEBUG - Verifying the vn in opserver 2025-06-21 03:55:12,343 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12391031:ctest-vn-05835831 virtual network link through opserver 10.0.0.254 2025-06-21 03:55:12,343 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-21 03:55:12,675 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-21 03:55:12,735 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12391031:ctest-vn-05835831', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12391031:ctest-vn-05835831?flat'} 2025-06-21 03:55:12,735 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12391031:ctest-vn-05835831 is found in opserver 2025-06-21 03:55:12,747 - DEBUG - Do not have enough data to verify VN in agent 2025-06-21 03:55:12,752 - DEBUG - VRF ids for VN ctest-vn-05835831: {} 2025-06-21 03:55:12,752 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-21 03:55:12,758 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6e6555dd-305d-45e9-8e35-6945d84b5ac6 2025-06-21 03:55:12,771 - DEBUG - Requesting: http://10.0.0.254:8082/project/8b728d13-53cd-4105-9d9d-504265849db9 2025-06-21 03:55:12,847 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2cf846f6-4de5-438a-a90e-4bcec9a9d769 2025-06-21 03:55:12,860 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2cf846f6-4de5-438a-a90e-4bcec9a9d769 2025-06-21 03:55:12,871 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0909f1d6-6399-4e87-8a2c-1f1746e8539d 2025-06-21 03:55:12,880 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0909f1d6-6399-4e87-8a2c-1f1746e8539d 2025-06-21 03:55:12,887 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/813a37b1-12b7-43b6-89e0-6b59501911b4 2025-06-21 03:55:12,894 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-21 03:55:12,894 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2cf846f6-4de5-438a-a90e-4bcec9a9d769 2025-06-21 03:55:12,903 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0909f1d6-6399-4e87-8a2c-1f1746e8539d 2025-06-21 03:55:12,917 - INFO - Verified VN network id 9 for VN 2cf846f6-4de5-438a-a90e-4bcec9a9d769 2025-06-21 03:55:12,917 - INFO - Verifications in API Server for VN ctest-vn-44557656 passed 2025-06-21 03:55:12,917 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2cf846f6-4de5-438a-a90e-4bcec9a9d769 2025-06-21 03:55:12,927 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0909f1d6-6399-4e87-8a2c-1f1746e8539d 2025-06-21 03:55:12,933 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0909f1d6-6399-4e87-8a2c-1f1746e8539d 2025-06-21 03:55:12,940 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/813a37b1-12b7-43b6-89e0-6b59501911b4 2025-06-21 03:55:12,952 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12391031:ctest-vn-44557656', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12391031', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3240417955575841674', 'uuid-lslong': '12181757393602467689'}, 'enable': 'true', 'created': '2025-06-21T03:55:10', 'last-modified': '2025-06-21T03:55:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.532897'} 2025-06-21 03:55:12,958 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-21 03:55:12,958 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44557656 passed 2025-06-21 03:55:12,959 - DEBUG - ====Verifying policy data for ctest-vn-44557656 in API_Server ====== 2025-06-21 03:55:12,959 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-21 03:55:12,964 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6e6555dd-305d-45e9-8e35-6945d84b5ac6 2025-06-21 03:55:12,976 - DEBUG - Requesting: http://10.0.0.254:8082/project/8b728d13-53cd-4105-9d9d-504265849db9 2025-06-21 03:55:13,052 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2cf846f6-4de5-438a-a90e-4bcec9a9d769 2025-06-21 03:55:13,065 - DEBUG - ==>Verifying data for policy with id: 15c05fee-8417-4a75-8608-31fa770a6ab6, fqn: ['default-domain', 'ctest-TestBasicPolicy-12391031', 'ctest-policy-allow-all-84816480'] 2025-06-21 03:55:13,065 - INFO - VN ctest-vn-44557656 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-21 03:55:13,066 - DEBUG - Verifying the vn in opserver 2025-06-21 03:55:13,066 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12391031:ctest-vn-44557656 virtual network link through opserver 10.0.0.254 2025-06-21 03:55:13,066 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-21 03:55:13,080 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12391031:ctest-vn-44557656', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12391031:ctest-vn-44557656?flat'} 2025-06-21 03:55:13,080 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12391031:ctest-vn-44557656 is found in opserver 2025-06-21 03:55:13,094 - DEBUG - Do not have enough data to verify VN in agent 2025-06-21 03:55:13,101 - DEBUG - VRF ids for VN ctest-vn-44557656: {} 2025-06-21 03:55:13,161 - DEBUG - Services list from nova: [, , ] 2025-06-21 03:55:14,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3509-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3509-1) 2025-06-21 03:55:15,646 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3509-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3509-1) 2025-06-21 03:55:15,646 - INFO - Waiting for VM ctest-TestBasicPolicy-12391031-29646404 to be up.. 2025-06-21 03:55:15,746 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-21 03:55:20,834 - DEBUG - VM is in ACTIVE state now 2025-06-21 03:55:20,834 - INFO - VM name : ctest-TestBasicPolicy-12391031-29646404 2025-06-21 03:55:20,927 - DEBUG - VM ctest-TestBasicPolicy-12391031-29646404 ID is c6723af4-6999-4d54-b8be-41ce92f494cd 2025-06-21 03:55:20,947 - DEBUG - VM ctest-TestBasicPolicy-12391031-29646404 launched on Node cn-jenkins-deploy-platform-ansible-os-3509-1 2025-06-21 03:55:21,110 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c6723af4-6999-4d54-b8be-41ce92f494cd 2025-06-21 03:55:21,145 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/146047ea-1a20-468a-bb52-6de0684fb178 2025-06-21 03:55:24,495 - 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 1018ms') 2025-06-21 03:55:24,495 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12391031-29646404 failed! 2025-06-21 03:55:24,553 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-12391031:ctest-vn-05835831 is 209.188.163.129 and allocation pool is NOT set 2025-06-21 03:55:26,611 - 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=5.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.76 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.758/3.443/5.128/1.685 ms') 2025-06-21 03:55:26,611 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12391031-29646404 passed 2025-06-21 03:55:26,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 03:55:26,769 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12391031-29646404, IP 209.188.163.131, Port 22 2025-06-21 03:55:26,935 - DEBUG - VM ctest-TestBasicPolicy-12391031-29646404 is ready for SSH connections 2025-06-21 03:55:26,935 - INFO - Waiting for VM ctest-TestBasicPolicy-12391031-02041565 to be up.. 2025-06-21 03:55:27,033 - DEBUG - VM is in ACTIVE state now 2025-06-21 03:55:27,033 - INFO - VM name : ctest-TestBasicPolicy-12391031-02041565 2025-06-21 03:55:27,127 - DEBUG - VM ctest-TestBasicPolicy-12391031-02041565 ID is 1926eeb5-cb92-4351-9c5a-255907b40f02 2025-06-21 03:55:27,127 - DEBUG - VM ctest-TestBasicPolicy-12391031-02041565 launched on Node cn-jenkins-deploy-platform-ansible-os-3509-1 2025-06-21 03:55:27,210 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1926eeb5-cb92-4351-9c5a-255907b40f02 2025-06-21 03:55:27,220 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0cedd993-5d32-49b5-b31a-f2068aeac224 2025-06-21 03:55:28,484 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.91 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.913/2.443/2.973/0.530 ms') 2025-06-21 03:55:28,484 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-12391031-02041565 passed 2025-06-21 03:55:28,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 03:55:28,637 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12391031-02041565, IP 91.65.130.195, Port 22 2025-06-21 03:55:28,797 - DEBUG - VM ctest-TestBasicPolicy-12391031-02041565 is ready for SSH connections 2025-06-21 03:55:28,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 03:55:28,797 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.65.130.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-21 03:55:28,798 - DEBUG - ping -s 56 -c 3 -W 1 91.65.130.195 2025-06-21 03:55:32,877 - DEBUG - PING 91.65.130.195 (91.65.130.195): 56 data bytes 64 bytes from 91.65.130.195: seq=0 ttl=63 time=3.407 ms 64 bytes from 91.65.130.195: seq=1 ttl=63 time=0.786 ms 64 bytes from 91.65.130.195: seq=2 ttl=63 time=1.058 ms --- 91.65.130.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.786/1.750/3.407 ms 2025-06-21 03:55:32,878 - INFO - Ping to IP 91.65.130.195 from VM ctest-TestBasicPolicy-12391031-29646404 passed 2025-06-21 03:55:33,061 - DEBUG - Policy Update Response {"network-policy": {"uuid": "15c05fee-8417-4a75-8608-31fa770a6ab6", "href": "http://10.0.0.254:8082/network-policy/15c05fee-8417-4a75-8608-31fa770a6ab6"}} 2025-06-21 03:55:33,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 03:55:33,061 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.65.130.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-21 03:55:33,061 - DEBUG - ping -s 56 -c 3 -W 1 91.65.130.195 2025-06-21 03:55:36,284 - DEBUG - PING 91.65.130.195 (91.65.130.195): 56 data bytes 64 bytes from 91.65.130.195: seq=0 ttl=63 time=1.543 ms --- 91.65.130.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.543/1.543/1.543 ms 2025-06-21 03:55:36,285 - WARNING - Ping to IP 91.65.130.195 from VM ctest-TestBasicPolicy-12391031-29646404 failed 2025-06-21 03:55:36,285 - INFO - Deleting VM ctest-TestBasicPolicy-12391031-02041565 2025-06-21 03:55:36,354 - INFO - Deleting VM ctest-TestBasicPolicy-12391031-29646404 2025-06-21 03:55:36,749 - INFO - Deleted policy ctest-policy-allow-all-84816480 2025-06-21 03:55:36,749 - INFO - Deleting VN ctest-vn-44557656 2025-06-21 03:55:36,793 - DEBUG - VN 2cf846f6-4de5-438a-a90e-4bcec9a9d769 still in use: Unable to complete operation on network 2cf846f6-4de5-438a-a90e-4bcec9a9d769. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-da071cdb-cec7-47dc-8a2b-ce13106071bc'] 2025-06-21 03:55:36,793 - WARNING - Deleting VN ctest-vn-44557656 failed..Will retry 2025-06-21 03:55:38,901 - DEBUG - Response for deleting network () 2025-06-21 03:55:38,901 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0909f1d6-6399-4e87-8a2c-1f1746e8539d 2025-06-21 03:55:38,915 - DEBUG - Response Code: 404 2025-06-21 03:55:38,915 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-21 03:55:38,921 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6e6555dd-305d-45e9-8e35-6945d84b5ac6 2025-06-21 03:55:38,983 - DEBUG - Requesting: http://10.0.0.254:8082/project/8b728d13-53cd-4105-9d9d-504265849db9 2025-06-21 03:55:39,063 - INFO - Validated that VN ctest-vn-44557656 is not found in API Server 2025-06-21 03:55:39,075 - DEBUG - VN ctest-vn-44557656 is not present in Agent 10.0.0.254 2025-06-21 03:55:39,075 - INFO - Validated that VN ctest-vn-44557656 is not in any agent 2025-06-21 03:55:39,094 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44557656 info 2025-06-21 03:55:39,094 - INFO - Deleting VN ctest-vn-05835831 2025-06-21 03:55:39,216 - DEBUG - Response for deleting network () 2025-06-21 03:55:39,216 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/afaeea44-fa60-4289-a96e-809a3725d652 2025-06-21 03:55:39,226 - DEBUG - Response Code: 404 2025-06-21 03:55:39,226 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-21 03:55:39,232 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6e6555dd-305d-45e9-8e35-6945d84b5ac6 2025-06-21 03:55:39,291 - DEBUG - Requesting: http://10.0.0.254:8082/project/8b728d13-53cd-4105-9d9d-504265849db9 2025-06-21 03:55:39,369 - INFO - Validated that VN ctest-vn-05835831 is not found in API Server 2025-06-21 03:55:39,380 - DEBUG - VN ctest-vn-05835831 is not present in Agent 10.0.0.254 2025-06-21 03:55:39,380 - INFO - Validated that VN ctest-vn-05835831 is not in any agent 2025-06-21 03:55:39,396 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05835831 info 2025-06-21 03:55:39,651 - DEBUG - No XMPP flaps were noticed during the test 2025-06-21 03:55:39,651 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-21 03:55:39,651 - INFO - -------------------------------------------------------------------------------- 2025-06-21 03:55:40,369 - INFO - Deleted project: ctest-TestBasicPolicy-12391031, ID : 8b728d13-53cd-4105-9d9d-504265849db9