2025-08-25 21:22:09,783 - INFO - Domain Default found not creating 2025-08-25 21:22:09,938 - INFO - Project ctest-TestBasicPolicy-30621072 not found, creating it 2025-08-25 21:22:10,444 - INFO - Created Project:ctest-TestBasicPolicy-30621072, ID : 210d5882-997e-4b40-8ea6-d199bd9c1ca2 2025-08-25 21:22:12,070 - INFO - ================================================================================ 2025-08-25 21:22:12,070 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-25 21:22:12,070 - 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-08-25 21:22:12,327 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-25 21:22:12,327 - INFO - Initial checks done. Running the testcase now 2025-08-25 21:22:12,327 - INFO - 2025-08-25 21:22:12,905 - DEBUG - Response for create_network : {'network': {'id': '2dfe4563-a0b6-43a8-aa56-3b86f6c6531d', 'name': 'ctest-vn-35474991', 'tenant_id': '210d5882997e4b408ea6d199bd9c1ca2', 'project_id': '210d5882997e4b408ea6d199bd9c1ca2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30621072', 'ctest-vn-35474991'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:22:13,070 - DEBUG - Response for create_subnet : {'subnet': {'id': '93da419d-7aa3-4fe9-8fa2-6f2e8b8c0151', 'name': '', 'tenant_id': '210d5882997e4b408ea6d199bd9c1ca2', 'network_id': '2dfe4563-a0b6-43a8-aa56-3b86f6c6531d', 'ip_version': 4, 'cidr': '20.145.115.64/26', 'allocation_pools': [{'start': '20.145.115.66', 'end': '20.145.115.126'}], 'gateway_ip': '20.145.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.145.115.66', 'tags': [], 'project_id': '210d5882997e4b408ea6d199bd9c1ca2'}} 2025-08-25 21:22:13,089 - INFO - Created VN ctest-vn-35474991 2025-08-25 21:22:13,141 - DEBUG - VN ctest-vn-35474991 UUID is 2dfe4563-a0b6-43a8-aa56-3b86f6c6531d 2025-08-25 21:22:13,446 - DEBUG - Response for create_network : {'network': {'id': '9fefe48d-44fc-46e9-bd22-856911e7df02', 'name': 'ctest-vn-45700316', 'tenant_id': '210d5882997e4b408ea6d199bd9c1ca2', 'project_id': '210d5882997e4b408ea6d199bd9c1ca2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30621072', 'ctest-vn-45700316'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:22:13,671 - DEBUG - Response for create_subnet : {'subnet': {'id': '603cdeaa-7d96-4e2b-a6d8-a6cb11986fd4', 'name': '', 'tenant_id': '210d5882997e4b408ea6d199bd9c1ca2', 'network_id': '9fefe48d-44fc-46e9-bd22-856911e7df02', 'ip_version': 4, 'cidr': '177.56.80.64/26', 'allocation_pools': [{'start': '177.56.80.66', 'end': '177.56.80.126'}], 'gateway_ip': '177.56.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.56.80.66', 'tags': [], 'project_id': '210d5882997e4b408ea6d199bd9c1ca2'}} 2025-08-25 21:22:13,689 - INFO - Created VN ctest-vn-45700316 2025-08-25 21:22:13,741 - DEBUG - VN ctest-vn-45700316 UUID is 9fefe48d-44fc-46e9-bd22-856911e7df02 2025-08-25 21:22:13,893 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30621072:ctest-vn-35474991, 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-30621072:ctest-vn-45700316, 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-08-25 21:22:14,199 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2dfe4563-a0b6-43a8-aa56-3b86f6c6531d', 'name': 'ctest-vn-35474991', 'tenant_id': '210d5882997e4b408ea6d199bd9c1ca2', 'project_id': '210d5882997e4b408ea6d199bd9c1ca2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['93da419d-7aa3-4fe9-8fa2-6f2e8b8c0151'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30621072', 'ctest-vn-35474991'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30621072', 'ctest-policy-allow-all-28360362']], 'subnet_ipam': [{'subnet_cidr': '20.145.115.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:22:14,507 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9fefe48d-44fc-46e9-bd22-856911e7df02', 'name': 'ctest-vn-45700316', 'tenant_id': '210d5882997e4b408ea6d199bd9c1ca2', 'project_id': '210d5882997e4b408ea6d199bd9c1ca2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['603cdeaa-7d96-4e2b-a6d8-a6cb11986fd4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30621072', 'ctest-vn-45700316'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30621072', 'ctest-policy-allow-all-28360362']], 'subnet_ipam': [{'subnet_cidr': '177.56.80.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:22:14,673 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-25 21:22:14,991 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-25 21:22:15,027 - DEBUG - Requesting: http://10.0.0.38:8082/domain/273acc71-104d-4b57-8542-5d320da1d1a3 2025-08-25 21:22:15,041 - DEBUG - Requesting: http://10.0.0.38:8082/project/210d5882-997e-4b40-8ea6-d199bd9c1ca2 2025-08-25 21:22:15,126 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2dfe4563-a0b6-43a8-aa56-3b86f6c6531d 2025-08-25 21:22:15,143 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2dfe4563-a0b6-43a8-aa56-3b86f6c6531d 2025-08-25 21:22:15,155 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7fa8d05-b86d-4617-9f99-18bf0edc90b0 2025-08-25 21:22:15,165 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7fa8d05-b86d-4617-9f99-18bf0edc90b0 2025-08-25 21:22:15,175 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f1a279a-056e-4620-93a8-7ff54edda4a3 2025-08-25 21:22:15,185 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 21:22:15,185 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2dfe4563-a0b6-43a8-aa56-3b86f6c6531d 2025-08-25 21:22:15,198 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7fa8d05-b86d-4617-9f99-18bf0edc90b0 2025-08-25 21:22:15,217 - INFO - Verified VN network id 11 for VN 2dfe4563-a0b6-43a8-aa56-3b86f6c6531d 2025-08-25 21:22:15,220 - INFO - Verifications in API Server for VN ctest-vn-35474991 passed 2025-08-25 21:22:15,220 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2dfe4563-a0b6-43a8-aa56-3b86f6c6531d 2025-08-25 21:22:15,235 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7fa8d05-b86d-4617-9f99-18bf0edc90b0 2025-08-25 21:22:15,245 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7fa8d05-b86d-4617-9f99-18bf0edc90b0 2025-08-25 21:22:15,254 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f1a279a-056e-4620-93a8-7ff54edda4a3 2025-08-25 21:22:15,268 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30621072:ctest-vn-35474991', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30621072', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3314162669991642024', 'uuid-lslong': '12274063285296714525'}, 'enable': 'true', 'created': '2025-08-25T21:22:12', 'last-modified': '2025-08-25T21:22:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.093457'} 2025-08-25 21:22:15,277 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 21:22:15,277 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35474991 passed 2025-08-25 21:22:15,277 - DEBUG - ====Verifying policy data for ctest-vn-35474991 in API_Server ====== 2025-08-25 21:22:15,277 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-25 21:22:15,284 - DEBUG - Requesting: http://10.0.0.38:8082/domain/273acc71-104d-4b57-8542-5d320da1d1a3 2025-08-25 21:22:15,302 - DEBUG - Requesting: http://10.0.0.38:8082/project/210d5882-997e-4b40-8ea6-d199bd9c1ca2 2025-08-25 21:22:15,381 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2dfe4563-a0b6-43a8-aa56-3b86f6c6531d 2025-08-25 21:22:15,395 - DEBUG - ==>Verifying data for policy with id: a4a69e63-8b56-4c7b-affa-ca2b8cbc9a94, fqn: ['default-domain', 'ctest-TestBasicPolicy-30621072', 'ctest-policy-allow-all-28360362'] 2025-08-25 21:22:15,396 - INFO - VN ctest-vn-35474991 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 21:22:15,396 - DEBUG - Verifying the vn in opserver 2025-08-25 21:22:15,396 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30621072:ctest-vn-35474991 virtual network link through opserver 10.0.0.38 2025-08-25 21:22:15,396 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-25 21:22:15,711 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-25 21:22:15,775 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30621072:ctest-vn-35474991', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30621072:ctest-vn-35474991?flat'} 2025-08-25 21:22:15,775 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30621072:ctest-vn-35474991 is found in opserver 2025-08-25 21:22:15,789 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 21:22:15,796 - DEBUG - VRF ids for VN ctest-vn-35474991: {} 2025-08-25 21:22:15,797 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-25 21:22:15,804 - DEBUG - Requesting: http://10.0.0.38:8082/domain/273acc71-104d-4b57-8542-5d320da1d1a3 2025-08-25 21:22:15,818 - DEBUG - Requesting: http://10.0.0.38:8082/project/210d5882-997e-4b40-8ea6-d199bd9c1ca2 2025-08-25 21:22:15,900 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9fefe48d-44fc-46e9-bd22-856911e7df02 2025-08-25 21:22:15,915 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9fefe48d-44fc-46e9-bd22-856911e7df02 2025-08-25 21:22:15,926 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/223276de-94e0-4f0d-bf83-1140066403d4 2025-08-25 21:22:15,935 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/223276de-94e0-4f0d-bf83-1140066403d4 2025-08-25 21:22:15,943 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/78efe6e0-5973-424c-8c37-e770fa7a4cbc 2025-08-25 21:22:15,950 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 21:22:15,951 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9fefe48d-44fc-46e9-bd22-856911e7df02 2025-08-25 21:22:15,962 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/223276de-94e0-4f0d-bf83-1140066403d4 2025-08-25 21:22:15,979 - INFO - Verified VN network id 12 for VN 9fefe48d-44fc-46e9-bd22-856911e7df02 2025-08-25 21:22:15,979 - INFO - Verifications in API Server for VN ctest-vn-45700316 passed 2025-08-25 21:22:15,979 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9fefe48d-44fc-46e9-bd22-856911e7df02 2025-08-25 21:22:15,993 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/223276de-94e0-4f0d-bf83-1140066403d4 2025-08-25 21:22:16,002 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/223276de-94e0-4f0d-bf83-1140066403d4 2025-08-25 21:22:16,011 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/78efe6e0-5973-424c-8c37-e770fa7a4cbc 2025-08-25 21:22:16,026 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30621072:ctest-vn-45700316', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30621072', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11524681266863294185', 'uuid-lslong': '13628602108695011074'}, 'enable': 'true', 'created': '2025-08-25T21:22:13', 'last-modified': '2025-08-25T21:22:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.606921'} 2025-08-25 21:22:16,033 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 21:22:16,033 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45700316 passed 2025-08-25 21:22:16,033 - DEBUG - ====Verifying policy data for ctest-vn-45700316 in API_Server ====== 2025-08-25 21:22:16,033 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-25 21:22:16,040 - DEBUG - Requesting: http://10.0.0.38:8082/domain/273acc71-104d-4b57-8542-5d320da1d1a3 2025-08-25 21:22:16,055 - DEBUG - Requesting: http://10.0.0.38:8082/project/210d5882-997e-4b40-8ea6-d199bd9c1ca2 2025-08-25 21:22:16,138 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9fefe48d-44fc-46e9-bd22-856911e7df02 2025-08-25 21:22:16,151 - DEBUG - ==>Verifying data for policy with id: a4a69e63-8b56-4c7b-affa-ca2b8cbc9a94, fqn: ['default-domain', 'ctest-TestBasicPolicy-30621072', 'ctest-policy-allow-all-28360362'] 2025-08-25 21:22:16,151 - INFO - VN ctest-vn-45700316 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 21:22:16,151 - DEBUG - Verifying the vn in opserver 2025-08-25 21:22:16,151 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30621072:ctest-vn-45700316 virtual network link through opserver 10.0.0.38 2025-08-25 21:22:16,151 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-25 21:22:16,165 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30621072:ctest-vn-45700316', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30621072:ctest-vn-45700316?flat'} 2025-08-25 21:22:16,165 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30621072:ctest-vn-45700316 is found in opserver 2025-08-25 21:22:16,177 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 21:22:16,185 - DEBUG - VRF ids for VN ctest-vn-45700316: {} 2025-08-25 21:22:16,244 - DEBUG - Services list from nova: [, , ] 2025-08-25 21:22:17,284 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3929-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3929-1) 2025-08-25 21:22:18,524 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3929-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3929-1) 2025-08-25 21:22:18,525 - INFO - Waiting for VM ctest-TestBasicPolicy-30621072-94515083 to be up.. 2025-08-25 21:22:18,630 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 21:22:23,718 - DEBUG - VM is in ACTIVE state now 2025-08-25 21:22:23,719 - INFO - VM name : ctest-TestBasicPolicy-30621072-94515083 2025-08-25 21:22:23,815 - DEBUG - VM ctest-TestBasicPolicy-30621072-94515083 ID is 97c42286-eb46-46d5-b025-10ba069a98d1 2025-08-25 21:22:23,836 - DEBUG - VM ctest-TestBasicPolicy-30621072-94515083 launched on Node cn-jenkins-deploy-platform-ansible-os-3929-1 2025-08-25 21:22:23,938 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/97c42286-eb46-46d5-b025-10ba069a98d1 2025-08-25 21:22:23,949 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bc5f173a-98f8-43c9-975e-feff38156161 2025-08-25 21:22:27,228 - 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 1022ms') 2025-08-25 21:22:27,228 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30621072-94515083 failed! 2025-08-25 21:22:27,289 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30621072:ctest-vn-35474991 is 20.145.115.65 and allocation pool is NOT set 2025-08-25 21:22:29,352 - 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=8.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.758 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.758/4.576/8.395/3.818 ms') 2025-08-25 21:22:29,352 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30621072-94515083 passed 2025-08-25 21:22:29,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:22:29,502 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30621072-94515083, IP 20.145.115.67, Port 22 2025-08-25 21:22:29,665 - DEBUG - VM ctest-TestBasicPolicy-30621072-94515083 is ready for SSH connections 2025-08-25 21:22:29,665 - INFO - Waiting for VM ctest-TestBasicPolicy-30621072-21018697 to be up.. 2025-08-25 21:22:29,744 - DEBUG - VM is in ACTIVE state now 2025-08-25 21:22:29,744 - INFO - VM name : ctest-TestBasicPolicy-30621072-21018697 2025-08-25 21:22:29,821 - DEBUG - VM ctest-TestBasicPolicy-30621072-21018697 ID is 7d7552b4-9a95-4e3e-bd40-1a178630d3e3 2025-08-25 21:22:29,821 - DEBUG - VM ctest-TestBasicPolicy-30621072-21018697 launched on Node cn-jenkins-deploy-platform-ansible-os-3929-1 2025-08-25 21:22:29,907 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7d7552b4-9a95-4e3e-bd40-1a178630d3e3 2025-08-25 21:22:29,919 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f5964048-0812-4808-88a9-109912d74119 2025-08-25 21:22:31,173 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.500 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.500/1.635/2.770/1.135 ms') 2025-08-25 21:22:31,173 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30621072-21018697 passed 2025-08-25 21:22:31,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:22:31,329 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30621072-21018697, IP 177.56.80.67, Port 22 2025-08-25 21:22:31,485 - DEBUG - VM ctest-TestBasicPolicy-30621072-21018697 is ready for SSH connections 2025-08-25 21:22:31,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:22:31,485 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.56.80.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-25 21:22:31,486 - DEBUG - ping -s 56 -c 3 -W 1 177.56.80.67 2025-08-25 21:22:35,160 - DEBUG - PING 177.56.80.67 (177.56.80.67): 56 data bytes 64 bytes from 177.56.80.67: seq=0 ttl=63 time=3.463 ms 64 bytes from 177.56.80.67: seq=1 ttl=63 time=0.705 ms 64 bytes from 177.56.80.67: seq=2 ttl=63 time=0.981 ms --- 177.56.80.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.705/1.716/3.463 ms 2025-08-25 21:22:35,161 - INFO - Ping to IP 177.56.80.67 from VM ctest-TestBasicPolicy-30621072-94515083 passed 2025-08-25 21:22:35,345 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a4a69e63-8b56-4c7b-affa-ca2b8cbc9a94", "href": "http://10.0.0.38:8082/network-policy/a4a69e63-8b56-4c7b-affa-ca2b8cbc9a94"}} 2025-08-25 21:22:35,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:22:35,345 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.56.80.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-25 21:22:35,345 - DEBUG - ping -s 56 -c 3 -W 1 177.56.80.67 2025-08-25 21:22:38,561 - DEBUG - PING 177.56.80.67 (177.56.80.67): 56 data bytes --- 177.56.80.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 21:22:38,561 - WARNING - Ping to IP 177.56.80.67 from VM ctest-TestBasicPolicy-30621072-94515083 failed 2025-08-25 21:22:38,561 - INFO - Deleting VM ctest-TestBasicPolicy-30621072-21018697 2025-08-25 21:22:38,627 - INFO - Deleting VM ctest-TestBasicPolicy-30621072-94515083 2025-08-25 21:22:39,053 - INFO - Deleted policy ctest-policy-allow-all-28360362 2025-08-25 21:22:39,053 - INFO - Deleting VN ctest-vn-45700316 2025-08-25 21:22:39,103 - DEBUG - VN 9fefe48d-44fc-46e9-bd22-856911e7df02 still in use: Unable to complete operation on network 9fefe48d-44fc-46e9-bd22-856911e7df02. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f9042ee8-b520-40d0-a7fa-1b9ee333ccbe'] 2025-08-25 21:22:39,103 - WARNING - Deleting VN ctest-vn-45700316 failed..Will retry 2025-08-25 21:22:41,257 - DEBUG - Response for deleting network () 2025-08-25 21:22:41,258 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/223276de-94e0-4f0d-bf83-1140066403d4 2025-08-25 21:22:41,266 - DEBUG - Response Code: 404 2025-08-25 21:22:41,266 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-25 21:22:41,273 - DEBUG - Requesting: http://10.0.0.38:8082/domain/273acc71-104d-4b57-8542-5d320da1d1a3 2025-08-25 21:22:41,336 - DEBUG - Requesting: http://10.0.0.38:8082/project/210d5882-997e-4b40-8ea6-d199bd9c1ca2 2025-08-25 21:22:41,419 - INFO - Validated that VN ctest-vn-45700316 is not found in API Server 2025-08-25 21:22:41,435 - DEBUG - VN ctest-vn-45700316 is not present in Agent 10.0.0.38 2025-08-25 21:22:41,435 - INFO - Validated that VN ctest-vn-45700316 is not in any agent 2025-08-25 21:22:41,454 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45700316 info 2025-08-25 21:22:41,454 - INFO - Deleting VN ctest-vn-35474991 2025-08-25 21:22:41,600 - DEBUG - Response for deleting network () 2025-08-25 21:22:41,600 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7fa8d05-b86d-4617-9f99-18bf0edc90b0 2025-08-25 21:22:41,608 - DEBUG - Response Code: 404 2025-08-25 21:22:41,609 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-25 21:22:41,621 - DEBUG - Requesting: http://10.0.0.38:8082/domain/273acc71-104d-4b57-8542-5d320da1d1a3 2025-08-25 21:22:41,640 - DEBUG - Requesting: http://10.0.0.38:8082/project/210d5882-997e-4b40-8ea6-d199bd9c1ca2 2025-08-25 21:22:41,719 - INFO - Validated that VN ctest-vn-35474991 is not found in API Server 2025-08-25 21:22:41,731 - DEBUG - VN ctest-vn-35474991 is not present in Agent 10.0.0.38 2025-08-25 21:22:41,731 - INFO - Validated that VN ctest-vn-35474991 is not in any agent 2025-08-25 21:22:41,751 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35474991 info 2025-08-25 21:22:42,026 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 21:22:42,026 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-25 21:22:42,026 - INFO - -------------------------------------------------------------------------------- 2025-08-25 21:22:42,725 - INFO - Deleted project: ctest-TestBasicPolicy-30621072, ID : 210d5882-997e-4b40-8ea6-d199bd9c1ca2