2025-10-22 11:08:18,876 - INFO - Domain Default found not creating 2025-10-22 11:08:19,014 - INFO - Project ctest-TestBasicPolicy-49654947 not found, creating it 2025-10-22 11:08:19,435 - INFO - Created Project:ctest-TestBasicPolicy-49654947, ID : 760964c8-6035-4d92-ac82-a8313f5d559f 2025-10-22 11:08:20,802 - INFO - ================================================================================ 2025-10-22 11:08:20,802 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 11:08:20,802 - 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-22 11:08:21,057 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.25': '0'}} with 2025-10-22 11:08:21,057 - INFO - Initial checks done. Running the testcase now 2025-10-22 11:08:21,057 - INFO - 2025-10-22 11:08:21,584 - DEBUG - Response for create_network : {'network': {'id': '6a878b7e-eeb8-45e9-afb0-12c1707d33df', 'name': 'ctest-vn-65755739', 'tenant_id': '760964c860354d92ac82a8313f5d559f', 'project_id': '760964c860354d92ac82a8313f5d559f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-vn-65755739'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:08:21,789 - DEBUG - Response for create_subnet : {'subnet': {'id': '41f7f37a-2f3a-4310-9f64-cd5473404eeb', 'name': '', 'tenant_id': '760964c860354d92ac82a8313f5d559f', 'network_id': '6a878b7e-eeb8-45e9-afb0-12c1707d33df', 'ip_version': 4, 'cidr': '139.96.173.192/26', 'allocation_pools': [{'start': '139.96.173.194', 'end': '139.96.173.254'}], 'gateway_ip': '139.96.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.96.173.194', 'tags': [], 'project_id': '760964c860354d92ac82a8313f5d559f'}} 2025-10-22 11:08:21,805 - INFO - Created VN ctest-vn-65755739 2025-10-22 11:08:21,856 - DEBUG - VN ctest-vn-65755739 UUID is 6a878b7e-eeb8-45e9-afb0-12c1707d33df 2025-10-22 11:08:22,168 - DEBUG - Response for create_network : {'network': {'id': '6cdd737a-6db4-406c-a612-38b331e3d6c7', 'name': 'ctest-vn-85539707', 'tenant_id': '760964c860354d92ac82a8313f5d559f', 'project_id': '760964c860354d92ac82a8313f5d559f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-vn-85539707'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:08:22,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f607766-f122-42eb-aebd-c8d3ed8af3f2', 'name': '', 'tenant_id': '760964c860354d92ac82a8313f5d559f', 'network_id': '6cdd737a-6db4-406c-a612-38b331e3d6c7', 'ip_version': 4, 'cidr': '131.2.246.128/26', 'allocation_pools': [{'start': '131.2.246.130', 'end': '131.2.246.190'}], 'gateway_ip': '131.2.246.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.2.246.130', 'tags': [], 'project_id': '760964c860354d92ac82a8313f5d559f'}} 2025-10-22 11:08:22,325 - INFO - Created VN ctest-vn-85539707 2025-10-22 11:08:22,380 - DEBUG - VN ctest-vn-85539707 UUID is 6cdd737a-6db4-406c-a612-38b331e3d6c7 2025-10-22 11:08:22,520 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-65755739, 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-49654947:ctest-vn-85539707, 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-22 11:08:22,803 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a878b7e-eeb8-45e9-afb0-12c1707d33df', 'name': 'ctest-vn-65755739', 'tenant_id': '760964c860354d92ac82a8313f5d559f', 'project_id': '760964c860354d92ac82a8313f5d559f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['41f7f37a-2f3a-4310-9f64-cd5473404eeb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-vn-65755739'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-policy-allow-all-82065275']], 'subnet_ipam': [{'subnet_cidr': '139.96.173.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:08:23,017 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6cdd737a-6db4-406c-a612-38b331e3d6c7', 'name': 'ctest-vn-85539707', 'tenant_id': '760964c860354d92ac82a8313f5d559f', 'project_id': '760964c860354d92ac82a8313f5d559f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7f607766-f122-42eb-aebd-c8d3ed8af3f2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-vn-85539707'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-policy-allow-all-82065275']], 'subnet_ipam': [{'subnet_cidr': '131.2.246.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:08:23,180 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-22 11:08:23,467 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-22 11:08:23,492 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9de5d58a-792b-4ea5-8f22-60089dfd4a08 2025-10-22 11:08:23,504 - DEBUG - Requesting: http://10.0.0.65:8082/project/760964c8-6035-4d92-ac82-a8313f5d559f 2025-10-22 11:08:23,577 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6a878b7e-eeb8-45e9-afb0-12c1707d33df 2025-10-22 11:08:23,591 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6a878b7e-eeb8-45e9-afb0-12c1707d33df 2025-10-22 11:08:23,599 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/17d231ec-e12b-476a-b57f-12707a313757 2025-10-22 11:08:23,605 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/17d231ec-e12b-476a-b57f-12707a313757 2025-10-22 11:08:23,610 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/1833efc0-cb18-414a-b66c-2d5b355004b3 2025-10-22 11:08:23,614 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 11:08:23,614 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6a878b7e-eeb8-45e9-afb0-12c1707d33df 2025-10-22 11:08:23,621 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/17d231ec-e12b-476a-b57f-12707a313757 2025-10-22 11:08:23,631 - INFO - Verified VN network id 12 for VN 6a878b7e-eeb8-45e9-afb0-12c1707d33df 2025-10-22 11:08:23,631 - INFO - Verifications in API Server for VN ctest-vn-65755739 passed 2025-10-22 11:08:23,631 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6a878b7e-eeb8-45e9-afb0-12c1707d33df 2025-10-22 11:08:23,639 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/17d231ec-e12b-476a-b57f-12707a313757 2025-10-22 11:08:23,644 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/17d231ec-e12b-476a-b57f-12707a313757 2025-10-22 11:08:23,650 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/1833efc0-cb18-414a-b66c-2d5b355004b3 2025-10-22 11:08:23,659 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-65755739', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49654947', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7676257467163493865', 'uuid-lslong': '12659639174563705823'}, 'enable': 'true', 'created': '2025-10-22T11:08:21', 'last-modified': '2025-10-22T11:08:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.881784'} 2025-10-22 11:08:23,664 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 11:08:23,664 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65755739 passed 2025-10-22 11:08:23,664 - DEBUG - ====Verifying policy data for ctest-vn-65755739 in API_Server ====== 2025-10-22 11:08:23,664 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-22 11:08:23,669 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9de5d58a-792b-4ea5-8f22-60089dfd4a08 2025-10-22 11:08:23,679 - DEBUG - Requesting: http://10.0.0.65:8082/project/760964c8-6035-4d92-ac82-a8313f5d559f 2025-10-22 11:08:23,752 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6a878b7e-eeb8-45e9-afb0-12c1707d33df 2025-10-22 11:08:23,760 - DEBUG - ==>Verifying data for policy with id: 479319d2-11a5-47ad-a550-79827fcaa608, fqn: ['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-policy-allow-all-82065275'] 2025-10-22 11:08:23,760 - INFO - VN ctest-vn-65755739 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 11:08:23,760 - DEBUG - Verifying the vn in opserver 2025-10-22 11:08:23,760 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-65755739 virtual network link through opserver 10.0.0.65 2025-10-22 11:08:23,760 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-10-22 11:08:24,053 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-10-22 11:08:24,113 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-65755739', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-65755739?flat'} 2025-10-22 11:08:24,113 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-65755739 is found in opserver 2025-10-22 11:08:24,121 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 11:08:24,124 - DEBUG - VRF ids for VN ctest-vn-65755739: {} 2025-10-22 11:08:24,124 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-22 11:08:24,129 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9de5d58a-792b-4ea5-8f22-60089dfd4a08 2025-10-22 11:08:24,138 - DEBUG - Requesting: http://10.0.0.65:8082/project/760964c8-6035-4d92-ac82-a8313f5d559f 2025-10-22 11:08:24,202 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6cdd737a-6db4-406c-a612-38b331e3d6c7 2025-10-22 11:08:24,211 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6cdd737a-6db4-406c-a612-38b331e3d6c7 2025-10-22 11:08:24,218 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f19c4efc-6b2b-46e6-a9ba-b7f98035c5b3 2025-10-22 11:08:24,223 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f19c4efc-6b2b-46e6-a9ba-b7f98035c5b3 2025-10-22 11:08:24,228 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/fc62fdca-92a6-4f9a-87b1-d73bd9844fa9 2025-10-22 11:08:24,232 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 11:08:24,232 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6cdd737a-6db4-406c-a612-38b331e3d6c7 2025-10-22 11:08:24,239 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f19c4efc-6b2b-46e6-a9ba-b7f98035c5b3 2025-10-22 11:08:24,248 - INFO - Verified VN network id 13 for VN 6cdd737a-6db4-406c-a612-38b331e3d6c7 2025-10-22 11:08:24,248 - INFO - Verifications in API Server for VN ctest-vn-85539707 passed 2025-10-22 11:08:24,248 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6cdd737a-6db4-406c-a612-38b331e3d6c7 2025-10-22 11:08:24,255 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f19c4efc-6b2b-46e6-a9ba-b7f98035c5b3 2025-10-22 11:08:24,260 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f19c4efc-6b2b-46e6-a9ba-b7f98035c5b3 2025-10-22 11:08:24,264 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/fc62fdca-92a6-4f9a-87b1-d73bd9844fa9 2025-10-22 11:08:24,273 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-85539707', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49654947', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7844553095613005932', 'uuid-lslong': '11966689502164145863'}, 'enable': 'true', 'created': '2025-10-22T11:08:22', 'last-modified': '2025-10-22T11:08:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.277896'} 2025-10-22 11:08:24,278 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 11:08:24,278 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85539707 passed 2025-10-22 11:08:24,278 - DEBUG - ====Verifying policy data for ctest-vn-85539707 in API_Server ====== 2025-10-22 11:08:24,279 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-22 11:08:24,283 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9de5d58a-792b-4ea5-8f22-60089dfd4a08 2025-10-22 11:08:24,291 - DEBUG - Requesting: http://10.0.0.65:8082/project/760964c8-6035-4d92-ac82-a8313f5d559f 2025-10-22 11:08:24,355 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/6cdd737a-6db4-406c-a612-38b331e3d6c7 2025-10-22 11:08:24,363 - DEBUG - ==>Verifying data for policy with id: 479319d2-11a5-47ad-a550-79827fcaa608, fqn: ['default-domain', 'ctest-TestBasicPolicy-49654947', 'ctest-policy-allow-all-82065275'] 2025-10-22 11:08:24,363 - INFO - VN ctest-vn-85539707 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 11:08:24,363 - DEBUG - Verifying the vn in opserver 2025-10-22 11:08:24,363 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-85539707 virtual network link through opserver 10.0.0.65 2025-10-22 11:08:24,363 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-10-22 11:08:24,370 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-85539707', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-85539707?flat'} 2025-10-22 11:08:24,370 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-85539707 is found in opserver 2025-10-22 11:08:24,378 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 11:08:24,381 - DEBUG - VRF ids for VN ctest-vn-85539707: {} 2025-10-22 11:08:24,427 - DEBUG - Services list from nova: [, , ] 2025-10-22 11:08:25,361 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4422-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4422-1) 2025-10-22 11:08:26,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4422-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4422-1) 2025-10-22 11:08:26,393 - INFO - Waiting for VM ctest-TestBasicPolicy-49654947-62427440 to be up.. 2025-10-22 11:08:26,477 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 11:08:31,543 - DEBUG - VM is in ACTIVE state now 2025-10-22 11:08:31,543 - INFO - VM name : ctest-TestBasicPolicy-49654947-62427440 2025-10-22 11:08:31,618 - DEBUG - VM ctest-TestBasicPolicy-49654947-62427440 ID is 002aa036-c7e7-48a8-86f6-e7650e627700 2025-10-22 11:08:31,635 - DEBUG - VM ctest-TestBasicPolicy-49654947-62427440 launched on Node cn-jenkins-deploy-platform-ansible-os-4422-1 2025-10-22 11:08:31,698 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/002aa036-c7e7-48a8-86f6-e7650e627700 2025-10-22 11:08:31,706 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/da33d7be-9acf-4fb0-9296-52ec2f0f5f05 2025-10-22 11:08:34,960 - 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 1032ms') 2025-10-22 11:08:34,960 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49654947-62427440 failed! 2025-10-22 11:08:35,012 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49654947:ctest-vn-65755739 is 139.96.173.193 and allocation pool is NOT set 2025-10-22 11:08:37,074 - 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=2.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.753 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.753/1.646/2.540/0.893 ms') 2025-10-22 11:08:37,074 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49654947-62427440 passed 2025-10-22 11:08:37,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:08:37,221 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49654947-62427440, IP 139.96.173.195, Port 22 2025-10-22 11:08:37,376 - DEBUG - VM ctest-TestBasicPolicy-49654947-62427440 is ready for SSH connections 2025-10-22 11:08:37,376 - INFO - Waiting for VM ctest-TestBasicPolicy-49654947-79486800 to be up.. 2025-10-22 11:08:37,443 - DEBUG - VM is in ACTIVE state now 2025-10-22 11:08:37,443 - INFO - VM name : ctest-TestBasicPolicy-49654947-79486800 2025-10-22 11:08:37,506 - DEBUG - VM ctest-TestBasicPolicy-49654947-79486800 ID is 5c58e72f-164d-457c-8995-c5b1ac220786 2025-10-22 11:08:37,506 - DEBUG - VM ctest-TestBasicPolicy-49654947-79486800 launched on Node cn-jenkins-deploy-platform-ansible-os-4422-1 2025-10-22 11:08:37,568 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/5c58e72f-164d-457c-8995-c5b1ac220786 2025-10-22 11:08:37,575 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/275bea1f-68b3-4a02-97fa-b1d1d8db2af3 2025-10-22 11:08:38,805 - 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=2.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.391 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.391/1.619/2.847/1.228 ms') 2025-10-22 11:08:38,805 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49654947-79486800 passed 2025-10-22 11:08:38,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:08:38,953 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49654947-79486800, IP 131.2.246.131, Port 22 2025-10-22 11:08:39,112 - DEBUG - VM ctest-TestBasicPolicy-49654947-79486800 is ready for SSH connections 2025-10-22 11:08:39,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:08:39,113 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.2.246.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-22 11:08:39,113 - DEBUG - ping -s 56 -c 3 -W 1 131.2.246.131 2025-10-22 11:08:43,100 - DEBUG - PING 131.2.246.131 (131.2.246.131): 56 data bytes 64 bytes from 131.2.246.131: seq=0 ttl=63 time=3.828 ms 64 bytes from 131.2.246.131: seq=1 ttl=63 time=0.803 ms 64 bytes from 131.2.246.131: seq=2 ttl=63 time=0.725 ms --- 131.2.246.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/1.785/3.828 ms 2025-10-22 11:08:43,101 - INFO - Ping to IP 131.2.246.131 from VM ctest-TestBasicPolicy-49654947-62427440 passed 2025-10-22 11:08:43,268 - DEBUG - Policy Update Response {"network-policy": {"uuid": "479319d2-11a5-47ad-a550-79827fcaa608", "href": "http://10.0.0.65:8082/network-policy/479319d2-11a5-47ad-a550-79827fcaa608"}} 2025-10-22 11:08:43,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:08:43,268 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.2.246.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-22 11:08:43,269 - DEBUG - ping -s 56 -c 3 -W 1 131.2.246.131 2025-10-22 11:08:46,470 - DEBUG - PING 131.2.246.131 (131.2.246.131): 56 data bytes --- 131.2.246.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 11:08:46,471 - WARNING - Ping to IP 131.2.246.131 from VM ctest-TestBasicPolicy-49654947-62427440 failed 2025-10-22 11:08:46,471 - INFO - Deleting VM ctest-TestBasicPolicy-49654947-79486800 2025-10-22 11:08:46,542 - INFO - Deleting VM ctest-TestBasicPolicy-49654947-62427440 2025-10-22 11:08:46,911 - INFO - Deleted policy ctest-policy-allow-all-82065275 2025-10-22 11:08:46,911 - INFO - Deleting VN ctest-vn-85539707 2025-10-22 11:08:46,949 - DEBUG - VN 6cdd737a-6db4-406c-a612-38b331e3d6c7 still in use: Unable to complete operation on network 6cdd737a-6db4-406c-a612-38b331e3d6c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d409b47f-1260-4ede-b1de-741d333b40d5'] 2025-10-22 11:08:46,949 - WARNING - Deleting VN ctest-vn-85539707 failed..Will retry 2025-10-22 11:08:49,049 - DEBUG - Response for deleting network () 2025-10-22 11:08:49,049 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/f19c4efc-6b2b-46e6-a9ba-b7f98035c5b3 2025-10-22 11:08:49,054 - DEBUG - Response Code: 404 2025-10-22 11:08:49,054 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-22 11:08:49,059 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9de5d58a-792b-4ea5-8f22-60089dfd4a08 2025-10-22 11:08:49,114 - DEBUG - Requesting: http://10.0.0.65:8082/project/760964c8-6035-4d92-ac82-a8313f5d559f 2025-10-22 11:08:49,178 - INFO - Validated that VN ctest-vn-85539707 is not found in API Server 2025-10-22 11:08:49,188 - DEBUG - VN ctest-vn-85539707 is not present in Agent 10.0.0.65 2025-10-22 11:08:49,188 - INFO - Validated that VN ctest-vn-85539707 is not in any agent 2025-10-22 11:08:49,199 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85539707 info 2025-10-22 11:08:49,200 - INFO - Deleting VN ctest-vn-65755739 2025-10-22 11:08:49,290 - DEBUG - Response for deleting network () 2025-10-22 11:08:49,290 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/17d231ec-e12b-476a-b57f-12707a313757 2025-10-22 11:08:49,296 - DEBUG - Response Code: 404 2025-10-22 11:08:49,296 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-22 11:08:49,302 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9de5d58a-792b-4ea5-8f22-60089dfd4a08 2025-10-22 11:08:49,353 - DEBUG - Requesting: http://10.0.0.65:8082/project/760964c8-6035-4d92-ac82-a8313f5d559f 2025-10-22 11:08:49,423 - INFO - Validated that VN ctest-vn-65755739 is not found in API Server 2025-10-22 11:08:49,432 - DEBUG - VN ctest-vn-65755739 is not present in Agent 10.0.0.65 2025-10-22 11:08:49,432 - INFO - Validated that VN ctest-vn-65755739 is not in any agent 2025-10-22 11:08:49,444 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65755739 info 2025-10-22 11:08:49,697 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 11:08:49,697 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-22 11:08:49,697 - INFO - -------------------------------------------------------------------------------- 2025-10-22 11:08:50,335 - INFO - Deleted project: ctest-TestBasicPolicy-49654947, ID : 760964c8-6035-4d92-ac82-a8313f5d559f