2025-11-19 07:57:28,164 - INFO - Domain Default found not creating 2025-11-19 07:57:28,328 - INFO - Project ctest-TestBasicPolicy-99866432 not found, creating it 2025-11-19 07:57:28,786 - INFO - Created Project:ctest-TestBasicPolicy-99866432, ID : 243d60db-afac-4af8-a388-b723f800f0eb 2025-11-19 07:57:30,230 - INFO - ================================================================================ 2025-11-19 07:57:30,230 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-19 07:57:30,230 - 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-11-19 07:57:30,483 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-19 07:57:30,483 - INFO - Initial checks done. Running the testcase now 2025-11-19 07:57:30,483 - INFO - 2025-11-19 07:57:31,032 - DEBUG - Response for create_network : {'network': {'id': '8eec10f0-9e12-4c55-bc5b-e216ee391a49', 'name': 'ctest-vn-43958243', 'tenant_id': '243d60dbafac4af8a388b723f800f0eb', 'project_id': '243d60dbafac4af8a388b723f800f0eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99866432', 'ctest-vn-43958243'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 07:57:31,178 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bcb3f1f-6cca-4062-af68-0f9be9f2caf8', 'name': '', 'tenant_id': '243d60dbafac4af8a388b723f800f0eb', 'network_id': '8eec10f0-9e12-4c55-bc5b-e216ee391a49', 'ip_version': 4, 'cidr': '200.73.224.0/26', 'allocation_pools': [{'start': '200.73.224.2', 'end': '200.73.224.62'}], 'gateway_ip': '200.73.224.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.73.224.2', 'tags': [], 'project_id': '243d60dbafac4af8a388b723f800f0eb'}} 2025-11-19 07:57:31,194 - INFO - Created VN ctest-vn-43958243 2025-11-19 07:57:31,246 - DEBUG - VN ctest-vn-43958243 UUID is 8eec10f0-9e12-4c55-bc5b-e216ee391a49 2025-11-19 07:57:31,558 - DEBUG - Response for create_network : {'network': {'id': '45cc5877-e8a5-4205-9e7d-ff2203c6941d', 'name': 'ctest-vn-46742817', 'tenant_id': '243d60dbafac4af8a388b723f800f0eb', 'project_id': '243d60dbafac4af8a388b723f800f0eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99866432', 'ctest-vn-46742817'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 07:57:31,763 - DEBUG - Response for create_subnet : {'subnet': {'id': '95c51427-811a-4fb3-9344-0490e68a9bc7', 'name': '', 'tenant_id': '243d60dbafac4af8a388b723f800f0eb', 'network_id': '45cc5877-e8a5-4205-9e7d-ff2203c6941d', 'ip_version': 4, 'cidr': '48.115.83.192/26', 'allocation_pools': [{'start': '48.115.83.194', 'end': '48.115.83.254'}], 'gateway_ip': '48.115.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.115.83.194', 'tags': [], 'project_id': '243d60dbafac4af8a388b723f800f0eb'}} 2025-11-19 07:57:31,779 - INFO - Created VN ctest-vn-46742817 2025-11-19 07:57:31,829 - DEBUG - VN ctest-vn-46742817 UUID is 45cc5877-e8a5-4205-9e7d-ff2203c6941d 2025-11-19 07:57:31,981 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99866432:ctest-vn-43958243, 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-99866432:ctest-vn-46742817, 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-11-19 07:57:32,270 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8eec10f0-9e12-4c55-bc5b-e216ee391a49', 'name': 'ctest-vn-43958243', 'tenant_id': '243d60dbafac4af8a388b723f800f0eb', 'project_id': '243d60dbafac4af8a388b723f800f0eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9bcb3f1f-6cca-4062-af68-0f9be9f2caf8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99866432', 'ctest-vn-43958243'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99866432', 'ctest-policy-allow-all-99154831']], 'subnet_ipam': [{'subnet_cidr': '200.73.224.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-19 07:57:32,507 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45cc5877-e8a5-4205-9e7d-ff2203c6941d', 'name': 'ctest-vn-46742817', 'tenant_id': '243d60dbafac4af8a388b723f800f0eb', 'project_id': '243d60dbafac4af8a388b723f800f0eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['95c51427-811a-4fb3-9344-0490e68a9bc7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99866432', 'ctest-vn-46742817'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99866432', 'ctest-policy-allow-all-99154831']], 'subnet_ipam': [{'subnet_cidr': '48.115.83.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-19 07:57:32,670 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-19 07:57:32,966 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-19 07:57:33,000 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b2fbc469-6231-4099-a349-af135739a1d2 2025-11-19 07:57:33,011 - DEBUG - Requesting: http://10.0.0.50:8082/project/243d60db-afac-4af8-a388-b723f800f0eb 2025-11-19 07:57:33,080 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8eec10f0-9e12-4c55-bc5b-e216ee391a49 2025-11-19 07:57:33,090 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8eec10f0-9e12-4c55-bc5b-e216ee391a49 2025-11-19 07:57:33,099 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/deeaa0df-619e-4d16-92d8-2933fb218c4f 2025-11-19 07:57:33,105 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/deeaa0df-619e-4d16-92d8-2933fb218c4f 2025-11-19 07:57:33,112 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/aed72fde-1114-4467-a2da-6418e2d27783 2025-11-19 07:57:33,118 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-19 07:57:33,118 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8eec10f0-9e12-4c55-bc5b-e216ee391a49 2025-11-19 07:57:33,128 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/deeaa0df-619e-4d16-92d8-2933fb218c4f 2025-11-19 07:57:33,142 - INFO - Verified VN network id 11 for VN 8eec10f0-9e12-4c55-bc5b-e216ee391a49 2025-11-19 07:57:33,142 - INFO - Verifications in API Server for VN ctest-vn-43958243 passed 2025-11-19 07:57:33,142 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8eec10f0-9e12-4c55-bc5b-e216ee391a49 2025-11-19 07:57:33,150 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/deeaa0df-619e-4d16-92d8-2933fb218c4f 2025-11-19 07:57:33,157 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/deeaa0df-619e-4d16-92d8-2933fb218c4f 2025-11-19 07:57:33,165 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/aed72fde-1114-4467-a2da-6418e2d27783 2025-11-19 07:57:33,177 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99866432:ctest-vn-43958243', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99866432', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10298625073519676501', 'uuid-lslong': '13572690490124999241'}, 'enable': 'true', 'created': '2025-11-19T07:57:31', 'last-modified': '2025-11-19T07:57:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.922774'} 2025-11-19 07:57:33,183 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-19 07:57:33,183 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43958243 passed 2025-11-19 07:57:33,184 - DEBUG - ====Verifying policy data for ctest-vn-43958243 in API_Server ====== 2025-11-19 07:57:33,184 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-19 07:57:33,189 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b2fbc469-6231-4099-a349-af135739a1d2 2025-11-19 07:57:33,200 - DEBUG - Requesting: http://10.0.0.50:8082/project/243d60db-afac-4af8-a388-b723f800f0eb 2025-11-19 07:57:33,276 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8eec10f0-9e12-4c55-bc5b-e216ee391a49 2025-11-19 07:57:33,285 - DEBUG - ==>Verifying data for policy with id: e842650f-35da-45c5-aed6-b9f72197e7c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-99866432', 'ctest-policy-allow-all-99154831'] 2025-11-19 07:57:33,285 - INFO - VN ctest-vn-43958243 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-19 07:57:33,285 - DEBUG - Verifying the vn in opserver 2025-11-19 07:57:33,285 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99866432:ctest-vn-43958243 virtual network link through opserver 10.0.0.50 2025-11-19 07:57:33,285 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-19 07:57:33,577 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-19 07:57:33,639 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99866432:ctest-vn-43958243', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99866432:ctest-vn-43958243?flat'} 2025-11-19 07:57:33,639 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99866432:ctest-vn-43958243 is found in opserver 2025-11-19 07:57:33,650 - DEBUG - Do not have enough data to verify VN in agent 2025-11-19 07:57:33,656 - DEBUG - VRF ids for VN ctest-vn-43958243: {} 2025-11-19 07:57:33,656 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-19 07:57:33,661 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b2fbc469-6231-4099-a349-af135739a1d2 2025-11-19 07:57:33,672 - DEBUG - Requesting: http://10.0.0.50:8082/project/243d60db-afac-4af8-a388-b723f800f0eb 2025-11-19 07:57:33,742 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45cc5877-e8a5-4205-9e7d-ff2203c6941d 2025-11-19 07:57:33,752 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45cc5877-e8a5-4205-9e7d-ff2203c6941d 2025-11-19 07:57:33,760 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a1e3f6cb-a0f1-4c53-8dcb-f180bccf7139 2025-11-19 07:57:33,766 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a1e3f6cb-a0f1-4c53-8dcb-f180bccf7139 2025-11-19 07:57:33,771 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6315507b-7758-4db3-955c-c5a9161e966a 2025-11-19 07:57:33,777 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-19 07:57:33,777 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45cc5877-e8a5-4205-9e7d-ff2203c6941d 2025-11-19 07:57:33,787 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a1e3f6cb-a0f1-4c53-8dcb-f180bccf7139 2025-11-19 07:57:33,800 - INFO - Verified VN network id 12 for VN 45cc5877-e8a5-4205-9e7d-ff2203c6941d 2025-11-19 07:57:33,800 - INFO - Verifications in API Server for VN ctest-vn-46742817 passed 2025-11-19 07:57:33,800 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45cc5877-e8a5-4205-9e7d-ff2203c6941d 2025-11-19 07:57:33,809 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a1e3f6cb-a0f1-4c53-8dcb-f180bccf7139 2025-11-19 07:57:33,815 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a1e3f6cb-a0f1-4c53-8dcb-f180bccf7139 2025-11-19 07:57:33,820 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6315507b-7758-4db3-955c-c5a9161e966a 2025-11-19 07:57:33,831 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99866432:ctest-vn-46742817', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99866432', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5029492155893498373', 'uuid-lslong': '11420564751638762525'}, 'enable': 'true', 'created': '2025-11-19T07:57:31', 'last-modified': '2025-11-19T07:57:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.347797'} 2025-11-19 07:57:33,837 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-19 07:57:33,837 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46742817 passed 2025-11-19 07:57:33,837 - DEBUG - ====Verifying policy data for ctest-vn-46742817 in API_Server ====== 2025-11-19 07:57:33,837 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-19 07:57:33,842 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b2fbc469-6231-4099-a349-af135739a1d2 2025-11-19 07:57:33,853 - DEBUG - Requesting: http://10.0.0.50:8082/project/243d60db-afac-4af8-a388-b723f800f0eb 2025-11-19 07:57:33,922 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45cc5877-e8a5-4205-9e7d-ff2203c6941d 2025-11-19 07:57:33,932 - DEBUG - ==>Verifying data for policy with id: e842650f-35da-45c5-aed6-b9f72197e7c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-99866432', 'ctest-policy-allow-all-99154831'] 2025-11-19 07:57:33,932 - INFO - VN ctest-vn-46742817 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-19 07:57:33,932 - DEBUG - Verifying the vn in opserver 2025-11-19 07:57:33,932 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99866432:ctest-vn-46742817 virtual network link through opserver 10.0.0.50 2025-11-19 07:57:33,932 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-19 07:57:33,941 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99866432:ctest-vn-46742817', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99866432:ctest-vn-46742817?flat'} 2025-11-19 07:57:33,941 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99866432:ctest-vn-46742817 is found in opserver 2025-11-19 07:57:33,951 - DEBUG - Do not have enough data to verify VN in agent 2025-11-19 07:57:33,955 - DEBUG - VRF ids for VN ctest-vn-46742817: {} 2025-11-19 07:57:34,016 - DEBUG - Services list from nova: [, , ] 2025-11-19 07:57:35,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4759-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4759-1) 2025-11-19 07:57:36,244 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4759-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4759-1) 2025-11-19 07:57:36,244 - INFO - Waiting for VM ctest-TestBasicPolicy-99866432-87939166 to be up.. 2025-11-19 07:57:36,335 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 07:57:41,411 - DEBUG - VM is in ACTIVE state now 2025-11-19 07:57:41,411 - INFO - VM name : ctest-TestBasicPolicy-99866432-87939166 2025-11-19 07:57:41,503 - DEBUG - VM ctest-TestBasicPolicy-99866432-87939166 ID is 2b8ac1a7-63ea-4eb1-b8c3-0957862af554 2025-11-19 07:57:41,528 - DEBUG - VM ctest-TestBasicPolicy-99866432-87939166 launched on Node cn-jenkins-deploy-platform-ansible-os-4759-1 2025-11-19 07:57:41,609 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2b8ac1a7-63ea-4eb1-b8c3-0957862af554 2025-11-19 07:57:41,620 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8c206858-8c04-47b9-84a5-5f95bfb2902c 2025-11-19 07:57:44,827 - 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 1011ms') 2025-11-19 07:57:44,827 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99866432-87939166 failed! 2025-11-19 07:57:44,882 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99866432:ctest-vn-43958243 is 200.73.224.1 and allocation pool is NOT set 2025-11-19 07:57:46,937 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.430 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.430/3.304/6.178/2.874 ms') 2025-11-19 07:57:46,937 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99866432-87939166 passed 2025-11-19 07:57:47,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:57:47,090 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99866432-87939166, IP 200.73.224.3, Port 22 2025-11-19 07:57:47,260 - DEBUG - VM ctest-TestBasicPolicy-99866432-87939166 is ready for SSH connections 2025-11-19 07:57:47,260 - INFO - Waiting for VM ctest-TestBasicPolicy-99866432-59438328 to be up.. 2025-11-19 07:57:47,345 - DEBUG - VM is in ACTIVE state now 2025-11-19 07:57:47,345 - INFO - VM name : ctest-TestBasicPolicy-99866432-59438328 2025-11-19 07:57:47,421 - DEBUG - VM ctest-TestBasicPolicy-99866432-59438328 ID is bd182a07-b700-4c2a-b375-20acb2c9a3d7 2025-11-19 07:57:47,421 - DEBUG - VM ctest-TestBasicPolicy-99866432-59438328 launched on Node cn-jenkins-deploy-platform-ansible-os-4759-1 2025-11-19 07:57:47,501 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bd182a07-b700-4c2a-b375-20acb2c9a3d7 2025-11-19 07:57:47,509 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/78551914-5585-4b44-bab7-230c3c18aa00 2025-11-19 07:57:48,750 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.08 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 = 1.079/2.177/3.275/1.098 ms') 2025-11-19 07:57:48,750 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-99866432-59438328 passed 2025-11-19 07:57:48,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:57:48,898 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99866432-59438328, IP 48.115.83.195, Port 22 2025-11-19 07:57:49,074 - DEBUG - VM ctest-TestBasicPolicy-99866432-59438328 is ready for SSH connections 2025-11-19 07:57:49,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:57:49,075 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.115.83.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 07:57:49,075 - DEBUG - ping -s 56 -c 3 -W 1 48.115.83.195 2025-11-19 07:57:52,779 - DEBUG - PING 48.115.83.195 (48.115.83.195): 56 data bytes 64 bytes from 48.115.83.195: seq=0 ttl=63 time=3.526 ms 64 bytes from 48.115.83.195: seq=1 ttl=63 time=1.137 ms 64 bytes from 48.115.83.195: seq=2 ttl=63 time=1.798 ms --- 48.115.83.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.137/2.153/3.526 ms 2025-11-19 07:57:52,779 - INFO - Ping to IP 48.115.83.195 from VM ctest-TestBasicPolicy-99866432-87939166 passed 2025-11-19 07:57:52,949 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e842650f-35da-45c5-aed6-b9f72197e7c3", "href": "http://10.0.0.50:8082/network-policy/e842650f-35da-45c5-aed6-b9f72197e7c3"}} 2025-11-19 07:57:52,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 07:57:52,950 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.115.83.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 07:57:52,950 - DEBUG - ping -s 56 -c 3 -W 1 48.115.83.195 2025-11-19 07:57:56,150 - DEBUG - PING 48.115.83.195 (48.115.83.195): 56 data bytes --- 48.115.83.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-19 07:57:56,150 - WARNING - Ping to IP 48.115.83.195 from VM ctest-TestBasicPolicy-99866432-87939166 failed 2025-11-19 07:57:56,150 - INFO - Deleting VM ctest-TestBasicPolicy-99866432-59438328 2025-11-19 07:57:56,217 - INFO - Deleting VM ctest-TestBasicPolicy-99866432-87939166 2025-11-19 07:57:56,538 - INFO - Deleted policy ctest-policy-allow-all-99154831 2025-11-19 07:57:56,539 - INFO - Deleting VN ctest-vn-46742817 2025-11-19 07:57:56,577 - DEBUG - VN 45cc5877-e8a5-4205-9e7d-ff2203c6941d still in use: Unable to complete operation on network 45cc5877-e8a5-4205-9e7d-ff2203c6941d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eb8642cc-3799-444e-81b1-4ec6dd88504a'] 2025-11-19 07:57:56,577 - WARNING - Deleting VN ctest-vn-46742817 failed..Will retry 2025-11-19 07:57:58,670 - DEBUG - Response for deleting network () 2025-11-19 07:57:58,670 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a1e3f6cb-a0f1-4c53-8dcb-f180bccf7139 2025-11-19 07:57:58,677 - DEBUG - Response Code: 404 2025-11-19 07:57:58,677 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-19 07:57:58,682 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b2fbc469-6231-4099-a349-af135739a1d2 2025-11-19 07:57:58,739 - DEBUG - Requesting: http://10.0.0.50:8082/project/243d60db-afac-4af8-a388-b723f800f0eb 2025-11-19 07:57:58,805 - INFO - Validated that VN ctest-vn-46742817 is not found in API Server 2025-11-19 07:57:58,814 - DEBUG - VN ctest-vn-46742817 is not present in Agent 10.0.0.50 2025-11-19 07:57:58,814 - INFO - Validated that VN ctest-vn-46742817 is not in any agent 2025-11-19 07:57:58,825 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46742817 info 2025-11-19 07:57:58,825 - INFO - Deleting VN ctest-vn-43958243 2025-11-19 07:57:58,915 - DEBUG - Response for deleting network () 2025-11-19 07:57:58,915 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/deeaa0df-619e-4d16-92d8-2933fb218c4f 2025-11-19 07:57:58,921 - DEBUG - Response Code: 404 2025-11-19 07:57:58,921 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-19 07:57:58,927 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b2fbc469-6231-4099-a349-af135739a1d2 2025-11-19 07:57:58,978 - DEBUG - Requesting: http://10.0.0.50:8082/project/243d60db-afac-4af8-a388-b723f800f0eb 2025-11-19 07:57:59,050 - INFO - Validated that VN ctest-vn-43958243 is not found in API Server 2025-11-19 07:57:59,060 - DEBUG - VN ctest-vn-43958243 is not present in Agent 10.0.0.50 2025-11-19 07:57:59,060 - INFO - Validated that VN ctest-vn-43958243 is not in any agent 2025-11-19 07:57:59,077 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43958243 info 2025-11-19 07:57:59,336 - DEBUG - No XMPP flaps were noticed during the test
2025-11-19 07:57:59,336 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-19 07:57:59,336 - INFO - -------------------------------------------------------------------------------- 2025-11-19 07:58:00,022 - INFO - Deleted project: ctest-TestBasicPolicy-99866432, ID : 243d60db-afac-4af8-a388-b723f800f0eb