2025-06-30 02:29:13,443 - INFO - Domain Default found not creating 2025-06-30 02:29:13,600 - INFO - Project ctest-TestBasicPolicy-77752041 not found, creating it 2025-06-30 02:29:14,054 - INFO - Created Project:ctest-TestBasicPolicy-77752041, ID : f273497c-791e-4960-bdc1-a770a7fc30e2 2025-06-30 02:29:15,483 - INFO - ================================================================================ 2025-06-30 02:29:15,483 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-30 02:29:15,483 - 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-06-30 02:29:15,741 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.14': '0'}} with 2025-06-30 02:29:15,741 - INFO - Initial checks done. Running the testcase now 2025-06-30 02:29:15,741 - INFO - 2025-06-30 02:29:16,277 - DEBUG - Response for create_network : {'network': {'id': 'eaac571f-dbef-4e51-8071-b1b8bc6f3a98', 'name': 'ctest-vn-61987488', 'tenant_id': 'f273497c791e4960bdc1a770a7fc30e2', 'project_id': 'f273497c791e4960bdc1a770a7fc30e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77752041', 'ctest-vn-61987488'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 02:29:16,491 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac8876f6-6cd4-4c69-8f50-33735af02a10', 'name': '', 'tenant_id': 'f273497c791e4960bdc1a770a7fc30e2', 'network_id': 'eaac571f-dbef-4e51-8071-b1b8bc6f3a98', 'ip_version': 4, 'cidr': '151.40.75.64/26', 'allocation_pools': [{'start': '151.40.75.66', 'end': '151.40.75.126'}], 'gateway_ip': '151.40.75.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.40.75.66', 'tags': [], 'project_id': 'f273497c791e4960bdc1a770a7fc30e2'}} 2025-06-30 02:29:16,509 - INFO - Created VN ctest-vn-61987488 2025-06-30 02:29:16,563 - DEBUG - VN ctest-vn-61987488 UUID is eaac571f-dbef-4e51-8071-b1b8bc6f3a98 2025-06-30 02:29:16,878 - DEBUG - Response for create_network : {'network': {'id': 'a4378d8a-b744-449b-9913-afccb96eaea2', 'name': 'ctest-vn-64226396', 'tenant_id': 'f273497c791e4960bdc1a770a7fc30e2', 'project_id': 'f273497c791e4960bdc1a770a7fc30e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77752041', 'ctest-vn-64226396'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 02:29:17,043 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c4ce3cc-6877-4afd-87f9-425a9792290a', 'name': '', 'tenant_id': 'f273497c791e4960bdc1a770a7fc30e2', 'network_id': 'a4378d8a-b744-449b-9913-afccb96eaea2', 'ip_version': 4, 'cidr': '34.233.240.0/26', 'allocation_pools': [{'start': '34.233.240.2', 'end': '34.233.240.62'}], 'gateway_ip': '34.233.240.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.233.240.2', 'tags': [], 'project_id': 'f273497c791e4960bdc1a770a7fc30e2'}} 2025-06-30 02:29:17,062 - INFO - Created VN ctest-vn-64226396 2025-06-30 02:29:17,115 - DEBUG - VN ctest-vn-64226396 UUID is a4378d8a-b744-449b-9913-afccb96eaea2 2025-06-30 02:29:17,232 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77752041:ctest-vn-61987488, 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-77752041:ctest-vn-64226396, 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-06-30 02:29:17,517 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eaac571f-dbef-4e51-8071-b1b8bc6f3a98', 'name': 'ctest-vn-61987488', 'tenant_id': 'f273497c791e4960bdc1a770a7fc30e2', 'project_id': 'f273497c791e4960bdc1a770a7fc30e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ac8876f6-6cd4-4c69-8f50-33735af02a10'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77752041', 'ctest-vn-61987488'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77752041', 'ctest-policy-allow-all-10177744']], 'subnet_ipam': [{'subnet_cidr': '151.40.75.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 02:29:17,746 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4378d8a-b744-449b-9913-afccb96eaea2', 'name': 'ctest-vn-64226396', 'tenant_id': 'f273497c791e4960bdc1a770a7fc30e2', 'project_id': 'f273497c791e4960bdc1a770a7fc30e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5c4ce3cc-6877-4afd-87f9-425a9792290a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77752041', 'ctest-vn-64226396'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77752041', 'ctest-policy-allow-all-10177744']], 'subnet_ipam': [{'subnet_cidr': '34.233.240.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 02:29:17,895 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-06-30 02:29:18,194 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-06-30 02:29:18,226 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b2c4e208-97f0-44aa-9108-0cd1ce8aea7a 2025-06-30 02:29:18,243 - DEBUG - Requesting: http://10.0.0.56:8082/project/f273497c-791e-4960-bdc1-a770a7fc30e2 2025-06-30 02:29:18,332 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/eaac571f-dbef-4e51-8071-b1b8bc6f3a98 2025-06-30 02:29:18,347 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/eaac571f-dbef-4e51-8071-b1b8bc6f3a98 2025-06-30 02:29:18,360 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6da11139-de36-48ad-928e-a277b7058e61 2025-06-30 02:29:18,369 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6da11139-de36-48ad-928e-a277b7058e61 2025-06-30 02:29:18,378 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/49cb454e-b137-4278-97d1-4a33658dc47c 2025-06-30 02:29:18,386 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 02:29:18,386 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/eaac571f-dbef-4e51-8071-b1b8bc6f3a98 2025-06-30 02:29:18,398 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6da11139-de36-48ad-928e-a277b7058e61 2025-06-30 02:29:18,415 - INFO - Verified VN network id 8 for VN eaac571f-dbef-4e51-8071-b1b8bc6f3a98 2025-06-30 02:29:18,415 - INFO - Verifications in API Server for VN ctest-vn-61987488 passed 2025-06-30 02:29:18,415 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/eaac571f-dbef-4e51-8071-b1b8bc6f3a98 2025-06-30 02:29:18,428 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6da11139-de36-48ad-928e-a277b7058e61 2025-06-30 02:29:18,439 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6da11139-de36-48ad-928e-a277b7058e61 2025-06-30 02:29:18,449 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/49cb454e-b137-4278-97d1-4a33658dc47c 2025-06-30 02:29:18,465 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77752041:ctest-vn-61987488', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77752041', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16909986495214866001', 'uuid-lslong': '9255374116216584856'}, 'enable': 'true', 'created': '2025-06-30T02:29:16', 'last-modified': '2025-06-30T02:29:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.966830'} 2025-06-30 02:29:18,473 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 02:29:18,473 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61987488 passed 2025-06-30 02:29:18,473 - DEBUG - ====Verifying policy data for ctest-vn-61987488 in API_Server ====== 2025-06-30 02:29:18,473 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-06-30 02:29:18,481 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b2c4e208-97f0-44aa-9108-0cd1ce8aea7a 2025-06-30 02:29:18,496 - DEBUG - Requesting: http://10.0.0.56:8082/project/f273497c-791e-4960-bdc1-a770a7fc30e2 2025-06-30 02:29:18,588 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/eaac571f-dbef-4e51-8071-b1b8bc6f3a98 2025-06-30 02:29:18,604 - DEBUG - ==>Verifying data for policy with id: e8d5489d-a5b8-47b7-8718-9a97719cc4ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-77752041', 'ctest-policy-allow-all-10177744'] 2025-06-30 02:29:18,604 - INFO - VN ctest-vn-61987488 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 02:29:18,604 - DEBUG - Verifying the vn in opserver 2025-06-30 02:29:18,604 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77752041:ctest-vn-61987488 virtual network link through opserver 10.0.0.56 2025-06-30 02:29:18,604 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-06-30 02:29:18,898 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-06-30 02:29:18,958 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77752041:ctest-vn-61987488', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77752041:ctest-vn-61987488?flat'} 2025-06-30 02:29:18,958 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77752041:ctest-vn-61987488 is found in opserver 2025-06-30 02:29:18,969 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 02:29:18,975 - DEBUG - VRF ids for VN ctest-vn-61987488: {} 2025-06-30 02:29:18,975 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-06-30 02:29:18,980 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b2c4e208-97f0-44aa-9108-0cd1ce8aea7a 2025-06-30 02:29:18,992 - DEBUG - Requesting: http://10.0.0.56:8082/project/f273497c-791e-4960-bdc1-a770a7fc30e2 2025-06-30 02:29:19,067 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/a4378d8a-b744-449b-9913-afccb96eaea2 2025-06-30 02:29:19,082 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/a4378d8a-b744-449b-9913-afccb96eaea2 2025-06-30 02:29:19,094 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/64f7f870-4aa6-444b-a0c7-b28868b2bb23 2025-06-30 02:29:19,103 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/64f7f870-4aa6-444b-a0c7-b28868b2bb23 2025-06-30 02:29:19,111 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/5a0e6f5b-15bf-4301-b664-cf2121193669 2025-06-30 02:29:19,119 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 02:29:19,119 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/a4378d8a-b744-449b-9913-afccb96eaea2 2025-06-30 02:29:19,130 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/64f7f870-4aa6-444b-a0c7-b28868b2bb23 2025-06-30 02:29:19,146 - INFO - Verified VN network id 9 for VN a4378d8a-b744-449b-9913-afccb96eaea2 2025-06-30 02:29:19,146 - INFO - Verifications in API Server for VN ctest-vn-64226396 passed 2025-06-30 02:29:19,146 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/a4378d8a-b744-449b-9913-afccb96eaea2 2025-06-30 02:29:19,157 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/64f7f870-4aa6-444b-a0c7-b28868b2bb23 2025-06-30 02:29:19,165 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/64f7f870-4aa6-444b-a0c7-b28868b2bb23 2025-06-30 02:29:19,174 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/5a0e6f5b-15bf-4301-b664-cf2121193669 2025-06-30 02:29:19,189 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77752041:ctest-vn-64226396', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77752041', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11833082172858975387', 'uuid-lslong': '11030353206179704482'}, 'enable': 'true', 'created': '2025-06-30T02:29:16', 'last-modified': '2025-06-30T02:29:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.462584'} 2025-06-30 02:29:19,196 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 02:29:19,196 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64226396 passed 2025-06-30 02:29:19,196 - DEBUG - ====Verifying policy data for ctest-vn-64226396 in API_Server ====== 2025-06-30 02:29:19,196 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-06-30 02:29:19,203 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b2c4e208-97f0-44aa-9108-0cd1ce8aea7a 2025-06-30 02:29:19,217 - DEBUG - Requesting: http://10.0.0.56:8082/project/f273497c-791e-4960-bdc1-a770a7fc30e2 2025-06-30 02:29:19,292 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/a4378d8a-b744-449b-9913-afccb96eaea2 2025-06-30 02:29:19,314 - DEBUG - ==>Verifying data for policy with id: e8d5489d-a5b8-47b7-8718-9a97719cc4ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-77752041', 'ctest-policy-allow-all-10177744'] 2025-06-30 02:29:19,314 - INFO - VN ctest-vn-64226396 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 02:29:19,314 - DEBUG - Verifying the vn in opserver 2025-06-30 02:29:19,314 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77752041:ctest-vn-64226396 virtual network link through opserver 10.0.0.56 2025-06-30 02:29:19,314 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-06-30 02:29:19,326 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77752041:ctest-vn-64226396', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77752041:ctest-vn-64226396?flat'} 2025-06-30 02:29:19,326 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77752041:ctest-vn-64226396 is found in opserver 2025-06-30 02:29:19,338 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 02:29:19,343 - DEBUG - VRF ids for VN ctest-vn-64226396: {} 2025-06-30 02:29:19,398 - DEBUG - Services list from nova: [, , ] 2025-06-30 02:29:20,429 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3568-1) 2025-06-30 02:29:21,677 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3568-1) 2025-06-30 02:29:21,678 - INFO - Waiting for VM ctest-TestBasicPolicy-77752041-73759976 to be up.. 2025-06-30 02:29:21,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 02:29:26,852 - DEBUG - VM is in ACTIVE state now 2025-06-30 02:29:26,852 - INFO - VM name : ctest-TestBasicPolicy-77752041-73759976 2025-06-30 02:29:26,930 - DEBUG - VM ctest-TestBasicPolicy-77752041-73759976 ID is 155aabd5-c205-47a4-ab2c-fdd749b0635b 2025-06-30 02:29:26,950 - DEBUG - VM ctest-TestBasicPolicy-77752041-73759976 launched on Node cn-jenkins-deploy-platform-ansible-os-3568-1 2025-06-30 02:29:27,026 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/155aabd5-c205-47a4-ab2c-fdd749b0635b 2025-06-30 02:29:27,035 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/b4d65463-6f54-4cf8-adce-bb67159f032d 2025-06-30 02:29:30,275 - 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 1003ms') 2025-06-30 02:29:30,275 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77752041-73759976 failed! 2025-06-30 02:29:30,331 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77752041:ctest-vn-61987488 is 151.40.75.65 and allocation pool is NOT set 2025-06-30 02:29:32,389 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.532 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.532/1.702/2.873/1.170 ms') 2025-06-30 02:29:32,389 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77752041-73759976 passed 2025-06-30 02:29:32,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 02:29:32,551 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77752041-73759976, IP 151.40.75.67, Port 22 2025-06-30 02:29:32,708 - DEBUG - VM ctest-TestBasicPolicy-77752041-73759976 is ready for SSH connections 2025-06-30 02:29:32,708 - INFO - Waiting for VM ctest-TestBasicPolicy-77752041-07613645 to be up.. 2025-06-30 02:29:32,785 - DEBUG - VM is in ACTIVE state now 2025-06-30 02:29:32,786 - INFO - VM name : ctest-TestBasicPolicy-77752041-07613645 2025-06-30 02:29:32,863 - DEBUG - VM ctest-TestBasicPolicy-77752041-07613645 ID is 66330e02-07ce-40fc-9cf7-ad1dd8e434f1 2025-06-30 02:29:32,863 - DEBUG - VM ctest-TestBasicPolicy-77752041-07613645 launched on Node cn-jenkins-deploy-platform-ansible-os-3568-1 2025-06-30 02:29:32,941 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/66330e02-07ce-40fc-9cf7-ad1dd8e434f1 2025-06-30 02:29:32,949 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/e401c1ca-d69e-4fc5-878f-e74f82b5db2d 2025-06-30 02:29:34,193 - 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=3.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.493 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.493/1.869/3.246/1.376 ms') 2025-06-30 02:29:34,193 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77752041-07613645 passed 2025-06-30 02:29:34,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 02:29:34,343 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77752041-07613645, IP 34.233.240.3, Port 22 2025-06-30 02:29:34,495 - DEBUG - VM ctest-TestBasicPolicy-77752041-07613645 is ready for SSH connections 2025-06-30 02:29:34,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 02:29:34,496 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.233.240.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-06-30 02:29:34,496 - DEBUG - ping -s 56 -c 3 -W 1 34.233.240.3 2025-06-30 02:29:38,161 - DEBUG - PING 34.233.240.3 (34.233.240.3): 56 data bytes 64 bytes from 34.233.240.3: seq=0 ttl=63 time=3.480 ms 64 bytes from 34.233.240.3: seq=1 ttl=63 time=0.778 ms 64 bytes from 34.233.240.3: seq=2 ttl=63 time=0.806 ms --- 34.233.240.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.778/1.688/3.480 ms 2025-06-30 02:29:38,161 - INFO - Ping to IP 34.233.240.3 from VM ctest-TestBasicPolicy-77752041-73759976 passed 2025-06-30 02:29:38,343 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e8d5489d-a5b8-47b7-8718-9a97719cc4ae", "href": "http://10.0.0.56:8082/network-policy/e8d5489d-a5b8-47b7-8718-9a97719cc4ae"}} 2025-06-30 02:29:38,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 02:29:38,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.233.240.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-06-30 02:29:38,343 - DEBUG - ping -s 56 -c 3 -W 1 34.233.240.3 2025-06-30 02:29:41,552 - DEBUG - PING 34.233.240.3 (34.233.240.3): 56 data bytes --- 34.233.240.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-30 02:29:41,552 - WARNING - Ping to IP 34.233.240.3 from VM ctest-TestBasicPolicy-77752041-73759976 failed 2025-06-30 02:29:41,552 - INFO - Deleting VM ctest-TestBasicPolicy-77752041-07613645 2025-06-30 02:29:41,616 - INFO - Deleting VM ctest-TestBasicPolicy-77752041-73759976 2025-06-30 02:29:41,985 - INFO - Deleted policy ctest-policy-allow-all-10177744 2025-06-30 02:29:41,985 - INFO - Deleting VN ctest-vn-64226396 2025-06-30 02:29:42,020 - DEBUG - VN a4378d8a-b744-449b-9913-afccb96eaea2 still in use: Unable to complete operation on network a4378d8a-b744-449b-9913-afccb96eaea2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5e886d33-6c41-42a5-9291-b1427c38d998'] 2025-06-30 02:29:42,020 - WARNING - Deleting VN ctest-vn-64226396 failed..Will retry 2025-06-30 02:29:44,113 - DEBUG - Response for deleting network () 2025-06-30 02:29:44,113 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/64f7f870-4aa6-444b-a0c7-b28868b2bb23 2025-06-30 02:29:44,124 - DEBUG - Response Code: 404 2025-06-30 02:29:44,125 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-06-30 02:29:44,130 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b2c4e208-97f0-44aa-9108-0cd1ce8aea7a 2025-06-30 02:29:44,186 - DEBUG - Requesting: http://10.0.0.56:8082/project/f273497c-791e-4960-bdc1-a770a7fc30e2 2025-06-30 02:29:44,256 - INFO - Validated that VN ctest-vn-64226396 is not found in API Server 2025-06-30 02:29:44,267 - DEBUG - VN ctest-vn-64226396 is not present in Agent 10.0.0.56 2025-06-30 02:29:44,267 - INFO - Validated that VN ctest-vn-64226396 is not in any agent 2025-06-30 02:29:44,282 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64226396 info 2025-06-30 02:29:44,283 - INFO - Deleting VN ctest-vn-61987488 2025-06-30 02:29:44,376 - DEBUG - Response for deleting network () 2025-06-30 02:29:44,377 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/6da11139-de36-48ad-928e-a277b7058e61 2025-06-30 02:29:44,381 - DEBUG - Response Code: 404 2025-06-30 02:29:44,381 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-06-30 02:29:44,391 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b2c4e208-97f0-44aa-9108-0cd1ce8aea7a 2025-06-30 02:29:44,444 - DEBUG - Requesting: http://10.0.0.56:8082/project/f273497c-791e-4960-bdc1-a770a7fc30e2 2025-06-30 02:29:44,519 - INFO - Validated that VN ctest-vn-61987488 is not found in API Server 2025-06-30 02:29:44,530 - DEBUG - VN ctest-vn-61987488 is not present in Agent 10.0.0.56 2025-06-30 02:29:44,530 - INFO - Validated that VN ctest-vn-61987488 is not in any agent 2025-06-30 02:29:44,546 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61987488 info 2025-06-30 02:29:44,805 - DEBUG - No XMPP flaps were noticed during the test 2025-06-30 02:29:44,805 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-06-30 02:29:44,805 - INFO - -------------------------------------------------------------------------------- 2025-06-30 02:29:45,475 - INFO - Deleted project: ctest-TestBasicPolicy-77752041, ID : f273497c-791e-4960-bdc1-a770a7fc30e2