2025-07-22 23:26:11,492 - INFO - Domain Default found not creating 2025-07-22 23:26:11,656 - INFO - Project ctest-TestBasicPolicy-37098881 not found, creating it 2025-07-22 23:26:12,168 - INFO - Created Project:ctest-TestBasicPolicy-37098881, ID : 6f9fe94f-5fd2-498e-a62c-f7617d7d3829 2025-07-22 23:26:14,262 - INFO - ================================================================================ 2025-07-22 23:26:14,262 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-22 23:26:14,262 - 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-22 23:26:14,521 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-07-22 23:26:14,521 - INFO - Initial checks done. Running the testcase now 2025-07-22 23:26:14,521 - INFO - 2025-07-22 23:26:15,055 - DEBUG - Response for create_network : {'network': {'id': '6b5f4623-1730-44b4-bd38-d103ab178136', 'name': 'ctest-vn-75465536', 'tenant_id': '6f9fe94f5fd2498ea62cf7617d7d3829', 'project_id': '6f9fe94f5fd2498ea62cf7617d7d3829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37098881', 'ctest-vn-75465536'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 23:26:15,234 - DEBUG - Response for create_subnet : {'subnet': {'id': '45151911-f1de-49a3-8bcd-f5f3956ed2e8', 'name': '', 'tenant_id': '6f9fe94f5fd2498ea62cf7617d7d3829', 'network_id': '6b5f4623-1730-44b4-bd38-d103ab178136', 'ip_version': 4, 'cidr': '18.37.215.192/26', 'allocation_pools': [{'start': '18.37.215.194', 'end': '18.37.215.254'}], 'gateway_ip': '18.37.215.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.37.215.194', 'tags': [], 'project_id': '6f9fe94f5fd2498ea62cf7617d7d3829'}} 2025-07-22 23:26:15,252 - INFO - Created VN ctest-vn-75465536 2025-07-22 23:26:15,307 - DEBUG - VN ctest-vn-75465536 UUID is 6b5f4623-1730-44b4-bd38-d103ab178136 2025-07-22 23:26:15,602 - DEBUG - Response for create_network : {'network': {'id': '1bd6745d-d0bc-45bc-a1ee-fa8ce38ec282', 'name': 'ctest-vn-39884519', 'tenant_id': '6f9fe94f5fd2498ea62cf7617d7d3829', 'project_id': '6f9fe94f5fd2498ea62cf7617d7d3829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37098881', 'ctest-vn-39884519'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 23:26:15,802 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d442977-5d41-4c27-8b8c-c336a6955b7e', 'name': '', 'tenant_id': '6f9fe94f5fd2498ea62cf7617d7d3829', 'network_id': '1bd6745d-d0bc-45bc-a1ee-fa8ce38ec282', 'ip_version': 4, 'cidr': '71.16.112.128/26', 'allocation_pools': [{'start': '71.16.112.130', 'end': '71.16.112.190'}], 'gateway_ip': '71.16.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.16.112.130', 'tags': [], 'project_id': '6f9fe94f5fd2498ea62cf7617d7d3829'}} 2025-07-22 23:26:15,821 - INFO - Created VN ctest-vn-39884519 2025-07-22 23:26:15,875 - DEBUG - VN ctest-vn-39884519 UUID is 1bd6745d-d0bc-45bc-a1ee-fa8ce38ec282 2025-07-22 23:26:15,992 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37098881:ctest-vn-75465536, 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-37098881:ctest-vn-39884519, 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-22 23:26:16,302 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6b5f4623-1730-44b4-bd38-d103ab178136', 'name': 'ctest-vn-75465536', 'tenant_id': '6f9fe94f5fd2498ea62cf7617d7d3829', 'project_id': '6f9fe94f5fd2498ea62cf7617d7d3829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['45151911-f1de-49a3-8bcd-f5f3956ed2e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37098881', 'ctest-vn-75465536'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37098881', 'ctest-policy-allow-all-17980864']], 'subnet_ipam': [{'subnet_cidr': '18.37.215.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-22 23:26:16,545 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1bd6745d-d0bc-45bc-a1ee-fa8ce38ec282', 'name': 'ctest-vn-39884519', 'tenant_id': '6f9fe94f5fd2498ea62cf7617d7d3829', 'project_id': '6f9fe94f5fd2498ea62cf7617d7d3829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1d442977-5d41-4c27-8b8c-c336a6955b7e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37098881', 'ctest-vn-39884519'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37098881', 'ctest-policy-allow-all-17980864']], 'subnet_ipam': [{'subnet_cidr': '71.16.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-22 23:26:16,707 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-22 23:26:17,016 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-22 23:26:17,046 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3d35b737-47ae-40a2-861c-ea327ce5373c 2025-07-22 23:26:17,060 - DEBUG - Requesting: http://10.0.0.38:8082/project/6f9fe94f-5fd2-498e-a62c-f7617d7d3829 2025-07-22 23:26:17,134 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6b5f4623-1730-44b4-bd38-d103ab178136 2025-07-22 23:26:17,149 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6b5f4623-1730-44b4-bd38-d103ab178136 2025-07-22 23:26:17,161 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2f9ba67d-21d1-4993-8e39-1404b1a82748 2025-07-22 23:26:17,170 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2f9ba67d-21d1-4993-8e39-1404b1a82748 2025-07-22 23:26:17,179 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cf1f5fb3-5adb-4a0f-a219-32dfa275b343 2025-07-22 23:26:17,186 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 23:26:17,186 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6b5f4623-1730-44b4-bd38-d103ab178136 2025-07-22 23:26:17,197 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2f9ba67d-21d1-4993-8e39-1404b1a82748 2025-07-22 23:26:17,213 - INFO - Verified VN network id 11 for VN 6b5f4623-1730-44b4-bd38-d103ab178136 2025-07-22 23:26:17,213 - INFO - Verifications in API Server for VN ctest-vn-75465536 passed 2025-07-22 23:26:17,213 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6b5f4623-1730-44b4-bd38-d103ab178136 2025-07-22 23:26:17,223 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2f9ba67d-21d1-4993-8e39-1404b1a82748 2025-07-22 23:26:17,231 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2f9ba67d-21d1-4993-8e39-1404b1a82748 2025-07-22 23:26:17,238 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cf1f5fb3-5adb-4a0f-a219-32dfa275b343 2025-07-22 23:26:17,252 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37098881:ctest-vn-75465536', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37098881', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7736979801372640436', 'uuid-lslong': '13634877685549728054'}, 'enable': 'true', 'created': '2025-07-22T23:26:15', 'last-modified': '2025-07-22T23:26:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978538'} 2025-07-22 23:26:17,259 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 23:26:17,259 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75465536 passed 2025-07-22 23:26:17,259 - DEBUG - ====Verifying policy data for ctest-vn-75465536 in API_Server ====== 2025-07-22 23:26:17,259 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-22 23:26:17,266 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3d35b737-47ae-40a2-861c-ea327ce5373c 2025-07-22 23:26:17,278 - DEBUG - Requesting: http://10.0.0.38:8082/project/6f9fe94f-5fd2-498e-a62c-f7617d7d3829 2025-07-22 23:26:17,349 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6b5f4623-1730-44b4-bd38-d103ab178136 2025-07-22 23:26:17,359 - DEBUG - ==>Verifying data for policy with id: 43882ecf-49d3-4cd0-8eb4-6b73cdb723ac, fqn: ['default-domain', 'ctest-TestBasicPolicy-37098881', 'ctest-policy-allow-all-17980864'] 2025-07-22 23:26:17,359 - INFO - VN ctest-vn-75465536 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-22 23:26:17,360 - DEBUG - Verifying the vn in opserver 2025-07-22 23:26:17,360 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37098881:ctest-vn-75465536 virtual network link through opserver 10.0.0.38 2025-07-22 23:26:17,360 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-07-22 23:26:17,657 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-07-22 23:26:17,718 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37098881:ctest-vn-75465536', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37098881:ctest-vn-75465536?flat'} 2025-07-22 23:26:17,718 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37098881:ctest-vn-75465536 is found in opserver 2025-07-22 23:26:17,729 - DEBUG - Do not have enough data to verify VN in agent 2025-07-22 23:26:17,734 - DEBUG - VRF ids for VN ctest-vn-75465536: {} 2025-07-22 23:26:17,734 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-22 23:26:17,740 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3d35b737-47ae-40a2-861c-ea327ce5373c 2025-07-22 23:26:17,753 - DEBUG - Requesting: http://10.0.0.38:8082/project/6f9fe94f-5fd2-498e-a62c-f7617d7d3829 2025-07-22 23:26:17,827 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1bd6745d-d0bc-45bc-a1ee-fa8ce38ec282 2025-07-22 23:26:17,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1bd6745d-d0bc-45bc-a1ee-fa8ce38ec282 2025-07-22 23:26:17,849 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c0dd8183-8e21-4683-844c-d3a7df07deaf 2025-07-22 23:26:17,857 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c0dd8183-8e21-4683-844c-d3a7df07deaf 2025-07-22 23:26:17,868 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ed6fde26-423b-4985-a35a-a93ce965a616 2025-07-22 23:26:17,875 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-22 23:26:17,875 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1bd6745d-d0bc-45bc-a1ee-fa8ce38ec282 2025-07-22 23:26:17,884 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c0dd8183-8e21-4683-844c-d3a7df07deaf 2025-07-22 23:26:17,899 - INFO - Verified VN network id 12 for VN 1bd6745d-d0bc-45bc-a1ee-fa8ce38ec282 2025-07-22 23:26:17,899 - INFO - Verifications in API Server for VN ctest-vn-39884519 passed 2025-07-22 23:26:17,899 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1bd6745d-d0bc-45bc-a1ee-fa8ce38ec282 2025-07-22 23:26:17,913 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c0dd8183-8e21-4683-844c-d3a7df07deaf 2025-07-22 23:26:17,922 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c0dd8183-8e21-4683-844c-d3a7df07deaf 2025-07-22 23:26:17,931 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ed6fde26-423b-4985-a35a-a93ce965a616 2025-07-22 23:26:17,944 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37098881:ctest-vn-39884519', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37098881', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2005918630322914748', 'uuid-lslong': '11668539167583683202'}, 'enable': 'true', 'created': '2025-07-22T23:26:15', 'last-modified': '2025-07-22T23:26:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.428849'} 2025-07-22 23:26:17,951 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-22 23:26:17,951 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39884519 passed 2025-07-22 23:26:17,951 - DEBUG - ====Verifying policy data for ctest-vn-39884519 in API_Server ====== 2025-07-22 23:26:17,951 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-22 23:26:17,958 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3d35b737-47ae-40a2-861c-ea327ce5373c 2025-07-22 23:26:17,970 - DEBUG - Requesting: http://10.0.0.38:8082/project/6f9fe94f-5fd2-498e-a62c-f7617d7d3829 2025-07-22 23:26:18,044 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1bd6745d-d0bc-45bc-a1ee-fa8ce38ec282 2025-07-22 23:26:18,057 - DEBUG - ==>Verifying data for policy with id: 43882ecf-49d3-4cd0-8eb4-6b73cdb723ac, fqn: ['default-domain', 'ctest-TestBasicPolicy-37098881', 'ctest-policy-allow-all-17980864'] 2025-07-22 23:26:18,057 - INFO - VN ctest-vn-39884519 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-22 23:26:18,057 - DEBUG - Verifying the vn in opserver 2025-07-22 23:26:18,057 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37098881:ctest-vn-39884519 virtual network link through opserver 10.0.0.38 2025-07-22 23:26:18,057 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-07-22 23:26:18,068 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37098881:ctest-vn-39884519', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37098881:ctest-vn-39884519?flat'} 2025-07-22 23:26:18,069 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37098881:ctest-vn-39884519 is found in opserver 2025-07-22 23:26:18,079 - DEBUG - Do not have enough data to verify VN in agent 2025-07-22 23:26:18,085 - DEBUG - VRF ids for VN ctest-vn-39884519: {} 2025-07-22 23:26:18,145 - DEBUG - Services list from nova: [, , ] 2025-07-22 23:26:19,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3696-1) 2025-07-22 23:26:20,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3696-1) 2025-07-22 23:26:20,269 - INFO - Waiting for VM ctest-TestBasicPolicy-37098881-95772232 to be up.. 2025-07-22 23:26:20,350 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 23:26:25,433 - DEBUG - VM is in ACTIVE state now 2025-07-22 23:26:25,433 - INFO - VM name : ctest-TestBasicPolicy-37098881-95772232 2025-07-22 23:26:25,502 - DEBUG - VM ctest-TestBasicPolicy-37098881-95772232 ID is 025f3cc9-f757-49fe-8596-add08f606685 2025-07-22 23:26:25,521 - DEBUG - VM ctest-TestBasicPolicy-37098881-95772232 launched on Node cn-jenkins-deploy-platform-ansible-os-3696-1 2025-07-22 23:26:25,591 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/025f3cc9-f757-49fe-8596-add08f606685 2025-07-22 23:26:25,601 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b1d6eda1-353b-4b87-9366-56207f7e3db2 2025-07-22 23:26:28,859 - 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 1016ms') 2025-07-22 23:26:28,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37098881-95772232 failed! 2025-07-22 23:26:28,919 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37098881:ctest-vn-75465536 is 18.37.215.193 and allocation pool is NOT set 2025-07-22 23:26:30,986 - 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=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.834 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.834/5.553/10.272/4.719 ms') 2025-07-22 23:26:30,986 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37098881-95772232 passed 2025-07-22 23:26:31,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 23:26:31,135 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37098881-95772232, IP 18.37.215.195, Port 22 2025-07-22 23:26:31,290 - DEBUG - VM ctest-TestBasicPolicy-37098881-95772232 is ready for SSH connections 2025-07-22 23:26:31,290 - INFO - Waiting for VM ctest-TestBasicPolicy-37098881-75665814 to be up.. 2025-07-22 23:26:31,369 - DEBUG - VM is in ACTIVE state now 2025-07-22 23:26:31,370 - INFO - VM name : ctest-TestBasicPolicy-37098881-75665814 2025-07-22 23:26:31,442 - DEBUG - VM ctest-TestBasicPolicy-37098881-75665814 ID is 1f057368-ad34-43ab-b040-7ce1662f05df 2025-07-22 23:26:31,443 - DEBUG - VM ctest-TestBasicPolicy-37098881-75665814 launched on Node cn-jenkins-deploy-platform-ansible-os-3696-1 2025-07-22 23:26:31,520 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1f057368-ad34-43ab-b040-7ce1662f05df 2025-07-22 23:26:31,530 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8ef0b850-81fa-4707-a264-5a3190165abc 2025-07-22 23:26:32,778 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.519 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.519/1.786/3.053/1.267 ms') 2025-07-22 23:26:32,778 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37098881-75665814 passed 2025-07-22 23:26:32,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 23:26:32,935 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37098881-75665814, IP 71.16.112.131, Port 22 2025-07-22 23:26:33,091 - DEBUG - VM ctest-TestBasicPolicy-37098881-75665814 is ready for SSH connections 2025-07-22 23:26:33,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 23:26:33,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.16.112.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-22 23:26:33,091 - DEBUG - ping -s 56 -c 3 -W 1 71.16.112.131 2025-07-22 23:26:37,125 - DEBUG - PING 71.16.112.131 (71.16.112.131): 56 data bytes 64 bytes from 71.16.112.131: seq=0 ttl=63 time=3.533 ms 64 bytes from 71.16.112.131: seq=1 ttl=63 time=0.851 ms 64 bytes from 71.16.112.131: seq=2 ttl=63 time=0.778 ms --- 71.16.112.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.778/1.720/3.533 ms 2025-07-22 23:26:37,125 - INFO - Ping to IP 71.16.112.131 from VM ctest-TestBasicPolicy-37098881-95772232 passed 2025-07-22 23:26:37,307 - DEBUG - Policy Update Response {"network-policy": {"uuid": "43882ecf-49d3-4cd0-8eb4-6b73cdb723ac", "href": "http://10.0.0.38:8082/network-policy/43882ecf-49d3-4cd0-8eb4-6b73cdb723ac"}} 2025-07-22 23:26:37,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 23:26:37,307 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.16.112.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-22 23:26:37,307 - DEBUG - ping -s 56 -c 3 -W 1 71.16.112.131 2025-07-22 23:26:40,520 - DEBUG - PING 71.16.112.131 (71.16.112.131): 56 data bytes --- 71.16.112.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-22 23:26:40,520 - WARNING - Ping to IP 71.16.112.131 from VM ctest-TestBasicPolicy-37098881-95772232 failed 2025-07-22 23:26:40,520 - INFO - Deleting VM ctest-TestBasicPolicy-37098881-75665814 2025-07-22 23:26:40,593 - INFO - Deleting VM ctest-TestBasicPolicy-37098881-95772232 2025-07-22 23:26:41,004 - INFO - Deleted policy ctest-policy-allow-all-17980864 2025-07-22 23:26:41,004 - INFO - Deleting VN ctest-vn-39884519 2025-07-22 23:26:41,041 - DEBUG - VN 1bd6745d-d0bc-45bc-a1ee-fa8ce38ec282 still in use: Unable to complete operation on network 1bd6745d-d0bc-45bc-a1ee-fa8ce38ec282. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1f9c1901-ff4d-4875-bce1-f1a601a046ac'] 2025-07-22 23:26:41,041 - WARNING - Deleting VN ctest-vn-39884519 failed..Will retry 2025-07-22 23:26:43,166 - DEBUG - Response for deleting network () 2025-07-22 23:26:43,167 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c0dd8183-8e21-4683-844c-d3a7df07deaf 2025-07-22 23:26:43,174 - DEBUG - Response Code: 404 2025-07-22 23:26:43,174 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-22 23:26:43,183 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3d35b737-47ae-40a2-861c-ea327ce5373c 2025-07-22 23:26:43,236 - DEBUG - Requesting: http://10.0.0.38:8082/project/6f9fe94f-5fd2-498e-a62c-f7617d7d3829 2025-07-22 23:26:43,310 - INFO - Validated that VN ctest-vn-39884519 is not found in API Server 2025-07-22 23:26:43,321 - DEBUG - VN ctest-vn-39884519 is not present in Agent 10.0.0.38 2025-07-22 23:26:43,321 - INFO - Validated that VN ctest-vn-39884519 is not in any agent 2025-07-22 23:26:43,337 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39884519 info 2025-07-22 23:26:43,337 - INFO - Deleting VN ctest-vn-75465536 2025-07-22 23:26:43,438 - DEBUG - Response for deleting network () 2025-07-22 23:26:43,438 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2f9ba67d-21d1-4993-8e39-1404b1a82748 2025-07-22 23:26:43,445 - DEBUG - Response Code: 404 2025-07-22 23:26:43,445 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-22 23:26:43,450 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3d35b737-47ae-40a2-861c-ea327ce5373c 2025-07-22 23:26:43,505 - DEBUG - Requesting: http://10.0.0.38:8082/project/6f9fe94f-5fd2-498e-a62c-f7617d7d3829 2025-07-22 23:26:43,584 - INFO - Validated that VN ctest-vn-75465536 is not found in API Server 2025-07-22 23:26:43,595 - DEBUG - VN ctest-vn-75465536 is not present in Agent 10.0.0.38 2025-07-22 23:26:43,595 - INFO - Validated that VN ctest-vn-75465536 is not in any agent 2025-07-22 23:26:43,610 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75465536 info 2025-07-22 23:26:43,868 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 23:26:43,868 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-07-22 23:26:43,868 - INFO - -------------------------------------------------------------------------------- 2025-07-22 23:26:44,589 - INFO - Deleted project: ctest-TestBasicPolicy-37098881, ID : 6f9fe94f-5fd2-498e-a62c-f7617d7d3829