2026-02-09 23:01:24,187 - INFO - Domain Default found not creating 2026-02-09 23:01:24,329 - INFO - Project ctest-TestBasicPolicy-26976821 not found, creating it 2026-02-09 23:01:24,747 - INFO - Created Project:ctest-TestBasicPolicy-26976821, ID : bb804878-ed03-41c2-ae82-11adcd0d0e30 2026-02-09 23:01:26,139 - INFO - ================================================================================ 2026-02-09 23:01:26,139 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-09 23:01:26,139 - 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 2026-02-09 23:01:26,397 - DEBUG - Nothing to compare xmpp stats {'10.0.0.64': {'10.20.0.254': '0'}} with 2026-02-09 23:01:26,397 - INFO - Initial checks done. Running the testcase now 2026-02-09 23:01:26,397 - INFO - 2026-02-09 23:01:26,919 - DEBUG - Response for create_network : {'network': {'id': '9a647d1a-7545-4f6a-b2bf-98b77127b30a', 'name': 'ctest-vn-70869548', 'tenant_id': 'bb804878ed0341c2ae8211adcd0d0e30', 'project_id': 'bb804878ed0341c2ae8211adcd0d0e30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26976821', 'ctest-vn-70869548'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 23:01:27,123 - DEBUG - Response for create_subnet : {'subnet': {'id': '53647bad-d3e6-4fa9-b0c8-4025c27764e3', 'name': '', 'tenant_id': 'bb804878ed0341c2ae8211adcd0d0e30', 'network_id': '9a647d1a-7545-4f6a-b2bf-98b77127b30a', 'ip_version': 4, 'cidr': '212.59.144.192/26', 'allocation_pools': [{'start': '212.59.144.194', 'end': '212.59.144.254'}], 'gateway_ip': '212.59.144.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.59.144.194', 'tags': [], 'project_id': 'bb804878ed0341c2ae8211adcd0d0e30'}} 2026-02-09 23:01:27,139 - INFO - Created VN ctest-vn-70869548 2026-02-09 23:01:27,192 - DEBUG - VN ctest-vn-70869548 UUID is 9a647d1a-7545-4f6a-b2bf-98b77127b30a 2026-02-09 23:01:27,509 - DEBUG - Response for create_network : {'network': {'id': '9b5479ed-5f35-4d1b-8664-454f7b5c9994', 'name': 'ctest-vn-73666661', 'tenant_id': 'bb804878ed0341c2ae8211adcd0d0e30', 'project_id': 'bb804878ed0341c2ae8211adcd0d0e30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26976821', 'ctest-vn-73666661'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 23:01:27,661 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6ee3852-9d46-4c85-867a-f490e15b795c', 'name': '', 'tenant_id': 'bb804878ed0341c2ae8211adcd0d0e30', 'network_id': '9b5479ed-5f35-4d1b-8664-454f7b5c9994', 'ip_version': 4, 'cidr': '120.78.252.0/26', 'allocation_pools': [{'start': '120.78.252.2', 'end': '120.78.252.62'}], 'gateway_ip': '120.78.252.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.78.252.2', 'tags': [], 'project_id': 'bb804878ed0341c2ae8211adcd0d0e30'}} 2026-02-09 23:01:27,687 - INFO - Created VN ctest-vn-73666661 2026-02-09 23:01:27,740 - DEBUG - VN ctest-vn-73666661 UUID is 9b5479ed-5f35-4d1b-8664-454f7b5c9994 2026-02-09 23:01:27,892 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26976821:ctest-vn-70869548, 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-26976821:ctest-vn-73666661, 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] 2026-02-09 23:01:28,181 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9a647d1a-7545-4f6a-b2bf-98b77127b30a', 'name': 'ctest-vn-70869548', 'tenant_id': 'bb804878ed0341c2ae8211adcd0d0e30', 'project_id': 'bb804878ed0341c2ae8211adcd0d0e30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['53647bad-d3e6-4fa9-b0c8-4025c27764e3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26976821', 'ctest-vn-70869548'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26976821', 'ctest-policy-allow-all-47203519']], 'subnet_ipam': [{'subnet_cidr': '212.59.144.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 23:01:28,401 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b5479ed-5f35-4d1b-8664-454f7b5c9994', 'name': 'ctest-vn-73666661', 'tenant_id': 'bb804878ed0341c2ae8211adcd0d0e30', 'project_id': 'bb804878ed0341c2ae8211adcd0d0e30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a6ee3852-9d46-4c85-867a-f490e15b795c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26976821', 'ctest-vn-73666661'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26976821', 'ctest-policy-allow-all-47203519']], 'subnet_ipam': [{'subnet_cidr': '120.78.252.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 23:01:28,564 - DEBUG - Requesting: http://10.0.0.64:8082/domains 2026-02-09 23:01:28,863 - DEBUG - Requesting: http://10.0.0.64:8082/domains 2026-02-09 23:01:28,941 - DEBUG - Requesting: http://10.0.0.64:8082/domain/f0dfb808-cf74-4636-99c1-32d02cc7e11f 2026-02-09 23:01:28,953 - DEBUG - Requesting: http://10.0.0.64:8082/project/bb804878-ed03-41c2-ae82-11adcd0d0e30 2026-02-09 23:01:29,028 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-network/9a647d1a-7545-4f6a-b2bf-98b77127b30a 2026-02-09 23:01:29,038 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-network/9a647d1a-7545-4f6a-b2bf-98b77127b30a 2026-02-09 23:01:29,047 - DEBUG - Requesting: http://10.0.0.64:8082/routing-instance/26330b3a-eb45-42d2-bcc6-80d120a0bf0c 2026-02-09 23:01:29,053 - DEBUG - Requesting: http://10.0.0.64:8082/routing-instance/26330b3a-eb45-42d2-bcc6-80d120a0bf0c 2026-02-09 23:01:29,059 - DEBUG - Requesting: http://10.0.0.64:8082/route-target/38af2970-f88d-452f-a39e-03f0c37fc236 2026-02-09 23:01:29,065 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 23:01:29,065 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-network/9a647d1a-7545-4f6a-b2bf-98b77127b30a 2026-02-09 23:01:29,073 - DEBUG - Requesting: http://10.0.0.64:8082/routing-instance/26330b3a-eb45-42d2-bcc6-80d120a0bf0c 2026-02-09 23:01:29,087 - INFO - Verified VN network id 11 for VN 9a647d1a-7545-4f6a-b2bf-98b77127b30a 2026-02-09 23:01:29,087 - INFO - Verifications in API Server for VN ctest-vn-70869548 passed 2026-02-09 23:01:29,087 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-network/9a647d1a-7545-4f6a-b2bf-98b77127b30a 2026-02-09 23:01:29,095 - DEBUG - Requesting: http://10.0.0.64:8082/routing-instance/26330b3a-eb45-42d2-bcc6-80d120a0bf0c 2026-02-09 23:01:29,101 - DEBUG - Requesting: http://10.0.0.64:8082/routing-instance/26330b3a-eb45-42d2-bcc6-80d120a0bf0c 2026-02-09 23:01:29,107 - DEBUG - Requesting: http://10.0.0.64:8082/route-target/38af2970-f88d-452f-a39e-03f0c37fc236 2026-02-09 23:01:29,118 - DEBUG - Control-node 10.0.0.64 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26976821:ctest-vn-70869548', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26976821', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11125154532102066026', 'uuid-lslong': '12880181372947772170'}, 'enable': 'true', 'created': '2026-02-09T23:01:26', 'last-modified': '2026-02-09T23:01:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.960334'} 2026-02-09 23:01:29,123 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 23:01:29,123 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70869548 passed 2026-02-09 23:01:29,123 - DEBUG - ====Verifying policy data for ctest-vn-70869548 in API_Server ====== 2026-02-09 23:01:29,123 - DEBUG - Requesting: http://10.0.0.64:8082/domains 2026-02-09 23:01:29,128 - DEBUG - Requesting: http://10.0.0.64:8082/domain/f0dfb808-cf74-4636-99c1-32d02cc7e11f 2026-02-09 23:01:29,137 - DEBUG - Requesting: http://10.0.0.64:8082/project/bb804878-ed03-41c2-ae82-11adcd0d0e30 2026-02-09 23:01:29,221 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-network/9a647d1a-7545-4f6a-b2bf-98b77127b30a 2026-02-09 23:01:29,229 - DEBUG - ==>Verifying data for policy with id: 26ba372b-6255-491d-8678-1e87b37a2c74, fqn: ['default-domain', 'ctest-TestBasicPolicy-26976821', 'ctest-policy-allow-all-47203519'] 2026-02-09 23:01:29,229 - INFO - VN ctest-vn-70869548 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 23:01:29,229 - DEBUG - Verifying the vn in opserver 2026-02-09 23:01:29,229 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26976821:ctest-vn-70869548 virtual network link through opserver 10.0.0.64 2026-02-09 23:01:29,229 - DEBUG - Requesting: http://10.0.0.64:8081/analytics/uves/virtual-networks 2026-02-09 23:01:29,520 - DEBUG - Requesting: http://10.0.0.64:8081/analytics/uves/virtual-networks 2026-02-09 23:01:29,573 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26976821:ctest-vn-70869548', 'href': 'http://10.0.0.64:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26976821:ctest-vn-70869548?flat'} 2026-02-09 23:01:29,573 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26976821:ctest-vn-70869548 is found in opserver 2026-02-09 23:01:29,581 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 23:01:29,585 - DEBUG - VRF ids for VN ctest-vn-70869548: {} 2026-02-09 23:01:29,585 - DEBUG - Requesting: http://10.0.0.64:8082/domains 2026-02-09 23:01:29,590 - DEBUG - Requesting: http://10.0.0.64:8082/domain/f0dfb808-cf74-4636-99c1-32d02cc7e11f 2026-02-09 23:01:29,599 - DEBUG - Requesting: http://10.0.0.64:8082/project/bb804878-ed03-41c2-ae82-11adcd0d0e30 2026-02-09 23:01:29,667 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-network/9b5479ed-5f35-4d1b-8664-454f7b5c9994 2026-02-09 23:01:29,677 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-network/9b5479ed-5f35-4d1b-8664-454f7b5c9994 2026-02-09 23:01:29,685 - DEBUG - Requesting: http://10.0.0.64:8082/routing-instance/b776a814-9655-48c7-a2d3-5b242b522d6d 2026-02-09 23:01:29,691 - DEBUG - Requesting: http://10.0.0.64:8082/routing-instance/b776a814-9655-48c7-a2d3-5b242b522d6d 2026-02-09 23:01:29,696 - DEBUG - Requesting: http://10.0.0.64:8082/route-target/b849b8ee-74b8-483b-8b33-f9008115e3ae 2026-02-09 23:01:29,702 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 23:01:29,702 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-network/9b5479ed-5f35-4d1b-8664-454f7b5c9994 2026-02-09 23:01:29,710 - DEBUG - Requesting: http://10.0.0.64:8082/routing-instance/b776a814-9655-48c7-a2d3-5b242b522d6d 2026-02-09 23:01:29,721 - INFO - Verified VN network id 12 for VN 9b5479ed-5f35-4d1b-8664-454f7b5c9994 2026-02-09 23:01:29,721 - INFO - Verifications in API Server for VN ctest-vn-73666661 passed 2026-02-09 23:01:29,722 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-network/9b5479ed-5f35-4d1b-8664-454f7b5c9994 2026-02-09 23:01:29,730 - DEBUG - Requesting: http://10.0.0.64:8082/routing-instance/b776a814-9655-48c7-a2d3-5b242b522d6d 2026-02-09 23:01:29,735 - DEBUG - Requesting: http://10.0.0.64:8082/routing-instance/b776a814-9655-48c7-a2d3-5b242b522d6d 2026-02-09 23:01:29,741 - DEBUG - Requesting: http://10.0.0.64:8082/route-target/b849b8ee-74b8-483b-8b33-f9008115e3ae 2026-02-09 23:01:29,751 - DEBUG - Control-node 10.0.0.64 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26976821:ctest-vn-73666661', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26976821', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11192705034334063899', 'uuid-lslong': '9683941306427808148'}, 'enable': 'true', 'created': '2026-02-09T23:01:27', 'last-modified': '2026-02-09T23:01:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.374353'} 2026-02-09 23:01:29,756 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 23:01:29,756 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73666661 passed 2026-02-09 23:01:29,756 - DEBUG - ====Verifying policy data for ctest-vn-73666661 in API_Server ====== 2026-02-09 23:01:29,756 - DEBUG - Requesting: http://10.0.0.64:8082/domains 2026-02-09 23:01:29,761 - DEBUG - Requesting: http://10.0.0.64:8082/domain/f0dfb808-cf74-4636-99c1-32d02cc7e11f 2026-02-09 23:01:29,771 - DEBUG - Requesting: http://10.0.0.64:8082/project/bb804878-ed03-41c2-ae82-11adcd0d0e30 2026-02-09 23:01:29,839 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-network/9b5479ed-5f35-4d1b-8664-454f7b5c9994 2026-02-09 23:01:29,848 - DEBUG - ==>Verifying data for policy with id: 26ba372b-6255-491d-8678-1e87b37a2c74, fqn: ['default-domain', 'ctest-TestBasicPolicy-26976821', 'ctest-policy-allow-all-47203519'] 2026-02-09 23:01:29,848 - INFO - VN ctest-vn-73666661 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 23:01:29,849 - DEBUG - Verifying the vn in opserver 2026-02-09 23:01:29,849 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26976821:ctest-vn-73666661 virtual network link through opserver 10.0.0.64 2026-02-09 23:01:29,849 - DEBUG - Requesting: http://10.0.0.64:8081/analytics/uves/virtual-networks 2026-02-09 23:01:29,858 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26976821:ctest-vn-73666661', 'href': 'http://10.0.0.64:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26976821:ctest-vn-73666661?flat'} 2026-02-09 23:01:29,858 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26976821:ctest-vn-73666661 is found in opserver 2026-02-09 23:01:29,866 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 23:01:29,870 - DEBUG - VRF ids for VN ctest-vn-73666661: {} 2026-02-09 23:01:29,920 - DEBUG - Services list from nova: [, , ] 2026-02-09 23:01:30,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5253-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5253-1) 2026-02-09 23:01:31,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5253-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5253-1) 2026-02-09 23:01:31,972 - INFO - Waiting for VM ctest-TestBasicPolicy-26976821-62962651 to be up.. 2026-02-09 23:01:32,045 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 23:01:37,118 - DEBUG - VM is in ACTIVE state now 2026-02-09 23:01:37,118 - INFO - VM name : ctest-TestBasicPolicy-26976821-62962651 2026-02-09 23:01:37,185 - DEBUG - VM ctest-TestBasicPolicy-26976821-62962651 ID is aa4c8e62-7013-4097-bfd0-4fbec883935c 2026-02-09 23:01:37,203 - DEBUG - VM ctest-TestBasicPolicy-26976821-62962651 launched on Node cn-jenkins-deploy-platform-ansible-os-5253-1 2026-02-09 23:01:37,269 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-machine/aa4c8e62-7013-4097-bfd0-4fbec883935c 2026-02-09 23:01:37,278 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-machine-interface/1e344871-3a21-4086-b006-231a0fb232b3 2026-02-09 23:01:40,525 - 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 1004ms') 2026-02-09 23:01:40,525 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26976821-62962651 failed! 2026-02-09 23:01:40,576 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26976821:ctest-vn-70869548 is 212.59.144.193 and allocation pool is NOT set 2026-02-09 23:01:42,635 - 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=3.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.810 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.810/2.042/3.275/1.232 ms') 2026-02-09 23:01:42,635 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26976821-62962651 passed 2026-02-09 23:01:42,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 23:01:42,784 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26976821-62962651, IP 212.59.144.195, Port 22 2026-02-09 23:01:42,940 - DEBUG - VM ctest-TestBasicPolicy-26976821-62962651 is ready for SSH connections 2026-02-09 23:01:42,940 - INFO - Waiting for VM ctest-TestBasicPolicy-26976821-89023670 to be up.. 2026-02-09 23:01:43,009 - DEBUG - VM is in ACTIVE state now 2026-02-09 23:01:43,009 - INFO - VM name : ctest-TestBasicPolicy-26976821-89023670 2026-02-09 23:01:43,082 - DEBUG - VM ctest-TestBasicPolicy-26976821-89023670 ID is ee37ee8a-475d-469b-90b4-d5f5a7812c8a 2026-02-09 23:01:43,083 - DEBUG - VM ctest-TestBasicPolicy-26976821-89023670 launched on Node cn-jenkins-deploy-platform-ansible-os-5253-1 2026-02-09 23:01:43,152 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-machine/ee37ee8a-475d-469b-90b4-d5f5a7812c8a 2026-02-09 23:01:43,159 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-machine-interface/9d96b3b5-118e-43bd-a85d-f2472aa42897 2026-02-09 23:01:44,395 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/1.994/3.581/1.587 ms') 2026-02-09 23:01:44,395 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26976821-89023670 passed 2026-02-09 23:01:44,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 23:01:44,540 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26976821-89023670, IP 120.78.252.3, Port 22 2026-02-09 23:01:44,696 - DEBUG - VM ctest-TestBasicPolicy-26976821-89023670 is ready for SSH connections 2026-02-09 23:01:44,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 23:01:44,696 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.78.252.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.64, gateway password: c0ntrail123 2026-02-09 23:01:44,696 - DEBUG - ping -s 56 -c 3 -W 1 120.78.252.3 2026-02-09 23:01:48,381 - DEBUG - PING 120.78.252.3 (120.78.252.3): 56 data bytes 64 bytes from 120.78.252.3: seq=0 ttl=63 time=3.109 ms 64 bytes from 120.78.252.3: seq=1 ttl=63 time=0.867 ms 64 bytes from 120.78.252.3: seq=2 ttl=63 time=0.784 ms --- 120.78.252.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.784/1.586/3.109 ms 2026-02-09 23:01:48,381 - INFO - Ping to IP 120.78.252.3 from VM ctest-TestBasicPolicy-26976821-62962651 passed 2026-02-09 23:01:48,552 - DEBUG - Policy Update Response {"network-policy": {"uuid": "26ba372b-6255-491d-8678-1e87b37a2c74", "href": "http://10.0.0.64:8082/network-policy/26ba372b-6255-491d-8678-1e87b37a2c74"}} 2026-02-09 23:01:48,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 23:01:48,552 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.78.252.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.64, gateway password: c0ntrail123 2026-02-09 23:01:48,552 - DEBUG - ping -s 56 -c 3 -W 1 120.78.252.3 2026-02-09 23:01:51,754 - DEBUG - PING 120.78.252.3 (120.78.252.3): 56 data bytes --- 120.78.252.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-09 23:01:51,755 - WARNING - Ping to IP 120.78.252.3 from VM ctest-TestBasicPolicy-26976821-62962651 failed 2026-02-09 23:01:51,755 - INFO - Deleting VM ctest-TestBasicPolicy-26976821-89023670 2026-02-09 23:01:51,821 - INFO - Deleting VM ctest-TestBasicPolicy-26976821-62962651 2026-02-09 23:01:52,203 - INFO - Deleted policy ctest-policy-allow-all-47203519 2026-02-09 23:01:52,203 - INFO - Deleting VN ctest-vn-73666661 2026-02-09 23:01:52,237 - DEBUG - VN 9b5479ed-5f35-4d1b-8664-454f7b5c9994 still in use: Unable to complete operation on network 9b5479ed-5f35-4d1b-8664-454f7b5c9994. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b2113e98-e550-4cee-ae90-a980e8d6a8f4'] 2026-02-09 23:01:52,237 - WARNING - Deleting VN ctest-vn-73666661 failed..Will retry 2026-02-09 23:01:54,321 - DEBUG - Response for deleting network () 2026-02-09 23:01:54,321 - DEBUG - Requesting: http://10.0.0.64:8082/routing-instance/b776a814-9655-48c7-a2d3-5b242b522d6d 2026-02-09 23:01:54,326 - DEBUG - Response Code: 404 2026-02-09 23:01:54,326 - DEBUG - Requesting: http://10.0.0.64:8082/domains 2026-02-09 23:01:54,331 - DEBUG - Requesting: http://10.0.0.64:8082/domain/f0dfb808-cf74-4636-99c1-32d02cc7e11f 2026-02-09 23:01:54,381 - DEBUG - Requesting: http://10.0.0.64:8082/project/bb804878-ed03-41c2-ae82-11adcd0d0e30 2026-02-09 23:01:54,447 - INFO - Validated that VN ctest-vn-73666661 is not found in API Server 2026-02-09 23:01:54,455 - DEBUG - VN ctest-vn-73666661 is not present in Agent 10.0.0.64 2026-02-09 23:01:54,455 - INFO - Validated that VN ctest-vn-73666661 is not in any agent 2026-02-09 23:01:54,467 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73666661 info 2026-02-09 23:01:54,467 - INFO - Deleting VN ctest-vn-70869548 2026-02-09 23:01:54,555 - DEBUG - Response for deleting network () 2026-02-09 23:01:54,555 - DEBUG - Requesting: http://10.0.0.64:8082/routing-instance/26330b3a-eb45-42d2-bcc6-80d120a0bf0c 2026-02-09 23:01:54,561 - DEBUG - Response Code: 404 2026-02-09 23:01:54,562 - DEBUG - Requesting: http://10.0.0.64:8082/domains 2026-02-09 23:01:54,569 - DEBUG - Requesting: http://10.0.0.64:8082/domain/f0dfb808-cf74-4636-99c1-32d02cc7e11f 2026-02-09 23:01:54,621 - DEBUG - Requesting: http://10.0.0.64:8082/project/bb804878-ed03-41c2-ae82-11adcd0d0e30 2026-02-09 23:01:54,685 - INFO - Validated that VN ctest-vn-70869548 is not found in API Server 2026-02-09 23:01:54,693 - DEBUG - VN ctest-vn-70869548 is not present in Agent 10.0.0.64 2026-02-09 23:01:54,693 - INFO - Validated that VN ctest-vn-70869548 is not in any agent 2026-02-09 23:01:54,705 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70869548 info 2026-02-09 23:01:54,957 - DEBUG - No XMPP flaps were noticed during the test 2026-02-09 23:01:54,957 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2026-02-09 23:01:54,957 - INFO - -------------------------------------------------------------------------------- 2026-02-09 23:01:55,729 - INFO - Deleted project: ctest-TestBasicPolicy-26976821, ID : bb804878-ed03-41c2-ae82-11adcd0d0e30