2025-10-21 18:43:58,182 - INFO - Domain Default found not creating 2025-10-21 18:43:58,348 - INFO - Project ctest-TestBasicPolicy-92108118 not found, creating it 2025-10-21 18:43:58,805 - INFO - Created Project:ctest-TestBasicPolicy-92108118, ID : c3c34781-3c93-4fc8-bb9b-d47a2635a939 2025-10-21 18:44:00,264 - INFO - ================================================================================ 2025-10-21 18:44:00,264 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 18:44:00,264 - 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-21 18:44:00,520 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-10-21 18:44:00,520 - INFO - Initial checks done. Running the testcase now 2025-10-21 18:44:00,520 - INFO - 2025-10-21 18:44:01,080 - DEBUG - Response for create_network : {'network': {'id': '147da0e1-635a-467b-b292-aff08e233935', 'name': 'ctest-vn-12407317', 'tenant_id': 'c3c347813c934fc8bb9bd47a2635a939', 'project_id': 'c3c347813c934fc8bb9bd47a2635a939', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92108118', 'ctest-vn-12407317'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 18:44:01,248 - DEBUG - Response for create_subnet : {'subnet': {'id': '0002efed-160d-4b97-bc2b-9852a34a02cc', 'name': '', 'tenant_id': 'c3c347813c934fc8bb9bd47a2635a939', 'network_id': '147da0e1-635a-467b-b292-aff08e233935', 'ip_version': 4, 'cidr': '160.52.14.64/26', 'allocation_pools': [{'start': '160.52.14.66', 'end': '160.52.14.126'}], 'gateway_ip': '160.52.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.52.14.66', 'tags': [], 'project_id': 'c3c347813c934fc8bb9bd47a2635a939'}} 2025-10-21 18:44:01,271 - INFO - Created VN ctest-vn-12407317 2025-10-21 18:44:01,326 - DEBUG - VN ctest-vn-12407317 UUID is 147da0e1-635a-467b-b292-aff08e233935 2025-10-21 18:44:01,611 - DEBUG - Response for create_network : {'network': {'id': '055ace96-f6c0-4122-8356-9c1a4c3132f6', 'name': 'ctest-vn-76873817', 'tenant_id': 'c3c347813c934fc8bb9bd47a2635a939', 'project_id': 'c3c347813c934fc8bb9bd47a2635a939', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92108118', 'ctest-vn-76873817'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 18:44:01,837 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f1c3dc2-debb-4303-ad25-c57d1736f0b9', 'name': '', 'tenant_id': 'c3c347813c934fc8bb9bd47a2635a939', 'network_id': '055ace96-f6c0-4122-8356-9c1a4c3132f6', 'ip_version': 4, 'cidr': '189.43.156.192/26', 'allocation_pools': [{'start': '189.43.156.194', 'end': '189.43.156.254'}], 'gateway_ip': '189.43.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.43.156.194', 'tags': [], 'project_id': 'c3c347813c934fc8bb9bd47a2635a939'}} 2025-10-21 18:44:01,855 - INFO - Created VN ctest-vn-76873817 2025-10-21 18:44:01,910 - DEBUG - VN ctest-vn-76873817 UUID is 055ace96-f6c0-4122-8356-9c1a4c3132f6 2025-10-21 18:44:02,023 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92108118:ctest-vn-12407317, 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-92108118:ctest-vn-76873817, 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-21 18:44:02,324 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '147da0e1-635a-467b-b292-aff08e233935', 'name': 'ctest-vn-12407317', 'tenant_id': 'c3c347813c934fc8bb9bd47a2635a939', 'project_id': 'c3c347813c934fc8bb9bd47a2635a939', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0002efed-160d-4b97-bc2b-9852a34a02cc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92108118', 'ctest-vn-12407317'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92108118', 'ctest-policy-allow-all-46203367']], 'subnet_ipam': [{'subnet_cidr': '160.52.14.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 18:44:02,569 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '055ace96-f6c0-4122-8356-9c1a4c3132f6', 'name': 'ctest-vn-76873817', 'tenant_id': 'c3c347813c934fc8bb9bd47a2635a939', 'project_id': 'c3c347813c934fc8bb9bd47a2635a939', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f1c3dc2-debb-4303-ad25-c57d1736f0b9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92108118', 'ctest-vn-76873817'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92108118', 'ctest-policy-allow-all-46203367']], 'subnet_ipam': [{'subnet_cidr': '189.43.156.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 18:44:02,742 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-21 18:44:03,040 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-21 18:44:03,071 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b545ca9b-a7ee-4b6c-ba99-749b252af2f8 2025-10-21 18:44:03,083 - DEBUG - Requesting: http://10.0.0.141:8082/project/c3c34781-3c93-4fc8-bb9b-d47a2635a939 2025-10-21 18:44:03,153 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/147da0e1-635a-467b-b292-aff08e233935 2025-10-21 18:44:03,164 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/147da0e1-635a-467b-b292-aff08e233935 2025-10-21 18:44:03,172 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2ff2950a-cf7d-4e63-9a9c-3a0ee57184ee 2025-10-21 18:44:03,179 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2ff2950a-cf7d-4e63-9a9c-3a0ee57184ee 2025-10-21 18:44:03,185 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e16ae230-8d05-491d-811f-6ddc5f72f70f 2025-10-21 18:44:03,191 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 18:44:03,191 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/147da0e1-635a-467b-b292-aff08e233935 2025-10-21 18:44:03,200 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2ff2950a-cf7d-4e63-9a9c-3a0ee57184ee 2025-10-21 18:44:03,215 - INFO - Verified VN network id 11 for VN 147da0e1-635a-467b-b292-aff08e233935 2025-10-21 18:44:03,215 - INFO - Verifications in API Server for VN ctest-vn-12407317 passed 2025-10-21 18:44:03,215 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/147da0e1-635a-467b-b292-aff08e233935 2025-10-21 18:44:03,224 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2ff2950a-cf7d-4e63-9a9c-3a0ee57184ee 2025-10-21 18:44:03,232 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2ff2950a-cf7d-4e63-9a9c-3a0ee57184ee 2025-10-21 18:44:03,239 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e16ae230-8d05-491d-811f-6ddc5f72f70f 2025-10-21 18:44:03,251 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92108118:ctest-vn-12407317', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92108118', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1476513142742337147', 'uuid-lslong': '12867540533062613301'}, 'enable': 'true', 'created': '2025-10-21T18:44:01', 'last-modified': '2025-10-21T18:44:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953716'} 2025-10-21 18:44:03,258 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 18:44:03,258 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12407317 passed 2025-10-21 18:44:03,258 - DEBUG - ====Verifying policy data for ctest-vn-12407317 in API_Server ====== 2025-10-21 18:44:03,258 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-21 18:44:03,264 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b545ca9b-a7ee-4b6c-ba99-749b252af2f8 2025-10-21 18:44:03,275 - DEBUG - Requesting: http://10.0.0.141:8082/project/c3c34781-3c93-4fc8-bb9b-d47a2635a939 2025-10-21 18:44:03,342 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/147da0e1-635a-467b-b292-aff08e233935 2025-10-21 18:44:03,351 - DEBUG - ==>Verifying data for policy with id: c56762dd-7548-4ba9-b0d6-de5f33b547e5, fqn: ['default-domain', 'ctest-TestBasicPolicy-92108118', 'ctest-policy-allow-all-46203367'] 2025-10-21 18:44:03,351 - INFO - VN ctest-vn-12407317 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 18:44:03,351 - DEBUG - Verifying the vn in opserver 2025-10-21 18:44:03,351 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92108118:ctest-vn-12407317 virtual network link through opserver 10.0.0.141 2025-10-21 18:44:03,351 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-21 18:44:03,641 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-21 18:44:03,700 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92108118:ctest-vn-12407317', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92108118:ctest-vn-12407317?flat'} 2025-10-21 18:44:03,700 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92108118:ctest-vn-12407317 is found in opserver 2025-10-21 18:44:03,711 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 18:44:03,717 - DEBUG - VRF ids for VN ctest-vn-12407317: {} 2025-10-21 18:44:03,717 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-21 18:44:03,723 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b545ca9b-a7ee-4b6c-ba99-749b252af2f8 2025-10-21 18:44:03,735 - DEBUG - Requesting: http://10.0.0.141:8082/project/c3c34781-3c93-4fc8-bb9b-d47a2635a939 2025-10-21 18:44:03,809 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/055ace96-f6c0-4122-8356-9c1a4c3132f6 2025-10-21 18:44:03,822 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/055ace96-f6c0-4122-8356-9c1a4c3132f6 2025-10-21 18:44:03,831 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a367dd23-4fe5-4e8b-a2f8-b808995266cf 2025-10-21 18:44:03,839 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a367dd23-4fe5-4e8b-a2f8-b808995266cf 2025-10-21 18:44:03,846 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/a15af151-32fd-42e7-9820-1deb6e7d8b3c 2025-10-21 18:44:03,853 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 18:44:03,853 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/055ace96-f6c0-4122-8356-9c1a4c3132f6 2025-10-21 18:44:03,862 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a367dd23-4fe5-4e8b-a2f8-b808995266cf 2025-10-21 18:44:03,877 - INFO - Verified VN network id 12 for VN 055ace96-f6c0-4122-8356-9c1a4c3132f6 2025-10-21 18:44:03,878 - INFO - Verifications in API Server for VN ctest-vn-76873817 passed 2025-10-21 18:44:03,878 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/055ace96-f6c0-4122-8356-9c1a4c3132f6 2025-10-21 18:44:03,887 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a367dd23-4fe5-4e8b-a2f8-b808995266cf 2025-10-21 18:44:03,894 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a367dd23-4fe5-4e8b-a2f8-b808995266cf 2025-10-21 18:44:03,900 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/a15af151-32fd-42e7-9820-1deb6e7d8b3c 2025-10-21 18:44:03,913 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92108118:ctest-vn-76873817', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92108118', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '385847865873809698', 'uuid-lslong': '9463923303727051510'}, 'enable': 'true', 'created': '2025-10-21T18:44:01', 'last-modified': '2025-10-21T18:44:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.370956'} 2025-10-21 18:44:03,919 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 18:44:03,919 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76873817 passed 2025-10-21 18:44:03,919 - DEBUG - ====Verifying policy data for ctest-vn-76873817 in API_Server ====== 2025-10-21 18:44:03,919 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-21 18:44:03,926 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b545ca9b-a7ee-4b6c-ba99-749b252af2f8 2025-10-21 18:44:03,937 - DEBUG - Requesting: http://10.0.0.141:8082/project/c3c34781-3c93-4fc8-bb9b-d47a2635a939 2025-10-21 18:44:04,007 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/055ace96-f6c0-4122-8356-9c1a4c3132f6 2025-10-21 18:44:04,017 - DEBUG - ==>Verifying data for policy with id: c56762dd-7548-4ba9-b0d6-de5f33b547e5, fqn: ['default-domain', 'ctest-TestBasicPolicy-92108118', 'ctest-policy-allow-all-46203367'] 2025-10-21 18:44:04,017 - INFO - VN ctest-vn-76873817 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 18:44:04,017 - DEBUG - Verifying the vn in opserver 2025-10-21 18:44:04,017 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92108118:ctest-vn-76873817 virtual network link through opserver 10.0.0.141 2025-10-21 18:44:04,017 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-21 18:44:04,027 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92108118:ctest-vn-76873817', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92108118:ctest-vn-76873817?flat'} 2025-10-21 18:44:04,027 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92108118:ctest-vn-76873817 is found in opserver 2025-10-21 18:44:04,035 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 18:44:04,039 - DEBUG - VRF ids for VN ctest-vn-76873817: {} 2025-10-21 18:44:04,093 - DEBUG - Services list from nova: [, , ] 2025-10-21 18:44:05,123 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4403-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4403-1) 2025-10-21 18:44:06,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4403-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4403-1) 2025-10-21 18:44:06,275 - INFO - Waiting for VM ctest-TestBasicPolicy-92108118-41219624 to be up.. 2025-10-21 18:44:06,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 18:44:11,451 - DEBUG - VM is in ACTIVE state now 2025-10-21 18:44:11,451 - INFO - VM name : ctest-TestBasicPolicy-92108118-41219624 2025-10-21 18:44:11,533 - DEBUG - VM ctest-TestBasicPolicy-92108118-41219624 ID is ff174983-e50b-49e5-acdd-4b1582860090 2025-10-21 18:44:11,553 - DEBUG - VM ctest-TestBasicPolicy-92108118-41219624 launched on Node cn-jenkins-deploy-platform-ansible-os-4403-1 2025-10-21 18:44:11,630 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ff174983-e50b-49e5-acdd-4b1582860090 2025-10-21 18:44:11,640 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/3fe12fcb-4255-43a8-bdf5-f8d63c198204 2025-10-21 18:44:14,885 - 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 1009ms') 2025-10-21 18:44:14,885 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92108118-41219624 failed! 2025-10-21 18:44:14,941 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92108118:ctest-vn-12407317 is 160.52.14.65 and allocation pool is NOT set 2025-10-21 18:44:17,000 - 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=6.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/3.496/6.562/3.065 ms') 2025-10-21 18:44:17,000 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92108118-41219624 passed 2025-10-21 18:44:17,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 18:44:17,150 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92108118-41219624, IP 160.52.14.67, Port 22 2025-10-21 18:44:17,305 - DEBUG - VM ctest-TestBasicPolicy-92108118-41219624 is ready for SSH connections 2025-10-21 18:44:17,305 - INFO - Waiting for VM ctest-TestBasicPolicy-92108118-14980775 to be up.. 2025-10-21 18:44:17,388 - DEBUG - VM is in ACTIVE state now 2025-10-21 18:44:17,389 - INFO - VM name : ctest-TestBasicPolicy-92108118-14980775 2025-10-21 18:44:17,576 - DEBUG - VM ctest-TestBasicPolicy-92108118-14980775 ID is aa582cf2-df4b-4b44-be7e-016d8a4c0aad 2025-10-21 18:44:17,577 - DEBUG - VM ctest-TestBasicPolicy-92108118-14980775 launched on Node cn-jenkins-deploy-platform-ansible-os-4403-1 2025-10-21 18:44:17,647 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/aa582cf2-df4b-4b44-be7e-016d8a4c0aad 2025-10-21 18:44:17,655 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e6bf4001-5b2d-490c-85c4-d497e7304948 2025-10-21 18:44:18,897 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.488 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.488/2.281/4.074/1.793 ms') 2025-10-21 18:44:18,897 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92108118-14980775 passed 2025-10-21 18:44:19,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 18:44:19,046 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92108118-14980775, IP 189.43.156.195, Port 22 2025-10-21 18:44:19,211 - DEBUG - VM ctest-TestBasicPolicy-92108118-14980775 is ready for SSH connections 2025-10-21 18:44:19,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 18:44:19,212 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.43.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 18:44:19,212 - DEBUG - ping -s 56 -c 3 -W 1 189.43.156.195 2025-10-21 18:44:23,244 - DEBUG - PING 189.43.156.195 (189.43.156.195): 56 data bytes 64 bytes from 189.43.156.195: seq=0 ttl=63 time=5.314 ms 64 bytes from 189.43.156.195: seq=1 ttl=63 time=3.906 ms 64 bytes from 189.43.156.195: seq=2 ttl=63 time=0.902 ms --- 189.43.156.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.902/3.374/5.314 ms 2025-10-21 18:44:23,244 - INFO - Ping to IP 189.43.156.195 from VM ctest-TestBasicPolicy-92108118-41219624 passed 2025-10-21 18:44:23,422 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c56762dd-7548-4ba9-b0d6-de5f33b547e5", "href": "http://10.0.0.141:8082/network-policy/c56762dd-7548-4ba9-b0d6-de5f33b547e5"}} 2025-10-21 18:44:23,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 18:44:23,422 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.43.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 18:44:23,422 - DEBUG - ping -s 56 -c 3 -W 1 189.43.156.195 2025-10-21 18:44:26,642 - DEBUG - PING 189.43.156.195 (189.43.156.195): 56 data bytes --- 189.43.156.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 18:44:26,643 - WARNING - Ping to IP 189.43.156.195 from VM ctest-TestBasicPolicy-92108118-41219624 failed 2025-10-21 18:44:26,643 - INFO - Deleting VM ctest-TestBasicPolicy-92108118-14980775 2025-10-21 18:44:26,712 - INFO - Deleting VM ctest-TestBasicPolicy-92108118-41219624 2025-10-21 18:44:27,083 - INFO - Deleted policy ctest-policy-allow-all-46203367 2025-10-21 18:44:27,083 - INFO - Deleting VN ctest-vn-76873817 2025-10-21 18:44:27,122 - DEBUG - VN 055ace96-f6c0-4122-8356-9c1a4c3132f6 still in use: Unable to complete operation on network 055ace96-f6c0-4122-8356-9c1a4c3132f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0b6b1ac7-45cb-4f69-a8a1-46c9a1d3afe5'] 2025-10-21 18:44:27,122 - WARNING - Deleting VN ctest-vn-76873817 failed..Will retry 2025-10-21 18:44:29,218 - DEBUG - Response for deleting network () 2025-10-21 18:44:29,218 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a367dd23-4fe5-4e8b-a2f8-b808995266cf 2025-10-21 18:44:29,224 - DEBUG - Response Code: 404 2025-10-21 18:44:29,224 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-21 18:44:29,233 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b545ca9b-a7ee-4b6c-ba99-749b252af2f8 2025-10-21 18:44:29,287 - DEBUG - Requesting: http://10.0.0.141:8082/project/c3c34781-3c93-4fc8-bb9b-d47a2635a939 2025-10-21 18:44:29,357 - INFO - Validated that VN ctest-vn-76873817 is not found in API Server 2025-10-21 18:44:29,367 - DEBUG - VN ctest-vn-76873817 is not present in Agent 10.0.0.141 2025-10-21 18:44:29,367 - INFO - Validated that VN ctest-vn-76873817 is not in any agent 2025-10-21 18:44:29,383 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76873817 info 2025-10-21 18:44:29,383 - INFO - Deleting VN ctest-vn-12407317 2025-10-21 18:44:29,493 - DEBUG - Response for deleting network () 2025-10-21 18:44:29,493 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2ff2950a-cf7d-4e63-9a9c-3a0ee57184ee 2025-10-21 18:44:29,498 - DEBUG - Response Code: 404 2025-10-21 18:44:29,498 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-21 18:44:29,504 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b545ca9b-a7ee-4b6c-ba99-749b252af2f8 2025-10-21 18:44:29,555 - DEBUG - Requesting: http://10.0.0.141:8082/project/c3c34781-3c93-4fc8-bb9b-d47a2635a939 2025-10-21 18:44:29,625 - INFO - Validated that VN ctest-vn-12407317 is not found in API Server 2025-10-21 18:44:29,635 - DEBUG - VN ctest-vn-12407317 is not present in Agent 10.0.0.141 2025-10-21 18:44:29,635 - INFO - Validated that VN ctest-vn-12407317 is not in any agent 2025-10-21 18:44:29,647 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12407317 info 2025-10-21 18:44:29,906 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 18:44:29,906 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-21 18:44:29,906 - INFO - -------------------------------------------------------------------------------- 2025-10-21 18:44:30,597 - INFO - Deleted project: ctest-TestBasicPolicy-92108118, ID : c3c34781-3c93-4fc8-bb9b-d47a2635a939