2025-10-31 00:48:39,416 - INFO - Domain Default found not creating 2025-10-31 00:48:39,568 - INFO - Project ctest-TestBasicPolicy-92719791 not found, creating it 2025-10-31 00:48:40,004 - INFO - Created Project:ctest-TestBasicPolicy-92719791, ID : 4bf8d24c-d925-4c0a-a44d-e09355daf5f0 2025-10-31 00:48:41,375 - INFO - ================================================================================ 2025-10-31 00:48:41,376 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-31 00:48:41,376 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-31 00:48:41,630 - DEBUG - Nothing to compare xmpp stats {'10.0.0.246': {'10.20.0.5': '0'}} with 2025-10-31 00:48:41,630 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:48:41,630 - INFO - 2025-10-31 00:48:42,206 - DEBUG - Response for create_network : {'network': {'id': 'bb65ffe7-e333-4096-b3b1-5889ed1a4538', 'name': 'ctest-vn-88476205', 'tenant_id': '4bf8d24cd9254c0aa44de09355daf5f0', 'project_id': '4bf8d24cd9254c0aa44de09355daf5f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92719791', 'ctest-vn-88476205'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:48:42,376 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da8e4c50-a619-4042-947d-b65b280796a9', 'name': '', 'tenant_id': '4bf8d24cd9254c0aa44de09355daf5f0', 'network_id': 'bb65ffe7-e333-4096-b3b1-5889ed1a4538', 'ip_version': 4, 'cidr': '168.65.218.128/26', 'allocation_pools': [{'start': '168.65.218.130', 'end': '168.65.218.190'}], 'gateway_ip': '168.65.218.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.65.218.130', 'tags': [], 'project_id': '4bf8d24cd9254c0aa44de09355daf5f0'}} 2025-10-31 00:48:42,391 - INFO - Created VN ctest-vn-88476205 2025-10-31 00:48:42,441 - DEBUG - VN ctest-vn-88476205 UUID is bb65ffe7-e333-4096-b3b1-5889ed1a4538 2025-10-31 00:48:42,724 - DEBUG - Response for create_network : {'network': {'id': '6b18b321-3875-47ef-8423-e7627dff71e7', 'name': 'ctest-vn-77409950', 'tenant_id': '4bf8d24cd9254c0aa44de09355daf5f0', 'project_id': '4bf8d24cd9254c0aa44de09355daf5f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92719791', 'ctest-vn-77409950'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:48:42,873 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2b59624-9c4e-4b22-a3b0-d7da185e76d1', 'name': '', 'tenant_id': '4bf8d24cd9254c0aa44de09355daf5f0', 'network_id': '6b18b321-3875-47ef-8423-e7627dff71e7', 'ip_version': 4, 'cidr': '179.172.23.192/26', 'allocation_pools': [{'start': '179.172.23.194', 'end': '179.172.23.254'}], 'gateway_ip': '179.172.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.172.23.194', 'tags': [], 'project_id': '4bf8d24cd9254c0aa44de09355daf5f0'}} 2025-10-31 00:48:42,902 - INFO - Created VN ctest-vn-77409950 2025-10-31 00:48:42,953 - DEBUG - VN ctest-vn-77409950 UUID is 6b18b321-3875-47ef-8423-e7627dff71e7 2025-10-31 00:48:43,097 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92719791:ctest-vn-88476205, 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-92719791:ctest-vn-77409950, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-31 00:48:43,376 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bb65ffe7-e333-4096-b3b1-5889ed1a4538', 'name': 'ctest-vn-88476205', 'tenant_id': '4bf8d24cd9254c0aa44de09355daf5f0', 'project_id': '4bf8d24cd9254c0aa44de09355daf5f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['da8e4c50-a619-4042-947d-b65b280796a9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92719791', 'ctest-vn-88476205'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92719791', 'ctest-policy-allow-all-68213588']], 'subnet_ipam': [{'subnet_cidr': '168.65.218.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:48:43,598 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6b18b321-3875-47ef-8423-e7627dff71e7', 'name': 'ctest-vn-77409950', 'tenant_id': '4bf8d24cd9254c0aa44de09355daf5f0', 'project_id': '4bf8d24cd9254c0aa44de09355daf5f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a2b59624-9c4e-4b22-a3b0-d7da185e76d1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92719791', 'ctest-vn-77409950'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92719791', 'ctest-policy-allow-all-68213588']], 'subnet_ipam': [{'subnet_cidr': '179.172.23.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:48:43,797 - DEBUG - Requesting: http://10.0.0.246:8082/domains 2025-10-31 00:48:44,089 - DEBUG - Requesting: http://10.0.0.246:8082/domains 2025-10-31 00:48:44,117 - DEBUG - Requesting: http://10.0.0.246:8082/domain/94c7244d-f282-4de2-a322-d4c9b0e15240 2025-10-31 00:48:44,130 - DEBUG - Requesting: http://10.0.0.246:8082/project/4bf8d24c-d925-4c0a-a44d-e09355daf5f0 2025-10-31 00:48:44,199 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/bb65ffe7-e333-4096-b3b1-5889ed1a4538 2025-10-31 00:48:44,209 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/bb65ffe7-e333-4096-b3b1-5889ed1a4538 2025-10-31 00:48:44,217 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/28cf81ef-6d01-492f-b1fa-b7f09dc2b719 2025-10-31 00:48:44,223 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/28cf81ef-6d01-492f-b1fa-b7f09dc2b719 2025-10-31 00:48:44,229 - DEBUG - Requesting: http://10.0.0.246:8082/route-target/9f98aa6f-2a63-4bde-a13e-a360fd38164a 2025-10-31 00:48:44,234 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 00:48:44,234 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/bb65ffe7-e333-4096-b3b1-5889ed1a4538 2025-10-31 00:48:44,242 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/28cf81ef-6d01-492f-b1fa-b7f09dc2b719 2025-10-31 00:48:44,254 - INFO - Verified VN network id 12 for VN bb65ffe7-e333-4096-b3b1-5889ed1a4538 2025-10-31 00:48:44,254 - INFO - Verifications in API Server for VN ctest-vn-88476205 passed 2025-10-31 00:48:44,254 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/bb65ffe7-e333-4096-b3b1-5889ed1a4538 2025-10-31 00:48:44,261 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/28cf81ef-6d01-492f-b1fa-b7f09dc2b719 2025-10-31 00:48:44,267 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/28cf81ef-6d01-492f-b1fa-b7f09dc2b719 2025-10-31 00:48:44,273 - DEBUG - Requesting: http://10.0.0.246:8082/route-target/9f98aa6f-2a63-4bde-a13e-a360fd38164a 2025-10-31 00:48:44,284 - DEBUG - Control-node 10.0.0.246 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92719791:ctest-vn-88476205', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92719791', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13503480429154615446', 'uuid-lslong': '12948227753078572344'}, 'enable': 'true', 'created': '2025-10-31T00:48:42', 'last-modified': '2025-10-31T00:48:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930532'} 2025-10-31 00:48:44,290 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 00:48:44,290 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88476205 passed 2025-10-31 00:48:44,290 - DEBUG - ====Verifying policy data for ctest-vn-88476205 in API_Server ====== 2025-10-31 00:48:44,290 - DEBUG - Requesting: http://10.0.0.246:8082/domains 2025-10-31 00:48:44,294 - DEBUG - Requesting: http://10.0.0.246:8082/domain/94c7244d-f282-4de2-a322-d4c9b0e15240 2025-10-31 00:48:44,303 - DEBUG - Requesting: http://10.0.0.246:8082/project/4bf8d24c-d925-4c0a-a44d-e09355daf5f0 2025-10-31 00:48:44,372 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/bb65ffe7-e333-4096-b3b1-5889ed1a4538 2025-10-31 00:48:44,380 - DEBUG - ==>Verifying data for policy with id: 9b412de8-a2db-4ec4-8541-7d0eb7fe7f43, fqn: ['default-domain', 'ctest-TestBasicPolicy-92719791', 'ctest-policy-allow-all-68213588'] 2025-10-31 00:48:44,380 - INFO - VN ctest-vn-88476205 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 00:48:44,380 - DEBUG - Verifying the vn in opserver 2025-10-31 00:48:44,380 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92719791:ctest-vn-88476205 virtual network link through opserver 10.0.0.246 2025-10-31 00:48:44,380 - DEBUG - Requesting: http://10.0.0.246:8081/analytics/uves/virtual-networks 2025-10-31 00:48:44,671 - DEBUG - Requesting: http://10.0.0.246:8081/analytics/uves/virtual-networks 2025-10-31 00:48:44,723 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92719791:ctest-vn-88476205', 'href': 'http://10.0.0.246:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92719791:ctest-vn-88476205?flat'} 2025-10-31 00:48:44,723 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92719791:ctest-vn-88476205 is found in opserver 2025-10-31 00:48:44,732 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 00:48:44,736 - DEBUG - VRF ids for VN ctest-vn-88476205: {} 2025-10-31 00:48:44,736 - DEBUG - Requesting: http://10.0.0.246:8082/domains 2025-10-31 00:48:44,741 - DEBUG - Requesting: http://10.0.0.246:8082/domain/94c7244d-f282-4de2-a322-d4c9b0e15240 2025-10-31 00:48:44,751 - DEBUG - Requesting: http://10.0.0.246:8082/project/4bf8d24c-d925-4c0a-a44d-e09355daf5f0 2025-10-31 00:48:44,822 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/6b18b321-3875-47ef-8423-e7627dff71e7 2025-10-31 00:48:44,832 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/6b18b321-3875-47ef-8423-e7627dff71e7 2025-10-31 00:48:44,839 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/bc7072ff-c8f7-408e-9b50-3129481a9ff3 2025-10-31 00:48:44,846 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/bc7072ff-c8f7-408e-9b50-3129481a9ff3 2025-10-31 00:48:44,851 - DEBUG - Requesting: http://10.0.0.246:8082/route-target/01090c0f-d2c9-44b7-ab8e-b5f5182746ad 2025-10-31 00:48:44,857 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 00:48:44,857 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/6b18b321-3875-47ef-8423-e7627dff71e7 2025-10-31 00:48:44,864 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/bc7072ff-c8f7-408e-9b50-3129481a9ff3 2025-10-31 00:48:44,876 - INFO - Verified VN network id 13 for VN 6b18b321-3875-47ef-8423-e7627dff71e7 2025-10-31 00:48:44,876 - INFO - Verifications in API Server for VN ctest-vn-77409950 passed 2025-10-31 00:48:44,877 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/6b18b321-3875-47ef-8423-e7627dff71e7 2025-10-31 00:48:44,884 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/bc7072ff-c8f7-408e-9b50-3129481a9ff3 2025-10-31 00:48:44,890 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/bc7072ff-c8f7-408e-9b50-3129481a9ff3 2025-10-31 00:48:44,895 - DEBUG - Requesting: http://10.0.0.246:8082/route-target/01090c0f-d2c9-44b7-ab8e-b5f5182746ad 2025-10-31 00:48:44,904 - DEBUG - Control-node 10.0.0.246 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92719791:ctest-vn-77409950', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92719791', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7717114916761847791', 'uuid-lslong': '9521708447398064615'}, 'enable': 'true', 'created': '2025-10-31T00:48:42', 'last-modified': '2025-10-31T00:48:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.325391'} 2025-10-31 00:48:44,908 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 00:48:44,909 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77409950 passed 2025-10-31 00:48:44,909 - DEBUG - ====Verifying policy data for ctest-vn-77409950 in API_Server ====== 2025-10-31 00:48:44,909 - DEBUG - Requesting: http://10.0.0.246:8082/domains 2025-10-31 00:48:44,913 - DEBUG - Requesting: http://10.0.0.246:8082/domain/94c7244d-f282-4de2-a322-d4c9b0e15240 2025-10-31 00:48:44,924 - DEBUG - Requesting: http://10.0.0.246:8082/project/4bf8d24c-d925-4c0a-a44d-e09355daf5f0 2025-10-31 00:48:44,990 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-network/6b18b321-3875-47ef-8423-e7627dff71e7 2025-10-31 00:48:45,000 - DEBUG - ==>Verifying data for policy with id: 9b412de8-a2db-4ec4-8541-7d0eb7fe7f43, fqn: ['default-domain', 'ctest-TestBasicPolicy-92719791', 'ctest-policy-allow-all-68213588'] 2025-10-31 00:48:45,000 - INFO - VN ctest-vn-77409950 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 00:48:45,000 - DEBUG - Verifying the vn in opserver 2025-10-31 00:48:45,000 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92719791:ctest-vn-77409950 virtual network link through opserver 10.0.0.246 2025-10-31 00:48:45,000 - DEBUG - Requesting: http://10.0.0.246:8081/analytics/uves/virtual-networks 2025-10-31 00:48:45,010 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92719791:ctest-vn-77409950', 'href': 'http://10.0.0.246:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92719791:ctest-vn-77409950?flat'} 2025-10-31 00:48:45,010 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92719791:ctest-vn-77409950 is found in opserver 2025-10-31 00:48:45,019 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 00:48:45,024 - DEBUG - VRF ids for VN ctest-vn-77409950: {} 2025-10-31 00:48:45,085 - DEBUG - Services list from nova: [, , ] 2025-10-31 00:48:46,145 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4566-1) 2025-10-31 00:48:47,297 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4566-1) 2025-10-31 00:48:47,297 - INFO - Waiting for VM ctest-TestBasicPolicy-92719791-93829960 to be up.. 2025-10-31 00:48:47,374 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 00:48:52,453 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:48:52,453 - INFO - VM name : ctest-TestBasicPolicy-92719791-93829960 2025-10-31 00:48:52,521 - DEBUG - VM ctest-TestBasicPolicy-92719791-93829960 ID is d0e159e5-f0e5-47c9-85ac-1b41a5ff75fc 2025-10-31 00:48:52,539 - DEBUG - VM ctest-TestBasicPolicy-92719791-93829960 launched on Node cn-jenkins-deploy-platform-ansible-os-4566-1 2025-10-31 00:48:52,608 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine/d0e159e5-f0e5-47c9-85ac-1b41a5ff75fc 2025-10-31 00:48:52,616 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine-interface/d8793982-735c-4f12-b27b-fd04d26fe254 2025-10-31 00:48:55,857 - 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 1011ms') 2025-10-31 00:48:55,857 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92719791-93829960 failed! 2025-10-31 00:48:55,913 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92719791:ctest-vn-88476205 is 168.65.218.129 and allocation pool is NOT set 2025-10-31 00:48:57,975 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.498 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.498/1.729/2.961/1.231 ms') 2025-10-31 00:48:57,975 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92719791-93829960 passed 2025-10-31 00:48:58,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:48:58,126 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92719791-93829960, IP 168.65.218.131, Port 22 2025-10-31 00:48:58,291 - DEBUG - VM ctest-TestBasicPolicy-92719791-93829960 is ready for SSH connections 2025-10-31 00:48:58,291 - INFO - Waiting for VM ctest-TestBasicPolicy-92719791-05405063 to be up.. 2025-10-31 00:48:58,363 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:48:58,363 - INFO - VM name : ctest-TestBasicPolicy-92719791-05405063 2025-10-31 00:48:58,433 - DEBUG - VM ctest-TestBasicPolicy-92719791-05405063 ID is 2e9ea802-615c-41b1-b6db-0539127d8d6a 2025-10-31 00:48:58,433 - DEBUG - VM ctest-TestBasicPolicy-92719791-05405063 launched on Node cn-jenkins-deploy-platform-ansible-os-4566-1 2025-10-31 00:48:58,504 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine/2e9ea802-615c-41b1-b6db-0539127d8d6a 2025-10-31 00:48:58,512 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine-interface/29a783f5-acb4-41a9-828b-0d5db97ac014 2025-10-31 00:48:59,745 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.512/2.613/1.101 ms') 2025-10-31 00:48:59,745 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92719791-05405063 passed 2025-10-31 00:48:59,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:48:59,894 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92719791-05405063, IP 179.172.23.195, Port 22 2025-10-31 00:49:00,049 - DEBUG - VM ctest-TestBasicPolicy-92719791-05405063 is ready for SSH connections 2025-10-31 00:49:00,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:49:00,049 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.172.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.246, gateway password: c0ntrail123 2025-10-31 00:49:00,049 - DEBUG - ping -s 56 -c 3 -W 1 179.172.23.195 2025-10-31 00:49:03,735 - DEBUG - PING 179.172.23.195 (179.172.23.195): 56 data bytes 64 bytes from 179.172.23.195: seq=0 ttl=63 time=3.963 ms 64 bytes from 179.172.23.195: seq=1 ttl=63 time=1.007 ms 64 bytes from 179.172.23.195: seq=2 ttl=63 time=1.032 ms --- 179.172.23.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.007/2.000/3.963 ms 2025-10-31 00:49:03,735 - INFO - Ping to IP 179.172.23.195 from VM ctest-TestBasicPolicy-92719791-93829960 passed 2025-10-31 00:49:03,909 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9b412de8-a2db-4ec4-8541-7d0eb7fe7f43", "href": "http://10.0.0.246:8082/network-policy/9b412de8-a2db-4ec4-8541-7d0eb7fe7f43"}} 2025-10-31 00:49:03,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:49:03,909 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.172.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.246, gateway password: c0ntrail123 2025-10-31 00:49:03,909 - DEBUG - ping -s 56 -c 3 -W 1 179.172.23.195 2025-10-31 00:49:07,104 - DEBUG - PING 179.172.23.195 (179.172.23.195): 56 data bytes --- 179.172.23.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 00:49:07,104 - WARNING - Ping to IP 179.172.23.195 from VM ctest-TestBasicPolicy-92719791-93829960 failed 2025-10-31 00:49:07,104 - INFO - Deleting VM ctest-TestBasicPolicy-92719791-05405063 2025-10-31 00:49:07,172 - INFO - Deleting VM ctest-TestBasicPolicy-92719791-93829960 2025-10-31 00:49:07,529 - INFO - Deleted policy ctest-policy-allow-all-68213588 2025-10-31 00:49:07,529 - INFO - Deleting VN ctest-vn-77409950 2025-10-31 00:49:07,566 - DEBUG - VN 6b18b321-3875-47ef-8423-e7627dff71e7 still in use: Unable to complete operation on network 6b18b321-3875-47ef-8423-e7627dff71e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c8e187df-2953-496c-9fd4-d031f7d31ecc'] 2025-10-31 00:49:07,566 - WARNING - Deleting VN ctest-vn-77409950 failed..Will retry 2025-10-31 00:49:09,663 - DEBUG - Response for deleting network () 2025-10-31 00:49:09,663 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/bc7072ff-c8f7-408e-9b50-3129481a9ff3 2025-10-31 00:49:09,670 - DEBUG - Response Code: 404 2025-10-31 00:49:09,670 - DEBUG - Requesting: http://10.0.0.246:8082/domains 2025-10-31 00:49:09,676 - DEBUG - Requesting: http://10.0.0.246:8082/domain/94c7244d-f282-4de2-a322-d4c9b0e15240 2025-10-31 00:49:09,732 - DEBUG - Requesting: http://10.0.0.246:8082/project/4bf8d24c-d925-4c0a-a44d-e09355daf5f0 2025-10-31 00:49:09,801 - INFO - Validated that VN ctest-vn-77409950 is not found in API Server 2025-10-31 00:49:09,809 - DEBUG - VN ctest-vn-77409950 is not present in Agent 10.0.0.246 2025-10-31 00:49:09,809 - INFO - Validated that VN ctest-vn-77409950 is not in any agent 2025-10-31 00:49:09,821 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77409950 info 2025-10-31 00:49:09,821 - INFO - Deleting VN ctest-vn-88476205 2025-10-31 00:49:09,914 - DEBUG - Response for deleting network () 2025-10-31 00:49:09,914 - DEBUG - Requesting: http://10.0.0.246:8082/routing-instance/28cf81ef-6d01-492f-b1fa-b7f09dc2b719 2025-10-31 00:49:09,919 - DEBUG - Response Code: 404 2025-10-31 00:49:09,919 - DEBUG - Requesting: http://10.0.0.246:8082/domains 2025-10-31 00:49:09,925 - DEBUG - Requesting: http://10.0.0.246:8082/domain/94c7244d-f282-4de2-a322-d4c9b0e15240 2025-10-31 00:49:09,978 - DEBUG - Requesting: http://10.0.0.246:8082/project/4bf8d24c-d925-4c0a-a44d-e09355daf5f0 2025-10-31 00:49:10,047 - INFO - Validated that VN ctest-vn-88476205 is not found in API Server 2025-10-31 00:49:10,057 - DEBUG - VN ctest-vn-88476205 is not present in Agent 10.0.0.246 2025-10-31 00:49:10,057 - INFO - Validated that VN ctest-vn-88476205 is not in any agent 2025-10-31 00:49:10,069 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88476205 info 2025-10-31 00:49:10,330 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 00:49:10,330 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-31 00:49:10,330 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:49:11,008 - INFO - Deleted project: ctest-TestBasicPolicy-92719791, ID : 4bf8d24c-d925-4c0a-a44d-e09355daf5f0