2025-11-21 17:19:41,569 - INFO - Domain Default found not creating 2025-11-21 17:19:41,777 - INFO - Project ctest-TestBasicPolicy-35915649 not found, creating it 2025-11-21 17:19:42,261 - INFO - Created Project:ctest-TestBasicPolicy-35915649, ID : 3e1b64f0-bddd-442a-ba81-c5893bf66b93 2025-11-21 17:19:43,824 - INFO - ================================================================================ 2025-11-21 17:19:43,824 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-21 17:19:43,824 - 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-11-21 17:19:44,084 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2025-11-21 17:19:44,084 - INFO - Initial checks done. Running the testcase now 2025-11-21 17:19:44,084 - INFO - 2025-11-21 17:19:44,669 - DEBUG - Response for create_network : {'network': {'id': 'df610870-df8f-4f19-b63c-a305bc76d3f7', 'name': 'ctest-vn-16831392', 'tenant_id': '3e1b64f0bddd442aba81c5893bf66b93', 'project_id': '3e1b64f0bddd442aba81c5893bf66b93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35915649', 'ctest-vn-16831392'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:19:44,884 - DEBUG - Response for create_subnet : {'subnet': {'id': '9065eb2b-f9ab-4628-aac3-7980cf39fdcd', 'name': '', 'tenant_id': '3e1b64f0bddd442aba81c5893bf66b93', 'network_id': 'df610870-df8f-4f19-b63c-a305bc76d3f7', 'ip_version': 4, 'cidr': '55.136.105.192/26', 'allocation_pools': [{'start': '55.136.105.194', 'end': '55.136.105.254'}], 'gateway_ip': '55.136.105.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.136.105.194', 'tags': [], 'project_id': '3e1b64f0bddd442aba81c5893bf66b93'}} 2025-11-21 17:19:44,904 - INFO - Created VN ctest-vn-16831392 2025-11-21 17:19:44,958 - DEBUG - VN ctest-vn-16831392 UUID is df610870-df8f-4f19-b63c-a305bc76d3f7 2025-11-21 17:19:45,262 - DEBUG - Response for create_network : {'network': {'id': '97dc8c13-7819-46bb-ae7e-a4af65d36438', 'name': 'ctest-vn-41729916', 'tenant_id': '3e1b64f0bddd442aba81c5893bf66b93', 'project_id': '3e1b64f0bddd442aba81c5893bf66b93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35915649', 'ctest-vn-41729916'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:19:45,446 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fef9b592-f221-4537-b52d-55bec7fcd882', 'name': '', 'tenant_id': '3e1b64f0bddd442aba81c5893bf66b93', 'network_id': '97dc8c13-7819-46bb-ae7e-a4af65d36438', 'ip_version': 4, 'cidr': '147.105.206.128/26', 'allocation_pools': [{'start': '147.105.206.130', 'end': '147.105.206.190'}], 'gateway_ip': '147.105.206.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.105.206.130', 'tags': [], 'project_id': '3e1b64f0bddd442aba81c5893bf66b93'}} 2025-11-21 17:19:45,465 - INFO - Created VN ctest-vn-41729916 2025-11-21 17:19:45,518 - DEBUG - VN ctest-vn-41729916 UUID is 97dc8c13-7819-46bb-ae7e-a4af65d36438 2025-11-21 17:19:45,637 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35915649:ctest-vn-16831392, 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-35915649:ctest-vn-41729916, 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-11-21 17:19:45,943 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'df610870-df8f-4f19-b63c-a305bc76d3f7', 'name': 'ctest-vn-16831392', 'tenant_id': '3e1b64f0bddd442aba81c5893bf66b93', 'project_id': '3e1b64f0bddd442aba81c5893bf66b93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9065eb2b-f9ab-4628-aac3-7980cf39fdcd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35915649', 'ctest-vn-16831392'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35915649', 'ctest-policy-allow-all-96799618']], 'subnet_ipam': [{'subnet_cidr': '55.136.105.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:19:46,204 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97dc8c13-7819-46bb-ae7e-a4af65d36438', 'name': 'ctest-vn-41729916', 'tenant_id': '3e1b64f0bddd442aba81c5893bf66b93', 'project_id': '3e1b64f0bddd442aba81c5893bf66b93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fef9b592-f221-4537-b52d-55bec7fcd882'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35915649', 'ctest-vn-41729916'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35915649', 'ctest-policy-allow-all-96799618']], 'subnet_ipam': [{'subnet_cidr': '147.105.206.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:19:46,394 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-21 17:19:46,693 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-21 17:19:46,731 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06caa346-ce50-4cdf-b998-a07e05c37f3b 2025-11-21 17:19:46,744 - DEBUG - Requesting: http://10.0.0.22:8082/project/3e1b64f0-bddd-442a-ba81-c5893bf66b93 2025-11-21 17:19:46,819 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/df610870-df8f-4f19-b63c-a305bc76d3f7 2025-11-21 17:19:46,830 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/df610870-df8f-4f19-b63c-a305bc76d3f7 2025-11-21 17:19:46,840 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b86335f0-1353-44a9-8465-3f3e0bd1adfb 2025-11-21 17:19:46,848 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b86335f0-1353-44a9-8465-3f3e0bd1adfb 2025-11-21 17:19:46,856 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6d31b45d-cd82-476e-8fd7-a8cc39ae75bc 2025-11-21 17:19:46,865 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-21 17:19:46,865 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/df610870-df8f-4f19-b63c-a305bc76d3f7 2025-11-21 17:19:46,876 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b86335f0-1353-44a9-8465-3f3e0bd1adfb 2025-11-21 17:19:46,894 - INFO - Verified VN network id 11 for VN df610870-df8f-4f19-b63c-a305bc76d3f7 2025-11-21 17:19:46,894 - INFO - Verifications in API Server for VN ctest-vn-16831392 passed 2025-11-21 17:19:46,894 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/df610870-df8f-4f19-b63c-a305bc76d3f7 2025-11-21 17:19:46,905 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b86335f0-1353-44a9-8465-3f3e0bd1adfb 2025-11-21 17:19:46,914 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b86335f0-1353-44a9-8465-3f3e0bd1adfb 2025-11-21 17:19:46,922 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6d31b45d-cd82-476e-8fd7-a8cc39ae75bc 2025-11-21 17:19:46,935 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35915649:ctest-vn-16831392', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35915649', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16096155824078933785', 'uuid-lslong': '13131549858537591799'}, 'enable': 'true', 'created': '2025-11-21T17:19:44', 'last-modified': '2025-11-21T17:19:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.019735'} 2025-11-21 17:19:46,944 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-21 17:19:46,944 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16831392 passed 2025-11-21 17:19:46,944 - DEBUG - ====Verifying policy data for ctest-vn-16831392 in API_Server ====== 2025-11-21 17:19:46,944 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-21 17:19:46,952 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06caa346-ce50-4cdf-b998-a07e05c37f3b 2025-11-21 17:19:46,965 - DEBUG - Requesting: http://10.0.0.22:8082/project/3e1b64f0-bddd-442a-ba81-c5893bf66b93 2025-11-21 17:19:47,041 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/df610870-df8f-4f19-b63c-a305bc76d3f7 2025-11-21 17:19:47,050 - DEBUG - ==>Verifying data for policy with id: 6b72693f-36b7-4456-acf5-f40e0e3f42bb, fqn: ['default-domain', 'ctest-TestBasicPolicy-35915649', 'ctest-policy-allow-all-96799618'] 2025-11-21 17:19:47,050 - INFO - VN ctest-vn-16831392 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-21 17:19:47,050 - DEBUG - Verifying the vn in opserver 2025-11-21 17:19:47,051 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35915649:ctest-vn-16831392 virtual network link through opserver 10.0.0.22 2025-11-21 17:19:47,051 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-21 17:19:47,348 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-21 17:19:47,420 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35915649:ctest-vn-16831392', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35915649:ctest-vn-16831392?flat'} 2025-11-21 17:19:47,420 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35915649:ctest-vn-16831392 is found in opserver 2025-11-21 17:19:47,433 - DEBUG - Do not have enough data to verify VN in agent 2025-11-21 17:19:47,438 - DEBUG - VRF ids for VN ctest-vn-16831392: {} 2025-11-21 17:19:47,438 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-21 17:19:47,444 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06caa346-ce50-4cdf-b998-a07e05c37f3b 2025-11-21 17:19:47,455 - DEBUG - Requesting: http://10.0.0.22:8082/project/3e1b64f0-bddd-442a-ba81-c5893bf66b93 2025-11-21 17:19:47,527 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/97dc8c13-7819-46bb-ae7e-a4af65d36438 2025-11-21 17:19:47,538 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/97dc8c13-7819-46bb-ae7e-a4af65d36438 2025-11-21 17:19:47,548 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/70d12e8e-0a94-4ba5-b67c-5ba973994fe7 2025-11-21 17:19:47,557 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/70d12e8e-0a94-4ba5-b67c-5ba973994fe7 2025-11-21 17:19:47,564 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6cf7ba7d-284c-49ed-bac7-67ec79663f0e 2025-11-21 17:19:47,572 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-21 17:19:47,572 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/97dc8c13-7819-46bb-ae7e-a4af65d36438 2025-11-21 17:19:47,582 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/70d12e8e-0a94-4ba5-b67c-5ba973994fe7 2025-11-21 17:19:47,596 - INFO - Verified VN network id 12 for VN 97dc8c13-7819-46bb-ae7e-a4af65d36438 2025-11-21 17:19:47,596 - INFO - Verifications in API Server for VN ctest-vn-41729916 passed 2025-11-21 17:19:47,596 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/97dc8c13-7819-46bb-ae7e-a4af65d36438 2025-11-21 17:19:47,605 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/70d12e8e-0a94-4ba5-b67c-5ba973994fe7 2025-11-21 17:19:47,612 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/70d12e8e-0a94-4ba5-b67c-5ba973994fe7 2025-11-21 17:19:47,620 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6cf7ba7d-284c-49ed-bac7-67ec79663f0e 2025-11-21 17:19:47,633 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35915649:ctest-vn-41729916', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35915649', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10942775209850652347', 'uuid-lslong': '12573668282899588152'}, 'enable': 'true', 'created': '2025-11-21T17:19:45', 'last-modified': '2025-11-21T17:19:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.456751'} 2025-11-21 17:19:47,640 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-21 17:19:47,640 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41729916 passed 2025-11-21 17:19:47,640 - DEBUG - ====Verifying policy data for ctest-vn-41729916 in API_Server ====== 2025-11-21 17:19:47,640 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-21 17:19:47,647 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06caa346-ce50-4cdf-b998-a07e05c37f3b 2025-11-21 17:19:47,658 - DEBUG - Requesting: http://10.0.0.22:8082/project/3e1b64f0-bddd-442a-ba81-c5893bf66b93 2025-11-21 17:19:47,730 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/97dc8c13-7819-46bb-ae7e-a4af65d36438 2025-11-21 17:19:47,738 - DEBUG - ==>Verifying data for policy with id: 6b72693f-36b7-4456-acf5-f40e0e3f42bb, fqn: ['default-domain', 'ctest-TestBasicPolicy-35915649', 'ctest-policy-allow-all-96799618'] 2025-11-21 17:19:47,738 - INFO - VN ctest-vn-41729916 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-21 17:19:47,739 - DEBUG - Verifying the vn in opserver 2025-11-21 17:19:47,739 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35915649:ctest-vn-41729916 virtual network link through opserver 10.0.0.22 2025-11-21 17:19:47,739 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-21 17:19:47,749 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35915649:ctest-vn-41729916', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35915649:ctest-vn-41729916?flat'} 2025-11-21 17:19:47,749 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35915649:ctest-vn-41729916 is found in opserver 2025-11-21 17:19:47,758 - DEBUG - Do not have enough data to verify VN in agent 2025-11-21 17:19:47,763 - DEBUG - VRF ids for VN ctest-vn-41729916: {} 2025-11-21 17:19:47,831 - DEBUG - Services list from nova: [, , ] 2025-11-21 17:19:48,911 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4791-1) 2025-11-21 17:19:50,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4791-1) 2025-11-21 17:19:50,095 - INFO - Waiting for VM ctest-TestBasicPolicy-35915649-53192664 to be up.. 2025-11-21 17:19:50,194 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-21 17:19:55,282 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:19:55,282 - INFO - VM name : ctest-TestBasicPolicy-35915649-53192664 2025-11-21 17:19:55,368 - DEBUG - VM ctest-TestBasicPolicy-35915649-53192664 ID is d1d2741f-23ca-4653-9782-f52cc0c5aecc 2025-11-21 17:19:55,391 - DEBUG - VM ctest-TestBasicPolicy-35915649-53192664 launched on Node cn-jenkins-deploy-platform-ansible-os-4791-1 2025-11-21 17:19:55,477 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d1d2741f-23ca-4653-9782-f52cc0c5aecc 2025-11-21 17:19:55,486 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/796b8b49-48c7-4b7e-8c5a-b286d7b86e1c 2025-11-21 17:19:58,756 - 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 1018ms') 2025-11-21 17:19:58,756 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35915649-53192664 failed! 2025-11-21 17:19:58,814 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35915649:ctest-vn-16831392 is 55.136.105.193 and allocation pool is NOT set 2025-11-21 17:20:00,885 - 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=9.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.911 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.911/5.365/9.820/4.454 ms') 2025-11-21 17:20:00,885 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35915649-53192664 passed 2025-11-21 17:20:01,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:20:01,038 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35915649-53192664, IP 55.136.105.195, Port 22 2025-11-21 17:20:01,212 - DEBUG - VM ctest-TestBasicPolicy-35915649-53192664 is ready for SSH connections 2025-11-21 17:20:01,212 - INFO - Waiting for VM ctest-TestBasicPolicy-35915649-73784088 to be up.. 2025-11-21 17:20:01,305 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:20:01,306 - INFO - VM name : ctest-TestBasicPolicy-35915649-73784088 2025-11-21 17:20:01,395 - DEBUG - VM ctest-TestBasicPolicy-35915649-73784088 ID is b5a06ca9-adfc-43c8-84b1-17b8b94f8501 2025-11-21 17:20:01,395 - DEBUG - VM ctest-TestBasicPolicy-35915649-73784088 launched on Node cn-jenkins-deploy-platform-ansible-os-4791-1 2025-11-21 17:20:01,491 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b5a06ca9-adfc-43c8-84b1-17b8b94f8501 2025-11-21 17:20:01,504 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f841511a-ed1f-4fcd-ac3c-3ac97325feca 2025-11-21 17:20:02,764 - 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=6.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.852 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.852/3.654/6.457/2.802 ms') 2025-11-21 17:20:02,765 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35915649-73784088 passed 2025-11-21 17:20:02,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:20:02,926 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35915649-73784088, IP 147.105.206.131, Port 22 2025-11-21 17:20:03,109 - DEBUG - VM ctest-TestBasicPolicy-35915649-73784088 is ready for SSH connections 2025-11-21 17:20:03,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:20:03,109 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.105.206.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-21 17:20:03,109 - DEBUG - ping -s 56 -c 3 -W 1 147.105.206.131 2025-11-21 17:20:07,222 - DEBUG - PING 147.105.206.131 (147.105.206.131): 56 data bytes 64 bytes from 147.105.206.131: seq=0 ttl=63 time=4.779 ms 64 bytes from 147.105.206.131: seq=1 ttl=63 time=1.227 ms 64 bytes from 147.105.206.131: seq=2 ttl=63 time=1.616 ms --- 147.105.206.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.227/2.540/4.779 ms 2025-11-21 17:20:07,222 - INFO - Ping to IP 147.105.206.131 from VM ctest-TestBasicPolicy-35915649-53192664 passed 2025-11-21 17:20:07,398 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6b72693f-36b7-4456-acf5-f40e0e3f42bb", "href": "http://10.0.0.22:8082/network-policy/6b72693f-36b7-4456-acf5-f40e0e3f42bb"}} 2025-11-21 17:20:07,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:20:07,398 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.105.206.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-21 17:20:07,399 - DEBUG - ping -s 56 -c 3 -W 1 147.105.206.131 2025-11-21 17:20:10,641 - DEBUG - PING 147.105.206.131 (147.105.206.131): 56 data bytes --- 147.105.206.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-21 17:20:10,641 - WARNING - Ping to IP 147.105.206.131 from VM ctest-TestBasicPolicy-35915649-53192664 failed 2025-11-21 17:20:10,641 - INFO - Deleting VM ctest-TestBasicPolicy-35915649-73784088 2025-11-21 17:20:10,733 - INFO - Deleting VM ctest-TestBasicPolicy-35915649-53192664 2025-11-21 17:20:11,208 - INFO - Deleted policy ctest-policy-allow-all-96799618 2025-11-21 17:20:11,208 - INFO - Deleting VN ctest-vn-41729916 2025-11-21 17:20:11,251 - DEBUG - VN 97dc8c13-7819-46bb-ae7e-a4af65d36438 still in use: Unable to complete operation on network 97dc8c13-7819-46bb-ae7e-a4af65d36438. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-de798b89-d890-43e7-bc8c-e71a62bbd78b'] 2025-11-21 17:20:11,251 - WARNING - Deleting VN ctest-vn-41729916 failed..Will retry 2025-11-21 17:20:13,385 - DEBUG - Response for deleting network () 2025-11-21 17:20:13,385 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/70d12e8e-0a94-4ba5-b67c-5ba973994fe7 2025-11-21 17:20:13,392 - DEBUG - Response Code: 404 2025-11-21 17:20:13,392 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-21 17:20:13,399 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06caa346-ce50-4cdf-b998-a07e05c37f3b 2025-11-21 17:20:13,453 - DEBUG - Requesting: http://10.0.0.22:8082/project/3e1b64f0-bddd-442a-ba81-c5893bf66b93 2025-11-21 17:20:13,528 - INFO - Validated that VN ctest-vn-41729916 is not found in API Server 2025-11-21 17:20:13,539 - DEBUG - VN ctest-vn-41729916 is not present in Agent 10.0.0.22 2025-11-21 17:20:13,539 - INFO - Validated that VN ctest-vn-41729916 is not in any agent 2025-11-21 17:20:13,555 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41729916 info 2025-11-21 17:20:13,555 - INFO - Deleting VN ctest-vn-16831392 2025-11-21 17:20:13,674 - DEBUG - Response for deleting network () 2025-11-21 17:20:13,674 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b86335f0-1353-44a9-8465-3f3e0bd1adfb 2025-11-21 17:20:13,680 - DEBUG - Response Code: 404 2025-11-21 17:20:13,681 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-21 17:20:13,690 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06caa346-ce50-4cdf-b998-a07e05c37f3b 2025-11-21 17:20:13,747 - DEBUG - Requesting: http://10.0.0.22:8082/project/3e1b64f0-bddd-442a-ba81-c5893bf66b93 2025-11-21 17:20:13,820 - INFO - Validated that VN ctest-vn-16831392 is not found in API Server 2025-11-21 17:20:13,830 - DEBUG - VN ctest-vn-16831392 is not present in Agent 10.0.0.22 2025-11-21 17:20:13,830 - INFO - Validated that VN ctest-vn-16831392 is not in any agent 2025-11-21 17:20:13,846 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16831392 info 2025-11-21 17:20:14,115 - DEBUG - No XMPP flaps were noticed during the test 2025-11-21 17:20:14,115 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-11-21 17:20:14,115 - INFO - -------------------------------------------------------------------------------- 2025-11-21 17:20:14,854 - INFO - Deleted project: ctest-TestBasicPolicy-35915649, ID : 3e1b64f0-bddd-442a-ba81-c5893bf66b93