2025-10-30 14:49:57,347 - INFO - Domain Default found not creating 2025-10-30 14:49:57,504 - INFO - Project ctest-TestBasicPolicy-45895596 not found, creating it 2025-10-30 14:49:57,944 - INFO - Created Project:ctest-TestBasicPolicy-45895596, ID : 9e7d5c62-313c-46d8-af2a-9150c10bf575 2025-10-30 14:49:59,346 - INFO - ================================================================================ 2025-10-30 14:49:59,346 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 14:49:59,346 - 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-30 14:49:59,598 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-30 14:49:59,598 - INFO - Initial checks done. Running the testcase now 2025-10-30 14:49:59,599 - INFO - 2025-10-30 14:50:00,127 - DEBUG - Response for create_network : {'network': {'id': '6df903df-dd68-41b0-a488-be7d5397b383', 'name': 'ctest-vn-79919499', 'tenant_id': '9e7d5c62313c46d8af2a9150c10bf575', 'project_id': '9e7d5c62313c46d8af2a9150c10bf575', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45895596', 'ctest-vn-79919499'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:50:00,311 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9d3fc41-c633-4d88-87f3-48543a1f8a9c', 'name': '', 'tenant_id': '9e7d5c62313c46d8af2a9150c10bf575', 'network_id': '6df903df-dd68-41b0-a488-be7d5397b383', 'ip_version': 4, 'cidr': '193.201.17.128/26', 'allocation_pools': [{'start': '193.201.17.130', 'end': '193.201.17.190'}], 'gateway_ip': '193.201.17.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.201.17.130', 'tags': [], 'project_id': '9e7d5c62313c46d8af2a9150c10bf575'}} 2025-10-30 14:50:00,331 - INFO - Created VN ctest-vn-79919499 2025-10-30 14:50:00,382 - DEBUG - VN ctest-vn-79919499 UUID is 6df903df-dd68-41b0-a488-be7d5397b383 2025-10-30 14:50:00,683 - DEBUG - Response for create_network : {'network': {'id': 'efb47fe5-a622-412e-a672-c4aed26ba941', 'name': 'ctest-vn-08164375', 'tenant_id': '9e7d5c62313c46d8af2a9150c10bf575', 'project_id': '9e7d5c62313c46d8af2a9150c10bf575', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45895596', 'ctest-vn-08164375'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:50:00,907 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f624219a-e5c7-4008-85ce-c308de2cdb4a', 'name': '', 'tenant_id': '9e7d5c62313c46d8af2a9150c10bf575', 'network_id': 'efb47fe5-a622-412e-a672-c4aed26ba941', 'ip_version': 4, 'cidr': '36.210.209.0/26', 'allocation_pools': [{'start': '36.210.209.2', 'end': '36.210.209.62'}], 'gateway_ip': '36.210.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.210.209.2', 'tags': [], 'project_id': '9e7d5c62313c46d8af2a9150c10bf575'}} 2025-10-30 14:50:00,924 - INFO - Created VN ctest-vn-08164375 2025-10-30 14:50:00,978 - DEBUG - VN ctest-vn-08164375 UUID is efb47fe5-a622-412e-a672-c4aed26ba941 2025-10-30 14:50:01,134 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45895596:ctest-vn-79919499, 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-45895596:ctest-vn-08164375, 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-30 14:50:01,422 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6df903df-dd68-41b0-a488-be7d5397b383', 'name': 'ctest-vn-79919499', 'tenant_id': '9e7d5c62313c46d8af2a9150c10bf575', 'project_id': '9e7d5c62313c46d8af2a9150c10bf575', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f9d3fc41-c633-4d88-87f3-48543a1f8a9c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45895596', 'ctest-vn-79919499'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45895596', 'ctest-policy-allow-all-32189527']], 'subnet_ipam': [{'subnet_cidr': '193.201.17.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:50:01,648 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'efb47fe5-a622-412e-a672-c4aed26ba941', 'name': 'ctest-vn-08164375', 'tenant_id': '9e7d5c62313c46d8af2a9150c10bf575', 'project_id': '9e7d5c62313c46d8af2a9150c10bf575', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f624219a-e5c7-4008-85ce-c308de2cdb4a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45895596', 'ctest-vn-08164375'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45895596', 'ctest-policy-allow-all-32189527']], 'subnet_ipam': [{'subnet_cidr': '36.210.209.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:50:01,814 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 14:50:02,118 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 14:50:02,147 - DEBUG - Requesting: http://10.0.0.38:8082/domain/96b3946d-8a02-4320-9910-96053494a04a 2025-10-30 14:50:02,158 - DEBUG - Requesting: http://10.0.0.38:8082/project/9e7d5c62-313c-46d8-af2a-9150c10bf575 2025-10-30 14:50:02,229 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6df903df-dd68-41b0-a488-be7d5397b383 2025-10-30 14:50:02,239 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6df903df-dd68-41b0-a488-be7d5397b383 2025-10-30 14:50:02,248 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/64caa58e-df10-4c87-923f-81b3c2902946 2025-10-30 14:50:02,254 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/64caa58e-df10-4c87-923f-81b3c2902946 2025-10-30 14:50:02,261 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c2448821-06eb-4c34-9ab5-c299474e1509 2025-10-30 14:50:02,267 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 14:50:02,267 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6df903df-dd68-41b0-a488-be7d5397b383 2025-10-30 14:50:02,276 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/64caa58e-df10-4c87-923f-81b3c2902946 2025-10-30 14:50:02,288 - INFO - Verified VN network id 11 for VN 6df903df-dd68-41b0-a488-be7d5397b383 2025-10-30 14:50:02,288 - INFO - Verifications in API Server for VN ctest-vn-79919499 passed 2025-10-30 14:50:02,288 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6df903df-dd68-41b0-a488-be7d5397b383 2025-10-30 14:50:02,299 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/64caa58e-df10-4c87-923f-81b3c2902946 2025-10-30 14:50:02,306 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/64caa58e-df10-4c87-923f-81b3c2902946 2025-10-30 14:50:02,313 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c2448821-06eb-4c34-9ab5-c299474e1509 2025-10-30 14:50:02,326 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45895596:ctest-vn-79919499', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45895596', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7924369279362286000', 'uuid-lslong': '11855935464535470979'}, 'enable': 'true', 'created': '2025-10-30T14:50:00', 'last-modified': '2025-10-30T14:50:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924215'} 2025-10-30 14:50:02,333 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 14:50:02,333 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79919499 passed 2025-10-30 14:50:02,334 - DEBUG - ====Verifying policy data for ctest-vn-79919499 in API_Server ====== 2025-10-30 14:50:02,334 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 14:50:02,339 - DEBUG - Requesting: http://10.0.0.38:8082/domain/96b3946d-8a02-4320-9910-96053494a04a 2025-10-30 14:50:02,350 - DEBUG - Requesting: http://10.0.0.38:8082/project/9e7d5c62-313c-46d8-af2a-9150c10bf575 2025-10-30 14:50:02,418 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6df903df-dd68-41b0-a488-be7d5397b383 2025-10-30 14:50:02,426 - DEBUG - ==>Verifying data for policy with id: f4956c05-ac45-441e-b982-745a8e3f7389, fqn: ['default-domain', 'ctest-TestBasicPolicy-45895596', 'ctest-policy-allow-all-32189527'] 2025-10-30 14:50:02,426 - INFO - VN ctest-vn-79919499 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 14:50:02,426 - DEBUG - Verifying the vn in opserver 2025-10-30 14:50:02,426 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45895596:ctest-vn-79919499 virtual network link through opserver 10.0.0.38 2025-10-30 14:50:02,426 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 14:50:02,716 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 14:50:02,782 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45895596:ctest-vn-79919499', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45895596:ctest-vn-79919499?flat'} 2025-10-30 14:50:02,782 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45895596:ctest-vn-79919499 is found in opserver 2025-10-30 14:50:02,792 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 14:50:02,797 - DEBUG - VRF ids for VN ctest-vn-79919499: {} 2025-10-30 14:50:02,797 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 14:50:02,803 - DEBUG - Requesting: http://10.0.0.38:8082/domain/96b3946d-8a02-4320-9910-96053494a04a 2025-10-30 14:50:02,814 - DEBUG - Requesting: http://10.0.0.38:8082/project/9e7d5c62-313c-46d8-af2a-9150c10bf575 2025-10-30 14:50:02,883 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/efb47fe5-a622-412e-a672-c4aed26ba941 2025-10-30 14:50:02,894 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/efb47fe5-a622-412e-a672-c4aed26ba941 2025-10-30 14:50:02,902 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/72cfdd1e-b4c8-4dc2-a2bc-6d1e813c0f84 2025-10-30 14:50:02,909 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/72cfdd1e-b4c8-4dc2-a2bc-6d1e813c0f84 2025-10-30 14:50:02,915 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/98696681-a6e4-4043-9cfe-16f78c4f9618 2025-10-30 14:50:02,920 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 14:50:02,920 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/efb47fe5-a622-412e-a672-c4aed26ba941 2025-10-30 14:50:02,929 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/72cfdd1e-b4c8-4dc2-a2bc-6d1e813c0f84 2025-10-30 14:50:02,943 - INFO - Verified VN network id 12 for VN efb47fe5-a622-412e-a672-c4aed26ba941 2025-10-30 14:50:02,943 - INFO - Verifications in API Server for VN ctest-vn-08164375 passed 2025-10-30 14:50:02,943 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/efb47fe5-a622-412e-a672-c4aed26ba941 2025-10-30 14:50:02,953 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/72cfdd1e-b4c8-4dc2-a2bc-6d1e813c0f84 2025-10-30 14:50:02,961 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/72cfdd1e-b4c8-4dc2-a2bc-6d1e813c0f84 2025-10-30 14:50:02,968 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/98696681-a6e4-4043-9cfe-16f78c4f9618 2025-10-30 14:50:02,979 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45895596:ctest-vn-08164375', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45895596', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17272571095184195886', 'uuid-lslong': '11993865012774676801'}, 'enable': 'true', 'created': '2025-10-30T14:50:00', 'last-modified': '2025-10-30T14:50:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.351114'} 2025-10-30 14:50:02,986 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 14:50:02,986 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08164375 passed 2025-10-30 14:50:02,986 - DEBUG - ====Verifying policy data for ctest-vn-08164375 in API_Server ====== 2025-10-30 14:50:02,986 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 14:50:02,991 - DEBUG - Requesting: http://10.0.0.38:8082/domain/96b3946d-8a02-4320-9910-96053494a04a 2025-10-30 14:50:03,002 - DEBUG - Requesting: http://10.0.0.38:8082/project/9e7d5c62-313c-46d8-af2a-9150c10bf575 2025-10-30 14:50:03,073 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/efb47fe5-a622-412e-a672-c4aed26ba941 2025-10-30 14:50:03,081 - DEBUG - ==>Verifying data for policy with id: f4956c05-ac45-441e-b982-745a8e3f7389, fqn: ['default-domain', 'ctest-TestBasicPolicy-45895596', 'ctest-policy-allow-all-32189527'] 2025-10-30 14:50:03,081 - INFO - VN ctest-vn-08164375 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 14:50:03,081 - DEBUG - Verifying the vn in opserver 2025-10-30 14:50:03,081 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45895596:ctest-vn-08164375 virtual network link through opserver 10.0.0.38 2025-10-30 14:50:03,082 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 14:50:03,090 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45895596:ctest-vn-08164375', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45895596:ctest-vn-08164375?flat'} 2025-10-30 14:50:03,090 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45895596:ctest-vn-08164375 is found in opserver 2025-10-30 14:50:03,099 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 14:50:03,103 - DEBUG - VRF ids for VN ctest-vn-08164375: {} 2025-10-30 14:50:03,165 - DEBUG - Services list from nova: [, , ] 2025-10-30 14:50:04,177 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4546-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4546-1) 2025-10-30 14:50:05,550 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4546-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4546-1) 2025-10-30 14:50:05,550 - INFO - Waiting for VM ctest-TestBasicPolicy-45895596-16000206 to be up.. 2025-10-30 14:50:05,642 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 14:50:10,724 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:50:10,724 - INFO - VM name : ctest-TestBasicPolicy-45895596-16000206 2025-10-30 14:50:10,794 - DEBUG - VM ctest-TestBasicPolicy-45895596-16000206 ID is 223a6578-00d9-475d-b7d4-edfa52cb661e 2025-10-30 14:50:10,817 - DEBUG - VM ctest-TestBasicPolicy-45895596-16000206 launched on Node cn-jenkins-deploy-platform-ansible-os-4546-1 2025-10-30 14:50:10,898 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/223a6578-00d9-475d-b7d4-edfa52cb661e 2025-10-30 14:50:10,906 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9ceb012b-42c1-4748-853f-25d2ae6e995f 2025-10-30 14:50:14,161 - 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 1015ms') 2025-10-30 14:50:14,161 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45895596-16000206 failed! 2025-10-30 14:50:14,218 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45895596:ctest-vn-79919499 is 193.201.17.129 and allocation pool is NOT set 2025-10-30 14:50:16,277 - 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=6.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.543 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.543/3.394/6.246/2.851 ms') 2025-10-30 14:50:16,277 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45895596-16000206 passed 2025-10-30 14:50:16,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:50:16,430 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45895596-16000206, IP 193.201.17.131, Port 22 2025-10-30 14:50:16,581 - DEBUG - VM ctest-TestBasicPolicy-45895596-16000206 is ready for SSH connections 2025-10-30 14:50:16,581 - INFO - Waiting for VM ctest-TestBasicPolicy-45895596-56894650 to be up.. 2025-10-30 14:50:16,653 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:50:16,653 - INFO - VM name : ctest-TestBasicPolicy-45895596-56894650 2025-10-30 14:50:16,718 - DEBUG - VM ctest-TestBasicPolicy-45895596-56894650 ID is 8dc8f4dd-eeb6-4258-a837-dcafcad041c6 2025-10-30 14:50:16,718 - DEBUG - VM ctest-TestBasicPolicy-45895596-56894650 launched on Node cn-jenkins-deploy-platform-ansible-os-4546-1 2025-10-30 14:50:16,788 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8dc8f4dd-eeb6-4258-a837-dcafcad041c6 2025-10-30 14:50:16,796 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d3d9baa8-dd10-4039-9948-941a73d1ace4 2025-10-30 14:50:18,028 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/2.077/3.740/1.663 ms') 2025-10-30 14:50:18,028 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45895596-56894650 passed 2025-10-30 14:50:18,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:50:18,178 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45895596-56894650, IP 36.210.209.3, Port 22 2025-10-30 14:50:18,340 - DEBUG - VM ctest-TestBasicPolicy-45895596-56894650 is ready for SSH connections 2025-10-30 14:50:18,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:50:18,340 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.210.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 14:50:18,341 - DEBUG - ping -s 56 -c 3 -W 1 36.210.209.3 2025-10-30 14:50:22,431 - DEBUG - PING 36.210.209.3 (36.210.209.3): 56 data bytes 64 bytes from 36.210.209.3: seq=0 ttl=63 time=4.867 ms 64 bytes from 36.210.209.3: seq=1 ttl=63 time=0.750 ms 64 bytes from 36.210.209.3: seq=2 ttl=63 time=0.772 ms --- 36.210.209.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.750/2.129/4.867 ms 2025-10-30 14:50:22,431 - INFO - Ping to IP 36.210.209.3 from VM ctest-TestBasicPolicy-45895596-16000206 passed 2025-10-30 14:50:22,617 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f4956c05-ac45-441e-b982-745a8e3f7389", "href": "http://10.0.0.38:8082/network-policy/f4956c05-ac45-441e-b982-745a8e3f7389"}} 2025-10-30 14:50:22,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:50:22,618 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.210.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 14:50:22,618 - DEBUG - ping -s 56 -c 3 -W 1 36.210.209.3 2025-10-30 14:50:25,832 - DEBUG - PING 36.210.209.3 (36.210.209.3): 56 data bytes --- 36.210.209.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 14:50:25,832 - WARNING - Ping to IP 36.210.209.3 from VM ctest-TestBasicPolicy-45895596-16000206 failed 2025-10-30 14:50:25,832 - INFO - Deleting VM ctest-TestBasicPolicy-45895596-56894650 2025-10-30 14:50:26,005 - INFO - Deleting VM ctest-TestBasicPolicy-45895596-16000206 2025-10-30 14:50:26,403 - INFO - Deleted policy ctest-policy-allow-all-32189527 2025-10-30 14:50:26,403 - INFO - Deleting VN ctest-vn-08164375 2025-10-30 14:50:26,441 - DEBUG - VN efb47fe5-a622-412e-a672-c4aed26ba941 still in use: Unable to complete operation on network efb47fe5-a622-412e-a672-c4aed26ba941. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-48d0801d-8322-426e-805d-cdf3c8a904d9'] 2025-10-30 14:50:26,441 - WARNING - Deleting VN ctest-vn-08164375 failed..Will retry 2025-10-30 14:50:28,539 - DEBUG - Response for deleting network () 2025-10-30 14:50:28,539 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/72cfdd1e-b4c8-4dc2-a2bc-6d1e813c0f84 2025-10-30 14:50:28,543 - DEBUG - Response Code: 404 2025-10-30 14:50:28,543 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 14:50:28,551 - DEBUG - Requesting: http://10.0.0.38:8082/domain/96b3946d-8a02-4320-9910-96053494a04a 2025-10-30 14:50:28,607 - DEBUG - Requesting: http://10.0.0.38:8082/project/9e7d5c62-313c-46d8-af2a-9150c10bf575 2025-10-30 14:50:28,677 - INFO - Validated that VN ctest-vn-08164375 is not found in API Server 2025-10-30 14:50:28,687 - DEBUG - VN ctest-vn-08164375 is not present in Agent 10.0.0.38 2025-10-30 14:50:28,687 - INFO - Validated that VN ctest-vn-08164375 is not in any agent 2025-10-30 14:50:28,701 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08164375 info 2025-10-30 14:50:28,701 - INFO - Deleting VN ctest-vn-79919499 2025-10-30 14:50:28,802 - DEBUG - Response for deleting network () 2025-10-30 14:50:28,802 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/64caa58e-df10-4c87-923f-81b3c2902946 2025-10-30 14:50:28,808 - DEBUG - Response Code: 404 2025-10-30 14:50:28,808 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 14:50:28,814 - DEBUG - Requesting: http://10.0.0.38:8082/domain/96b3946d-8a02-4320-9910-96053494a04a 2025-10-30 14:50:28,868 - DEBUG - Requesting: http://10.0.0.38:8082/project/9e7d5c62-313c-46d8-af2a-9150c10bf575 2025-10-30 14:50:28,949 - INFO - Validated that VN ctest-vn-79919499 is not found in API Server 2025-10-30 14:50:28,961 - DEBUG - VN ctest-vn-79919499 is not present in Agent 10.0.0.38 2025-10-30 14:50:28,961 - INFO - Validated that VN ctest-vn-79919499 is not in any agent 2025-10-30 14:50:28,977 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79919499 info 2025-10-30 14:50:29,234 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 14:50:29,234 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-30 14:50:29,234 - INFO - -------------------------------------------------------------------------------- 2025-10-30 14:50:29,922 - INFO - Deleted project: ctest-TestBasicPolicy-45895596, ID : 9e7d5c62-313c-46d8-af2a-9150c10bf575