2026-03-23 23:01:28,686 - INFO - Domain Default found not creating 2026-03-23 23:01:28,836 - INFO - Project ctest-TestBasicPolicy-18368360 not found, creating it 2026-03-23 23:01:29,286 - INFO - Created Project:ctest-TestBasicPolicy-18368360, ID : 35589830-2377-4442-99b1-37b3a93ef0ec 2026-03-23 23:01:30,680 - INFO - ================================================================================ 2026-03-23 23:01:30,680 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-23 23:01:30,680 - 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-03-23 23:01:30,935 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2026-03-23 23:01:30,935 - INFO - Initial checks done. Running the testcase now 2026-03-23 23:01:30,935 - INFO - 2026-03-23 23:01:31,471 - DEBUG - Response for create_network : {'network': {'id': '5e056228-eb82-4518-ba5f-126f8ef89038', 'name': 'ctest-vn-15768947', 'tenant_id': '355898302377444299b137b3a93ef0ec', 'project_id': '355898302377444299b137b3a93ef0ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-vn-15768947'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 23:01:31,657 - DEBUG - Response for create_subnet : {'subnet': {'id': '2761ebaf-0897-42b9-a067-3821f5c350ad', 'name': '', 'tenant_id': '355898302377444299b137b3a93ef0ec', 'network_id': '5e056228-eb82-4518-ba5f-126f8ef89038', 'ip_version': 4, 'cidr': '116.107.130.0/26', 'allocation_pools': [{'start': '116.107.130.2', 'end': '116.107.130.62'}], 'gateway_ip': '116.107.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.107.130.2', 'tags': [], 'project_id': '355898302377444299b137b3a93ef0ec'}} 2026-03-23 23:01:31,674 - INFO - Created VN ctest-vn-15768947 2026-03-23 23:01:31,730 - DEBUG - VN ctest-vn-15768947 UUID is 5e056228-eb82-4518-ba5f-126f8ef89038 2026-03-23 23:01:32,033 - DEBUG - Response for create_network : {'network': {'id': 'fa6b54e5-acca-4ed0-ac35-ddc48db2a787', 'name': 'ctest-vn-21231276', 'tenant_id': '355898302377444299b137b3a93ef0ec', 'project_id': '355898302377444299b137b3a93ef0ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-vn-21231276'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 23:01:32,232 - DEBUG - Response for create_subnet : {'subnet': {'id': '13c8dc84-876e-4675-aaea-bd675446edda', 'name': '', 'tenant_id': '355898302377444299b137b3a93ef0ec', 'network_id': 'fa6b54e5-acca-4ed0-ac35-ddc48db2a787', 'ip_version': 4, 'cidr': '112.122.62.192/26', 'allocation_pools': [{'start': '112.122.62.194', 'end': '112.122.62.254'}], 'gateway_ip': '112.122.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.122.62.194', 'tags': [], 'project_id': '355898302377444299b137b3a93ef0ec'}} 2026-03-23 23:01:32,249 - INFO - Created VN ctest-vn-21231276 2026-03-23 23:01:32,298 - DEBUG - VN ctest-vn-21231276 UUID is fa6b54e5-acca-4ed0-ac35-ddc48db2a787 2026-03-23 23:01:32,415 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-15768947, 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-18368360:ctest-vn-21231276, 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-03-23 23:01:32,696 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5e056228-eb82-4518-ba5f-126f8ef89038', 'name': 'ctest-vn-15768947', 'tenant_id': '355898302377444299b137b3a93ef0ec', 'project_id': '355898302377444299b137b3a93ef0ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2761ebaf-0897-42b9-a067-3821f5c350ad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-vn-15768947'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-policy-allow-all-54442575']], 'subnet_ipam': [{'subnet_cidr': '116.107.130.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-23 23:01:32,930 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa6b54e5-acca-4ed0-ac35-ddc48db2a787', 'name': 'ctest-vn-21231276', 'tenant_id': '355898302377444299b137b3a93ef0ec', 'project_id': '355898302377444299b137b3a93ef0ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['13c8dc84-876e-4675-aaea-bd675446edda'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-vn-21231276'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-policy-allow-all-54442575']], 'subnet_ipam': [{'subnet_cidr': '112.122.62.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-23 23:01:33,070 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-23 23:01:33,373 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-23 23:01:33,407 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4c0a333a-240b-491d-a31c-bec9b65e69a0 2026-03-23 23:01:33,418 - DEBUG - Requesting: http://10.0.0.141:8082/project/35589830-2377-4442-99b1-37b3a93ef0ec 2026-03-23 23:01:33,491 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5e056228-eb82-4518-ba5f-126f8ef89038 2026-03-23 23:01:33,501 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5e056228-eb82-4518-ba5f-126f8ef89038 2026-03-23 23:01:33,509 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c6dfff18-e92f-48b6-b7e9-900367a37d86 2026-03-23 23:01:33,516 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c6dfff18-e92f-48b6-b7e9-900367a37d86 2026-03-23 23:01:33,523 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ccc7002e-26e0-4893-8038-e8a1a8102c90 2026-03-23 23:01:33,528 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-23 23:01:33,528 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5e056228-eb82-4518-ba5f-126f8ef89038 2026-03-23 23:01:33,536 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c6dfff18-e92f-48b6-b7e9-900367a37d86 2026-03-23 23:01:33,551 - INFO - Verified VN network id 11 for VN 5e056228-eb82-4518-ba5f-126f8ef89038 2026-03-23 23:01:33,551 - INFO - Verifications in API Server for VN ctest-vn-15768947 passed 2026-03-23 23:01:33,551 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5e056228-eb82-4518-ba5f-126f8ef89038 2026-03-23 23:01:33,559 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c6dfff18-e92f-48b6-b7e9-900367a37d86 2026-03-23 23:01:33,565 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c6dfff18-e92f-48b6-b7e9-900367a37d86 2026-03-23 23:01:33,571 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ccc7002e-26e0-4893-8038-e8a1a8102c90 2026-03-23 23:01:33,582 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-15768947', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18368360', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6774929142338176280', 'uuid-lslong': '13429472884191432760'}, 'enable': 'true', 'created': '2026-03-23T23:01:31', 'last-modified': '2026-03-23T23:01:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.904892'} 2026-03-23 23:01:33,588 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-23 23:01:33,589 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15768947 passed 2026-03-23 23:01:33,589 - DEBUG - ====Verifying policy data for ctest-vn-15768947 in API_Server ====== 2026-03-23 23:01:33,589 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-23 23:01:33,594 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4c0a333a-240b-491d-a31c-bec9b65e69a0 2026-03-23 23:01:33,604 - DEBUG - Requesting: http://10.0.0.141:8082/project/35589830-2377-4442-99b1-37b3a93ef0ec 2026-03-23 23:01:33,674 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/5e056228-eb82-4518-ba5f-126f8ef89038 2026-03-23 23:01:33,682 - DEBUG - ==>Verifying data for policy with id: 190c0b7f-fd5a-417f-a6a1-ffb4a21a5f6f, fqn: ['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-policy-allow-all-54442575'] 2026-03-23 23:01:33,682 - INFO - VN ctest-vn-15768947 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-23 23:01:33,682 - DEBUG - Verifying the vn in opserver 2026-03-23 23:01:33,683 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-15768947 virtual network link through opserver 10.0.0.141 2026-03-23 23:01:33,683 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-23 23:01:33,976 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-23 23:01:34,031 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-15768947', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-15768947?flat'} 2026-03-23 23:01:34,031 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-15768947 is found in opserver 2026-03-23 23:01:34,041 - DEBUG - Do not have enough data to verify VN in agent 2026-03-23 23:01:34,045 - DEBUG - VRF ids for VN ctest-vn-15768947: {} 2026-03-23 23:01:34,045 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-23 23:01:34,050 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4c0a333a-240b-491d-a31c-bec9b65e69a0 2026-03-23 23:01:34,060 - DEBUG - Requesting: http://10.0.0.141:8082/project/35589830-2377-4442-99b1-37b3a93ef0ec 2026-03-23 23:01:34,126 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa6b54e5-acca-4ed0-ac35-ddc48db2a787 2026-03-23 23:01:34,136 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa6b54e5-acca-4ed0-ac35-ddc48db2a787 2026-03-23 23:01:34,143 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/752b804e-6568-481c-82f1-460c57a7a2e4 2026-03-23 23:01:34,149 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/752b804e-6568-481c-82f1-460c57a7a2e4 2026-03-23 23:01:34,154 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/51c6b957-b7e3-4e18-a0bd-3ec424e3b2c4 2026-03-23 23:01:34,161 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-23 23:01:34,161 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa6b54e5-acca-4ed0-ac35-ddc48db2a787 2026-03-23 23:01:34,170 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/752b804e-6568-481c-82f1-460c57a7a2e4 2026-03-23 23:01:34,184 - INFO - Verified VN network id 12 for VN fa6b54e5-acca-4ed0-ac35-ddc48db2a787 2026-03-23 23:01:34,184 - INFO - Verifications in API Server for VN ctest-vn-21231276 passed 2026-03-23 23:01:34,184 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa6b54e5-acca-4ed0-ac35-ddc48db2a787 2026-03-23 23:01:34,192 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/752b804e-6568-481c-82f1-460c57a7a2e4 2026-03-23 23:01:34,198 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/752b804e-6568-481c-82f1-460c57a7a2e4 2026-03-23 23:01:34,204 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/51c6b957-b7e3-4e18-a0bd-3ec424e3b2c4 2026-03-23 23:01:34,214 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-21231276', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18368360', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18044609677413207760', 'uuid-lslong': '12409068184549894023'}, 'enable': 'true', 'created': '2026-03-23T23:01:32', 'last-modified': '2026-03-23T23:01:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.311961'} 2026-03-23 23:01:34,219 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-23 23:01:34,219 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21231276 passed 2026-03-23 23:01:34,219 - DEBUG - ====Verifying policy data for ctest-vn-21231276 in API_Server ====== 2026-03-23 23:01:34,219 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-23 23:01:34,225 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4c0a333a-240b-491d-a31c-bec9b65e69a0 2026-03-23 23:01:34,235 - DEBUG - Requesting: http://10.0.0.141:8082/project/35589830-2377-4442-99b1-37b3a93ef0ec 2026-03-23 23:01:34,306 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa6b54e5-acca-4ed0-ac35-ddc48db2a787 2026-03-23 23:01:34,314 - DEBUG - ==>Verifying data for policy with id: 190c0b7f-fd5a-417f-a6a1-ffb4a21a5f6f, fqn: ['default-domain', 'ctest-TestBasicPolicy-18368360', 'ctest-policy-allow-all-54442575'] 2026-03-23 23:01:34,314 - INFO - VN ctest-vn-21231276 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-23 23:01:34,314 - DEBUG - Verifying the vn in opserver 2026-03-23 23:01:34,315 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-21231276 virtual network link through opserver 10.0.0.141 2026-03-23 23:01:34,315 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-23 23:01:34,323 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-21231276', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-21231276?flat'} 2026-03-23 23:01:34,323 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-21231276 is found in opserver 2026-03-23 23:01:34,332 - DEBUG - Do not have enough data to verify VN in agent 2026-03-23 23:01:34,338 - DEBUG - VRF ids for VN ctest-vn-21231276: {} 2026-03-23 23:01:34,390 - DEBUG - Services list from nova: [, , ] 2026-03-23 23:01:35,373 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5523-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5523-1) 2026-03-23 23:01:36,447 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5523-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5523-1) 2026-03-23 23:01:36,447 - INFO - Waiting for VM ctest-TestBasicPolicy-18368360-90650916 to be up.. 2026-03-23 23:01:36,523 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-23 23:01:41,604 - DEBUG - VM is in ACTIVE state now 2026-03-23 23:01:41,604 - INFO - VM name : ctest-TestBasicPolicy-18368360-90650916 2026-03-23 23:01:41,672 - DEBUG - VM ctest-TestBasicPolicy-18368360-90650916 ID is 13e45618-dd14-4fb7-92d8-a1ae3504cb49 2026-03-23 23:01:41,691 - DEBUG - VM ctest-TestBasicPolicy-18368360-90650916 launched on Node cn-jenkins-deploy-platform-ansible-os-5523-1 2026-03-23 23:01:41,768 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/13e45618-dd14-4fb7-92d8-a1ae3504cb49 2026-03-23 23:01:41,776 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/61a61d00-7e08-4079-82fe-a6fc2d7e58fd 2026-03-23 23:01:45,039 - 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 1024ms') 2026-03-23 23:01:45,040 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18368360-90650916 failed! 2026-03-23 23:01:45,098 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18368360:ctest-vn-15768947 is 116.107.130.1 and allocation pool is NOT set 2026-03-23 23:01:47,166 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.70 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 = 2.696/3.281/3.867/0.585 ms') 2026-03-23 23:01:47,166 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18368360-90650916 passed 2026-03-23 23:01:47,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 23:01:47,318 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18368360-90650916, IP 116.107.130.3, Port 22 2026-03-23 23:01:47,486 - DEBUG - VM ctest-TestBasicPolicy-18368360-90650916 is ready for SSH connections 2026-03-23 23:01:47,486 - INFO - Waiting for VM ctest-TestBasicPolicy-18368360-34247694 to be up.. 2026-03-23 23:01:47,553 - DEBUG - VM is in ACTIVE state now 2026-03-23 23:01:47,553 - INFO - VM name : ctest-TestBasicPolicy-18368360-34247694 2026-03-23 23:01:47,625 - DEBUG - VM ctest-TestBasicPolicy-18368360-34247694 ID is 0979f88f-af9f-4ff0-bc71-8b94baff9d2a 2026-03-23 23:01:47,625 - DEBUG - VM ctest-TestBasicPolicy-18368360-34247694 launched on Node cn-jenkins-deploy-platform-ansible-os-5523-1 2026-03-23 23:01:47,695 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0979f88f-af9f-4ff0-bc71-8b94baff9d2a 2026-03-23 23:01:47,702 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/c101f227-add5-469c-969b-5516bd7b0ef0 2026-03-23 23:01:48,930 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.811/3.189/1.377 ms') 2026-03-23 23:01:48,930 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18368360-34247694 passed 2026-03-23 23:01:49,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 23:01:49,078 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18368360-34247694, IP 112.122.62.195, Port 22 2026-03-23 23:01:49,237 - DEBUG - VM ctest-TestBasicPolicy-18368360-34247694 is ready for SSH connections 2026-03-23 23:01:49,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 23:01:49,238 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.122.62.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-23 23:01:49,238 - DEBUG - ping -s 56 -c 3 -W 1 112.122.62.195 2026-03-23 23:01:53,251 - DEBUG - PING 112.122.62.195 (112.122.62.195): 56 data bytes 64 bytes from 112.122.62.195: seq=0 ttl=63 time=3.530 ms 64 bytes from 112.122.62.195: seq=1 ttl=63 time=0.900 ms 64 bytes from 112.122.62.195: seq=2 ttl=63 time=0.997 ms --- 112.122.62.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.900/1.809/3.530 ms 2026-03-23 23:01:53,251 - INFO - Ping to IP 112.122.62.195 from VM ctest-TestBasicPolicy-18368360-90650916 passed 2026-03-23 23:01:53,426 - DEBUG - Policy Update Response {"network-policy": {"uuid": "190c0b7f-fd5a-417f-a6a1-ffb4a21a5f6f", "href": "http://10.0.0.141:8082/network-policy/190c0b7f-fd5a-417f-a6a1-ffb4a21a5f6f"}} 2026-03-23 23:01:53,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 23:01:53,426 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.122.62.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-23 23:01:53,426 - DEBUG - ping -s 56 -c 3 -W 1 112.122.62.195 2026-03-23 23:01:56,633 - DEBUG - PING 112.122.62.195 (112.122.62.195): 56 data bytes --- 112.122.62.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-23 23:01:56,633 - WARNING - Ping to IP 112.122.62.195 from VM ctest-TestBasicPolicy-18368360-90650916 failed 2026-03-23 23:01:56,633 - INFO - Deleting VM ctest-TestBasicPolicy-18368360-34247694 2026-03-23 23:01:56,695 - INFO - Deleting VM ctest-TestBasicPolicy-18368360-90650916 2026-03-23 23:01:57,092 - INFO - Deleted policy ctest-policy-allow-all-54442575 2026-03-23 23:01:57,092 - INFO - Deleting VN ctest-vn-21231276 2026-03-23 23:01:57,134 - DEBUG - VN fa6b54e5-acca-4ed0-ac35-ddc48db2a787 still in use: Unable to complete operation on network fa6b54e5-acca-4ed0-ac35-ddc48db2a787. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-86cc01ad-4683-401f-82ef-4866ed6b78b3'] 2026-03-23 23:01:57,134 - WARNING - Deleting VN ctest-vn-21231276 failed..Will retry 2026-03-23 23:01:59,231 - DEBUG - Response for deleting network () 2026-03-23 23:01:59,231 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/752b804e-6568-481c-82f1-460c57a7a2e4 2026-03-23 23:01:59,239 - DEBUG - Response Code: 404 2026-03-23 23:01:59,239 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-23 23:01:59,245 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4c0a333a-240b-491d-a31c-bec9b65e69a0 2026-03-23 23:01:59,303 - DEBUG - Requesting: http://10.0.0.141:8082/project/35589830-2377-4442-99b1-37b3a93ef0ec 2026-03-23 23:01:59,370 - INFO - Validated that VN ctest-vn-21231276 is not found in API Server 2026-03-23 23:01:59,379 - DEBUG - VN ctest-vn-21231276 is not present in Agent 10.0.0.141 2026-03-23 23:01:59,379 - INFO - Validated that VN ctest-vn-21231276 is not in any agent 2026-03-23 23:01:59,392 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21231276 info 2026-03-23 23:01:59,393 - INFO - Deleting VN ctest-vn-15768947 2026-03-23 23:01:59,486 - DEBUG - Response for deleting network () 2026-03-23 23:01:59,487 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c6dfff18-e92f-48b6-b7e9-900367a37d86 2026-03-23 23:01:59,493 - DEBUG - Response Code: 404 2026-03-23 23:01:59,493 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-23 23:01:59,500 - DEBUG - Requesting: http://10.0.0.141:8082/domain/4c0a333a-240b-491d-a31c-bec9b65e69a0 2026-03-23 23:01:59,550 - DEBUG - Requesting: http://10.0.0.141:8082/project/35589830-2377-4442-99b1-37b3a93ef0ec 2026-03-23 23:01:59,618 - INFO - Validated that VN ctest-vn-15768947 is not found in API Server 2026-03-23 23:01:59,627 - DEBUG - VN ctest-vn-15768947 is not present in Agent 10.0.0.141 2026-03-23 23:01:59,627 - INFO - Validated that VN ctest-vn-15768947 is not in any agent 2026-03-23 23:01:59,640 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15768947 info 2026-03-23 23:01:59,894 - DEBUG - No XMPP flaps were noticed during the test
2026-03-23 23:01:59,895 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-03-23 23:01:59,895 - INFO - -------------------------------------------------------------------------------- 2026-03-23 23:02:00,562 - INFO - Deleted project: ctest-TestBasicPolicy-18368360, ID : 35589830-2377-4442-99b1-37b3a93ef0ec