2025-10-29 23:08:04,373 - INFO - Domain Default found not creating 2025-10-29 23:08:04,515 - INFO - Project ctest-TestBasicPolicy-09596749 not found, creating it 2025-10-29 23:08:04,934 - INFO - Created Project:ctest-TestBasicPolicy-09596749, ID : f0dc8f40-fe2d-4bd9-b1d5-c43de21df6a6 2025-10-29 23:08:06,306 - INFO - ================================================================================ 2025-10-29 23:08:06,307 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-29 23:08:06,307 - 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-29 23:08:06,560 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.252': '0'}} with 2025-10-29 23:08:06,561 - INFO - Initial checks done. Running the testcase now 2025-10-29 23:08:06,561 - INFO - 2025-10-29 23:08:07,088 - DEBUG - Response for create_network : {'network': {'id': '29dd725a-237c-4573-a0cf-a1655d36bee9', 'name': 'ctest-vn-65980167', 'tenant_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'project_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-vn-65980167'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 23:08:07,315 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cf928f0-2b04-42a5-a492-15f1ee6d7ccd', 'name': '', 'tenant_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'network_id': '29dd725a-237c-4573-a0cf-a1655d36bee9', 'ip_version': 4, 'cidr': '95.182.112.192/26', 'allocation_pools': [{'start': '95.182.112.194', 'end': '95.182.112.254'}], 'gateway_ip': '95.182.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.182.112.194', 'tags': [], 'project_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6'}} 2025-10-29 23:08:07,331 - INFO - Created VN ctest-vn-65980167 2025-10-29 23:08:07,383 - DEBUG - VN ctest-vn-65980167 UUID is 29dd725a-237c-4573-a0cf-a1655d36bee9 2025-10-29 23:08:07,718 - DEBUG - Response for create_network : {'network': {'id': '311329a3-f2cc-422c-a23d-c79f18b85ddc', 'name': 'ctest-vn-42602327', 'tenant_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'project_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-vn-42602327'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 23:08:07,893 - DEBUG - Response for create_subnet : {'subnet': {'id': '73d93959-72f9-45d9-b5fb-76f1dda3a299', 'name': '', 'tenant_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'network_id': '311329a3-f2cc-422c-a23d-c79f18b85ddc', 'ip_version': 4, 'cidr': '189.244.67.0/26', 'allocation_pools': [{'start': '189.244.67.2', 'end': '189.244.67.62'}], 'gateway_ip': '189.244.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.244.67.2', 'tags': [], 'project_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6'}} 2025-10-29 23:08:07,909 - INFO - Created VN ctest-vn-42602327 2025-10-29 23:08:07,959 - DEBUG - VN ctest-vn-42602327 UUID is 311329a3-f2cc-422c-a23d-c79f18b85ddc 2025-10-29 23:08:08,107 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-65980167, 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-09596749:ctest-vn-42602327, 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-29 23:08:08,393 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '29dd725a-237c-4573-a0cf-a1655d36bee9', 'name': 'ctest-vn-65980167', 'tenant_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'project_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2cf928f0-2b04-42a5-a492-15f1ee6d7ccd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-vn-65980167'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-policy-allow-all-64533252']], 'subnet_ipam': [{'subnet_cidr': '95.182.112.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-29 23:08:08,615 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '311329a3-f2cc-422c-a23d-c79f18b85ddc', 'name': 'ctest-vn-42602327', 'tenant_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'project_id': 'f0dc8f40fe2d4bd9b1d5c43de21df6a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['73d93959-72f9-45d9-b5fb-76f1dda3a299'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-vn-42602327'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-policy-allow-all-64533252']], 'subnet_ipam': [{'subnet_cidr': '189.244.67.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-29 23:08:08,775 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-29 23:08:09,064 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-29 23:08:09,089 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ca69f330-13b5-464a-a35b-53285fffc4a3 2025-10-29 23:08:09,099 - DEBUG - Requesting: http://10.0.0.249:8082/project/f0dc8f40-fe2d-4bd9-b1d5-c43de21df6a6 2025-10-29 23:08:09,173 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/29dd725a-237c-4573-a0cf-a1655d36bee9 2025-10-29 23:08:09,182 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/29dd725a-237c-4573-a0cf-a1655d36bee9 2025-10-29 23:08:09,189 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b0a4fa12-a7e3-4177-8f91-aafbd8edc204 2025-10-29 23:08:09,194 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b0a4fa12-a7e3-4177-8f91-aafbd8edc204 2025-10-29 23:08:09,200 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/25c4daa5-34ab-43b0-842e-305545195543 2025-10-29 23:08:09,205 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-29 23:08:09,205 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/29dd725a-237c-4573-a0cf-a1655d36bee9 2025-10-29 23:08:09,214 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b0a4fa12-a7e3-4177-8f91-aafbd8edc204 2025-10-29 23:08:09,226 - INFO - Verified VN network id 12 for VN 29dd725a-237c-4573-a0cf-a1655d36bee9 2025-10-29 23:08:09,226 - INFO - Verifications in API Server for VN ctest-vn-65980167 passed 2025-10-29 23:08:09,226 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/29dd725a-237c-4573-a0cf-a1655d36bee9 2025-10-29 23:08:09,232 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b0a4fa12-a7e3-4177-8f91-aafbd8edc204 2025-10-29 23:08:09,239 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b0a4fa12-a7e3-4177-8f91-aafbd8edc204 2025-10-29 23:08:09,244 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/25c4daa5-34ab-43b0-842e-305545195543 2025-10-29 23:08:09,254 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-65980167', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09596749', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3016693056876070259', 'uuid-lslong': '11587657822975213289'}, 'enable': 'true', 'created': '2025-10-29T23:08:07', 'last-modified': '2025-10-29T23:08:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.881501'} 2025-10-29 23:08:09,260 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-29 23:08:09,260 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65980167 passed 2025-10-29 23:08:09,260 - DEBUG - ====Verifying policy data for ctest-vn-65980167 in API_Server ====== 2025-10-29 23:08:09,260 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-29 23:08:09,263 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ca69f330-13b5-464a-a35b-53285fffc4a3 2025-10-29 23:08:09,272 - DEBUG - Requesting: http://10.0.0.249:8082/project/f0dc8f40-fe2d-4bd9-b1d5-c43de21df6a6 2025-10-29 23:08:09,343 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/29dd725a-237c-4573-a0cf-a1655d36bee9 2025-10-29 23:08:09,353 - DEBUG - ==>Verifying data for policy with id: 80558f53-86c0-46dc-8e44-78bbb33e018c, fqn: ['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-policy-allow-all-64533252'] 2025-10-29 23:08:09,353 - INFO - VN ctest-vn-65980167 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-29 23:08:09,354 - DEBUG - Verifying the vn in opserver 2025-10-29 23:08:09,354 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-65980167 virtual network link through opserver 10.0.0.249 2025-10-29 23:08:09,354 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-29 23:08:09,649 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-29 23:08:09,710 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-65980167', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-65980167?flat'} 2025-10-29 23:08:09,710 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-65980167 is found in opserver 2025-10-29 23:08:09,719 - DEBUG - Do not have enough data to verify VN in agent 2025-10-29 23:08:09,723 - DEBUG - VRF ids for VN ctest-vn-65980167: {} 2025-10-29 23:08:09,723 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-29 23:08:09,729 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ca69f330-13b5-464a-a35b-53285fffc4a3 2025-10-29 23:08:09,739 - DEBUG - Requesting: http://10.0.0.249:8082/project/f0dc8f40-fe2d-4bd9-b1d5-c43de21df6a6 2025-10-29 23:08:09,814 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/311329a3-f2cc-422c-a23d-c79f18b85ddc 2025-10-29 23:08:09,825 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/311329a3-f2cc-422c-a23d-c79f18b85ddc 2025-10-29 23:08:09,834 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ab302db3-4300-4613-9343-27c8f67a1fc8 2025-10-29 23:08:09,840 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ab302db3-4300-4613-9343-27c8f67a1fc8 2025-10-29 23:08:09,846 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c0b83578-8a2a-4ff6-b2dd-5f3fd25c2d82 2025-10-29 23:08:09,850 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-29 23:08:09,850 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/311329a3-f2cc-422c-a23d-c79f18b85ddc 2025-10-29 23:08:09,857 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ab302db3-4300-4613-9343-27c8f67a1fc8 2025-10-29 23:08:09,871 - INFO - Verified VN network id 13 for VN 311329a3-f2cc-422c-a23d-c79f18b85ddc 2025-10-29 23:08:09,871 - INFO - Verifications in API Server for VN ctest-vn-42602327 passed 2025-10-29 23:08:09,871 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/311329a3-f2cc-422c-a23d-c79f18b85ddc 2025-10-29 23:08:09,880 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ab302db3-4300-4613-9343-27c8f67a1fc8 2025-10-29 23:08:09,886 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ab302db3-4300-4613-9343-27c8f67a1fc8 2025-10-29 23:08:09,893 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c0b83578-8a2a-4ff6-b2dd-5f3fd25c2d82 2025-10-29 23:08:09,904 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-42602327', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09596749', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3536215916545851948', 'uuid-lslong': '11690719693852138972'}, 'enable': 'true', 'created': '2025-10-29T23:08:07', 'last-modified': '2025-10-29T23:08:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.309805'} 2025-10-29 23:08:09,910 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-29 23:08:09,911 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42602327 passed 2025-10-29 23:08:09,912 - DEBUG - ====Verifying policy data for ctest-vn-42602327 in API_Server ====== 2025-10-29 23:08:09,912 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-29 23:08:09,918 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ca69f330-13b5-464a-a35b-53285fffc4a3 2025-10-29 23:08:09,928 - DEBUG - Requesting: http://10.0.0.249:8082/project/f0dc8f40-fe2d-4bd9-b1d5-c43de21df6a6 2025-10-29 23:08:09,997 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/311329a3-f2cc-422c-a23d-c79f18b85ddc 2025-10-29 23:08:10,006 - DEBUG - ==>Verifying data for policy with id: 80558f53-86c0-46dc-8e44-78bbb33e018c, fqn: ['default-domain', 'ctest-TestBasicPolicy-09596749', 'ctest-policy-allow-all-64533252'] 2025-10-29 23:08:10,007 - INFO - VN ctest-vn-42602327 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-29 23:08:10,007 - DEBUG - Verifying the vn in opserver 2025-10-29 23:08:10,007 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-42602327 virtual network link through opserver 10.0.0.249 2025-10-29 23:08:10,007 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-29 23:08:10,016 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-42602327', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-42602327?flat'} 2025-10-29 23:08:10,016 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-42602327 is found in opserver 2025-10-29 23:08:10,025 - DEBUG - Do not have enough data to verify VN in agent 2025-10-29 23:08:10,029 - DEBUG - VRF ids for VN ctest-vn-42602327: {} 2025-10-29 23:08:10,081 - DEBUG - Services list from nova: [, , ] 2025-10-29 23:08:11,055 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4530-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4530-1) 2025-10-29 23:08:12,128 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4530-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4530-1) 2025-10-29 23:08:12,129 - INFO - Waiting for VM ctest-TestBasicPolicy-09596749-43474315 to be up.. 2025-10-29 23:08:12,203 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 23:08:17,271 - DEBUG - VM is in ACTIVE state now 2025-10-29 23:08:17,271 - INFO - VM name : ctest-TestBasicPolicy-09596749-43474315 2025-10-29 23:08:17,335 - DEBUG - VM ctest-TestBasicPolicy-09596749-43474315 ID is d2b38e38-2fee-49fb-b92a-dd6f645e12ce 2025-10-29 23:08:17,352 - DEBUG - VM ctest-TestBasicPolicy-09596749-43474315 launched on Node cn-jenkins-deploy-platform-ansible-os-4530-1 2025-10-29 23:08:17,420 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d2b38e38-2fee-49fb-b92a-dd6f645e12ce 2025-10-29 23:08:17,428 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/cd1a27bb-fcb2-4358-8742-a6e0195ae3c0 2025-10-29 23:08:20,685 - 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 1027ms') 2025-10-29 23:08:20,685 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09596749-43474315 failed! 2025-10-29 23:08:20,743 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09596749:ctest-vn-65980167 is 95.182.112.193 and allocation pool is NOT set 2025-10-29 23:08:22,800 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.459 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.459/1.678/2.897/1.219 ms') 2025-10-29 23:08:22,800 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09596749-43474315 passed 2025-10-29 23:08:22,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:08:22,947 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09596749-43474315, IP 95.182.112.195, Port 22 2025-10-29 23:08:23,111 - DEBUG - VM ctest-TestBasicPolicy-09596749-43474315 is ready for SSH connections 2025-10-29 23:08:23,111 - INFO - Waiting for VM ctest-TestBasicPolicy-09596749-24145927 to be up.. 2025-10-29 23:08:23,186 - DEBUG - VM is in ACTIVE state now 2025-10-29 23:08:23,187 - INFO - VM name : ctest-TestBasicPolicy-09596749-24145927 2025-10-29 23:08:23,255 - DEBUG - VM ctest-TestBasicPolicy-09596749-24145927 ID is fa0a05ea-06ce-49a5-9150-8123791e8182 2025-10-29 23:08:23,256 - DEBUG - VM ctest-TestBasicPolicy-09596749-24145927 launched on Node cn-jenkins-deploy-platform-ansible-os-4530-1 2025-10-29 23:08:23,328 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/fa0a05ea-06ce-49a5-9150-8123791e8182 2025-10-29 23:08:23,336 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/269253f7-659a-48ad-abd3-b28e53d11f0b 2025-10-29 23:08:24,561 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/1.625/2.805/1.180 ms') 2025-10-29 23:08:24,561 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09596749-24145927 passed 2025-10-29 23:08:24,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:08:24,708 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09596749-24145927, IP 189.244.67.3, Port 22 2025-10-29 23:08:24,874 - DEBUG - VM ctest-TestBasicPolicy-09596749-24145927 is ready for SSH connections 2025-10-29 23:08:24,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:08:24,874 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.244.67.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-29 23:08:24,874 - DEBUG - ping -s 56 -c 3 -W 1 189.244.67.3 2025-10-29 23:08:28,564 - DEBUG - PING 189.244.67.3 (189.244.67.3): 56 data bytes 64 bytes from 189.244.67.3: seq=0 ttl=63 time=4.173 ms 64 bytes from 189.244.67.3: seq=1 ttl=63 time=1.034 ms 64 bytes from 189.244.67.3: seq=2 ttl=63 time=1.022 ms --- 189.244.67.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.022/2.076/4.173 ms 2025-10-29 23:08:28,564 - INFO - Ping to IP 189.244.67.3 from VM ctest-TestBasicPolicy-09596749-43474315 passed 2025-10-29 23:08:28,735 - DEBUG - Policy Update Response {"network-policy": {"uuid": "80558f53-86c0-46dc-8e44-78bbb33e018c", "href": "http://10.0.0.249:8082/network-policy/80558f53-86c0-46dc-8e44-78bbb33e018c"}} 2025-10-29 23:08:28,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:08:28,735 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.244.67.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-29 23:08:28,735 - DEBUG - ping -s 56 -c 3 -W 1 189.244.67.3 2025-10-29 23:08:31,944 - DEBUG - PING 189.244.67.3 (189.244.67.3): 56 data bytes --- 189.244.67.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-29 23:08:31,944 - WARNING - Ping to IP 189.244.67.3 from VM ctest-TestBasicPolicy-09596749-43474315 failed 2025-10-29 23:08:31,944 - INFO - Deleting VM ctest-TestBasicPolicy-09596749-24145927 2025-10-29 23:08:32,016 - INFO - Deleting VM ctest-TestBasicPolicy-09596749-43474315 2025-10-29 23:08:32,394 - INFO - Deleted policy ctest-policy-allow-all-64533252 2025-10-29 23:08:32,394 - INFO - Deleting VN ctest-vn-42602327 2025-10-29 23:08:32,428 - DEBUG - VN 311329a3-f2cc-422c-a23d-c79f18b85ddc still in use: Unable to complete operation on network 311329a3-f2cc-422c-a23d-c79f18b85ddc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-80359690-92c0-4a5f-b942-c12d6144d739'] 2025-10-29 23:08:32,428 - WARNING - Deleting VN ctest-vn-42602327 failed..Will retry 2025-10-29 23:08:34,532 - DEBUG - Response for deleting network () 2025-10-29 23:08:34,532 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ab302db3-4300-4613-9343-27c8f67a1fc8 2025-10-29 23:08:34,537 - DEBUG - Response Code: 404 2025-10-29 23:08:34,537 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-29 23:08:34,541 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ca69f330-13b5-464a-a35b-53285fffc4a3 2025-10-29 23:08:34,594 - DEBUG - Requesting: http://10.0.0.249:8082/project/f0dc8f40-fe2d-4bd9-b1d5-c43de21df6a6 2025-10-29 23:08:34,657 - INFO - Validated that VN ctest-vn-42602327 is not found in API Server 2025-10-29 23:08:34,666 - DEBUG - VN ctest-vn-42602327 is not present in Agent 10.0.0.249 2025-10-29 23:08:34,666 - INFO - Validated that VN ctest-vn-42602327 is not in any agent 2025-10-29 23:08:34,677 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42602327 info 2025-10-29 23:08:34,677 - INFO - Deleting VN ctest-vn-65980167 2025-10-29 23:08:34,773 - DEBUG - Response for deleting network () 2025-10-29 23:08:34,773 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b0a4fa12-a7e3-4177-8f91-aafbd8edc204 2025-10-29 23:08:34,782 - DEBUG - Response Code: 404 2025-10-29 23:08:34,782 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-29 23:08:34,787 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ca69f330-13b5-464a-a35b-53285fffc4a3 2025-10-29 23:08:34,841 - DEBUG - Requesting: http://10.0.0.249:8082/project/f0dc8f40-fe2d-4bd9-b1d5-c43de21df6a6 2025-10-29 23:08:34,920 - INFO - Validated that VN ctest-vn-65980167 is not found in API Server 2025-10-29 23:08:34,931 - DEBUG - VN ctest-vn-65980167 is not present in Agent 10.0.0.249 2025-10-29 23:08:34,931 - INFO - Validated that VN ctest-vn-65980167 is not in any agent 2025-10-29 23:08:34,946 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65980167 info 2025-10-29 23:08:35,201 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 23:08:35,201 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-29 23:08:35,201 - INFO - -------------------------------------------------------------------------------- 2025-10-29 23:08:35,884 - INFO - Deleted project: ctest-TestBasicPolicy-09596749, ID : f0dc8f40-fe2d-4bd9-b1d5-c43de21df6a6