2025-07-10 02:18:29,482 - INFO - Domain Default found not creating 2025-07-10 02:18:29,608 - INFO - Project ctest-TestBasicPolicy-58230736 not found, creating it 2025-07-10 02:18:30,050 - INFO - Created Project:ctest-TestBasicPolicy-58230736, ID : 89094b35-594c-4499-a35d-3c8170164645 2025-07-10 02:18:31,451 - INFO - ================================================================================ 2025-07-10 02:18:31,451 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-10 02:18:31,451 - 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-07-10 02:18:31,706 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.18': '0'}} with 2025-07-10 02:18:31,706 - INFO - Initial checks done. Running the testcase now 2025-07-10 02:18:31,706 - INFO - 2025-07-10 02:18:32,247 - DEBUG - Response for create_network : {'network': {'id': 'd97cbc38-9b06-4a1c-8161-bc592c9f30a5', 'name': 'ctest-vn-75010023', 'tenant_id': '89094b35594c4499a35d3c8170164645', 'project_id': '89094b35594c4499a35d3c8170164645', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58230736', 'ctest-vn-75010023'], 'port_security_enabled': True, 'description': ''}} 2025-07-10 02:18:32,454 - DEBUG - Response for create_subnet : {'subnet': {'id': '219d2ab2-487e-4578-915e-82dce1324496', 'name': '', 'tenant_id': '89094b35594c4499a35d3c8170164645', 'network_id': 'd97cbc38-9b06-4a1c-8161-bc592c9f30a5', 'ip_version': 4, 'cidr': '217.142.141.128/26', 'allocation_pools': [{'start': '217.142.141.130', 'end': '217.142.141.190'}], 'gateway_ip': '217.142.141.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.142.141.130', 'tags': [], 'project_id': '89094b35594c4499a35d3c8170164645'}} 2025-07-10 02:18:32,472 - INFO - Created VN ctest-vn-75010023 2025-07-10 02:18:32,525 - DEBUG - VN ctest-vn-75010023 UUID is d97cbc38-9b06-4a1c-8161-bc592c9f30a5 2025-07-10 02:18:32,804 - DEBUG - Response for create_network : {'network': {'id': '0a0d50d0-0205-451d-86f8-42b27d50aa3f', 'name': 'ctest-vn-51429914', 'tenant_id': '89094b35594c4499a35d3c8170164645', 'project_id': '89094b35594c4499a35d3c8170164645', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58230736', 'ctest-vn-51429914'], 'port_security_enabled': True, 'description': ''}} 2025-07-10 02:18:32,946 - DEBUG - Response for create_subnet : {'subnet': {'id': '2717124e-c9e5-403b-990f-54e6ecaeb990', 'name': '', 'tenant_id': '89094b35594c4499a35d3c8170164645', 'network_id': '0a0d50d0-0205-451d-86f8-42b27d50aa3f', 'ip_version': 4, 'cidr': '157.13.144.128/26', 'allocation_pools': [{'start': '157.13.144.130', 'end': '157.13.144.190'}], 'gateway_ip': '157.13.144.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.13.144.130', 'tags': [], 'project_id': '89094b35594c4499a35d3c8170164645'}} 2025-07-10 02:18:32,964 - INFO - Created VN ctest-vn-51429914 2025-07-10 02:18:33,017 - DEBUG - VN ctest-vn-51429914 UUID is 0a0d50d0-0205-451d-86f8-42b27d50aa3f 2025-07-10 02:18:33,130 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58230736:ctest-vn-75010023, 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-58230736:ctest-vn-51429914, 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-07-10 02:18:33,420 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd97cbc38-9b06-4a1c-8161-bc592c9f30a5', 'name': 'ctest-vn-75010023', 'tenant_id': '89094b35594c4499a35d3c8170164645', 'project_id': '89094b35594c4499a35d3c8170164645', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['219d2ab2-487e-4578-915e-82dce1324496'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58230736', 'ctest-vn-75010023'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58230736', 'ctest-policy-allow-all-11505039']], 'subnet_ipam': [{'subnet_cidr': '217.142.141.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-10 02:18:33,656 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0a0d50d0-0205-451d-86f8-42b27d50aa3f', 'name': 'ctest-vn-51429914', 'tenant_id': '89094b35594c4499a35d3c8170164645', 'project_id': '89094b35594c4499a35d3c8170164645', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2717124e-c9e5-403b-990f-54e6ecaeb990'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58230736', 'ctest-vn-51429914'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58230736', 'ctest-policy-allow-all-11505039']], 'subnet_ipam': [{'subnet_cidr': '157.13.144.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-10 02:18:33,817 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-10 02:18:34,112 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-10 02:18:34,138 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8bfba57d-e447-4b89-a167-12d6897dfcdb 2025-07-10 02:18:34,151 - DEBUG - Requesting: http://10.0.0.249:8082/project/89094b35-594c-4499-a35d-3c8170164645 2025-07-10 02:18:34,230 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d97cbc38-9b06-4a1c-8161-bc592c9f30a5 2025-07-10 02:18:34,242 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d97cbc38-9b06-4a1c-8161-bc592c9f30a5 2025-07-10 02:18:34,251 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e4f27ab6-4c7e-4480-9b32-3595659f5c3b 2025-07-10 02:18:34,258 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e4f27ab6-4c7e-4480-9b32-3595659f5c3b 2025-07-10 02:18:34,265 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/a21e8de5-8785-4576-b6fc-c40a4632e039 2025-07-10 02:18:34,271 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-10 02:18:34,271 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d97cbc38-9b06-4a1c-8161-bc592c9f30a5 2025-07-10 02:18:34,280 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e4f27ab6-4c7e-4480-9b32-3595659f5c3b 2025-07-10 02:18:34,295 - INFO - Verified VN network id 7 for VN d97cbc38-9b06-4a1c-8161-bc592c9f30a5 2025-07-10 02:18:34,295 - INFO - Verifications in API Server for VN ctest-vn-75010023 passed 2025-07-10 02:18:34,296 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d97cbc38-9b06-4a1c-8161-bc592c9f30a5 2025-07-10 02:18:34,306 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e4f27ab6-4c7e-4480-9b32-3595659f5c3b 2025-07-10 02:18:34,313 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e4f27ab6-4c7e-4480-9b32-3595659f5c3b 2025-07-10 02:18:34,319 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/a21e8de5-8785-4576-b6fc-c40a4632e039 2025-07-10 02:18:34,331 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58230736:ctest-vn-75010023', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58230736', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15671607754647554588', 'uuid-lslong': '9322939794820378789'}, 'enable': 'true', 'created': '2025-07-10T02:18:32', 'last-modified': '2025-07-10T02:18:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933217'} 2025-07-10 02:18:34,337 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-10 02:18:34,337 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75010023 passed 2025-07-10 02:18:34,337 - DEBUG - ====Verifying policy data for ctest-vn-75010023 in API_Server ====== 2025-07-10 02:18:34,337 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-10 02:18:34,343 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8bfba57d-e447-4b89-a167-12d6897dfcdb 2025-07-10 02:18:34,356 - DEBUG - Requesting: http://10.0.0.249:8082/project/89094b35-594c-4499-a35d-3c8170164645 2025-07-10 02:18:34,430 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d97cbc38-9b06-4a1c-8161-bc592c9f30a5 2025-07-10 02:18:34,442 - DEBUG - ==>Verifying data for policy with id: bc12495b-679f-4fd0-a9fe-e58031db357c, fqn: ['default-domain', 'ctest-TestBasicPolicy-58230736', 'ctest-policy-allow-all-11505039'] 2025-07-10 02:18:34,442 - INFO - VN ctest-vn-75010023 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-10 02:18:34,442 - DEBUG - Verifying the vn in opserver 2025-07-10 02:18:34,442 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58230736:ctest-vn-75010023 virtual network link through opserver 10.0.0.249 2025-07-10 02:18:34,442 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-07-10 02:18:34,732 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-07-10 02:18:34,788 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58230736:ctest-vn-75010023', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58230736:ctest-vn-75010023?flat'} 2025-07-10 02:18:34,788 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58230736:ctest-vn-75010023 is found in opserver 2025-07-10 02:18:34,802 - DEBUG - Do not have enough data to verify VN in agent 2025-07-10 02:18:34,807 - DEBUG - VRF ids for VN ctest-vn-75010023: {} 2025-07-10 02:18:34,808 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-10 02:18:34,814 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8bfba57d-e447-4b89-a167-12d6897dfcdb 2025-07-10 02:18:34,829 - DEBUG - Requesting: http://10.0.0.249:8082/project/89094b35-594c-4499-a35d-3c8170164645 2025-07-10 02:18:34,896 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0a0d50d0-0205-451d-86f8-42b27d50aa3f 2025-07-10 02:18:34,907 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0a0d50d0-0205-451d-86f8-42b27d50aa3f 2025-07-10 02:18:34,917 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/741afcee-4695-40ba-ba51-1eafe07c7b50 2025-07-10 02:18:34,924 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/741afcee-4695-40ba-ba51-1eafe07c7b50 2025-07-10 02:18:34,931 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/06f64263-2ae4-461e-8cec-aef2dff6a69c 2025-07-10 02:18:34,937 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-10 02:18:34,938 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0a0d50d0-0205-451d-86f8-42b27d50aa3f 2025-07-10 02:18:34,948 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/741afcee-4695-40ba-ba51-1eafe07c7b50 2025-07-10 02:18:34,962 - INFO - Verified VN network id 8 for VN 0a0d50d0-0205-451d-86f8-42b27d50aa3f 2025-07-10 02:18:34,962 - INFO - Verifications in API Server for VN ctest-vn-51429914 passed 2025-07-10 02:18:34,962 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0a0d50d0-0205-451d-86f8-42b27d50aa3f 2025-07-10 02:18:34,972 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/741afcee-4695-40ba-ba51-1eafe07c7b50 2025-07-10 02:18:34,979 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/741afcee-4695-40ba-ba51-1eafe07c7b50 2025-07-10 02:18:34,987 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/06f64263-2ae4-461e-8cec-aef2dff6a69c 2025-07-10 02:18:35,000 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58230736:ctest-vn-51429914', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58230736', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '724323969393837341', 'uuid-lslong': '9725596729680636479'}, 'enable': 'true', 'created': '2025-07-10T02:18:32', 'last-modified': '2025-07-10T02:18:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.370150'} 2025-07-10 02:18:35,007 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-10 02:18:35,007 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51429914 passed 2025-07-10 02:18:35,008 - DEBUG - ====Verifying policy data for ctest-vn-51429914 in API_Server ====== 2025-07-10 02:18:35,008 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-10 02:18:35,014 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8bfba57d-e447-4b89-a167-12d6897dfcdb 2025-07-10 02:18:35,026 - DEBUG - Requesting: http://10.0.0.249:8082/project/89094b35-594c-4499-a35d-3c8170164645 2025-07-10 02:18:35,094 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0a0d50d0-0205-451d-86f8-42b27d50aa3f 2025-07-10 02:18:35,104 - DEBUG - ==>Verifying data for policy with id: bc12495b-679f-4fd0-a9fe-e58031db357c, fqn: ['default-domain', 'ctest-TestBasicPolicy-58230736', 'ctest-policy-allow-all-11505039'] 2025-07-10 02:18:35,104 - INFO - VN ctest-vn-51429914 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-10 02:18:35,104 - DEBUG - Verifying the vn in opserver 2025-07-10 02:18:35,104 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58230736:ctest-vn-51429914 virtual network link through opserver 10.0.0.249 2025-07-10 02:18:35,104 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-07-10 02:18:35,114 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58230736:ctest-vn-51429914', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58230736:ctest-vn-51429914?flat'} 2025-07-10 02:18:35,114 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58230736:ctest-vn-51429914 is found in opserver 2025-07-10 02:18:35,124 - DEBUG - Do not have enough data to verify VN in agent 2025-07-10 02:18:35,129 - DEBUG - VRF ids for VN ctest-vn-51429914: {} 2025-07-10 02:18:35,179 - DEBUG - Services list from nova: [, , ] 2025-07-10 02:18:36,155 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3625-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3625-1) 2025-07-10 02:18:37,344 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3625-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3625-1) 2025-07-10 02:18:37,345 - INFO - Waiting for VM ctest-TestBasicPolicy-58230736-11991465 to be up.. 2025-07-10 02:18:37,417 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-10 02:18:42,495 - DEBUG - VM is in ACTIVE state now 2025-07-10 02:18:42,495 - INFO - VM name : ctest-TestBasicPolicy-58230736-11991465 2025-07-10 02:18:42,565 - DEBUG - VM ctest-TestBasicPolicy-58230736-11991465 ID is 5a10e16e-0bac-45c1-b4ba-b19a0533637d 2025-07-10 02:18:42,584 - DEBUG - VM ctest-TestBasicPolicy-58230736-11991465 launched on Node cn-jenkins-deploy-platform-ansible-os-3625-1 2025-07-10 02:18:42,651 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/5a10e16e-0bac-45c1-b4ba-b19a0533637d 2025-07-10 02:18:42,660 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f4a2950a-8e47-46e4-b9c4-4898275c4015 2025-07-10 02:18:45,904 - 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-07-10 02:18:45,905 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58230736-11991465 failed! 2025-07-10 02:18:45,961 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58230736:ctest-vn-75010023 is 217.142.141.129 and allocation pool is NOT set 2025-07-10 02:18:48,024 - 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=4.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.07 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 = 2.065/3.081/4.098/1.016 ms') 2025-07-10 02:18:48,024 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58230736-11991465 passed 2025-07-10 02:18:48,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 02:18:48,181 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58230736-11991465, IP 217.142.141.131, Port 22 2025-07-10 02:18:48,336 - DEBUG - VM ctest-TestBasicPolicy-58230736-11991465 is ready for SSH connections 2025-07-10 02:18:48,336 - INFO - Waiting for VM ctest-TestBasicPolicy-58230736-64546026 to be up.. 2025-07-10 02:18:48,402 - DEBUG - VM is in ACTIVE state now 2025-07-10 02:18:48,402 - INFO - VM name : ctest-TestBasicPolicy-58230736-64546026 2025-07-10 02:18:48,466 - DEBUG - VM ctest-TestBasicPolicy-58230736-64546026 ID is b07b78cf-f22d-4e53-a95d-f96f73588664 2025-07-10 02:18:48,466 - DEBUG - VM ctest-TestBasicPolicy-58230736-64546026 launched on Node cn-jenkins-deploy-platform-ansible-os-3625-1 2025-07-10 02:18:48,530 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b07b78cf-f22d-4e53-a95d-f96f73588664 2025-07-10 02:18:48,537 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/336c1c7e-eb4a-4e06-b436-630462b50a27 2025-07-10 02:18:49,783 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 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.401/1.492/2.583/1.091 ms') 2025-07-10 02:18:49,783 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58230736-64546026 passed 2025-07-10 02:18:49,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 02:18:49,933 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58230736-64546026, IP 157.13.144.131, Port 22 2025-07-10 02:18:50,084 - DEBUG - VM ctest-TestBasicPolicy-58230736-64546026 is ready for SSH connections 2025-07-10 02:18:50,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 02:18:50,084 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.13.144.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-07-10 02:18:50,084 - DEBUG - ping -s 56 -c 3 -W 1 157.13.144.131 2025-07-10 02:18:54,042 - DEBUG - PING 157.13.144.131 (157.13.144.131): 56 data bytes 64 bytes from 157.13.144.131: seq=0 ttl=63 time=3.114 ms 64 bytes from 157.13.144.131: seq=1 ttl=63 time=0.781 ms 64 bytes from 157.13.144.131: seq=2 ttl=63 time=0.762 ms --- 157.13.144.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.762/1.552/3.114 ms 2025-07-10 02:18:54,042 - INFO - Ping to IP 157.13.144.131 from VM ctest-TestBasicPolicy-58230736-11991465 passed 2025-07-10 02:18:54,225 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bc12495b-679f-4fd0-a9fe-e58031db357c", "href": "http://10.0.0.249:8082/network-policy/bc12495b-679f-4fd0-a9fe-e58031db357c"}} 2025-07-10 02:18:54,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 02:18:54,225 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.13.144.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-07-10 02:18:54,225 - DEBUG - ping -s 56 -c 3 -W 1 157.13.144.131 2025-07-10 02:18:57,423 - DEBUG - PING 157.13.144.131 (157.13.144.131): 56 data bytes 64 bytes from 157.13.144.131: seq=0 ttl=63 time=1.331 ms --- 157.13.144.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.331/1.331/1.331 ms 2025-07-10 02:18:57,423 - WARNING - Ping to IP 157.13.144.131 from VM ctest-TestBasicPolicy-58230736-11991465 failed 2025-07-10 02:18:57,423 - INFO - Deleting VM ctest-TestBasicPolicy-58230736-64546026 2025-07-10 02:18:57,485 - INFO - Deleting VM ctest-TestBasicPolicy-58230736-11991465 2025-07-10 02:18:57,842 - INFO - Deleted policy ctest-policy-allow-all-11505039 2025-07-10 02:18:57,842 - INFO - Deleting VN ctest-vn-51429914 2025-07-10 02:18:57,874 - DEBUG - VN 0a0d50d0-0205-451d-86f8-42b27d50aa3f still in use: Unable to complete operation on network 0a0d50d0-0205-451d-86f8-42b27d50aa3f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b088068e-e4a8-4f5c-8c5f-a4817ad84549'] 2025-07-10 02:18:57,874 - WARNING - Deleting VN ctest-vn-51429914 failed..Will retry 2025-07-10 02:18:59,972 - DEBUG - Response for deleting network () 2025-07-10 02:18:59,972 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/741afcee-4695-40ba-ba51-1eafe07c7b50 2025-07-10 02:18:59,977 - DEBUG - Response Code: 404 2025-07-10 02:18:59,977 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-10 02:18:59,982 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8bfba57d-e447-4b89-a167-12d6897dfcdb 2025-07-10 02:19:00,034 - DEBUG - Requesting: http://10.0.0.249:8082/project/89094b35-594c-4499-a35d-3c8170164645 2025-07-10 02:19:00,105 - INFO - Validated that VN ctest-vn-51429914 is not found in API Server 2025-07-10 02:19:00,117 - DEBUG - VN ctest-vn-51429914 is not present in Agent 10.0.0.249 2025-07-10 02:19:00,117 - INFO - Validated that VN ctest-vn-51429914 is not in any agent 2025-07-10 02:19:00,135 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51429914 info 2025-07-10 02:19:00,135 - INFO - Deleting VN ctest-vn-75010023 2025-07-10 02:19:00,240 - DEBUG - Response for deleting network () 2025-07-10 02:19:00,240 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e4f27ab6-4c7e-4480-9b32-3595659f5c3b 2025-07-10 02:19:00,252 - DEBUG - Response Code: 404 2025-07-10 02:19:00,252 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-10 02:19:00,259 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8bfba57d-e447-4b89-a167-12d6897dfcdb 2025-07-10 02:19:00,318 - DEBUG - Requesting: http://10.0.0.249:8082/project/89094b35-594c-4499-a35d-3c8170164645 2025-07-10 02:19:00,389 - INFO - Validated that VN ctest-vn-75010023 is not found in API Server 2025-07-10 02:19:00,399 - DEBUG - VN ctest-vn-75010023 is not present in Agent 10.0.0.249 2025-07-10 02:19:00,399 - INFO - Validated that VN ctest-vn-75010023 is not in any agent 2025-07-10 02:19:00,413 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75010023 info 2025-07-10 02:19:00,666 - DEBUG - No XMPP flaps were noticed during the test 2025-07-10 02:19:00,666 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-07-10 02:19:00,666 - INFO - -------------------------------------------------------------------------------- 2025-07-10 02:19:01,353 - INFO - Deleted project: ctest-TestBasicPolicy-58230736, ID : 89094b35-594c-4499-a35d-3c8170164645