2026-02-02 20:47:19,536 - INFO - Domain Default found not creating 2026-02-02 20:47:19,689 - INFO - Project ctest-TestBasicPolicy-34650148 not found, creating it 2026-02-02 20:47:20,116 - INFO - Created Project:ctest-TestBasicPolicy-34650148, ID : 3fd05329-977d-410e-b789-65230eb0e610 2026-02-02 20:47:21,550 - INFO - ================================================================================ 2026-02-02 20:47:21,550 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-02 20:47:21,550 - 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-02 20:47:21,807 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-02-02 20:47:21,808 - INFO - Initial checks done. Running the testcase now 2026-02-02 20:47:21,808 - INFO - 2026-02-02 20:47:22,364 - DEBUG - Response for create_network : {'network': {'id': 'ff76e1ac-3cc4-49c1-97ea-fafa8e55a312', 'name': 'ctest-vn-83999984', 'tenant_id': '3fd05329977d410eb78965230eb0e610', 'project_id': '3fd05329977d410eb78965230eb0e610', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34650148', 'ctest-vn-83999984'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 20:47:22,535 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf2a0c4b-fc65-452a-b16b-1eddd5c92331', 'name': '', 'tenant_id': '3fd05329977d410eb78965230eb0e610', 'network_id': 'ff76e1ac-3cc4-49c1-97ea-fafa8e55a312', 'ip_version': 4, 'cidr': '219.92.48.128/26', 'allocation_pools': [{'start': '219.92.48.130', 'end': '219.92.48.190'}], 'gateway_ip': '219.92.48.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.92.48.130', 'tags': [], 'project_id': '3fd05329977d410eb78965230eb0e610'}} 2026-02-02 20:47:22,550 - INFO - Created VN ctest-vn-83999984 2026-02-02 20:47:22,602 - DEBUG - VN ctest-vn-83999984 UUID is ff76e1ac-3cc4-49c1-97ea-fafa8e55a312 2026-02-02 20:47:22,919 - DEBUG - Response for create_network : {'network': {'id': '03e10539-0ab0-4d8f-b157-0ca55a1fe555', 'name': 'ctest-vn-52412741', 'tenant_id': '3fd05329977d410eb78965230eb0e610', 'project_id': '3fd05329977d410eb78965230eb0e610', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34650148', 'ctest-vn-52412741'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 20:47:23,158 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa8abaae-21e2-495e-92dc-d7f15ed8d549', 'name': '', 'tenant_id': '3fd05329977d410eb78965230eb0e610', 'network_id': '03e10539-0ab0-4d8f-b157-0ca55a1fe555', 'ip_version': 4, 'cidr': '111.233.216.0/26', 'allocation_pools': [{'start': '111.233.216.2', 'end': '111.233.216.62'}], 'gateway_ip': '111.233.216.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.233.216.2', 'tags': [], 'project_id': '3fd05329977d410eb78965230eb0e610'}} 2026-02-02 20:47:23,177 - INFO - Created VN ctest-vn-52412741 2026-02-02 20:47:23,230 - DEBUG - VN ctest-vn-52412741 UUID is 03e10539-0ab0-4d8f-b157-0ca55a1fe555 2026-02-02 20:47:23,339 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34650148:ctest-vn-83999984, 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-34650148:ctest-vn-52412741, 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-02 20:47:23,626 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ff76e1ac-3cc4-49c1-97ea-fafa8e55a312', 'name': 'ctest-vn-83999984', 'tenant_id': '3fd05329977d410eb78965230eb0e610', 'project_id': '3fd05329977d410eb78965230eb0e610', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cf2a0c4b-fc65-452a-b16b-1eddd5c92331'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34650148', 'ctest-vn-83999984'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34650148', 'ctest-policy-allow-all-23969578']], 'subnet_ipam': [{'subnet_cidr': '219.92.48.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 20:47:23,909 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '03e10539-0ab0-4d8f-b157-0ca55a1fe555', 'name': 'ctest-vn-52412741', 'tenant_id': '3fd05329977d410eb78965230eb0e610', 'project_id': '3fd05329977d410eb78965230eb0e610', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aa8abaae-21e2-495e-92dc-d7f15ed8d549'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34650148', 'ctest-vn-52412741'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34650148', 'ctest-policy-allow-all-23969578']], 'subnet_ipam': [{'subnet_cidr': '111.233.216.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 20:47:24,054 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-02 20:47:24,367 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-02 20:47:24,396 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a5f59e24-7255-40a2-a2ee-76836a34dba4 2026-02-02 20:47:24,407 - DEBUG - Requesting: http://10.0.0.249:8082/project/3fd05329-977d-410e-b789-65230eb0e610 2026-02-02 20:47:24,481 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ff76e1ac-3cc4-49c1-97ea-fafa8e55a312 2026-02-02 20:47:24,491 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ff76e1ac-3cc4-49c1-97ea-fafa8e55a312 2026-02-02 20:47:24,499 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/57b92a92-3830-4780-bf14-8992893ecbe3 2026-02-02 20:47:24,506 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/57b92a92-3830-4780-bf14-8992893ecbe3 2026-02-02 20:47:24,513 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1f4c1941-6e96-4195-a060-ed3afc7e8f42 2026-02-02 20:47:24,519 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 20:47:24,519 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ff76e1ac-3cc4-49c1-97ea-fafa8e55a312 2026-02-02 20:47:24,527 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/57b92a92-3830-4780-bf14-8992893ecbe3 2026-02-02 20:47:24,539 - INFO - Verified VN network id 12 for VN ff76e1ac-3cc4-49c1-97ea-fafa8e55a312 2026-02-02 20:47:24,539 - INFO - Verifications in API Server for VN ctest-vn-83999984 passed 2026-02-02 20:47:24,539 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ff76e1ac-3cc4-49c1-97ea-fafa8e55a312 2026-02-02 20:47:24,549 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/57b92a92-3830-4780-bf14-8992893ecbe3 2026-02-02 20:47:24,556 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/57b92a92-3830-4780-bf14-8992893ecbe3 2026-02-02 20:47:24,562 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1f4c1941-6e96-4195-a060-ed3afc7e8f42 2026-02-02 20:47:24,574 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34650148:ctest-vn-83999984', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34650148', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18408148656793602497', 'uuid-lslong': '10946837798314156818'}, 'enable': 'true', 'created': '2026-02-02T20:47:22', 'last-modified': '2026-02-02T20:47:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.965022'} 2026-02-02 20:47:24,580 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 20:47:24,580 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83999984 passed 2026-02-02 20:47:24,580 - DEBUG - ====Verifying policy data for ctest-vn-83999984 in API_Server ====== 2026-02-02 20:47:24,580 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-02 20:47:24,585 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a5f59e24-7255-40a2-a2ee-76836a34dba4 2026-02-02 20:47:24,595 - DEBUG - Requesting: http://10.0.0.249:8082/project/3fd05329-977d-410e-b789-65230eb0e610 2026-02-02 20:47:24,663 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ff76e1ac-3cc4-49c1-97ea-fafa8e55a312 2026-02-02 20:47:24,672 - DEBUG - ==>Verifying data for policy with id: 06689ae8-5098-4b89-8fa5-71c52b2a1d2f, fqn: ['default-domain', 'ctest-TestBasicPolicy-34650148', 'ctest-policy-allow-all-23969578'] 2026-02-02 20:47:24,672 - INFO - VN ctest-vn-83999984 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 20:47:24,673 - DEBUG - Verifying the vn in opserver 2026-02-02 20:47:24,673 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34650148:ctest-vn-83999984 virtual network link through opserver 10.0.0.249 2026-02-02 20:47:24,673 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-02-02 20:47:24,970 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-02-02 20:47:25,039 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34650148:ctest-vn-83999984', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34650148:ctest-vn-83999984?flat'} 2026-02-02 20:47:25,039 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34650148:ctest-vn-83999984 is found in opserver 2026-02-02 20:47:25,048 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 20:47:25,052 - DEBUG - VRF ids for VN ctest-vn-83999984: {} 2026-02-02 20:47:25,052 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-02 20:47:25,058 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a5f59e24-7255-40a2-a2ee-76836a34dba4 2026-02-02 20:47:25,077 - DEBUG - Requesting: http://10.0.0.249:8082/project/3fd05329-977d-410e-b789-65230eb0e610 2026-02-02 20:47:25,154 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/03e10539-0ab0-4d8f-b157-0ca55a1fe555 2026-02-02 20:47:25,164 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/03e10539-0ab0-4d8f-b157-0ca55a1fe555 2026-02-02 20:47:25,172 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/14462025-57d7-43c8-8935-66cae4b06691 2026-02-02 20:47:25,179 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/14462025-57d7-43c8-8935-66cae4b06691 2026-02-02 20:47:25,185 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9968006c-b853-45e5-b3c9-9c4d07e8ba70 2026-02-02 20:47:25,192 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 20:47:25,192 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/03e10539-0ab0-4d8f-b157-0ca55a1fe555 2026-02-02 20:47:25,200 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/14462025-57d7-43c8-8935-66cae4b06691 2026-02-02 20:47:25,212 - INFO - Verified VN network id 13 for VN 03e10539-0ab0-4d8f-b157-0ca55a1fe555 2026-02-02 20:47:25,213 - INFO - Verifications in API Server for VN ctest-vn-52412741 passed 2026-02-02 20:47:25,213 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/03e10539-0ab0-4d8f-b157-0ca55a1fe555 2026-02-02 20:47:25,223 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/14462025-57d7-43c8-8935-66cae4b06691 2026-02-02 20:47:25,230 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/14462025-57d7-43c8-8935-66cae4b06691 2026-02-02 20:47:25,237 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9968006c-b853-45e5-b3c9-9c4d07e8ba70 2026-02-02 20:47:25,247 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34650148:ctest-vn-52412741', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34650148', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '279510394424282511', 'uuid-lslong': '12778696372008248661'}, 'enable': 'true', 'created': '2026-02-02T20:47:22', 'last-modified': '2026-02-02T20:47:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.411255'} 2026-02-02 20:47:25,252 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 20:47:25,252 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52412741 passed 2026-02-02 20:47:25,252 - DEBUG - ====Verifying policy data for ctest-vn-52412741 in API_Server ====== 2026-02-02 20:47:25,252 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-02 20:47:25,257 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a5f59e24-7255-40a2-a2ee-76836a34dba4 2026-02-02 20:47:25,269 - DEBUG - Requesting: http://10.0.0.249:8082/project/3fd05329-977d-410e-b789-65230eb0e610 2026-02-02 20:47:25,337 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/03e10539-0ab0-4d8f-b157-0ca55a1fe555 2026-02-02 20:47:25,344 - DEBUG - ==>Verifying data for policy with id: 06689ae8-5098-4b89-8fa5-71c52b2a1d2f, fqn: ['default-domain', 'ctest-TestBasicPolicy-34650148', 'ctest-policy-allow-all-23969578'] 2026-02-02 20:47:25,344 - INFO - VN ctest-vn-52412741 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 20:47:25,344 - DEBUG - Verifying the vn in opserver 2026-02-02 20:47:25,344 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34650148:ctest-vn-52412741 virtual network link through opserver 10.0.0.249 2026-02-02 20:47:25,344 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-02-02 20:47:25,353 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34650148:ctest-vn-52412741', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34650148:ctest-vn-52412741?flat'} 2026-02-02 20:47:25,353 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34650148:ctest-vn-52412741 is found in opserver 2026-02-02 20:47:25,361 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 20:47:25,365 - DEBUG - VRF ids for VN ctest-vn-52412741: {} 2026-02-02 20:47:25,414 - DEBUG - Services list from nova: [, , ] 2026-02-02 20:47:26,391 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5178-1) 2026-02-02 20:47:27,503 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5178-1) 2026-02-02 20:47:27,503 - INFO - Waiting for VM ctest-TestBasicPolicy-34650148-71945822 to be up.. 2026-02-02 20:47:27,582 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 20:47:32,651 - DEBUG - VM is in ACTIVE state now 2026-02-02 20:47:32,651 - INFO - VM name : ctest-TestBasicPolicy-34650148-71945822 2026-02-02 20:47:32,717 - DEBUG - VM ctest-TestBasicPolicy-34650148-71945822 ID is 47062a55-cbb6-4577-8208-4f4ea36ee626 2026-02-02 20:47:32,734 - DEBUG - VM ctest-TestBasicPolicy-34650148-71945822 launched on Node cn-jenkins-deploy-platform-ansible-os-5178-1 2026-02-02 20:47:32,800 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/47062a55-cbb6-4577-8208-4f4ea36ee626 2026-02-02 20:47:32,807 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3928df15-7491-42f4-aa85-afa925cff49d 2026-02-02 20:47:36,063 - 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 1023ms') 2026-02-02 20:47:36,064 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34650148-71945822 failed! 2026-02-02 20:47:36,118 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-34650148:ctest-vn-83999984 is 219.92.48.129 and allocation pool is NOT set 2026-02-02 20:47:38,189 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.01 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 = 3.642/3.826/4.010/0.184 ms') 2026-02-02 20:47:38,189 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34650148-71945822 passed 2026-02-02 20:47:38,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 20:47:38,338 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34650148-71945822, IP 219.92.48.131, Port 22 2026-02-02 20:47:38,490 - DEBUG - VM ctest-TestBasicPolicy-34650148-71945822 is ready for SSH connections 2026-02-02 20:47:38,490 - INFO - Waiting for VM ctest-TestBasicPolicy-34650148-30088416 to be up.. 2026-02-02 20:47:38,563 - DEBUG - VM is in ACTIVE state now 2026-02-02 20:47:38,563 - INFO - VM name : ctest-TestBasicPolicy-34650148-30088416 2026-02-02 20:47:38,637 - DEBUG - VM ctest-TestBasicPolicy-34650148-30088416 ID is 019d2f91-b2f8-4a1d-ac05-5dfe83c7b812 2026-02-02 20:47:38,637 - DEBUG - VM ctest-TestBasicPolicy-34650148-30088416 launched on Node cn-jenkins-deploy-platform-ansible-os-5178-1 2026-02-02 20:47:38,710 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/019d2f91-b2f8-4a1d-ac05-5dfe83c7b812 2026-02-02 20:47:38,717 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/dddcd8a3-40a2-4f6f-a962-31634add30e1 2026-02-02 20:47:39,942 - 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=4.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.466 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.466/2.425/4.384/1.959 ms') 2026-02-02 20:47:39,942 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34650148-30088416 passed 2026-02-02 20:47:40,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 20:47:40,090 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34650148-30088416, IP 111.233.216.3, Port 22 2026-02-02 20:47:40,251 - DEBUG - VM ctest-TestBasicPolicy-34650148-30088416 is ready for SSH connections 2026-02-02 20:47:40,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 20:47:40,251 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.233.216.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-02-02 20:47:40,251 - DEBUG - ping -s 56 -c 3 -W 1 111.233.216.3 2026-02-02 20:47:44,278 - DEBUG - PING 111.233.216.3 (111.233.216.3): 56 data bytes 64 bytes from 111.233.216.3: seq=0 ttl=63 time=3.428 ms 64 bytes from 111.233.216.3: seq=1 ttl=63 time=0.801 ms 64 bytes from 111.233.216.3: seq=2 ttl=63 time=0.833 ms --- 111.233.216.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.801/1.687/3.428 ms 2026-02-02 20:47:44,278 - INFO - Ping to IP 111.233.216.3 from VM ctest-TestBasicPolicy-34650148-71945822 passed 2026-02-02 20:47:44,446 - DEBUG - Policy Update Response {"network-policy": {"uuid": "06689ae8-5098-4b89-8fa5-71c52b2a1d2f", "href": "http://10.0.0.249:8082/network-policy/06689ae8-5098-4b89-8fa5-71c52b2a1d2f"}} 2026-02-02 20:47:44,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 20:47:44,446 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.233.216.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-02-02 20:47:44,446 - DEBUG - ping -s 56 -c 3 -W 1 111.233.216.3 2026-02-02 20:47:47,659 - DEBUG - PING 111.233.216.3 (111.233.216.3): 56 data bytes --- 111.233.216.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-02 20:47:47,660 - WARNING - Ping to IP 111.233.216.3 from VM ctest-TestBasicPolicy-34650148-71945822 failed 2026-02-02 20:47:47,660 - INFO - Deleting VM ctest-TestBasicPolicy-34650148-30088416 2026-02-02 20:47:47,721 - INFO - Deleting VM ctest-TestBasicPolicy-34650148-71945822 2026-02-02 20:47:48,088 - INFO - Deleted policy ctest-policy-allow-all-23969578 2026-02-02 20:47:48,089 - INFO - Deleting VN ctest-vn-52412741 2026-02-02 20:47:48,124 - DEBUG - VN 03e10539-0ab0-4d8f-b157-0ca55a1fe555 still in use: Unable to complete operation on network 03e10539-0ab0-4d8f-b157-0ca55a1fe555. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0fc0a6a6-a35c-4ca4-9f1b-155910d0c851'] 2026-02-02 20:47:48,124 - WARNING - Deleting VN ctest-vn-52412741 failed..Will retry 2026-02-02 20:47:50,217 - DEBUG - Response for deleting network () 2026-02-02 20:47:50,217 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/14462025-57d7-43c8-8935-66cae4b06691 2026-02-02 20:47:50,221 - DEBUG - Response Code: 404 2026-02-02 20:47:50,221 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-02 20:47:50,226 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a5f59e24-7255-40a2-a2ee-76836a34dba4 2026-02-02 20:47:50,280 - DEBUG - Requesting: http://10.0.0.249:8082/project/3fd05329-977d-410e-b789-65230eb0e610 2026-02-02 20:47:50,346 - INFO - Validated that VN ctest-vn-52412741 is not found in API Server 2026-02-02 20:47:50,355 - DEBUG - VN ctest-vn-52412741 is not present in Agent 10.0.0.249 2026-02-02 20:47:50,355 - INFO - Validated that VN ctest-vn-52412741 is not in any agent 2026-02-02 20:47:50,366 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52412741 info 2026-02-02 20:47:50,366 - INFO - Deleting VN ctest-vn-83999984 2026-02-02 20:47:50,448 - DEBUG - Response for deleting network () 2026-02-02 20:47:50,448 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/57b92a92-3830-4780-bf14-8992893ecbe3 2026-02-02 20:47:50,454 - DEBUG - Response Code: 404 2026-02-02 20:47:50,454 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-02 20:47:50,459 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a5f59e24-7255-40a2-a2ee-76836a34dba4 2026-02-02 20:47:50,511 - DEBUG - Requesting: http://10.0.0.249:8082/project/3fd05329-977d-410e-b789-65230eb0e610 2026-02-02 20:47:50,579 - INFO - Validated that VN ctest-vn-83999984 is not found in API Server 2026-02-02 20:47:50,588 - DEBUG - VN ctest-vn-83999984 is not present in Agent 10.0.0.249 2026-02-02 20:47:50,588 - INFO - Validated that VN ctest-vn-83999984 is not in any agent 2026-02-02 20:47:50,600 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83999984 info 2026-02-02 20:47:50,855 - DEBUG - No XMPP flaps were noticed during the test 2026-02-02 20:47:50,855 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-02-02 20:47:50,855 - INFO - -------------------------------------------------------------------------------- 2026-02-02 20:47:51,524 - INFO - Deleted project: ctest-TestBasicPolicy-34650148, ID : 3fd05329-977d-410e-b789-65230eb0e610