2025-08-20 13:39:09,320 - INFO - Domain Default found not creating 2025-08-20 13:39:09,443 - INFO - Project ctest-TestBasicPolicy-74349332 not found, creating it 2025-08-20 13:39:09,865 - INFO - Created Project:ctest-TestBasicPolicy-74349332, ID : 6d4579bf-46d1-40e0-ab0a-7510f28297db 2025-08-20 13:39:11,265 - INFO - ================================================================================ 2025-08-20 13:39:11,265 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-20 13:39:11,265 - 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-08-20 13:39:11,518 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-08-20 13:39:11,518 - INFO - Initial checks done. Running the testcase now 2025-08-20 13:39:11,518 - INFO - 2025-08-20 13:39:12,040 - DEBUG - Response for create_network : {'network': {'id': '83adfdf5-d646-42fb-b6d3-1a2359e49246', 'name': 'ctest-vn-95990028', 'tenant_id': '6d4579bf46d140e0ab0a7510f28297db', 'project_id': '6d4579bf46d140e0ab0a7510f28297db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74349332', 'ctest-vn-95990028'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:39:12,224 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc203b06-ce81-441c-963d-ea926c701d19', 'name': '', 'tenant_id': '6d4579bf46d140e0ab0a7510f28297db', 'network_id': '83adfdf5-d646-42fb-b6d3-1a2359e49246', 'ip_version': 4, 'cidr': '84.123.101.128/26', 'allocation_pools': [{'start': '84.123.101.130', 'end': '84.123.101.190'}], 'gateway_ip': '84.123.101.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.123.101.130', 'tags': [], 'project_id': '6d4579bf46d140e0ab0a7510f28297db'}} 2025-08-20 13:39:12,239 - INFO - Created VN ctest-vn-95990028 2025-08-20 13:39:12,289 - DEBUG - VN ctest-vn-95990028 UUID is 83adfdf5-d646-42fb-b6d3-1a2359e49246 2025-08-20 13:39:12,593 - DEBUG - Response for create_network : {'network': {'id': '4b4efef9-b6d3-4519-aeb8-bea34712959f', 'name': 'ctest-vn-75273633', 'tenant_id': '6d4579bf46d140e0ab0a7510f28297db', 'project_id': '6d4579bf46d140e0ab0a7510f28297db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74349332', 'ctest-vn-75273633'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:39:12,742 - DEBUG - Response for create_subnet : {'subnet': {'id': '1bd04b3e-3433-4333-a3b5-6a107359a048', 'name': '', 'tenant_id': '6d4579bf46d140e0ab0a7510f28297db', 'network_id': '4b4efef9-b6d3-4519-aeb8-bea34712959f', 'ip_version': 4, 'cidr': '32.138.141.128/26', 'allocation_pools': [{'start': '32.138.141.130', 'end': '32.138.141.190'}], 'gateway_ip': '32.138.141.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.138.141.130', 'tags': [], 'project_id': '6d4579bf46d140e0ab0a7510f28297db'}} 2025-08-20 13:39:12,757 - INFO - Created VN ctest-vn-75273633 2025-08-20 13:39:12,813 - DEBUG - VN ctest-vn-75273633 UUID is 4b4efef9-b6d3-4519-aeb8-bea34712959f 2025-08-20 13:39:12,957 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74349332:ctest-vn-95990028, 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-74349332:ctest-vn-75273633, 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-08-20 13:39:13,274 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83adfdf5-d646-42fb-b6d3-1a2359e49246', 'name': 'ctest-vn-95990028', 'tenant_id': '6d4579bf46d140e0ab0a7510f28297db', 'project_id': '6d4579bf46d140e0ab0a7510f28297db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc203b06-ce81-441c-963d-ea926c701d19'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74349332', 'ctest-vn-95990028'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74349332', 'ctest-policy-allow-all-81671966']], 'subnet_ipam': [{'subnet_cidr': '84.123.101.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:39:13,542 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b4efef9-b6d3-4519-aeb8-bea34712959f', 'name': 'ctest-vn-75273633', 'tenant_id': '6d4579bf46d140e0ab0a7510f28297db', 'project_id': '6d4579bf46d140e0ab0a7510f28297db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1bd04b3e-3433-4333-a3b5-6a107359a048'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74349332', 'ctest-vn-75273633'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74349332', 'ctest-policy-allow-all-81671966']], 'subnet_ipam': [{'subnet_cidr': '32.138.141.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:39:13,685 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-20 13:39:13,980 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-20 13:39:14,004 - DEBUG - Requesting: http://10.0.0.41:8082/domain/b849a932-0c4e-4974-a36d-8a684b8ca868 2025-08-20 13:39:14,016 - DEBUG - Requesting: http://10.0.0.41:8082/project/6d4579bf-46d1-40e0-ab0a-7510f28297db 2025-08-20 13:39:14,093 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/83adfdf5-d646-42fb-b6d3-1a2359e49246 2025-08-20 13:39:14,103 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/83adfdf5-d646-42fb-b6d3-1a2359e49246 2025-08-20 13:39:14,111 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c2503607-a98b-41cf-913a-464cfa8de33f 2025-08-20 13:39:14,118 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c2503607-a98b-41cf-913a-464cfa8de33f 2025-08-20 13:39:14,123 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/3664037e-039c-4805-9d6e-66b62fcabcda 2025-08-20 13:39:14,129 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 13:39:14,129 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/83adfdf5-d646-42fb-b6d3-1a2359e49246 2025-08-20 13:39:14,137 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c2503607-a98b-41cf-913a-464cfa8de33f 2025-08-20 13:39:14,148 - INFO - Verified VN network id 12 for VN 83adfdf5-d646-42fb-b6d3-1a2359e49246 2025-08-20 13:39:14,149 - INFO - Verifications in API Server for VN ctest-vn-95990028 passed 2025-08-20 13:39:14,149 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/83adfdf5-d646-42fb-b6d3-1a2359e49246 2025-08-20 13:39:14,157 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c2503607-a98b-41cf-913a-464cfa8de33f 2025-08-20 13:39:14,163 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c2503607-a98b-41cf-913a-464cfa8de33f 2025-08-20 13:39:14,169 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/3664037e-039c-4805-9d6e-66b62fcabcda 2025-08-20 13:39:14,179 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74349332:ctest-vn-95990028', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74349332', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9488519222243246843', 'uuid-lslong': '13173902074123162182'}, 'enable': 'true', 'created': '2025-08-20T13:39:12', 'last-modified': '2025-08-20T13:39:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.934276'} 2025-08-20 13:39:14,185 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 13:39:14,185 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95990028 passed 2025-08-20 13:39:14,185 - DEBUG - ====Verifying policy data for ctest-vn-95990028 in API_Server ====== 2025-08-20 13:39:14,185 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-20 13:39:14,190 - DEBUG - Requesting: http://10.0.0.41:8082/domain/b849a932-0c4e-4974-a36d-8a684b8ca868 2025-08-20 13:39:14,201 - DEBUG - Requesting: http://10.0.0.41:8082/project/6d4579bf-46d1-40e0-ab0a-7510f28297db 2025-08-20 13:39:14,277 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/83adfdf5-d646-42fb-b6d3-1a2359e49246 2025-08-20 13:39:14,286 - DEBUG - ==>Verifying data for policy with id: 36d68252-a9c5-4296-be7a-9170ceaec448, fqn: ['default-domain', 'ctest-TestBasicPolicy-74349332', 'ctest-policy-allow-all-81671966'] 2025-08-20 13:39:14,286 - INFO - VN ctest-vn-95990028 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 13:39:14,286 - DEBUG - Verifying the vn in opserver 2025-08-20 13:39:14,286 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74349332:ctest-vn-95990028 virtual network link through opserver 10.0.0.41 2025-08-20 13:39:14,287 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-08-20 13:39:14,575 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-08-20 13:39:14,626 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74349332:ctest-vn-95990028', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74349332:ctest-vn-95990028?flat'} 2025-08-20 13:39:14,626 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74349332:ctest-vn-95990028 is found in opserver 2025-08-20 13:39:14,636 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 13:39:14,641 - DEBUG - VRF ids for VN ctest-vn-95990028: {} 2025-08-20 13:39:14,641 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-20 13:39:14,646 - DEBUG - Requesting: http://10.0.0.41:8082/domain/b849a932-0c4e-4974-a36d-8a684b8ca868 2025-08-20 13:39:14,657 - DEBUG - Requesting: http://10.0.0.41:8082/project/6d4579bf-46d1-40e0-ab0a-7510f28297db 2025-08-20 13:39:14,726 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4b4efef9-b6d3-4519-aeb8-bea34712959f 2025-08-20 13:39:14,737 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4b4efef9-b6d3-4519-aeb8-bea34712959f 2025-08-20 13:39:14,747 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d0ebea3b-1b40-40ee-946a-2a1b185c1214 2025-08-20 13:39:14,754 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d0ebea3b-1b40-40ee-946a-2a1b185c1214 2025-08-20 13:39:14,761 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/991245e1-728c-46f9-98f8-25590d850023 2025-08-20 13:39:14,767 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 13:39:14,767 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4b4efef9-b6d3-4519-aeb8-bea34712959f 2025-08-20 13:39:14,775 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d0ebea3b-1b40-40ee-946a-2a1b185c1214 2025-08-20 13:39:14,787 - INFO - Verified VN network id 13 for VN 4b4efef9-b6d3-4519-aeb8-bea34712959f 2025-08-20 13:39:14,788 - INFO - Verifications in API Server for VN ctest-vn-75273633 passed 2025-08-20 13:39:14,788 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4b4efef9-b6d3-4519-aeb8-bea34712959f 2025-08-20 13:39:14,796 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d0ebea3b-1b40-40ee-946a-2a1b185c1214 2025-08-20 13:39:14,802 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d0ebea3b-1b40-40ee-946a-2a1b185c1214 2025-08-20 13:39:14,808 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/991245e1-728c-46f9-98f8-25590d850023 2025-08-20 13:39:14,819 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74349332:ctest-vn-75273633', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74349332', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5426554949495637273', 'uuid-lslong': '12590022366795568543'}, 'enable': 'true', 'created': '2025-08-20T13:39:12', 'last-modified': '2025-08-20T13:39:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.348109'} 2025-08-20 13:39:14,825 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 13:39:14,825 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75273633 passed 2025-08-20 13:39:14,826 - DEBUG - ====Verifying policy data for ctest-vn-75273633 in API_Server ====== 2025-08-20 13:39:14,826 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-20 13:39:14,830 - DEBUG - Requesting: http://10.0.0.41:8082/domain/b849a932-0c4e-4974-a36d-8a684b8ca868 2025-08-20 13:39:14,841 - DEBUG - Requesting: http://10.0.0.41:8082/project/6d4579bf-46d1-40e0-ab0a-7510f28297db 2025-08-20 13:39:14,910 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4b4efef9-b6d3-4519-aeb8-bea34712959f 2025-08-20 13:39:14,919 - DEBUG - ==>Verifying data for policy with id: 36d68252-a9c5-4296-be7a-9170ceaec448, fqn: ['default-domain', 'ctest-TestBasicPolicy-74349332', 'ctest-policy-allow-all-81671966'] 2025-08-20 13:39:14,919 - INFO - VN ctest-vn-75273633 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 13:39:14,919 - DEBUG - Verifying the vn in opserver 2025-08-20 13:39:14,919 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74349332:ctest-vn-75273633 virtual network link through opserver 10.0.0.41 2025-08-20 13:39:14,919 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-08-20 13:39:14,928 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74349332:ctest-vn-75273633', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74349332:ctest-vn-75273633?flat'} 2025-08-20 13:39:14,928 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74349332:ctest-vn-75273633 is found in opserver 2025-08-20 13:39:14,937 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 13:39:14,942 - DEBUG - VRF ids for VN ctest-vn-75273633: {} 2025-08-20 13:39:14,991 - DEBUG - Services list from nova: [, , ] 2025-08-20 13:39:15,937 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3896-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3896-1) 2025-08-20 13:39:16,982 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3896-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3896-1) 2025-08-20 13:39:16,983 - INFO - Waiting for VM ctest-TestBasicPolicy-74349332-04120764 to be up.. 2025-08-20 13:39:17,053 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 13:39:22,123 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:39:22,123 - INFO - VM name : ctest-TestBasicPolicy-74349332-04120764 2025-08-20 13:39:22,188 - DEBUG - VM ctest-TestBasicPolicy-74349332-04120764 ID is dd7196ad-8486-48e7-8849-765b7bbbdfd7 2025-08-20 13:39:22,208 - DEBUG - VM ctest-TestBasicPolicy-74349332-04120764 launched on Node cn-jenkins-deploy-platform-ansible-os-3896-1 2025-08-20 13:39:22,273 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/dd7196ad-8486-48e7-8849-765b7bbbdfd7 2025-08-20 13:39:22,282 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/0c6b3375-9158-4cc0-9c4d-c91f4067496f 2025-08-20 13:39:25,538 - 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 1023ms') 2025-08-20 13:39:25,538 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74349332-04120764 failed! 2025-08-20 13:39:25,597 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74349332:ctest-vn-95990028 is 84.123.101.129 and allocation pool is NOT set 2025-08-20 13:39:27,655 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/1.718/2.974/1.256 ms') 2025-08-20 13:39:27,655 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74349332-04120764 passed 2025-08-20 13:39:27,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:39:27,813 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74349332-04120764, IP 84.123.101.131, Port 22 2025-08-20 13:39:27,968 - DEBUG - VM ctest-TestBasicPolicy-74349332-04120764 is ready for SSH connections 2025-08-20 13:39:27,969 - INFO - Waiting for VM ctest-TestBasicPolicy-74349332-08918900 to be up.. 2025-08-20 13:39:28,034 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:39:28,034 - INFO - VM name : ctest-TestBasicPolicy-74349332-08918900 2025-08-20 13:39:28,096 - DEBUG - VM ctest-TestBasicPolicy-74349332-08918900 ID is 4b133661-a724-437d-adaa-f186aa96d375 2025-08-20 13:39:28,096 - DEBUG - VM ctest-TestBasicPolicy-74349332-08918900 launched on Node cn-jenkins-deploy-platform-ansible-os-3896-1 2025-08-20 13:39:28,162 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/4b133661-a724-437d-adaa-f186aa96d375 2025-08-20 13:39:28,170 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/0f1856ab-c092-452f-9faa-f2a2071e5f93 2025-08-20 13:39:29,407 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.71 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.709/3.240/4.772/1.531 ms') 2025-08-20 13:39:29,407 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74349332-08918900 passed 2025-08-20 13:39:29,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:39:29,557 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74349332-08918900, IP 32.138.141.131, Port 22 2025-08-20 13:39:29,712 - DEBUG - VM ctest-TestBasicPolicy-74349332-08918900 is ready for SSH connections 2025-08-20 13:39:29,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:39:29,712 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.138.141.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-20 13:39:29,713 - DEBUG - ping -s 56 -c 3 -W 1 32.138.141.131 2025-08-20 13:39:33,368 - DEBUG - PING 32.138.141.131 (32.138.141.131): 56 data bytes 64 bytes from 32.138.141.131: seq=0 ttl=63 time=3.150 ms 64 bytes from 32.138.141.131: seq=1 ttl=63 time=0.689 ms 64 bytes from 32.138.141.131: seq=2 ttl=63 time=0.664 ms --- 32.138.141.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.664/1.501/3.150 ms 2025-08-20 13:39:33,368 - INFO - Ping to IP 32.138.141.131 from VM ctest-TestBasicPolicy-74349332-04120764 passed 2025-08-20 13:39:33,537 - DEBUG - Policy Update Response {"network-policy": {"uuid": "36d68252-a9c5-4296-be7a-9170ceaec448", "href": "http://10.0.0.41:8082/network-policy/36d68252-a9c5-4296-be7a-9170ceaec448"}} 2025-08-20 13:39:33,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:39:33,537 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.138.141.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-20 13:39:33,537 - DEBUG - ping -s 56 -c 3 -W 1 32.138.141.131 2025-08-20 13:39:36,732 - DEBUG - PING 32.138.141.131 (32.138.141.131): 56 data bytes 64 bytes from 32.138.141.131: seq=0 ttl=63 time=1.304 ms --- 32.138.141.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.304/1.304/1.304 ms 2025-08-20 13:39:36,732 - WARNING - Ping to IP 32.138.141.131 from VM ctest-TestBasicPolicy-74349332-04120764 failed 2025-08-20 13:39:36,733 - INFO - Deleting VM ctest-TestBasicPolicy-74349332-08918900 2025-08-20 13:39:36,815 - INFO - Deleting VM ctest-TestBasicPolicy-74349332-04120764 2025-08-20 13:39:37,229 - INFO - Deleted policy ctest-policy-allow-all-81671966 2025-08-20 13:39:37,229 - INFO - Deleting VN ctest-vn-75273633 2025-08-20 13:39:37,261 - DEBUG - VN 4b4efef9-b6d3-4519-aeb8-bea34712959f still in use: Unable to complete operation on network 4b4efef9-b6d3-4519-aeb8-bea34712959f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0a896600-17d7-4d2d-90bf-d98c23516ba1'] 2025-08-20 13:39:37,261 - WARNING - Deleting VN ctest-vn-75273633 failed..Will retry 2025-08-20 13:39:39,350 - DEBUG - Response for deleting network () 2025-08-20 13:39:39,350 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/d0ebea3b-1b40-40ee-946a-2a1b185c1214 2025-08-20 13:39:39,357 - DEBUG - Response Code: 404 2025-08-20 13:39:39,357 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-20 13:39:39,362 - DEBUG - Requesting: http://10.0.0.41:8082/domain/b849a932-0c4e-4974-a36d-8a684b8ca868 2025-08-20 13:39:39,414 - DEBUG - Requesting: http://10.0.0.41:8082/project/6d4579bf-46d1-40e0-ab0a-7510f28297db 2025-08-20 13:39:39,486 - INFO - Validated that VN ctest-vn-75273633 is not found in API Server 2025-08-20 13:39:39,496 - DEBUG - VN ctest-vn-75273633 is not present in Agent 10.0.0.41 2025-08-20 13:39:39,496 - INFO - Validated that VN ctest-vn-75273633 is not in any agent 2025-08-20 13:39:39,509 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75273633 info 2025-08-20 13:39:39,510 - INFO - Deleting VN ctest-vn-95990028 2025-08-20 13:39:39,596 - DEBUG - Response for deleting network () 2025-08-20 13:39:39,596 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c2503607-a98b-41cf-913a-464cfa8de33f 2025-08-20 13:39:39,604 - DEBUG - Response Code: 404 2025-08-20 13:39:39,604 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-20 13:39:39,608 - DEBUG - Requesting: http://10.0.0.41:8082/domain/b849a932-0c4e-4974-a36d-8a684b8ca868 2025-08-20 13:39:39,666 - DEBUG - Requesting: http://10.0.0.41:8082/project/6d4579bf-46d1-40e0-ab0a-7510f28297db 2025-08-20 13:39:39,739 - INFO - Validated that VN ctest-vn-95990028 is not found in API Server 2025-08-20 13:39:39,750 - DEBUG - VN ctest-vn-95990028 is not present in Agent 10.0.0.41 2025-08-20 13:39:39,750 - INFO - Validated that VN ctest-vn-95990028 is not in any agent 2025-08-20 13:39:39,764 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95990028 info 2025-08-20 13:39:40,014 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 13:39:40,014 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-20 13:39:40,014 - INFO - -------------------------------------------------------------------------------- 2025-08-20 13:39:40,658 - INFO - Deleted project: ctest-TestBasicPolicy-74349332, ID : 6d4579bf-46d1-40e0-ab0a-7510f28297db