2025-10-23 11:51:55,829 - INFO - Domain Default found not creating 2025-10-23 11:51:55,976 - INFO - Project ctest-TestBasicPolicy-32873198 not found, creating it 2025-10-23 11:51:56,418 - INFO - Created Project:ctest-TestBasicPolicy-32873198, ID : b6556185-54ec-451a-92d5-f92a92451460 2025-10-23 11:51:57,804 - INFO - ================================================================================ 2025-10-23 11:51:57,804 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 11:51:57,804 - 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-23 11:51:58,061 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0'}} with 2025-10-23 11:51:58,061 - INFO - Initial checks done. Running the testcase now 2025-10-23 11:51:58,061 - INFO - 2025-10-23 11:51:58,587 - DEBUG - Response for create_network : {'network': {'id': '4dc0195d-8a57-4587-b191-f26e7dcd1167', 'name': 'ctest-vn-10262165', 'tenant_id': 'b655618554ec451a92d5f92a92451460', 'project_id': 'b655618554ec451a92d5f92a92451460', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32873198', 'ctest-vn-10262165'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:51:58,799 - DEBUG - Response for create_subnet : {'subnet': {'id': '578bdb04-fab8-45e8-aa85-dab74cd7b863', 'name': '', 'tenant_id': 'b655618554ec451a92d5f92a92451460', 'network_id': '4dc0195d-8a57-4587-b191-f26e7dcd1167', 'ip_version': 4, 'cidr': '211.159.25.0/26', 'allocation_pools': [{'start': '211.159.25.2', 'end': '211.159.25.62'}], 'gateway_ip': '211.159.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.159.25.2', 'tags': [], 'project_id': 'b655618554ec451a92d5f92a92451460'}} 2025-10-23 11:51:58,815 - INFO - Created VN ctest-vn-10262165 2025-10-23 11:51:58,864 - DEBUG - VN ctest-vn-10262165 UUID is 4dc0195d-8a57-4587-b191-f26e7dcd1167 2025-10-23 11:51:59,129 - DEBUG - Response for create_network : {'network': {'id': '1be041d6-e671-4975-a3a8-37ef9f8953d8', 'name': 'ctest-vn-91881753', 'tenant_id': 'b655618554ec451a92d5f92a92451460', 'project_id': 'b655618554ec451a92d5f92a92451460', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32873198', 'ctest-vn-91881753'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:51:59,324 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e8ad603-1023-444a-8709-f9673107a17a', 'name': '', 'tenant_id': 'b655618554ec451a92d5f92a92451460', 'network_id': '1be041d6-e671-4975-a3a8-37ef9f8953d8', 'ip_version': 4, 'cidr': '23.90.23.64/26', 'allocation_pools': [{'start': '23.90.23.66', 'end': '23.90.23.126'}], 'gateway_ip': '23.90.23.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.90.23.66', 'tags': [], 'project_id': 'b655618554ec451a92d5f92a92451460'}} 2025-10-23 11:51:59,340 - INFO - Created VN ctest-vn-91881753 2025-10-23 11:51:59,392 - DEBUG - VN ctest-vn-91881753 UUID is 1be041d6-e671-4975-a3a8-37ef9f8953d8 2025-10-23 11:51:59,540 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32873198:ctest-vn-10262165, 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-32873198:ctest-vn-91881753, 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-23 11:51:59,824 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4dc0195d-8a57-4587-b191-f26e7dcd1167', 'name': 'ctest-vn-10262165', 'tenant_id': 'b655618554ec451a92d5f92a92451460', 'project_id': 'b655618554ec451a92d5f92a92451460', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['578bdb04-fab8-45e8-aa85-dab74cd7b863'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32873198', 'ctest-vn-10262165'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32873198', 'ctest-policy-allow-all-15526702']], 'subnet_ipam': [{'subnet_cidr': '211.159.25.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:52:00,093 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1be041d6-e671-4975-a3a8-37ef9f8953d8', 'name': 'ctest-vn-91881753', 'tenant_id': 'b655618554ec451a92d5f92a92451460', 'project_id': 'b655618554ec451a92d5f92a92451460', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5e8ad603-1023-444a-8709-f9673107a17a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32873198', 'ctest-vn-91881753'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32873198', 'ctest-policy-allow-all-15526702']], 'subnet_ipam': [{'subnet_cidr': '23.90.23.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:52:00,240 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-23 11:52:00,544 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-23 11:52:00,571 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ffc5279c-1e1b-4ca8-80d5-4cbbf68edcae 2025-10-23 11:52:00,583 - DEBUG - Requesting: http://10.0.0.242:8082/project/b6556185-54ec-451a-92d5-f92a92451460 2025-10-23 11:52:00,656 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4dc0195d-8a57-4587-b191-f26e7dcd1167 2025-10-23 11:52:00,666 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4dc0195d-8a57-4587-b191-f26e7dcd1167 2025-10-23 11:52:00,675 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/07a72abb-738c-4871-82bd-41fc7e738d2f 2025-10-23 11:52:00,682 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/07a72abb-738c-4871-82bd-41fc7e738d2f 2025-10-23 11:52:00,688 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/7a33d76d-57f4-4e03-ae08-5364903eb1c0 2025-10-23 11:52:00,694 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 11:52:00,694 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4dc0195d-8a57-4587-b191-f26e7dcd1167 2025-10-23 11:52:00,703 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/07a72abb-738c-4871-82bd-41fc7e738d2f 2025-10-23 11:52:00,717 - INFO - Verified VN network id 11 for VN 4dc0195d-8a57-4587-b191-f26e7dcd1167 2025-10-23 11:52:00,718 - INFO - Verifications in API Server for VN ctest-vn-10262165 passed 2025-10-23 11:52:00,718 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4dc0195d-8a57-4587-b191-f26e7dcd1167 2025-10-23 11:52:00,726 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/07a72abb-738c-4871-82bd-41fc7e738d2f 2025-10-23 11:52:00,732 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/07a72abb-738c-4871-82bd-41fc7e738d2f 2025-10-23 11:52:00,740 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/7a33d76d-57f4-4e03-ae08-5364903eb1c0 2025-10-23 11:52:00,752 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32873198:ctest-vn-10262165', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32873198', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5602505825992525191', 'uuid-lslong': '12795274572707205479'}, 'enable': 'true', 'created': '2025-10-23T11:51:58', 'last-modified': '2025-10-23T11:51:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945569'} 2025-10-23 11:52:00,759 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 11:52:00,759 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10262165 passed 2025-10-23 11:52:00,759 - DEBUG - ====Verifying policy data for ctest-vn-10262165 in API_Server ====== 2025-10-23 11:52:00,759 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-23 11:52:00,765 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ffc5279c-1e1b-4ca8-80d5-4cbbf68edcae 2025-10-23 11:52:00,779 - DEBUG - Requesting: http://10.0.0.242:8082/project/b6556185-54ec-451a-92d5-f92a92451460 2025-10-23 11:52:00,858 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4dc0195d-8a57-4587-b191-f26e7dcd1167 2025-10-23 11:52:00,869 - DEBUG - ==>Verifying data for policy with id: 945bfd86-b8ff-43d7-9353-f021d751c8e2, fqn: ['default-domain', 'ctest-TestBasicPolicy-32873198', 'ctest-policy-allow-all-15526702'] 2025-10-23 11:52:00,869 - INFO - VN ctest-vn-10262165 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 11:52:00,869 - DEBUG - Verifying the vn in opserver 2025-10-23 11:52:00,869 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32873198:ctest-vn-10262165 virtual network link through opserver 10.0.0.242 2025-10-23 11:52:00,870 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-23 11:52:01,162 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-23 11:52:01,218 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32873198:ctest-vn-10262165', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32873198:ctest-vn-10262165?flat'} 2025-10-23 11:52:01,218 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32873198:ctest-vn-10262165 is found in opserver 2025-10-23 11:52:01,229 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 11:52:01,234 - DEBUG - VRF ids for VN ctest-vn-10262165: {} 2025-10-23 11:52:01,235 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-23 11:52:01,241 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ffc5279c-1e1b-4ca8-80d5-4cbbf68edcae 2025-10-23 11:52:01,254 - DEBUG - Requesting: http://10.0.0.242:8082/project/b6556185-54ec-451a-92d5-f92a92451460 2025-10-23 11:52:01,331 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/1be041d6-e671-4975-a3a8-37ef9f8953d8 2025-10-23 11:52:01,343 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/1be041d6-e671-4975-a3a8-37ef9f8953d8 2025-10-23 11:52:01,354 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2834c5d8-10c0-4fa1-b4e0-7a4e984ca7b8 2025-10-23 11:52:01,361 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2834c5d8-10c0-4fa1-b4e0-7a4e984ca7b8 2025-10-23 11:52:01,368 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ba43a1f9-993f-4980-9303-28b28f0b580a 2025-10-23 11:52:01,375 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 11:52:01,375 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/1be041d6-e671-4975-a3a8-37ef9f8953d8 2025-10-23 11:52:01,386 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2834c5d8-10c0-4fa1-b4e0-7a4e984ca7b8 2025-10-23 11:52:01,400 - INFO - Verified VN network id 12 for VN 1be041d6-e671-4975-a3a8-37ef9f8953d8 2025-10-23 11:52:01,401 - INFO - Verifications in API Server for VN ctest-vn-91881753 passed 2025-10-23 11:52:01,401 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/1be041d6-e671-4975-a3a8-37ef9f8953d8 2025-10-23 11:52:01,409 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2834c5d8-10c0-4fa1-b4e0-7a4e984ca7b8 2025-10-23 11:52:01,417 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2834c5d8-10c0-4fa1-b4e0-7a4e984ca7b8 2025-10-23 11:52:01,423 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ba43a1f9-993f-4980-9303-28b28f0b580a 2025-10-23 11:52:01,436 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32873198:ctest-vn-91881753', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32873198', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2008677825052232053', 'uuid-lslong': '11792737126582932440'}, 'enable': 'true', 'created': '2025-10-23T11:51:59', 'last-modified': '2025-10-23T11:52:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.404392'} 2025-10-23 11:52:01,443 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 11:52:01,443 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91881753 passed 2025-10-23 11:52:01,443 - DEBUG - ====Verifying policy data for ctest-vn-91881753 in API_Server ====== 2025-10-23 11:52:01,443 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-23 11:52:01,450 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ffc5279c-1e1b-4ca8-80d5-4cbbf68edcae 2025-10-23 11:52:01,461 - DEBUG - Requesting: http://10.0.0.242:8082/project/b6556185-54ec-451a-92d5-f92a92451460 2025-10-23 11:52:01,532 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/1be041d6-e671-4975-a3a8-37ef9f8953d8 2025-10-23 11:52:01,541 - DEBUG - ==>Verifying data for policy with id: 945bfd86-b8ff-43d7-9353-f021d751c8e2, fqn: ['default-domain', 'ctest-TestBasicPolicy-32873198', 'ctest-policy-allow-all-15526702'] 2025-10-23 11:52:01,541 - INFO - VN ctest-vn-91881753 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 11:52:01,541 - DEBUG - Verifying the vn in opserver 2025-10-23 11:52:01,541 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32873198:ctest-vn-91881753 virtual network link through opserver 10.0.0.242 2025-10-23 11:52:01,541 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-23 11:52:01,551 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32873198:ctest-vn-91881753', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32873198:ctest-vn-91881753?flat'} 2025-10-23 11:52:01,551 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32873198:ctest-vn-91881753 is found in opserver 2025-10-23 11:52:01,561 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 11:52:01,565 - DEBUG - VRF ids for VN ctest-vn-91881753: {} 2025-10-23 11:52:01,621 - DEBUG - Services list from nova: [, , ] 2025-10-23 11:52:02,632 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4460-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4460-1) 2025-10-23 11:52:03,776 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4460-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4460-1) 2025-10-23 11:52:03,776 - INFO - Waiting for VM ctest-TestBasicPolicy-32873198-31475498 to be up.. 2025-10-23 11:52:03,860 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 11:52:08,937 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:52:08,937 - INFO - VM name : ctest-TestBasicPolicy-32873198-31475498 2025-10-23 11:52:09,009 - DEBUG - VM ctest-TestBasicPolicy-32873198-31475498 ID is f496229a-c9c5-4d29-9880-8e395c14e6fe 2025-10-23 11:52:09,027 - DEBUG - VM ctest-TestBasicPolicy-32873198-31475498 launched on Node cn-jenkins-deploy-platform-ansible-os-4460-1 2025-10-23 11:52:09,106 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/f496229a-c9c5-4d29-9880-8e395c14e6fe 2025-10-23 11:52:09,114 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/7006700e-a1cc-41d8-8f75-ae8f2b6f4996 2025-10-23 11:52:12,359 - 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 1013ms') 2025-10-23 11:52:12,360 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32873198-31475498 failed! 2025-10-23 11:52:12,416 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32873198:ctest-vn-10262165 is 211.159.25.1 and allocation pool is NOT set 2025-10-23 11:52:14,483 - 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=8.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.846 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.846/4.737/8.628/3.891 ms') 2025-10-23 11:52:14,483 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32873198-31475498 passed 2025-10-23 11:52:14,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:52:14,632 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32873198-31475498, IP 211.159.25.3, Port 22 2025-10-23 11:52:14,787 - DEBUG - VM ctest-TestBasicPolicy-32873198-31475498 is ready for SSH connections 2025-10-23 11:52:14,788 - INFO - Waiting for VM ctest-TestBasicPolicy-32873198-63502262 to be up.. 2025-10-23 11:52:14,856 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:52:14,856 - INFO - VM name : ctest-TestBasicPolicy-32873198-63502262 2025-10-23 11:52:14,925 - DEBUG - VM ctest-TestBasicPolicy-32873198-63502262 ID is 313dc1e8-c586-4c05-8ccf-f912015d3379 2025-10-23 11:52:14,925 - DEBUG - VM ctest-TestBasicPolicy-32873198-63502262 launched on Node cn-jenkins-deploy-platform-ansible-os-4460-1 2025-10-23 11:52:15,005 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/313dc1e8-c586-4c05-8ccf-f912015d3379 2025-10-23 11:52:15,013 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/fd30bba7-da93-4173-ac18-4cb4dd729fd5 2025-10-23 11:52:16,245 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.813 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.813/2.316/3.819/1.503 ms') 2025-10-23 11:52:16,245 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32873198-63502262 passed 2025-10-23 11:52:16,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:52:16,392 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32873198-63502262, IP 23.90.23.67, Port 22 2025-10-23 11:52:16,551 - DEBUG - VM ctest-TestBasicPolicy-32873198-63502262 is ready for SSH connections 2025-10-23 11:52:16,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:52:16,552 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.90.23.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 11:52:16,552 - DEBUG - ping -s 56 -c 3 -W 1 23.90.23.67 2025-10-23 11:52:20,557 - DEBUG - PING 23.90.23.67 (23.90.23.67): 56 data bytes 64 bytes from 23.90.23.67: seq=0 ttl=63 time=3.274 ms 64 bytes from 23.90.23.67: seq=1 ttl=63 time=0.863 ms 64 bytes from 23.90.23.67: seq=2 ttl=63 time=0.808 ms --- 23.90.23.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.648/3.274 ms 2025-10-23 11:52:20,558 - INFO - Ping to IP 23.90.23.67 from VM ctest-TestBasicPolicy-32873198-31475498 passed 2025-10-23 11:52:20,736 - DEBUG - Policy Update Response {"network-policy": {"uuid": "945bfd86-b8ff-43d7-9353-f021d751c8e2", "href": "http://10.0.0.242:8082/network-policy/945bfd86-b8ff-43d7-9353-f021d751c8e2"}} 2025-10-23 11:52:20,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:52:20,736 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.90.23.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 11:52:20,736 - DEBUG - ping -s 56 -c 3 -W 1 23.90.23.67 2025-10-23 11:52:23,966 - DEBUG - PING 23.90.23.67 (23.90.23.67): 56 data bytes --- 23.90.23.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 11:52:23,967 - WARNING - Ping to IP 23.90.23.67 from VM ctest-TestBasicPolicy-32873198-31475498 failed 2025-10-23 11:52:23,967 - INFO - Deleting VM ctest-TestBasicPolicy-32873198-63502262 2025-10-23 11:52:24,038 - INFO - Deleting VM ctest-TestBasicPolicy-32873198-31475498 2025-10-23 11:52:24,396 - INFO - Deleted policy ctest-policy-allow-all-15526702 2025-10-23 11:52:24,396 - INFO - Deleting VN ctest-vn-91881753 2025-10-23 11:52:24,432 - DEBUG - VN 1be041d6-e671-4975-a3a8-37ef9f8953d8 still in use: Unable to complete operation on network 1be041d6-e671-4975-a3a8-37ef9f8953d8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d862747-1236-4f8a-bd2a-7e5a6196edef'] 2025-10-23 11:52:24,432 - WARNING - Deleting VN ctest-vn-91881753 failed..Will retry 2025-10-23 11:52:26,526 - DEBUG - Response for deleting network () 2025-10-23 11:52:26,526 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2834c5d8-10c0-4fa1-b4e0-7a4e984ca7b8 2025-10-23 11:52:26,531 - DEBUG - Response Code: 404 2025-10-23 11:52:26,531 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-23 11:52:26,537 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ffc5279c-1e1b-4ca8-80d5-4cbbf68edcae 2025-10-23 11:52:26,588 - DEBUG - Requesting: http://10.0.0.242:8082/project/b6556185-54ec-451a-92d5-f92a92451460 2025-10-23 11:52:26,655 - INFO - Validated that VN ctest-vn-91881753 is not found in API Server 2025-10-23 11:52:26,664 - DEBUG - VN ctest-vn-91881753 is not present in Agent 10.0.0.242 2025-10-23 11:52:26,664 - INFO - Validated that VN ctest-vn-91881753 is not in any agent 2025-10-23 11:52:26,678 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91881753 info 2025-10-23 11:52:26,678 - INFO - Deleting VN ctest-vn-10262165 2025-10-23 11:52:26,767 - DEBUG - Response for deleting network () 2025-10-23 11:52:26,767 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/07a72abb-738c-4871-82bd-41fc7e738d2f 2025-10-23 11:52:26,773 - DEBUG - Response Code: 404 2025-10-23 11:52:26,773 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-23 11:52:26,779 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ffc5279c-1e1b-4ca8-80d5-4cbbf68edcae 2025-10-23 11:52:26,833 - DEBUG - Requesting: http://10.0.0.242:8082/project/b6556185-54ec-451a-92d5-f92a92451460 2025-10-23 11:52:26,906 - INFO - Validated that VN ctest-vn-10262165 is not found in API Server 2025-10-23 11:52:26,916 - DEBUG - VN ctest-vn-10262165 is not present in Agent 10.0.0.242 2025-10-23 11:52:26,916 - INFO - Validated that VN ctest-vn-10262165 is not in any agent 2025-10-23 11:52:26,931 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10262165 info 2025-10-23 11:52:27,189 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 11:52:27,189 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-23 11:52:27,189 - INFO - -------------------------------------------------------------------------------- 2025-10-23 11:52:27,866 - INFO - Deleted project: ctest-TestBasicPolicy-32873198, ID : b6556185-54ec-451a-92d5-f92a92451460