2025-08-28 16:48:39,596 - INFO - Domain Default found not creating 2025-08-28 16:48:39,735 - INFO - Project ctest-TestBasicPolicy-23099839 not found, creating it 2025-08-28 16:48:40,193 - INFO - Created Project:ctest-TestBasicPolicy-23099839, ID : efb35396-5c55-4e47-85b1-dc7f2373454a 2025-08-28 16:48:41,635 - INFO - ================================================================================ 2025-08-28 16:48:41,635 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-28 16:48:41,635 - 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-28 16:48:41,889 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-08-28 16:48:41,889 - INFO - Initial checks done. Running the testcase now 2025-08-28 16:48:41,890 - INFO - 2025-08-28 16:48:42,433 - DEBUG - Response for create_network : {'network': {'id': '737b4a9d-c782-4596-abff-7ab6105e8f8c', 'name': 'ctest-vn-10258078', 'tenant_id': 'efb353965c554e4785b1dc7f2373454a', 'project_id': 'efb353965c554e4785b1dc7f2373454a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23099839', 'ctest-vn-10258078'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 16:48:42,623 - DEBUG - Response for create_subnet : {'subnet': {'id': '35959d3d-52f5-4a35-88fd-4d00018570ac', 'name': '', 'tenant_id': 'efb353965c554e4785b1dc7f2373454a', 'network_id': '737b4a9d-c782-4596-abff-7ab6105e8f8c', 'ip_version': 4, 'cidr': '51.1.194.192/26', 'allocation_pools': [{'start': '51.1.194.194', 'end': '51.1.194.254'}], 'gateway_ip': '51.1.194.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.1.194.194', 'tags': [], 'project_id': 'efb353965c554e4785b1dc7f2373454a'}} 2025-08-28 16:48:42,640 - INFO - Created VN ctest-vn-10258078 2025-08-28 16:48:42,692 - DEBUG - VN ctest-vn-10258078 UUID is 737b4a9d-c782-4596-abff-7ab6105e8f8c 2025-08-28 16:48:42,979 - DEBUG - Response for create_network : {'network': {'id': 'e1ec425c-4ade-47f8-8e3f-9820fa124eaa', 'name': 'ctest-vn-80957173', 'tenant_id': 'efb353965c554e4785b1dc7f2373454a', 'project_id': 'efb353965c554e4785b1dc7f2373454a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23099839', 'ctest-vn-80957173'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 16:48:43,204 - DEBUG - Response for create_subnet : {'subnet': {'id': '94c17a4d-7239-4ec6-a73a-2349a7231e1b', 'name': '', 'tenant_id': 'efb353965c554e4785b1dc7f2373454a', 'network_id': 'e1ec425c-4ade-47f8-8e3f-9820fa124eaa', 'ip_version': 4, 'cidr': '138.167.229.0/26', 'allocation_pools': [{'start': '138.167.229.2', 'end': '138.167.229.62'}], 'gateway_ip': '138.167.229.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.167.229.2', 'tags': [], 'project_id': 'efb353965c554e4785b1dc7f2373454a'}} 2025-08-28 16:48:43,222 - INFO - Created VN ctest-vn-80957173 2025-08-28 16:48:43,276 - DEBUG - VN ctest-vn-80957173 UUID is e1ec425c-4ade-47f8-8e3f-9820fa124eaa 2025-08-28 16:48:43,424 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23099839:ctest-vn-10258078, 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-23099839:ctest-vn-80957173, 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-28 16:48:43,726 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '737b4a9d-c782-4596-abff-7ab6105e8f8c', 'name': 'ctest-vn-10258078', 'tenant_id': 'efb353965c554e4785b1dc7f2373454a', 'project_id': 'efb353965c554e4785b1dc7f2373454a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['35959d3d-52f5-4a35-88fd-4d00018570ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23099839', 'ctest-vn-10258078'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23099839', 'ctest-policy-allow-all-16844136']], 'subnet_ipam': [{'subnet_cidr': '51.1.194.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-28 16:48:43,953 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e1ec425c-4ade-47f8-8e3f-9820fa124eaa', 'name': 'ctest-vn-80957173', 'tenant_id': 'efb353965c554e4785b1dc7f2373454a', 'project_id': 'efb353965c554e4785b1dc7f2373454a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['94c17a4d-7239-4ec6-a73a-2349a7231e1b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23099839', 'ctest-vn-80957173'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23099839', 'ctest-policy-allow-all-16844136']], 'subnet_ipam': [{'subnet_cidr': '138.167.229.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-28 16:48:44,120 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-28 16:48:44,417 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-28 16:48:44,442 - DEBUG - Requesting: http://10.0.0.130:8082/domain/22e36fb3-aebf-43d3-b36a-15c45bdee204 2025-08-28 16:48:44,454 - DEBUG - Requesting: http://10.0.0.130:8082/project/efb35396-5c55-4e47-85b1-dc7f2373454a 2025-08-28 16:48:44,525 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/737b4a9d-c782-4596-abff-7ab6105e8f8c 2025-08-28 16:48:44,535 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/737b4a9d-c782-4596-abff-7ab6105e8f8c 2025-08-28 16:48:44,545 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27e87a57-c11c-49af-87a6-ecc2f60eb6cf 2025-08-28 16:48:44,552 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27e87a57-c11c-49af-87a6-ecc2f60eb6cf 2025-08-28 16:48:44,558 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/57f0c629-2ca3-4184-a3c6-6924932be518 2025-08-28 16:48:44,564 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-28 16:48:44,564 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/737b4a9d-c782-4596-abff-7ab6105e8f8c 2025-08-28 16:48:44,573 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27e87a57-c11c-49af-87a6-ecc2f60eb6cf 2025-08-28 16:48:44,589 - INFO - Verified VN network id 11 for VN 737b4a9d-c782-4596-abff-7ab6105e8f8c 2025-08-28 16:48:44,589 - INFO - Verifications in API Server for VN ctest-vn-10258078 passed 2025-08-28 16:48:44,589 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/737b4a9d-c782-4596-abff-7ab6105e8f8c 2025-08-28 16:48:44,600 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27e87a57-c11c-49af-87a6-ecc2f60eb6cf 2025-08-28 16:48:44,606 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27e87a57-c11c-49af-87a6-ecc2f60eb6cf 2025-08-28 16:48:44,614 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/57f0c629-2ca3-4184-a3c6-6924932be518 2025-08-28 16:48:44,625 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23099839:ctest-vn-10258078', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23099839', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8321326778014647702', 'uuid-lslong': '12393759621924163468'}, 'enable': 'true', 'created': '2025-08-28T16:48:42', 'last-modified': '2025-08-28T16:48:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924778'} 2025-08-28 16:48:44,630 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-28 16:48:44,631 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10258078 passed 2025-08-28 16:48:44,631 - DEBUG - ====Verifying policy data for ctest-vn-10258078 in API_Server ====== 2025-08-28 16:48:44,631 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-28 16:48:44,636 - DEBUG - Requesting: http://10.0.0.130:8082/domain/22e36fb3-aebf-43d3-b36a-15c45bdee204 2025-08-28 16:48:44,647 - DEBUG - Requesting: http://10.0.0.130:8082/project/efb35396-5c55-4e47-85b1-dc7f2373454a 2025-08-28 16:48:44,715 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/737b4a9d-c782-4596-abff-7ab6105e8f8c 2025-08-28 16:48:44,724 - DEBUG - ==>Verifying data for policy with id: 18645a65-a253-422a-a656-b9bd8a388a40, fqn: ['default-domain', 'ctest-TestBasicPolicy-23099839', 'ctest-policy-allow-all-16844136'] 2025-08-28 16:48:44,724 - INFO - VN ctest-vn-10258078 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-28 16:48:44,724 - DEBUG - Verifying the vn in opserver 2025-08-28 16:48:44,725 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23099839:ctest-vn-10258078 virtual network link through opserver 10.0.0.130 2025-08-28 16:48:44,725 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-28 16:48:45,020 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-28 16:48:45,076 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23099839:ctest-vn-10258078', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23099839:ctest-vn-10258078?flat'} 2025-08-28 16:48:45,076 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23099839:ctest-vn-10258078 is found in opserver 2025-08-28 16:48:45,085 - DEBUG - Do not have enough data to verify VN in agent 2025-08-28 16:48:45,089 - DEBUG - VRF ids for VN ctest-vn-10258078: {} 2025-08-28 16:48:45,089 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-28 16:48:45,094 - DEBUG - Requesting: http://10.0.0.130:8082/domain/22e36fb3-aebf-43d3-b36a-15c45bdee204 2025-08-28 16:48:45,105 - DEBUG - Requesting: http://10.0.0.130:8082/project/efb35396-5c55-4e47-85b1-dc7f2373454a 2025-08-28 16:48:45,173 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/e1ec425c-4ade-47f8-8e3f-9820fa124eaa 2025-08-28 16:48:45,184 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/e1ec425c-4ade-47f8-8e3f-9820fa124eaa 2025-08-28 16:48:45,193 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/508ff6af-7539-4c8f-91d5-46b5fc6829c4 2025-08-28 16:48:45,200 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/508ff6af-7539-4c8f-91d5-46b5fc6829c4 2025-08-28 16:48:45,205 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/56dd84a3-669b-4bdf-a220-f1f8a47a13dc 2025-08-28 16:48:45,211 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-28 16:48:45,211 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/e1ec425c-4ade-47f8-8e3f-9820fa124eaa 2025-08-28 16:48:45,218 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/508ff6af-7539-4c8f-91d5-46b5fc6829c4 2025-08-28 16:48:45,231 - INFO - Verified VN network id 12 for VN e1ec425c-4ade-47f8-8e3f-9820fa124eaa 2025-08-28 16:48:45,231 - INFO - Verifications in API Server for VN ctest-vn-80957173 passed 2025-08-28 16:48:45,231 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/e1ec425c-4ade-47f8-8e3f-9820fa124eaa 2025-08-28 16:48:45,241 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/508ff6af-7539-4c8f-91d5-46b5fc6829c4 2025-08-28 16:48:45,248 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/508ff6af-7539-4c8f-91d5-46b5fc6829c4 2025-08-28 16:48:45,255 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/56dd84a3-669b-4bdf-a220-f1f8a47a13dc 2025-08-28 16:48:45,266 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23099839:ctest-vn-80957173', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23099839', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16279459717198006264', 'uuid-lslong': '10250078544320417450'}, 'enable': 'true', 'created': '2025-08-28T16:48:42', 'last-modified': '2025-08-28T16:48:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.338001'} 2025-08-28 16:48:45,272 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-28 16:48:45,272 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80957173 passed 2025-08-28 16:48:45,273 - DEBUG - ====Verifying policy data for ctest-vn-80957173 in API_Server ====== 2025-08-28 16:48:45,273 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-28 16:48:45,278 - DEBUG - Requesting: http://10.0.0.130:8082/domain/22e36fb3-aebf-43d3-b36a-15c45bdee204 2025-08-28 16:48:45,288 - DEBUG - Requesting: http://10.0.0.130:8082/project/efb35396-5c55-4e47-85b1-dc7f2373454a 2025-08-28 16:48:45,356 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/e1ec425c-4ade-47f8-8e3f-9820fa124eaa 2025-08-28 16:48:45,366 - DEBUG - ==>Verifying data for policy with id: 18645a65-a253-422a-a656-b9bd8a388a40, fqn: ['default-domain', 'ctest-TestBasicPolicy-23099839', 'ctest-policy-allow-all-16844136'] 2025-08-28 16:48:45,366 - INFO - VN ctest-vn-80957173 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-28 16:48:45,366 - DEBUG - Verifying the vn in opserver 2025-08-28 16:48:45,366 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23099839:ctest-vn-80957173 virtual network link through opserver 10.0.0.130 2025-08-28 16:48:45,366 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-28 16:48:45,375 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23099839:ctest-vn-80957173', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23099839:ctest-vn-80957173?flat'} 2025-08-28 16:48:45,376 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23099839:ctest-vn-80957173 is found in opserver 2025-08-28 16:48:45,387 - DEBUG - Do not have enough data to verify VN in agent 2025-08-28 16:48:45,393 - DEBUG - VRF ids for VN ctest-vn-80957173: {} 2025-08-28 16:48:45,448 - DEBUG - Services list from nova: [, , ] 2025-08-28 16:48:46,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3961-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3961-1) 2025-08-28 16:48:47,625 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3961-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3961-1) 2025-08-28 16:48:47,625 - INFO - Waiting for VM ctest-TestBasicPolicy-23099839-71234786 to be up.. 2025-08-28 16:48:47,713 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 16:48:52,783 - DEBUG - VM is in ACTIVE state now 2025-08-28 16:48:52,783 - INFO - VM name : ctest-TestBasicPolicy-23099839-71234786 2025-08-28 16:48:52,856 - DEBUG - VM ctest-TestBasicPolicy-23099839-71234786 ID is 5335c36c-bc8e-402b-851e-fa6287ea8539 2025-08-28 16:48:52,877 - DEBUG - VM ctest-TestBasicPolicy-23099839-71234786 launched on Node cn-jenkins-deploy-platform-ansible-os-3961-1 2025-08-28 16:48:52,956 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/5335c36c-bc8e-402b-851e-fa6287ea8539 2025-08-28 16:48:52,964 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/6df4ac5a-5445-4b05-b2ee-dfdf6bbafd0c 2025-08-28 16:48:56,226 - 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 1023ms') 2025-08-28 16:48:56,227 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23099839-71234786 failed! 2025-08-28 16:48:56,280 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23099839:ctest-vn-10258078 is 51.1.194.193 and allocation pool is NOT set 2025-08-28 16:48:58,340 - 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=13.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.70 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.704/7.423/13.142/5.719 ms') 2025-08-28 16:48:58,340 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23099839-71234786 passed 2025-08-28 16:48:58,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 16:48:58,492 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23099839-71234786, IP 51.1.194.195, Port 22 2025-08-28 16:48:58,644 - DEBUG - VM ctest-TestBasicPolicy-23099839-71234786 is ready for SSH connections 2025-08-28 16:48:58,644 - INFO - Waiting for VM ctest-TestBasicPolicy-23099839-62432815 to be up.. 2025-08-28 16:48:58,716 - DEBUG - VM is in ACTIVE state now 2025-08-28 16:48:58,716 - INFO - VM name : ctest-TestBasicPolicy-23099839-62432815 2025-08-28 16:48:58,789 - DEBUG - VM ctest-TestBasicPolicy-23099839-62432815 ID is 2eb58670-d281-4ba3-96ee-816ef204e777 2025-08-28 16:48:58,789 - DEBUG - VM ctest-TestBasicPolicy-23099839-62432815 launched on Node cn-jenkins-deploy-platform-ansible-os-3961-1 2025-08-28 16:48:58,855 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/2eb58670-d281-4ba3-96ee-816ef204e777 2025-08-28 16:48:58,863 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/3124f1ce-7d2a-488f-bf7d-7180774648d8 2025-08-28 16:49:00,093 - 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=4.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.16 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.155/2.861/4.568/1.706 ms') 2025-08-28 16:49:00,094 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23099839-62432815 passed 2025-08-28 16:49:00,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 16:49:00,249 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23099839-62432815, IP 138.167.229.3, Port 22 2025-08-28 16:49:00,404 - DEBUG - VM ctest-TestBasicPolicy-23099839-62432815 is ready for SSH connections 2025-08-28 16:49:00,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 16:49:00,405 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.167.229.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-28 16:49:00,405 - DEBUG - ping -s 56 -c 3 -W 1 138.167.229.3 2025-08-28 16:49:04,430 - DEBUG - PING 138.167.229.3 (138.167.229.3): 56 data bytes 64 bytes from 138.167.229.3: seq=0 ttl=63 time=4.182 ms 64 bytes from 138.167.229.3: seq=1 ttl=63 time=1.000 ms 64 bytes from 138.167.229.3: seq=2 ttl=63 time=0.959 ms --- 138.167.229.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.959/2.047/4.182 ms 2025-08-28 16:49:04,431 - INFO - Ping to IP 138.167.229.3 from VM ctest-TestBasicPolicy-23099839-71234786 passed 2025-08-28 16:49:04,604 - DEBUG - Policy Update Response {"network-policy": {"uuid": "18645a65-a253-422a-a656-b9bd8a388a40", "href": "http://10.0.0.130:8082/network-policy/18645a65-a253-422a-a656-b9bd8a388a40"}} 2025-08-28 16:49:04,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 16:49:04,604 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.167.229.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-28 16:49:04,605 - DEBUG - ping -s 56 -c 3 -W 1 138.167.229.3 2025-08-28 16:49:07,836 - DEBUG - PING 138.167.229.3 (138.167.229.3): 56 data bytes --- 138.167.229.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-28 16:49:07,836 - WARNING - Ping to IP 138.167.229.3 from VM ctest-TestBasicPolicy-23099839-71234786 failed 2025-08-28 16:49:07,836 - INFO - Deleting VM ctest-TestBasicPolicy-23099839-62432815 2025-08-28 16:49:07,901 - INFO - Deleting VM ctest-TestBasicPolicy-23099839-71234786 2025-08-28 16:49:08,302 - INFO - Deleted policy ctest-policy-allow-all-16844136 2025-08-28 16:49:08,302 - INFO - Deleting VN ctest-vn-80957173 2025-08-28 16:49:08,340 - DEBUG - VN e1ec425c-4ade-47f8-8e3f-9820fa124eaa still in use: Unable to complete operation on network e1ec425c-4ade-47f8-8e3f-9820fa124eaa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f6ad13cf-b331-4e61-af59-1d473745bb04'] 2025-08-28 16:49:08,340 - WARNING - Deleting VN ctest-vn-80957173 failed..Will retry 2025-08-28 16:49:10,433 - DEBUG - Response for deleting network () 2025-08-28 16:49:10,433 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/508ff6af-7539-4c8f-91d5-46b5fc6829c4 2025-08-28 16:49:10,439 - DEBUG - Response Code: 404 2025-08-28 16:49:10,439 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-28 16:49:10,444 - DEBUG - Requesting: http://10.0.0.130:8082/domain/22e36fb3-aebf-43d3-b36a-15c45bdee204 2025-08-28 16:49:10,497 - DEBUG - Requesting: http://10.0.0.130:8082/project/efb35396-5c55-4e47-85b1-dc7f2373454a 2025-08-28 16:49:10,563 - INFO - Validated that VN ctest-vn-80957173 is not found in API Server 2025-08-28 16:49:10,572 - DEBUG - VN ctest-vn-80957173 is not present in Agent 10.0.0.130 2025-08-28 16:49:10,572 - INFO - Validated that VN ctest-vn-80957173 is not in any agent 2025-08-28 16:49:10,585 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80957173 info 2025-08-28 16:49:10,585 - INFO - Deleting VN ctest-vn-10258078 2025-08-28 16:49:10,680 - DEBUG - Response for deleting network () 2025-08-28 16:49:10,680 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27e87a57-c11c-49af-87a6-ecc2f60eb6cf 2025-08-28 16:49:10,686 - DEBUG - Response Code: 404 2025-08-28 16:49:10,686 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-08-28 16:49:10,690 - DEBUG - Requesting: http://10.0.0.130:8082/domain/22e36fb3-aebf-43d3-b36a-15c45bdee204 2025-08-28 16:49:10,742 - DEBUG - Requesting: http://10.0.0.130:8082/project/efb35396-5c55-4e47-85b1-dc7f2373454a 2025-08-28 16:49:10,811 - INFO - Validated that VN ctest-vn-10258078 is not found in API Server 2025-08-28 16:49:10,820 - DEBUG - VN ctest-vn-10258078 is not present in Agent 10.0.0.130 2025-08-28 16:49:10,820 - INFO - Validated that VN ctest-vn-10258078 is not in any agent 2025-08-28 16:49:10,832 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10258078 info 2025-08-28 16:49:11,088 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 16:49:11,088 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-28 16:49:11,088 - INFO - -------------------------------------------------------------------------------- 2025-08-28 16:49:11,759 - INFO - Deleted project: ctest-TestBasicPolicy-23099839, ID : efb35396-5c55-4e47-85b1-dc7f2373454a