2025-10-02 01:56:15,286 - INFO - Domain Default found not creating 2025-10-02 01:56:15,418 - INFO - Project ctest-TestBasicPolicy-91414780 not found, creating it 2025-10-02 01:56:15,859 - INFO - Created Project:ctest-TestBasicPolicy-91414780, ID : ad305ebe-3c2a-4542-b8e4-1abea3ffa585 2025-10-02 01:56:17,216 - INFO - ================================================================================ 2025-10-02 01:56:17,216 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-02 01:56:17,216 - 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-10-02 01:56:17,471 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.18': '0'}} with 2025-10-02 01:56:17,471 - INFO - Initial checks done. Running the testcase now 2025-10-02 01:56:17,471 - INFO - 2025-10-02 01:56:18,326 - DEBUG - Response for create_network : {'network': {'id': '4f09c13f-da67-46c6-a597-e2a553ff0dd0', 'name': 'ctest-vn-39524694', 'tenant_id': 'ad305ebe3c2a4542b8e41abea3ffa585', 'project_id': 'ad305ebe3c2a4542b8e41abea3ffa585', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91414780', 'ctest-vn-39524694'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:56:18,508 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c08a31b7-ce48-49ef-bbaf-94d12c58fc70', 'name': '', 'tenant_id': 'ad305ebe3c2a4542b8e41abea3ffa585', 'network_id': '4f09c13f-da67-46c6-a597-e2a553ff0dd0', 'ip_version': 4, 'cidr': '181.5.216.64/26', 'allocation_pools': [{'start': '181.5.216.66', 'end': '181.5.216.126'}], 'gateway_ip': '181.5.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.5.216.66', 'tags': [], 'project_id': 'ad305ebe3c2a4542b8e41abea3ffa585'}} 2025-10-02 01:56:18,530 - INFO - Created VN ctest-vn-39524694 2025-10-02 01:56:18,582 - DEBUG - VN ctest-vn-39524694 UUID is 4f09c13f-da67-46c6-a597-e2a553ff0dd0 2025-10-02 01:56:18,866 - DEBUG - Response for create_network : {'network': {'id': '61c52c41-a07f-447c-ba0c-b994cb6c789d', 'name': 'ctest-vn-94643974', 'tenant_id': 'ad305ebe3c2a4542b8e41abea3ffa585', 'project_id': 'ad305ebe3c2a4542b8e41abea3ffa585', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91414780', 'ctest-vn-94643974'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:56:19,076 - DEBUG - Response for create_subnet : {'subnet': {'id': '6202cfaa-ae9f-4bf6-9ffe-1dc0fb74a4aa', 'name': '', 'tenant_id': 'ad305ebe3c2a4542b8e41abea3ffa585', 'network_id': '61c52c41-a07f-447c-ba0c-b994cb6c789d', 'ip_version': 4, 'cidr': '182.105.203.192/26', 'allocation_pools': [{'start': '182.105.203.194', 'end': '182.105.203.254'}], 'gateway_ip': '182.105.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.105.203.194', 'tags': [], 'project_id': 'ad305ebe3c2a4542b8e41abea3ffa585'}} 2025-10-02 01:56:19,093 - INFO - Created VN ctest-vn-94643974 2025-10-02 01:56:19,146 - DEBUG - VN ctest-vn-94643974 UUID is 61c52c41-a07f-447c-ba0c-b994cb6c789d 2025-10-02 01:56:19,294 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91414780:ctest-vn-39524694, 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-91414780:ctest-vn-94643974, 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-10-02 01:56:19,577 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f09c13f-da67-46c6-a597-e2a553ff0dd0', 'name': 'ctest-vn-39524694', 'tenant_id': 'ad305ebe3c2a4542b8e41abea3ffa585', 'project_id': 'ad305ebe3c2a4542b8e41abea3ffa585', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c08a31b7-ce48-49ef-bbaf-94d12c58fc70'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91414780', 'ctest-vn-39524694'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91414780', 'ctest-policy-allow-all-14787509']], 'subnet_ipam': [{'subnet_cidr': '181.5.216.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:56:19,790 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '61c52c41-a07f-447c-ba0c-b994cb6c789d', 'name': 'ctest-vn-94643974', 'tenant_id': 'ad305ebe3c2a4542b8e41abea3ffa585', 'project_id': 'ad305ebe3c2a4542b8e41abea3ffa585', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6202cfaa-ae9f-4bf6-9ffe-1dc0fb74a4aa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91414780', 'ctest-vn-94643974'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91414780', 'ctest-policy-allow-all-14787509']], 'subnet_ipam': [{'subnet_cidr': '182.105.203.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:56:19,934 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-02 01:56:20,232 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-02 01:56:20,256 - DEBUG - Requesting: http://10.0.0.131:8082/domain/beb5e39c-6386-493b-8558-63a22034139b 2025-10-02 01:56:20,266 - DEBUG - Requesting: http://10.0.0.131:8082/project/ad305ebe-3c2a-4542-b8e4-1abea3ffa585 2025-10-02 01:56:20,336 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4f09c13f-da67-46c6-a597-e2a553ff0dd0 2025-10-02 01:56:20,345 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4f09c13f-da67-46c6-a597-e2a553ff0dd0 2025-10-02 01:56:20,352 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8bd511fb-7b6d-4f03-9cba-ea97076207dd 2025-10-02 01:56:20,358 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8bd511fb-7b6d-4f03-9cba-ea97076207dd 2025-10-02 01:56:20,363 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/3b2fa414-ec82-461a-969f-acb3946e2566 2025-10-02 01:56:20,368 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-02 01:56:20,368 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4f09c13f-da67-46c6-a597-e2a553ff0dd0 2025-10-02 01:56:20,375 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8bd511fb-7b6d-4f03-9cba-ea97076207dd 2025-10-02 01:56:20,386 - INFO - Verified VN network id 10 for VN 4f09c13f-da67-46c6-a597-e2a553ff0dd0 2025-10-02 01:56:20,386 - INFO - Verifications in API Server for VN ctest-vn-39524694 passed 2025-10-02 01:56:20,386 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4f09c13f-da67-46c6-a597-e2a553ff0dd0 2025-10-02 01:56:20,393 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8bd511fb-7b6d-4f03-9cba-ea97076207dd 2025-10-02 01:56:20,398 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8bd511fb-7b6d-4f03-9cba-ea97076207dd 2025-10-02 01:56:20,403 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/3b2fa414-ec82-461a-969f-acb3946e2566 2025-10-02 01:56:20,412 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91414780:ctest-vn-39524694', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91414780', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5695295683778004678', 'uuid-lslong': '11932254937448123856'}, 'enable': 'true', 'created': '2025-10-02T01:56:18', 'last-modified': '2025-10-02T01:56:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.853100'} 2025-10-02 01:56:20,417 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-02 01:56:20,417 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39524694 passed 2025-10-02 01:56:20,417 - DEBUG - ====Verifying policy data for ctest-vn-39524694 in API_Server ====== 2025-10-02 01:56:20,417 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-02 01:56:20,422 - DEBUG - Requesting: http://10.0.0.131:8082/domain/beb5e39c-6386-493b-8558-63a22034139b 2025-10-02 01:56:20,431 - DEBUG - Requesting: http://10.0.0.131:8082/project/ad305ebe-3c2a-4542-b8e4-1abea3ffa585 2025-10-02 01:56:20,501 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4f09c13f-da67-46c6-a597-e2a553ff0dd0 2025-10-02 01:56:20,509 - DEBUG - ==>Verifying data for policy with id: 4a249507-cd4c-4256-bbc6-4b036d74e311, fqn: ['default-domain', 'ctest-TestBasicPolicy-91414780', 'ctest-policy-allow-all-14787509'] 2025-10-02 01:56:20,509 - INFO - VN ctest-vn-39524694 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-02 01:56:20,509 - DEBUG - Verifying the vn in opserver 2025-10-02 01:56:20,509 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91414780:ctest-vn-39524694 virtual network link through opserver 10.0.0.131 2025-10-02 01:56:20,510 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-02 01:56:20,799 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-02 01:56:20,847 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91414780:ctest-vn-39524694', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91414780:ctest-vn-39524694?flat'} 2025-10-02 01:56:20,847 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91414780:ctest-vn-39524694 is found in opserver 2025-10-02 01:56:20,857 - DEBUG - Do not have enough data to verify VN in agent 2025-10-02 01:56:20,862 - DEBUG - VRF ids for VN ctest-vn-39524694: {} 2025-10-02 01:56:20,862 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-02 01:56:20,867 - DEBUG - Requesting: http://10.0.0.131:8082/domain/beb5e39c-6386-493b-8558-63a22034139b 2025-10-02 01:56:20,876 - DEBUG - Requesting: http://10.0.0.131:8082/project/ad305ebe-3c2a-4542-b8e4-1abea3ffa585 2025-10-02 01:56:20,966 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/61c52c41-a07f-447c-ba0c-b994cb6c789d 2025-10-02 01:56:20,992 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/61c52c41-a07f-447c-ba0c-b994cb6c789d 2025-10-02 01:56:21,003 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/905a03f5-46bb-4bb8-a52b-f6d1a2fbdef6 2025-10-02 01:56:21,011 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/905a03f5-46bb-4bb8-a52b-f6d1a2fbdef6 2025-10-02 01:56:21,018 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/8e7d762d-b7f9-4778-a2ea-c6803ce15f8d 2025-10-02 01:56:21,024 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-02 01:56:21,024 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/61c52c41-a07f-447c-ba0c-b994cb6c789d 2025-10-02 01:56:21,032 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/905a03f5-46bb-4bb8-a52b-f6d1a2fbdef6 2025-10-02 01:56:21,044 - INFO - Verified VN network id 11 for VN 61c52c41-a07f-447c-ba0c-b994cb6c789d 2025-10-02 01:56:21,044 - INFO - Verifications in API Server for VN ctest-vn-94643974 passed 2025-10-02 01:56:21,044 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/61c52c41-a07f-447c-ba0c-b994cb6c789d 2025-10-02 01:56:21,053 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/905a03f5-46bb-4bb8-a52b-f6d1a2fbdef6 2025-10-02 01:56:21,061 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/905a03f5-46bb-4bb8-a52b-f6d1a2fbdef6 2025-10-02 01:56:21,069 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/8e7d762d-b7f9-4778-a2ea-c6803ce15f8d 2025-10-02 01:56:21,080 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91414780:ctest-vn-94643974', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91414780', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7045085852468200572', 'uuid-lslong': '13406294239494305949'}, 'enable': 'true', 'created': '2025-10-02T01:56:18', 'last-modified': '2025-10-02T01:56:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.306982'} 2025-10-02 01:56:21,086 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-02 01:56:21,086 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94643974 passed 2025-10-02 01:56:21,086 - DEBUG - ====Verifying policy data for ctest-vn-94643974 in API_Server ====== 2025-10-02 01:56:21,087 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-02 01:56:21,092 - DEBUG - Requesting: http://10.0.0.131:8082/domain/beb5e39c-6386-493b-8558-63a22034139b 2025-10-02 01:56:21,101 - DEBUG - Requesting: http://10.0.0.131:8082/project/ad305ebe-3c2a-4542-b8e4-1abea3ffa585 2025-10-02 01:56:21,165 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/61c52c41-a07f-447c-ba0c-b994cb6c789d 2025-10-02 01:56:21,174 - DEBUG - ==>Verifying data for policy with id: 4a249507-cd4c-4256-bbc6-4b036d74e311, fqn: ['default-domain', 'ctest-TestBasicPolicy-91414780', 'ctest-policy-allow-all-14787509'] 2025-10-02 01:56:21,174 - INFO - VN ctest-vn-94643974 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-02 01:56:21,174 - DEBUG - Verifying the vn in opserver 2025-10-02 01:56:21,174 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91414780:ctest-vn-94643974 virtual network link through opserver 10.0.0.131 2025-10-02 01:56:21,175 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-02 01:56:21,184 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91414780:ctest-vn-94643974', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91414780:ctest-vn-94643974?flat'} 2025-10-02 01:56:21,184 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91414780:ctest-vn-94643974 is found in opserver 2025-10-02 01:56:21,198 - DEBUG - Do not have enough data to verify VN in agent 2025-10-02 01:56:21,205 - DEBUG - VRF ids for VN ctest-vn-94643974: {} 2025-10-02 01:56:21,280 - DEBUG - Services list from nova: [, , ] 2025-10-02 01:56:22,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4209-1) 2025-10-02 01:56:23,372 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4209-1) 2025-10-02 01:56:23,372 - INFO - Waiting for VM ctest-TestBasicPolicy-91414780-40314164 to be up.. 2025-10-02 01:56:23,444 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-02 01:56:28,518 - DEBUG - VM is in ACTIVE state now 2025-10-02 01:56:28,518 - INFO - VM name : ctest-TestBasicPolicy-91414780-40314164 2025-10-02 01:56:28,589 - DEBUG - VM ctest-TestBasicPolicy-91414780-40314164 ID is 3fcaca6a-0072-4307-86a1-e897847f1c22 2025-10-02 01:56:28,613 - DEBUG - VM ctest-TestBasicPolicy-91414780-40314164 launched on Node cn-jenkins-deploy-platform-ansible-os-4209-1 2025-10-02 01:56:28,693 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/3fcaca6a-0072-4307-86a1-e897847f1c22 2025-10-02 01:56:28,700 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/e60619ab-b6c5-41df-a731-0337d5ca64b2 2025-10-02 01:56:31,897 - 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 1010ms') 2025-10-02 01:56:31,897 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91414780-40314164 failed! 2025-10-02 01:56:31,950 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-91414780:ctest-vn-39524694 is 181.5.216.65 and allocation pool is NOT set 2025-10-02 01:56:34,014 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 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.434/1.897/3.361/1.463 ms') 2025-10-02 01:56:34,014 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91414780-40314164 passed 2025-10-02 01:56:34,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:56:34,166 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91414780-40314164, IP 181.5.216.67, Port 22 2025-10-02 01:56:34,318 - DEBUG - VM ctest-TestBasicPolicy-91414780-40314164 is ready for SSH connections 2025-10-02 01:56:34,318 - INFO - Waiting for VM ctest-TestBasicPolicy-91414780-61492315 to be up.. 2025-10-02 01:56:34,387 - DEBUG - VM is in ACTIVE state now 2025-10-02 01:56:34,387 - INFO - VM name : ctest-TestBasicPolicy-91414780-61492315 2025-10-02 01:56:34,453 - DEBUG - VM ctest-TestBasicPolicy-91414780-61492315 ID is 765ad976-a5d9-43e9-afa9-b824e1024c97 2025-10-02 01:56:34,453 - DEBUG - VM ctest-TestBasicPolicy-91414780-61492315 launched on Node cn-jenkins-deploy-platform-ansible-os-4209-1 2025-10-02 01:56:34,522 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/765ad976-a5d9-43e9-afa9-b824e1024c97 2025-10-02 01:56:34,529 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/33614c36-8e85-4a63-89ce-5b2a7d26248c 2025-10-02 01:56:35,754 - 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.486 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.486/1.629/2.773/1.143 ms') 2025-10-02 01:56:35,754 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91414780-61492315 passed 2025-10-02 01:56:35,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:56:35,910 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91414780-61492315, IP 182.105.203.195, Port 22 2025-10-02 01:56:36,084 - DEBUG - VM ctest-TestBasicPolicy-91414780-61492315 is ready for SSH connections 2025-10-02 01:56:36,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:56:36,085 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.105.203.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-02 01:56:36,085 - DEBUG - ping -s 56 -c 3 -W 1 182.105.203.195 2025-10-02 01:56:40,097 - DEBUG - PING 182.105.203.195 (182.105.203.195): 56 data bytes 64 bytes from 182.105.203.195: seq=0 ttl=63 time=3.285 ms 64 bytes from 182.105.203.195: seq=1 ttl=63 time=1.152 ms 64 bytes from 182.105.203.195: seq=2 ttl=63 time=0.752 ms --- 182.105.203.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.752/1.729/3.285 ms 2025-10-02 01:56:40,097 - INFO - Ping to IP 182.105.203.195 from VM ctest-TestBasicPolicy-91414780-40314164 passed 2025-10-02 01:56:40,266 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4a249507-cd4c-4256-bbc6-4b036d74e311", "href": "http://10.0.0.131:8082/network-policy/4a249507-cd4c-4256-bbc6-4b036d74e311"}} 2025-10-02 01:56:40,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:56:40,266 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.105.203.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-02 01:56:40,266 - DEBUG - ping -s 56 -c 3 -W 1 182.105.203.195 2025-10-02 01:56:43,469 - DEBUG - PING 182.105.203.195 (182.105.203.195): 56 data bytes --- 182.105.203.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-02 01:56:43,469 - WARNING - Ping to IP 182.105.203.195 from VM ctest-TestBasicPolicy-91414780-40314164 failed 2025-10-02 01:56:43,470 - INFO - Deleting VM ctest-TestBasicPolicy-91414780-61492315 2025-10-02 01:56:43,537 - INFO - Deleting VM ctest-TestBasicPolicy-91414780-40314164 2025-10-02 01:56:43,876 - INFO - Deleted policy ctest-policy-allow-all-14787509 2025-10-02 01:56:43,876 - INFO - Deleting VN ctest-vn-94643974 2025-10-02 01:56:43,912 - DEBUG - VN 61c52c41-a07f-447c-ba0c-b994cb6c789d still in use: Unable to complete operation on network 61c52c41-a07f-447c-ba0c-b994cb6c789d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-613f9740-9f76-4f3d-bcb0-bbd2aa5f58a8'] 2025-10-02 01:56:43,912 - WARNING - Deleting VN ctest-vn-94643974 failed..Will retry 2025-10-02 01:56:46,010 - DEBUG - Response for deleting network () 2025-10-02 01:56:46,010 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/905a03f5-46bb-4bb8-a52b-f6d1a2fbdef6 2025-10-02 01:56:46,016 - DEBUG - Response Code: 404 2025-10-02 01:56:46,016 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-02 01:56:46,021 - DEBUG - Requesting: http://10.0.0.131:8082/domain/beb5e39c-6386-493b-8558-63a22034139b 2025-10-02 01:56:46,075 - DEBUG - Requesting: http://10.0.0.131:8082/project/ad305ebe-3c2a-4542-b8e4-1abea3ffa585 2025-10-02 01:56:46,147 - INFO - Validated that VN ctest-vn-94643974 is not found in API Server 2025-10-02 01:56:46,156 - DEBUG - VN ctest-vn-94643974 is not present in Agent 10.0.0.131 2025-10-02 01:56:46,157 - INFO - Validated that VN ctest-vn-94643974 is not in any agent 2025-10-02 01:56:46,170 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94643974 info 2025-10-02 01:56:46,170 - INFO - Deleting VN ctest-vn-39524694 2025-10-02 01:56:46,263 - DEBUG - Response for deleting network () 2025-10-02 01:56:46,263 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8bd511fb-7b6d-4f03-9cba-ea97076207dd 2025-10-02 01:56:46,267 - DEBUG - Response Code: 404 2025-10-02 01:56:46,267 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-02 01:56:46,272 - DEBUG - Requesting: http://10.0.0.131:8082/domain/beb5e39c-6386-493b-8558-63a22034139b 2025-10-02 01:56:46,322 - DEBUG - Requesting: http://10.0.0.131:8082/project/ad305ebe-3c2a-4542-b8e4-1abea3ffa585 2025-10-02 01:56:46,391 - INFO - Validated that VN ctest-vn-39524694 is not found in API Server 2025-10-02 01:56:46,400 - DEBUG - VN ctest-vn-39524694 is not present in Agent 10.0.0.131 2025-10-02 01:56:46,400 - INFO - Validated that VN ctest-vn-39524694 is not in any agent 2025-10-02 01:56:46,411 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39524694 info 2025-10-02 01:56:46,663 - DEBUG - No XMPP flaps were noticed during the test 2025-10-02 01:56:46,663 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-02 01:56:46,663 - INFO - -------------------------------------------------------------------------------- 2025-10-02 01:56:47,335 - INFO - Deleted project: ctest-TestBasicPolicy-91414780, ID : ad305ebe-3c2a-4542-b8e4-1abea3ffa585