2025-11-01 13:59:09,565 - INFO - Domain Default found not creating 2025-11-01 13:59:09,691 - INFO - Project ctest-TestBasicPolicy-68769051 not found, creating it 2025-11-01 13:59:10,138 - INFO - Created Project:ctest-TestBasicPolicy-68769051, ID : 116edd3c-ada1-4cec-bdca-fa2bb4a46594 2025-11-01 13:59:11,472 - INFO - ================================================================================ 2025-11-01 13:59:11,472 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-01 13:59:11,472 - 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-11-01 13:59:11,727 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.129': '0'}} with 2025-11-01 13:59:11,727 - INFO - Initial checks done. Running the testcase now 2025-11-01 13:59:11,727 - INFO - 2025-11-01 13:59:12,234 - DEBUG - Response for create_network : {'network': {'id': '5b0820e9-cb59-4b3e-90a3-5f0de2622585', 'name': 'ctest-vn-47269072', 'tenant_id': '116edd3cada14cecbdcafa2bb4a46594', 'project_id': '116edd3cada14cecbdcafa2bb4a46594', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68769051', 'ctest-vn-47269072'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 13:59:12,383 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f466610a-7ca0-4be5-8348-b13a9524094a', 'name': '', 'tenant_id': '116edd3cada14cecbdcafa2bb4a46594', 'network_id': '5b0820e9-cb59-4b3e-90a3-5f0de2622585', 'ip_version': 4, 'cidr': '14.119.201.128/26', 'allocation_pools': [{'start': '14.119.201.130', 'end': '14.119.201.190'}], 'gateway_ip': '14.119.201.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.119.201.130', 'tags': [], 'project_id': '116edd3cada14cecbdcafa2bb4a46594'}} 2025-11-01 13:59:12,399 - INFO - Created VN ctest-vn-47269072 2025-11-01 13:59:12,450 - DEBUG - VN ctest-vn-47269072 UUID is 5b0820e9-cb59-4b3e-90a3-5f0de2622585 2025-11-01 13:59:12,768 - DEBUG - Response for create_network : {'network': {'id': 'd648edff-7e2d-468a-9050-dc49a2f71102', 'name': 'ctest-vn-18897049', 'tenant_id': '116edd3cada14cecbdcafa2bb4a46594', 'project_id': '116edd3cada14cecbdcafa2bb4a46594', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68769051', 'ctest-vn-18897049'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 13:59:12,932 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b45a0db-6c99-4b93-b8e4-f4e6915afe60', 'name': '', 'tenant_id': '116edd3cada14cecbdcafa2bb4a46594', 'network_id': 'd648edff-7e2d-468a-9050-dc49a2f71102', 'ip_version': 4, 'cidr': '24.101.113.0/26', 'allocation_pools': [{'start': '24.101.113.2', 'end': '24.101.113.62'}], 'gateway_ip': '24.101.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.101.113.2', 'tags': [], 'project_id': '116edd3cada14cecbdcafa2bb4a46594'}} 2025-11-01 13:59:12,946 - INFO - Created VN ctest-vn-18897049 2025-11-01 13:59:12,998 - DEBUG - VN ctest-vn-18897049 UUID is d648edff-7e2d-468a-9050-dc49a2f71102 2025-11-01 13:59:13,141 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68769051:ctest-vn-47269072, 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-68769051:ctest-vn-18897049, 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-11-01 13:59:13,415 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b0820e9-cb59-4b3e-90a3-5f0de2622585', 'name': 'ctest-vn-47269072', 'tenant_id': '116edd3cada14cecbdcafa2bb4a46594', 'project_id': '116edd3cada14cecbdcafa2bb4a46594', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f466610a-7ca0-4be5-8348-b13a9524094a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68769051', 'ctest-vn-47269072'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68769051', 'ctest-policy-allow-all-64160612']], 'subnet_ipam': [{'subnet_cidr': '14.119.201.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-01 13:59:13,678 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd648edff-7e2d-468a-9050-dc49a2f71102', 'name': 'ctest-vn-18897049', 'tenant_id': '116edd3cada14cecbdcafa2bb4a46594', 'project_id': '116edd3cada14cecbdcafa2bb4a46594', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3b45a0db-6c99-4b93-b8e4-f4e6915afe60'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68769051', 'ctest-vn-18897049'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68769051', 'ctest-policy-allow-all-64160612']], 'subnet_ipam': [{'subnet_cidr': '24.101.113.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-01 13:59:13,818 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-01 13:59:14,107 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-01 13:59:14,131 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd496be1-039d-4a04-817e-3af4876ebfbf 2025-11-01 13:59:14,141 - DEBUG - Requesting: http://10.0.0.22:8082/project/116edd3c-ada1-4cec-bdca-fa2bb4a46594 2025-11-01 13:59:14,209 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5b0820e9-cb59-4b3e-90a3-5f0de2622585 2025-11-01 13:59:14,219 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5b0820e9-cb59-4b3e-90a3-5f0de2622585 2025-11-01 13:59:14,226 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/42875ea0-4ad7-4f12-9e4d-360b9574574b 2025-11-01 13:59:14,232 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/42875ea0-4ad7-4f12-9e4d-360b9574574b 2025-11-01 13:59:14,237 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ce634755-ca09-4639-ab40-a88132645ea1 2025-11-01 13:59:14,242 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-01 13:59:14,242 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5b0820e9-cb59-4b3e-90a3-5f0de2622585 2025-11-01 13:59:14,249 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/42875ea0-4ad7-4f12-9e4d-360b9574574b 2025-11-01 13:59:14,260 - INFO - Verified VN network id 12 for VN 5b0820e9-cb59-4b3e-90a3-5f0de2622585 2025-11-01 13:59:14,260 - INFO - Verifications in API Server for VN ctest-vn-47269072 passed 2025-11-01 13:59:14,260 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5b0820e9-cb59-4b3e-90a3-5f0de2622585 2025-11-01 13:59:14,267 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/42875ea0-4ad7-4f12-9e4d-360b9574574b 2025-11-01 13:59:14,271 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/42875ea0-4ad7-4f12-9e4d-360b9574574b 2025-11-01 13:59:14,276 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ce634755-ca09-4639-ab40-a88132645ea1 2025-11-01 13:59:14,285 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68769051:ctest-vn-47269072', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68769051', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6559529045776223038', 'uuid-lslong': '10422278475902756229'}, 'enable': 'true', 'created': '2025-11-01T13:59:12', 'last-modified': '2025-11-01T13:59:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.886208'} 2025-11-01 13:59:14,290 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-01 13:59:14,290 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47269072 passed 2025-11-01 13:59:14,290 - DEBUG - ====Verifying policy data for ctest-vn-47269072 in API_Server ====== 2025-11-01 13:59:14,290 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-01 13:59:14,294 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd496be1-039d-4a04-817e-3af4876ebfbf 2025-11-01 13:59:14,303 - DEBUG - Requesting: http://10.0.0.22:8082/project/116edd3c-ada1-4cec-bdca-fa2bb4a46594 2025-11-01 13:59:14,372 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5b0820e9-cb59-4b3e-90a3-5f0de2622585 2025-11-01 13:59:14,380 - DEBUG - ==>Verifying data for policy with id: bc12e04e-5d6c-4aee-bbab-5908a59881e2, fqn: ['default-domain', 'ctest-TestBasicPolicy-68769051', 'ctest-policy-allow-all-64160612'] 2025-11-01 13:59:14,380 - INFO - VN ctest-vn-47269072 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-01 13:59:14,381 - DEBUG - Verifying the vn in opserver 2025-11-01 13:59:14,381 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68769051:ctest-vn-47269072 virtual network link through opserver 10.0.0.22 2025-11-01 13:59:14,381 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-01 13:59:14,669 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-01 13:59:14,721 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68769051:ctest-vn-47269072', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68769051:ctest-vn-47269072?flat'} 2025-11-01 13:59:14,721 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68769051:ctest-vn-47269072 is found in opserver 2025-11-01 13:59:14,729 - DEBUG - Do not have enough data to verify VN in agent 2025-11-01 13:59:14,732 - DEBUG - VRF ids for VN ctest-vn-47269072: {} 2025-11-01 13:59:14,732 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-01 13:59:14,736 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd496be1-039d-4a04-817e-3af4876ebfbf 2025-11-01 13:59:14,745 - DEBUG - Requesting: http://10.0.0.22:8082/project/116edd3c-ada1-4cec-bdca-fa2bb4a46594 2025-11-01 13:59:14,809 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d648edff-7e2d-468a-9050-dc49a2f71102 2025-11-01 13:59:14,818 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d648edff-7e2d-468a-9050-dc49a2f71102 2025-11-01 13:59:14,826 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9c8a209e-3d60-44ec-ab5a-151278c1ae2a 2025-11-01 13:59:14,831 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9c8a209e-3d60-44ec-ab5a-151278c1ae2a 2025-11-01 13:59:14,835 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1317edd7-a7a2-4a1d-8b03-76058a69a266 2025-11-01 13:59:14,841 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-01 13:59:14,841 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d648edff-7e2d-468a-9050-dc49a2f71102 2025-11-01 13:59:14,848 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9c8a209e-3d60-44ec-ab5a-151278c1ae2a 2025-11-01 13:59:14,858 - INFO - Verified VN network id 13 for VN d648edff-7e2d-468a-9050-dc49a2f71102 2025-11-01 13:59:14,858 - INFO - Verifications in API Server for VN ctest-vn-18897049 passed 2025-11-01 13:59:14,858 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d648edff-7e2d-468a-9050-dc49a2f71102 2025-11-01 13:59:14,865 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9c8a209e-3d60-44ec-ab5a-151278c1ae2a 2025-11-01 13:59:14,869 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9c8a209e-3d60-44ec-ab5a-151278c1ae2a 2025-11-01 13:59:14,874 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1317edd7-a7a2-4a1d-8b03-76058a69a266 2025-11-01 13:59:14,882 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68769051:ctest-vn-18897049', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68769051', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15440853004029085322', 'uuid-lslong': '10399053748423299330'}, 'enable': 'true', 'created': '2025-11-01T13:59:12', 'last-modified': '2025-11-01T13:59:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.268464'} 2025-11-01 13:59:14,888 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-01 13:59:14,888 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18897049 passed 2025-11-01 13:59:14,888 - DEBUG - ====Verifying policy data for ctest-vn-18897049 in API_Server ====== 2025-11-01 13:59:14,888 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-01 13:59:14,893 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd496be1-039d-4a04-817e-3af4876ebfbf 2025-11-01 13:59:14,902 - DEBUG - Requesting: http://10.0.0.22:8082/project/116edd3c-ada1-4cec-bdca-fa2bb4a46594 2025-11-01 13:59:14,968 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d648edff-7e2d-468a-9050-dc49a2f71102 2025-11-01 13:59:14,975 - DEBUG - ==>Verifying data for policy with id: bc12e04e-5d6c-4aee-bbab-5908a59881e2, fqn: ['default-domain', 'ctest-TestBasicPolicy-68769051', 'ctest-policy-allow-all-64160612'] 2025-11-01 13:59:14,975 - INFO - VN ctest-vn-18897049 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-01 13:59:14,975 - DEBUG - Verifying the vn in opserver 2025-11-01 13:59:14,975 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68769051:ctest-vn-18897049 virtual network link through opserver 10.0.0.22 2025-11-01 13:59:14,975 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-01 13:59:14,983 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68769051:ctest-vn-18897049', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68769051:ctest-vn-18897049?flat'} 2025-11-01 13:59:14,983 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68769051:ctest-vn-18897049 is found in opserver 2025-11-01 13:59:14,990 - DEBUG - Do not have enough data to verify VN in agent 2025-11-01 13:59:14,994 - DEBUG - VRF ids for VN ctest-vn-18897049: {} 2025-11-01 13:59:15,042 - DEBUG - Services list from nova: [, , ] 2025-11-01 13:59:16,011 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4588-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4588-1) 2025-11-01 13:59:17,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4588-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4588-1) 2025-11-01 13:59:17,064 - INFO - Waiting for VM ctest-TestBasicPolicy-68769051-94883003 to be up.. 2025-11-01 13:59:17,134 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 13:59:22,203 - DEBUG - VM is in ACTIVE state now 2025-11-01 13:59:22,203 - INFO - VM name : ctest-TestBasicPolicy-68769051-94883003 2025-11-01 13:59:22,269 - DEBUG - VM ctest-TestBasicPolicy-68769051-94883003 ID is cbee50ad-8e12-4327-b1c5-de05ba619de1 2025-11-01 13:59:22,285 - DEBUG - VM ctest-TestBasicPolicy-68769051-94883003 launched on Node cn-jenkins-deploy-platform-ansible-os-4588-1 2025-11-01 13:59:22,350 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cbee50ad-8e12-4327-b1c5-de05ba619de1 2025-11-01 13:59:22,357 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e7fdf754-d21a-419b-9379-c55a35e16afa 2025-11-01 13:59:25,614 - 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-11-01 13:59:25,614 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68769051-94883003 failed! 2025-11-01 13:59:25,666 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68769051:ctest-vn-47269072 is 14.119.201.129 and allocation pool is NOT set 2025-11-01 13:59:27,726 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.424 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.424/1.584/2.745/1.160 ms') 2025-11-01 13:59:27,726 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68769051-94883003 passed 2025-11-01 13:59:27,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:59:27,874 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68769051-94883003, IP 14.119.201.131, Port 22 2025-11-01 13:59:28,029 - DEBUG - VM ctest-TestBasicPolicy-68769051-94883003 is ready for SSH connections 2025-11-01 13:59:28,029 - INFO - Waiting for VM ctest-TestBasicPolicy-68769051-27914645 to be up.. 2025-11-01 13:59:28,091 - DEBUG - VM is in ACTIVE state now 2025-11-01 13:59:28,091 - INFO - VM name : ctest-TestBasicPolicy-68769051-27914645 2025-11-01 13:59:28,154 - DEBUG - VM ctest-TestBasicPolicy-68769051-27914645 ID is 51c0122d-cd4c-4408-8eeb-870a92e77a8e 2025-11-01 13:59:28,155 - DEBUG - VM ctest-TestBasicPolicy-68769051-27914645 launched on Node cn-jenkins-deploy-platform-ansible-os-4588-1 2025-11-01 13:59:28,227 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/51c0122d-cd4c-4408-8eeb-870a92e77a8e 2025-11-01 13:59:28,234 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4416ae1c-89f4-4214-974c-61a0dfa9e32f 2025-11-01 13:59:29,475 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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 = 0.378/1.563/2.749/1.185 ms') 2025-11-01 13:59:29,475 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68769051-27914645 passed 2025-11-01 13:59:29,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:59:29,638 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68769051-27914645, IP 24.101.113.3, Port 22 2025-11-01 13:59:29,788 - DEBUG - VM ctest-TestBasicPolicy-68769051-27914645 is ready for SSH connections 2025-11-01 13:59:29,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:59:29,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.101.113.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-01 13:59:29,789 - DEBUG - ping -s 56 -c 3 -W 1 24.101.113.3 2025-11-01 13:59:33,485 - DEBUG - PING 24.101.113.3 (24.101.113.3): 56 data bytes 64 bytes from 24.101.113.3: seq=0 ttl=63 time=3.167 ms 64 bytes from 24.101.113.3: seq=1 ttl=63 time=0.733 ms 64 bytes from 24.101.113.3: seq=2 ttl=63 time=0.855 ms --- 24.101.113.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.733/1.585/3.167 ms 2025-11-01 13:59:33,485 - INFO - Ping to IP 24.101.113.3 from VM ctest-TestBasicPolicy-68769051-94883003 passed 2025-11-01 13:59:33,665 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bc12e04e-5d6c-4aee-bbab-5908a59881e2", "href": "http://10.0.0.22:8082/network-policy/bc12e04e-5d6c-4aee-bbab-5908a59881e2"}} 2025-11-01 13:59:33,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:59:33,666 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.101.113.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-01 13:59:33,666 - DEBUG - ping -s 56 -c 3 -W 1 24.101.113.3 2025-11-01 13:59:36,916 - DEBUG - PING 24.101.113.3 (24.101.113.3): 56 data bytes --- 24.101.113.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-01 13:59:36,917 - WARNING - Ping to IP 24.101.113.3 from VM ctest-TestBasicPolicy-68769051-94883003 failed 2025-11-01 13:59:36,917 - INFO - Deleting VM ctest-TestBasicPolicy-68769051-27914645 2025-11-01 13:59:36,978 - INFO - Deleting VM ctest-TestBasicPolicy-68769051-94883003 2025-11-01 13:59:37,312 - INFO - Deleted policy ctest-policy-allow-all-64160612 2025-11-01 13:59:37,312 - INFO - Deleting VN ctest-vn-18897049 2025-11-01 13:59:37,343 - DEBUG - VN d648edff-7e2d-468a-9050-dc49a2f71102 still in use: Unable to complete operation on network d648edff-7e2d-468a-9050-dc49a2f71102. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-86c9e122-36fb-4451-8931-61004ca11c6b'] 2025-11-01 13:59:37,343 - WARNING - Deleting VN ctest-vn-18897049 failed..Will retry 2025-11-01 13:59:39,441 - DEBUG - Response for deleting network () 2025-11-01 13:59:39,441 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9c8a209e-3d60-44ec-ab5a-151278c1ae2a 2025-11-01 13:59:39,446 - DEBUG - Response Code: 404 2025-11-01 13:59:39,446 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-01 13:59:39,451 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd496be1-039d-4a04-817e-3af4876ebfbf 2025-11-01 13:59:39,504 - DEBUG - Requesting: http://10.0.0.22:8082/project/116edd3c-ada1-4cec-bdca-fa2bb4a46594 2025-11-01 13:59:39,580 - INFO - Validated that VN ctest-vn-18897049 is not found in API Server 2025-11-01 13:59:39,588 - DEBUG - VN ctest-vn-18897049 is not present in Agent 10.0.0.22 2025-11-01 13:59:39,588 - INFO - Validated that VN ctest-vn-18897049 is not in any agent 2025-11-01 13:59:39,601 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18897049 info 2025-11-01 13:59:39,601 - INFO - Deleting VN ctest-vn-47269072 2025-11-01 13:59:39,682 - DEBUG - Response for deleting network () 2025-11-01 13:59:39,682 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/42875ea0-4ad7-4f12-9e4d-360b9574574b 2025-11-01 13:59:39,688 - DEBUG - Response Code: 404 2025-11-01 13:59:39,688 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-01 13:59:39,692 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd496be1-039d-4a04-817e-3af4876ebfbf 2025-11-01 13:59:39,746 - DEBUG - Requesting: http://10.0.0.22:8082/project/116edd3c-ada1-4cec-bdca-fa2bb4a46594 2025-11-01 13:59:39,810 - INFO - Validated that VN ctest-vn-47269072 is not found in API Server 2025-11-01 13:59:39,818 - DEBUG - VN ctest-vn-47269072 is not present in Agent 10.0.0.22 2025-11-01 13:59:39,818 - INFO - Validated that VN ctest-vn-47269072 is not in any agent 2025-11-01 13:59:39,829 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47269072 info 2025-11-01 13:59:40,087 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 13:59:40,087 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-01 13:59:40,087 - INFO - -------------------------------------------------------------------------------- 2025-11-01 13:59:40,729 - INFO - Deleted project: ctest-TestBasicPolicy-68769051, ID : 116edd3c-ada1-4cec-bdca-fa2bb4a46594