2025-08-18 09:44:30,896 - INFO - Domain Default found not creating 2025-08-18 09:44:31,009 - INFO - Project ctest-TestBasicPolicy-76752267 not found, creating it 2025-08-18 09:44:31,471 - INFO - Created Project:ctest-TestBasicPolicy-76752267, ID : 7e704a80-bfb6-4d5f-937a-681fc36c4220 2025-08-18 09:44:32,750 - INFO - ================================================================================ 2025-08-18 09:44:32,750 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-18 09:44:32,750 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-08-18 09:44:33,004 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.0.0.48': '0'}} with 2025-08-18 09:44:33,004 - INFO - Initial checks done. Running the testcase now 2025-08-18 09:44:33,004 - INFO - 2025-08-18 09:44:33,509 - DEBUG - Response for create_network : {'network': {'id': '6c7a8ae2-0347-4778-b86f-74fc6da27110', 'name': 'ctest-vn-71721664', 'tenant_id': '7e704a80bfb64d5f937a681fc36c4220', 'project_id': '7e704a80bfb64d5f937a681fc36c4220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76752267', 'ctest-vn-71721664'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:44:33,674 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7a80d42-9508-4806-927e-f1323a0ad1b8', 'name': '', 'tenant_id': '7e704a80bfb64d5f937a681fc36c4220', 'network_id': '6c7a8ae2-0347-4778-b86f-74fc6da27110', 'ip_version': 4, 'cidr': '83.120.125.128/26', 'allocation_pools': [{'start': '83.120.125.130', 'end': '83.120.125.190'}], 'gateway_ip': '83.120.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.120.125.130', 'tags': [], 'project_id': '7e704a80bfb64d5f937a681fc36c4220'}} 2025-08-18 09:44:33,691 - INFO - Created VN ctest-vn-71721664 2025-08-18 09:44:33,743 - DEBUG - VN ctest-vn-71721664 UUID is 6c7a8ae2-0347-4778-b86f-74fc6da27110 2025-08-18 09:44:34,043 - DEBUG - Response for create_network : {'network': {'id': '9da1db79-d2e8-4d5d-ac37-ebcc8db7b0ef', 'name': 'ctest-vn-43964257', 'tenant_id': '7e704a80bfb64d5f937a681fc36c4220', 'project_id': '7e704a80bfb64d5f937a681fc36c4220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76752267', 'ctest-vn-43964257'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:44:34,180 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c64d257-953f-4609-b8cb-504f8007d24b', 'name': '', 'tenant_id': '7e704a80bfb64d5f937a681fc36c4220', 'network_id': '9da1db79-d2e8-4d5d-ac37-ebcc8db7b0ef', 'ip_version': 4, 'cidr': '125.64.126.0/26', 'allocation_pools': [{'start': '125.64.126.2', 'end': '125.64.126.62'}], 'gateway_ip': '125.64.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.64.126.2', 'tags': [], 'project_id': '7e704a80bfb64d5f937a681fc36c4220'}} 2025-08-18 09:44:34,195 - INFO - Created VN ctest-vn-43964257 2025-08-18 09:44:34,247 - DEBUG - VN ctest-vn-43964257 UUID is 9da1db79-d2e8-4d5d-ac37-ebcc8db7b0ef 2025-08-18 09:44:34,387 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76752267:ctest-vn-71721664, 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-76752267:ctest-vn-43964257, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-08-18 09:44:34,673 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6c7a8ae2-0347-4778-b86f-74fc6da27110', 'name': 'ctest-vn-71721664', 'tenant_id': '7e704a80bfb64d5f937a681fc36c4220', 'project_id': '7e704a80bfb64d5f937a681fc36c4220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7a80d42-9508-4806-927e-f1323a0ad1b8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76752267', 'ctest-vn-71721664'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76752267', 'ctest-policy-allow-all-32831447']], 'subnet_ipam': [{'subnet_cidr': '83.120.125.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:44:34,886 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9da1db79-d2e8-4d5d-ac37-ebcc8db7b0ef', 'name': 'ctest-vn-43964257', 'tenant_id': '7e704a80bfb64d5f937a681fc36c4220', 'project_id': '7e704a80bfb64d5f937a681fc36c4220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1c64d257-953f-4609-b8cb-504f8007d24b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76752267', 'ctest-vn-43964257'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76752267', 'ctest-policy-allow-all-32831447']], 'subnet_ipam': [{'subnet_cidr': '125.64.126.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:44:35,039 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-18 09:44:35,336 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-18 09:44:35,362 - DEBUG - Requesting: http://10.0.0.48:8082/domain/827661c3-927d-424a-a690-5dd23ede00b3 2025-08-18 09:44:35,373 - DEBUG - Requesting: http://10.0.0.48:8082/project/7e704a80-bfb6-4d5f-937a-681fc36c4220 2025-08-18 09:44:35,441 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/6c7a8ae2-0347-4778-b86f-74fc6da27110 2025-08-18 09:44:35,452 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/6c7a8ae2-0347-4778-b86f-74fc6da27110 2025-08-18 09:44:35,460 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e058620e-7e50-4a29-99cf-c07bfeb0b28e 2025-08-18 09:44:35,465 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e058620e-7e50-4a29-99cf-c07bfeb0b28e 2025-08-18 09:44:35,471 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/5181410f-67cf-463a-8c35-ed25d5d687cf 2025-08-18 09:44:35,475 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 09:44:35,475 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/6c7a8ae2-0347-4778-b86f-74fc6da27110 2025-08-18 09:44:35,482 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e058620e-7e50-4a29-99cf-c07bfeb0b28e 2025-08-18 09:44:35,492 - INFO - Verified VN network id 12 for VN 6c7a8ae2-0347-4778-b86f-74fc6da27110 2025-08-18 09:44:35,493 - INFO - Verifications in API Server for VN ctest-vn-71721664 passed 2025-08-18 09:44:35,493 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/6c7a8ae2-0347-4778-b86f-74fc6da27110 2025-08-18 09:44:35,500 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e058620e-7e50-4a29-99cf-c07bfeb0b28e 2025-08-18 09:44:35,505 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e058620e-7e50-4a29-99cf-c07bfeb0b28e 2025-08-18 09:44:35,509 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/5181410f-67cf-463a-8c35-ed25d5d687cf 2025-08-18 09:44:35,518 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76752267:ctest-vn-71721664', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76752267', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7816712806577162104', 'uuid-lslong': '13289969652913565968'}, 'enable': 'true', 'created': '2025-08-18T09:44:33', 'last-modified': '2025-08-18T09:44:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.864937'} 2025-08-18 09:44:35,523 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 09:44:35,524 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71721664 passed 2025-08-18 09:44:35,524 - DEBUG - ====Verifying policy data for ctest-vn-71721664 in API_Server ====== 2025-08-18 09:44:35,524 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-18 09:44:35,527 - DEBUG - Requesting: http://10.0.0.48:8082/domain/827661c3-927d-424a-a690-5dd23ede00b3 2025-08-18 09:44:35,536 - DEBUG - Requesting: http://10.0.0.48:8082/project/7e704a80-bfb6-4d5f-937a-681fc36c4220 2025-08-18 09:44:35,601 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/6c7a8ae2-0347-4778-b86f-74fc6da27110 2025-08-18 09:44:35,609 - DEBUG - ==>Verifying data for policy with id: 030a0320-4236-497a-94ef-2a5ac5a54824, fqn: ['default-domain', 'ctest-TestBasicPolicy-76752267', 'ctest-policy-allow-all-32831447'] 2025-08-18 09:44:35,609 - INFO - VN ctest-vn-71721664 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 09:44:35,609 - DEBUG - Verifying the vn in opserver 2025-08-18 09:44:35,609 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76752267:ctest-vn-71721664 virtual network link through opserver 10.0.0.48 2025-08-18 09:44:35,609 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-18 09:44:35,896 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-18 09:44:35,942 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76752267:ctest-vn-71721664', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76752267:ctest-vn-71721664?flat'} 2025-08-18 09:44:35,942 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76752267:ctest-vn-71721664 is found in opserver 2025-08-18 09:44:35,951 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 09:44:35,954 - DEBUG - VRF ids for VN ctest-vn-71721664: {} 2025-08-18 09:44:35,955 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-18 09:44:35,959 - DEBUG - Requesting: http://10.0.0.48:8082/domain/827661c3-927d-424a-a690-5dd23ede00b3 2025-08-18 09:44:35,967 - DEBUG - Requesting: http://10.0.0.48:8082/project/7e704a80-bfb6-4d5f-937a-681fc36c4220 2025-08-18 09:44:36,034 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9da1db79-d2e8-4d5d-ac37-ebcc8db7b0ef 2025-08-18 09:44:36,043 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9da1db79-d2e8-4d5d-ac37-ebcc8db7b0ef 2025-08-18 09:44:36,051 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a4e97516-57a2-40f6-8291-99ffcb03869a 2025-08-18 09:44:36,056 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a4e97516-57a2-40f6-8291-99ffcb03869a 2025-08-18 09:44:36,060 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/7cf32af5-b423-4dbf-ab63-70f83d1c652e 2025-08-18 09:44:36,065 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 09:44:36,065 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9da1db79-d2e8-4d5d-ac37-ebcc8db7b0ef 2025-08-18 09:44:36,072 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a4e97516-57a2-40f6-8291-99ffcb03869a 2025-08-18 09:44:36,082 - INFO - Verified VN network id 13 for VN 9da1db79-d2e8-4d5d-ac37-ebcc8db7b0ef 2025-08-18 09:44:36,082 - INFO - Verifications in API Server for VN ctest-vn-43964257 passed 2025-08-18 09:44:36,082 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9da1db79-d2e8-4d5d-ac37-ebcc8db7b0ef 2025-08-18 09:44:36,090 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a4e97516-57a2-40f6-8291-99ffcb03869a 2025-08-18 09:44:36,094 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a4e97516-57a2-40f6-8291-99ffcb03869a 2025-08-18 09:44:36,099 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/7cf32af5-b423-4dbf-ab63-70f83d1c652e 2025-08-18 09:44:36,109 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76752267:ctest-vn-43964257', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76752267', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11358601051481066845', 'uuid-lslong': '12409646562026172655'}, 'enable': 'true', 'created': '2025-08-18T09:44:34', 'last-modified': '2025-08-18T09:44:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.246885'} 2025-08-18 09:44:36,114 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 09:44:36,114 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43964257 passed 2025-08-18 09:44:36,114 - DEBUG - ====Verifying policy data for ctest-vn-43964257 in API_Server ====== 2025-08-18 09:44:36,114 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-18 09:44:36,118 - DEBUG - Requesting: http://10.0.0.48:8082/domain/827661c3-927d-424a-a690-5dd23ede00b3 2025-08-18 09:44:36,126 - DEBUG - Requesting: http://10.0.0.48:8082/project/7e704a80-bfb6-4d5f-937a-681fc36c4220 2025-08-18 09:44:36,199 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/9da1db79-d2e8-4d5d-ac37-ebcc8db7b0ef 2025-08-18 09:44:36,207 - DEBUG - ==>Verifying data for policy with id: 030a0320-4236-497a-94ef-2a5ac5a54824, fqn: ['default-domain', 'ctest-TestBasicPolicy-76752267', 'ctest-policy-allow-all-32831447'] 2025-08-18 09:44:36,207 - INFO - VN ctest-vn-43964257 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 09:44:36,207 - DEBUG - Verifying the vn in opserver 2025-08-18 09:44:36,207 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76752267:ctest-vn-43964257 virtual network link through opserver 10.0.0.48 2025-08-18 09:44:36,207 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-18 09:44:36,216 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76752267:ctest-vn-43964257', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76752267:ctest-vn-43964257?flat'} 2025-08-18 09:44:36,216 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76752267:ctest-vn-43964257 is found in opserver 2025-08-18 09:44:36,225 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 09:44:36,228 - DEBUG - VRF ids for VN ctest-vn-43964257: {} 2025-08-18 09:44:36,276 - DEBUG - Services list from nova: [, , ] 2025-08-18 09:44:37,224 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3875-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3875-1) 2025-08-18 09:44:38,316 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3875-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3875-1) 2025-08-18 09:44:38,316 - INFO - Waiting for VM ctest-TestBasicPolicy-76752267-80160422 to be up.. 2025-08-18 09:44:38,392 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 09:44:43,458 - DEBUG - VM is in ACTIVE state now 2025-08-18 09:44:43,458 - INFO - VM name : ctest-TestBasicPolicy-76752267-80160422 2025-08-18 09:44:43,520 - DEBUG - VM ctest-TestBasicPolicy-76752267-80160422 ID is 92480f8e-19cf-44c8-9a0c-656b3ef11c8a 2025-08-18 09:44:43,537 - DEBUG - VM ctest-TestBasicPolicy-76752267-80160422 launched on Node cn-jenkins-deploy-platform-ansible-os-3875-1. 2025-08-18 09:44:43,596 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/92480f8e-19cf-44c8-9a0c-656b3ef11c8a 2025-08-18 09:44:43,603 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/e17f678b-0650-46fd-81a7-f8933ae7fc17 2025-08-18 09:44:46,864 - 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 1031ms') 2025-08-18 09:44:46,864 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76752267-80160422 failed! 2025-08-18 09:44:46,915 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76752267:ctest-vn-71721664 is 83.120.125.129 and allocation pool is NOT set 2025-08-18 09:44:48,977 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.678 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.678/1.864/3.051/1.186 ms') 2025-08-18 09:44:48,977 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76752267-80160422 passed 2025-08-18 09:44:49,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:44:49,123 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76752267-80160422, IP 83.120.125.131, Port 22 2025-08-18 09:44:49,278 - DEBUG - VM ctest-TestBasicPolicy-76752267-80160422 is ready for SSH connections 2025-08-18 09:44:49,278 - INFO - Waiting for VM ctest-TestBasicPolicy-76752267-57057824 to be up.. 2025-08-18 09:44:49,341 - DEBUG - VM is in ACTIVE state now 2025-08-18 09:44:49,341 - INFO - VM name : ctest-TestBasicPolicy-76752267-57057824 2025-08-18 09:44:49,400 - DEBUG - VM ctest-TestBasicPolicy-76752267-57057824 ID is 89a7dfe9-a3d5-4006-90f3-910bb156b764 2025-08-18 09:44:49,400 - DEBUG - VM ctest-TestBasicPolicy-76752267-57057824 launched on Node cn-jenkins-deploy-platform-ansible-os-3875-1. 2025-08-18 09:44:49,458 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/89a7dfe9-a3d5-4006-90f3-910bb156b764 2025-08-18 09:44:49,465 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/12ce263e-6a67-4fdb-8e87-65a8d1c1fdfc 2025-08-18 09:44:50,683 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.363 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.363/1.651/2.939/1.288 ms') 2025-08-18 09:44:50,683 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76752267-57057824 passed 2025-08-18 09:44:50,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:44:50,831 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76752267-57057824, IP 125.64.126.3, Port 22 2025-08-18 09:44:50,983 - DEBUG - VM ctest-TestBasicPolicy-76752267-57057824 is ready for SSH connections 2025-08-18 09:44:50,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:44:50,983 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.64.126.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-18 09:44:50,983 - DEBUG - ping -s 56 -c 3 -W 1 125.64.126.3 2025-08-18 09:44:54,683 - DEBUG - PING 125.64.126.3 (125.64.126.3): 56 data bytes 64 bytes from 125.64.126.3: seq=0 ttl=63 time=3.439 ms 64 bytes from 125.64.126.3: seq=1 ttl=63 time=0.662 ms 64 bytes from 125.64.126.3: seq=2 ttl=63 time=0.650 ms --- 125.64.126.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.650/1.583/3.439 ms 2025-08-18 09:44:54,683 - INFO - Ping to IP 125.64.126.3 from VM ctest-TestBasicPolicy-76752267-80160422 passed 2025-08-18 09:44:54,855 - DEBUG - Policy Update Response {"network-policy": {"uuid": "030a0320-4236-497a-94ef-2a5ac5a54824", "href": "http://10.0.0.48:8082/network-policy/030a0320-4236-497a-94ef-2a5ac5a54824"}} 2025-08-18 09:44:54,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:44:54,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.64.126.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-18 09:44:54,855 - DEBUG - ping -s 56 -c 3 -W 1 125.64.126.3 2025-08-18 09:44:58,049 - DEBUG - PING 125.64.126.3 (125.64.126.3): 56 data bytes --- 125.64.126.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-18 09:44:58,049 - WARNING - Ping to IP 125.64.126.3 from VM ctest-TestBasicPolicy-76752267-80160422 failed 2025-08-18 09:44:58,049 - INFO - Deleting VM ctest-TestBasicPolicy-76752267-57057824 2025-08-18 09:44:58,105 - INFO - Deleting VM ctest-TestBasicPolicy-76752267-80160422 2025-08-18 09:44:58,440 - INFO - Deleted policy ctest-policy-allow-all-32831447 2025-08-18 09:44:58,440 - INFO - Deleting VN ctest-vn-43964257 2025-08-18 09:44:58,470 - DEBUG - VN 9da1db79-d2e8-4d5d-ac37-ebcc8db7b0ef still in use: Unable to complete operation on network 9da1db79-d2e8-4d5d-ac37-ebcc8db7b0ef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-01e30d1b-4222-4e3e-813e-3b6c5c4947e5'] 2025-08-18 09:44:58,470 - WARNING - Deleting VN ctest-vn-43964257 failed..Will retry 2025-08-18 09:45:00,564 - DEBUG - Response for deleting network () 2025-08-18 09:45:00,565 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a4e97516-57a2-40f6-8291-99ffcb03869a 2025-08-18 09:45:00,571 - DEBUG - Response Code: 404 2025-08-18 09:45:00,572 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-18 09:45:00,576 - DEBUG - Requesting: http://10.0.0.48:8082/domain/827661c3-927d-424a-a690-5dd23ede00b3 2025-08-18 09:45:00,634 - DEBUG - Requesting: http://10.0.0.48:8082/project/7e704a80-bfb6-4d5f-937a-681fc36c4220 2025-08-18 09:45:00,710 - INFO - Validated that VN ctest-vn-43964257 is not found in API Server 2025-08-18 09:45:00,719 - DEBUG - VN ctest-vn-43964257 is not present in Agent 10.0.0.48 2025-08-18 09:45:00,719 - INFO - Validated that VN ctest-vn-43964257 is not in any agent 2025-08-18 09:45:00,732 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43964257 info 2025-08-18 09:45:00,732 - INFO - Deleting VN ctest-vn-71721664 2025-08-18 09:45:00,845 - DEBUG - Response for deleting network () 2025-08-18 09:45:00,845 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e058620e-7e50-4a29-99cf-c07bfeb0b28e 2025-08-18 09:45:00,850 - DEBUG - Response Code: 404 2025-08-18 09:45:00,850 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-18 09:45:00,854 - DEBUG - Requesting: http://10.0.0.48:8082/domain/827661c3-927d-424a-a690-5dd23ede00b3 2025-08-18 09:45:00,907 - DEBUG - Requesting: http://10.0.0.48:8082/project/7e704a80-bfb6-4d5f-937a-681fc36c4220 2025-08-18 09:45:00,974 - INFO - Validated that VN ctest-vn-71721664 is not found in API Server 2025-08-18 09:45:00,984 - DEBUG - VN ctest-vn-71721664 is not present in Agent 10.0.0.48 2025-08-18 09:45:00,984 - INFO - Validated that VN ctest-vn-71721664 is not in any agent 2025-08-18 09:45:00,996 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71721664 info 2025-08-18 09:45:01,252 - DEBUG - No XMPP flaps were noticed during the test 2025-08-18 09:45:01,252 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-18 09:45:01,252 - INFO - -------------------------------------------------------------------------------- 2025-08-18 09:45:01,919 - INFO - Deleted project: ctest-TestBasicPolicy-76752267, ID : 7e704a80-bfb6-4d5f-937a-681fc36c4220