2025-10-23 13:15:54,149 - INFO - Domain Default found not creating 2025-10-23 13:15:54,292 - INFO - Project ctest-TestBasicPolicy-13660060 not found, creating it 2025-10-23 13:15:54,739 - INFO - Created Project:ctest-TestBasicPolicy-13660060, ID : 92ff1af9-084f-4ece-ae2c-5c136e84ae07 2025-10-23 13:15:56,164 - INFO - ================================================================================ 2025-10-23 13:15:56,164 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 13:15:56,164 - 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-23 13:15:56,423 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-23 13:15:56,425 - INFO - Initial checks done. Running the testcase now 2025-10-23 13:15:56,425 - INFO - 2025-10-23 13:15:56,961 - DEBUG - Response for create_network : {'network': {'id': '899d3030-8050-4e93-bc8b-d4140b3f07b0', 'name': 'ctest-vn-07119145', 'tenant_id': '92ff1af9084f4eceae2c5c136e84ae07', 'project_id': '92ff1af9084f4eceae2c5c136e84ae07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13660060', 'ctest-vn-07119145'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 13:15:57,107 - DEBUG - Response for create_subnet : {'subnet': {'id': '286c7c63-f7ec-4c18-b91a-b5a9410c8677', 'name': '', 'tenant_id': '92ff1af9084f4eceae2c5c136e84ae07', 'network_id': '899d3030-8050-4e93-bc8b-d4140b3f07b0', 'ip_version': 4, 'cidr': '105.163.157.0/26', 'allocation_pools': [{'start': '105.163.157.2', 'end': '105.163.157.62'}], 'gateway_ip': '105.163.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.163.157.2', 'tags': [], 'project_id': '92ff1af9084f4eceae2c5c136e84ae07'}} 2025-10-23 13:15:57,126 - INFO - Created VN ctest-vn-07119145 2025-10-23 13:15:57,177 - DEBUG - VN ctest-vn-07119145 UUID is 899d3030-8050-4e93-bc8b-d4140b3f07b0 2025-10-23 13:15:57,512 - DEBUG - Response for create_network : {'network': {'id': 'b04823a3-fb82-4623-be3c-8f9ae1bad3d1', 'name': 'ctest-vn-82577248', 'tenant_id': '92ff1af9084f4eceae2c5c136e84ae07', 'project_id': '92ff1af9084f4eceae2c5c136e84ae07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13660060', 'ctest-vn-82577248'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 13:15:57,668 - DEBUG - Response for create_subnet : {'subnet': {'id': '46acf23f-b102-4a9b-b852-9c58e7b8a121', 'name': '', 'tenant_id': '92ff1af9084f4eceae2c5c136e84ae07', 'network_id': 'b04823a3-fb82-4623-be3c-8f9ae1bad3d1', 'ip_version': 4, 'cidr': '56.237.124.192/26', 'allocation_pools': [{'start': '56.237.124.194', 'end': '56.237.124.254'}], 'gateway_ip': '56.237.124.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.237.124.194', 'tags': [], 'project_id': '92ff1af9084f4eceae2c5c136e84ae07'}} 2025-10-23 13:15:57,685 - INFO - Created VN ctest-vn-82577248 2025-10-23 13:15:57,742 - DEBUG - VN ctest-vn-82577248 UUID is b04823a3-fb82-4623-be3c-8f9ae1bad3d1 2025-10-23 13:15:57,893 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13660060:ctest-vn-07119145, 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-13660060:ctest-vn-82577248, 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-23 13:15:58,181 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '899d3030-8050-4e93-bc8b-d4140b3f07b0', 'name': 'ctest-vn-07119145', 'tenant_id': '92ff1af9084f4eceae2c5c136e84ae07', 'project_id': '92ff1af9084f4eceae2c5c136e84ae07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['286c7c63-f7ec-4c18-b91a-b5a9410c8677'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13660060', 'ctest-vn-07119145'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13660060', 'ctest-policy-allow-all-42544721']], 'subnet_ipam': [{'subnet_cidr': '105.163.157.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 13:15:58,409 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b04823a3-fb82-4623-be3c-8f9ae1bad3d1', 'name': 'ctest-vn-82577248', 'tenant_id': '92ff1af9084f4eceae2c5c136e84ae07', 'project_id': '92ff1af9084f4eceae2c5c136e84ae07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['46acf23f-b102-4a9b-b852-9c58e7b8a121'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13660060', 'ctest-vn-82577248'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13660060', 'ctest-policy-allow-all-42544721']], 'subnet_ipam': [{'subnet_cidr': '56.237.124.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 13:15:58,577 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-23 13:15:58,869 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-23 13:15:58,894 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a0dfb5cd-ddb8-4df7-9cb2-c3e1b3606637 2025-10-23 13:15:58,904 - DEBUG - Requesting: http://10.0.0.38:8082/project/92ff1af9-084f-4ece-ae2c-5c136e84ae07 2025-10-23 13:15:58,977 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/899d3030-8050-4e93-bc8b-d4140b3f07b0 2025-10-23 13:15:58,987 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/899d3030-8050-4e93-bc8b-d4140b3f07b0 2025-10-23 13:15:58,996 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6150c2e-cada-484d-928b-d0dac8287438 2025-10-23 13:15:59,003 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6150c2e-cada-484d-928b-d0dac8287438 2025-10-23 13:15:59,008 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7dc39c32-2b12-4d15-9930-ae30eaa3a473 2025-10-23 13:15:59,015 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 13:15:59,015 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/899d3030-8050-4e93-bc8b-d4140b3f07b0 2025-10-23 13:15:59,023 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6150c2e-cada-484d-928b-d0dac8287438 2025-10-23 13:15:59,035 - INFO - Verified VN network id 11 for VN 899d3030-8050-4e93-bc8b-d4140b3f07b0 2025-10-23 13:15:59,035 - INFO - Verifications in API Server for VN ctest-vn-07119145 passed 2025-10-23 13:15:59,036 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/899d3030-8050-4e93-bc8b-d4140b3f07b0 2025-10-23 13:15:59,044 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6150c2e-cada-484d-928b-d0dac8287438 2025-10-23 13:15:59,049 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6150c2e-cada-484d-928b-d0dac8287438 2025-10-23 13:15:59,055 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7dc39c32-2b12-4d15-9930-ae30eaa3a473 2025-10-23 13:15:59,066 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13660060:ctest-vn-07119145', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13660060', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9916134939409010323', 'uuid-lslong': '13586185883446347696'}, 'enable': 'true', 'created': '2025-10-23T13:15:56', 'last-modified': '2025-10-23T13:15:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906947'} 2025-10-23 13:15:59,072 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 13:15:59,072 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07119145 passed 2025-10-23 13:15:59,073 - DEBUG - ====Verifying policy data for ctest-vn-07119145 in API_Server ====== 2025-10-23 13:15:59,073 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-23 13:15:59,078 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a0dfb5cd-ddb8-4df7-9cb2-c3e1b3606637 2025-10-23 13:15:59,088 - DEBUG - Requesting: http://10.0.0.38:8082/project/92ff1af9-084f-4ece-ae2c-5c136e84ae07 2025-10-23 13:15:59,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/899d3030-8050-4e93-bc8b-d4140b3f07b0 2025-10-23 13:15:59,165 - DEBUG - ==>Verifying data for policy with id: b63bdf89-ad92-47cf-bee7-b9f1b84a0cb5, fqn: ['default-domain', 'ctest-TestBasicPolicy-13660060', 'ctest-policy-allow-all-42544721'] 2025-10-23 13:15:59,165 - INFO - VN ctest-vn-07119145 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 13:15:59,165 - DEBUG - Verifying the vn in opserver 2025-10-23 13:15:59,165 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13660060:ctest-vn-07119145 virtual network link through opserver 10.0.0.38 2025-10-23 13:15:59,165 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-23 13:15:59,462 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-23 13:15:59,515 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13660060:ctest-vn-07119145', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13660060:ctest-vn-07119145?flat'} 2025-10-23 13:15:59,515 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13660060:ctest-vn-07119145 is found in opserver 2025-10-23 13:15:59,524 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 13:15:59,528 - DEBUG - VRF ids for VN ctest-vn-07119145: {} 2025-10-23 13:15:59,528 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-23 13:15:59,533 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a0dfb5cd-ddb8-4df7-9cb2-c3e1b3606637 2025-10-23 13:15:59,542 - DEBUG - Requesting: http://10.0.0.38:8082/project/92ff1af9-084f-4ece-ae2c-5c136e84ae07 2025-10-23 13:15:59,612 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b04823a3-fb82-4623-be3c-8f9ae1bad3d1 2025-10-23 13:15:59,623 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b04823a3-fb82-4623-be3c-8f9ae1bad3d1 2025-10-23 13:15:59,631 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec7be94-7eab-4eb5-9be2-de10bb13aaa5 2025-10-23 13:15:59,637 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec7be94-7eab-4eb5-9be2-de10bb13aaa5 2025-10-23 13:15:59,644 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/83b9d22d-5fd6-4889-acaa-965cc6176e7e 2025-10-23 13:15:59,651 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 13:15:59,651 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b04823a3-fb82-4623-be3c-8f9ae1bad3d1 2025-10-23 13:15:59,660 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec7be94-7eab-4eb5-9be2-de10bb13aaa5 2025-10-23 13:15:59,676 - INFO - Verified VN network id 12 for VN b04823a3-fb82-4623-be3c-8f9ae1bad3d1 2025-10-23 13:15:59,676 - INFO - Verifications in API Server for VN ctest-vn-82577248 passed 2025-10-23 13:15:59,676 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b04823a3-fb82-4623-be3c-8f9ae1bad3d1 2025-10-23 13:15:59,686 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec7be94-7eab-4eb5-9be2-de10bb13aaa5 2025-10-23 13:15:59,693 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec7be94-7eab-4eb5-9be2-de10bb13aaa5 2025-10-23 13:15:59,699 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/83b9d22d-5fd6-4889-acaa-965cc6176e7e 2025-10-23 13:15:59,712 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13660060:ctest-vn-82577248', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13660060', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12702441936204744227', 'uuid-lslong': '13707989261183800273'}, 'enable': 'true', 'created': '2025-10-23T13:15:57', 'last-modified': '2025-10-23T13:15:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.326251'} 2025-10-23 13:15:59,718 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 13:15:59,718 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82577248 passed 2025-10-23 13:15:59,719 - DEBUG - ====Verifying policy data for ctest-vn-82577248 in API_Server ====== 2025-10-23 13:15:59,719 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-23 13:15:59,725 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a0dfb5cd-ddb8-4df7-9cb2-c3e1b3606637 2025-10-23 13:15:59,735 - DEBUG - Requesting: http://10.0.0.38:8082/project/92ff1af9-084f-4ece-ae2c-5c136e84ae07 2025-10-23 13:15:59,801 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b04823a3-fb82-4623-be3c-8f9ae1bad3d1 2025-10-23 13:15:59,810 - DEBUG - ==>Verifying data for policy with id: b63bdf89-ad92-47cf-bee7-b9f1b84a0cb5, fqn: ['default-domain', 'ctest-TestBasicPolicy-13660060', 'ctest-policy-allow-all-42544721'] 2025-10-23 13:15:59,810 - INFO - VN ctest-vn-82577248 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 13:15:59,810 - DEBUG - Verifying the vn in opserver 2025-10-23 13:15:59,810 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13660060:ctest-vn-82577248 virtual network link through opserver 10.0.0.38 2025-10-23 13:15:59,810 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-23 13:15:59,819 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13660060:ctest-vn-82577248', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13660060:ctest-vn-82577248?flat'} 2025-10-23 13:15:59,820 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13660060:ctest-vn-82577248 is found in opserver 2025-10-23 13:15:59,828 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 13:15:59,832 - DEBUG - VRF ids for VN ctest-vn-82577248: {} 2025-10-23 13:15:59,887 - DEBUG - Services list from nova: [, , ] 2025-10-23 13:16:00,886 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4461-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4461-1) 2025-10-23 13:16:02,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4461-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4461-1) 2025-10-23 13:16:02,020 - INFO - Waiting for VM ctest-TestBasicPolicy-13660060-35265637 to be up.. 2025-10-23 13:16:02,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 13:16:07,179 - DEBUG - VM is in ACTIVE state now 2025-10-23 13:16:07,179 - INFO - VM name : ctest-TestBasicPolicy-13660060-35265637 2025-10-23 13:16:07,256 - DEBUG - VM ctest-TestBasicPolicy-13660060-35265637 ID is 322e6760-52ab-4ca3-95b2-bcf874884e30 2025-10-23 13:16:07,277 - DEBUG - VM ctest-TestBasicPolicy-13660060-35265637 launched on Node cn-jenkins-deploy-platform-ansible-os-4461-1 2025-10-23 13:16:07,354 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/322e6760-52ab-4ca3-95b2-bcf874884e30 2025-10-23 13:16:07,363 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9941013d-10cb-46ec-91cd-55a1dd430491 2025-10-23 13:16:10,632 - 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-10-23 13:16:10,632 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13660060-35265637 failed! 2025-10-23 13:16:10,685 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13660060:ctest-vn-07119145 is 105.163.157.1 and allocation pool is NOT set 2025-10-23 13:16:12,745 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.717 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.717/4.685/8.653/3.968 ms') 2025-10-23 13:16:12,745 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13660060-35265637 passed 2025-10-23 13:16:12,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:16:12,894 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13660060-35265637, IP 105.163.157.3, Port 22 2025-10-23 13:16:13,059 - DEBUG - VM ctest-TestBasicPolicy-13660060-35265637 is ready for SSH connections 2025-10-23 13:16:13,059 - INFO - Waiting for VM ctest-TestBasicPolicy-13660060-77118199 to be up.. 2025-10-23 13:16:13,132 - DEBUG - VM is in ACTIVE state now 2025-10-23 13:16:13,132 - INFO - VM name : ctest-TestBasicPolicy-13660060-77118199 2025-10-23 13:16:13,208 - DEBUG - VM ctest-TestBasicPolicy-13660060-77118199 ID is fd91b1ca-4b17-4d95-82c6-047bf732dd33 2025-10-23 13:16:13,208 - DEBUG - VM ctest-TestBasicPolicy-13660060-77118199 launched on Node cn-jenkins-deploy-platform-ansible-os-4461-1 2025-10-23 13:16:13,372 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fd91b1ca-4b17-4d95-82c6-047bf732dd33 2025-10-23 13:16:13,380 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/42c3fd82-4791-432f-9adb-dd816f13210f 2025-10-23 13:16:14,614 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.438 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.438/1.635/2.832/1.197 ms') 2025-10-23 13:16:14,614 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13660060-77118199 passed 2025-10-23 13:16:14,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:16:14,762 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13660060-77118199, IP 56.237.124.195, Port 22 2025-10-23 13:16:14,917 - DEBUG - VM ctest-TestBasicPolicy-13660060-77118199 is ready for SSH connections 2025-10-23 13:16:14,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:16:14,917 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.237.124.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 13:16:14,917 - DEBUG - ping -s 56 -c 3 -W 1 56.237.124.195 2025-10-23 13:16:18,938 - DEBUG - PING 56.237.124.195 (56.237.124.195): 56 data bytes 64 bytes from 56.237.124.195: seq=0 ttl=63 time=3.265 ms 64 bytes from 56.237.124.195: seq=1 ttl=63 time=0.963 ms 64 bytes from 56.237.124.195: seq=2 ttl=63 time=0.901 ms --- 56.237.124.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/1.709/3.265 ms 2025-10-23 13:16:18,938 - INFO - Ping to IP 56.237.124.195 from VM ctest-TestBasicPolicy-13660060-35265637 passed 2025-10-23 13:16:19,113 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b63bdf89-ad92-47cf-bee7-b9f1b84a0cb5", "href": "http://10.0.0.38:8082/network-policy/b63bdf89-ad92-47cf-bee7-b9f1b84a0cb5"}} 2025-10-23 13:16:19,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:16:19,114 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.237.124.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 13:16:19,114 - DEBUG - ping -s 56 -c 3 -W 1 56.237.124.195 2025-10-23 13:16:22,316 - DEBUG - PING 56.237.124.195 (56.237.124.195): 56 data bytes --- 56.237.124.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 13:16:22,316 - WARNING - Ping to IP 56.237.124.195 from VM ctest-TestBasicPolicy-13660060-35265637 failed 2025-10-23 13:16:22,317 - INFO - Deleting VM ctest-TestBasicPolicy-13660060-77118199 2025-10-23 13:16:22,388 - INFO - Deleting VM ctest-TestBasicPolicy-13660060-35265637 2025-10-23 13:16:22,796 - INFO - Deleted policy ctest-policy-allow-all-42544721 2025-10-23 13:16:22,797 - INFO - Deleting VN ctest-vn-82577248 2025-10-23 13:16:22,831 - DEBUG - VN b04823a3-fb82-4623-be3c-8f9ae1bad3d1 still in use: Unable to complete operation on network b04823a3-fb82-4623-be3c-8f9ae1bad3d1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d2b73f3-bf2b-4d74-b320-7adc062f38c9'] 2025-10-23 13:16:22,831 - WARNING - Deleting VN ctest-vn-82577248 failed..Will retry 2025-10-23 13:16:24,926 - DEBUG - Response for deleting network () 2025-10-23 13:16:24,926 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec7be94-7eab-4eb5-9be2-de10bb13aaa5 2025-10-23 13:16:24,932 - DEBUG - Response Code: 404 2025-10-23 13:16:24,932 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-23 13:16:24,937 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a0dfb5cd-ddb8-4df7-9cb2-c3e1b3606637 2025-10-23 13:16:24,990 - DEBUG - Requesting: http://10.0.0.38:8082/project/92ff1af9-084f-4ece-ae2c-5c136e84ae07 2025-10-23 13:16:25,066 - INFO - Validated that VN ctest-vn-82577248 is not found in API Server 2025-10-23 13:16:25,075 - DEBUG - VN ctest-vn-82577248 is not present in Agent 10.0.0.38 2025-10-23 13:16:25,075 - INFO - Validated that VN ctest-vn-82577248 is not in any agent 2025-10-23 13:16:25,087 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82577248 info 2025-10-23 13:16:25,087 - INFO - Deleting VN ctest-vn-07119145 2025-10-23 13:16:25,187 - DEBUG - Response for deleting network () 2025-10-23 13:16:25,187 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6150c2e-cada-484d-928b-d0dac8287438 2025-10-23 13:16:25,193 - DEBUG - Response Code: 404 2025-10-23 13:16:25,194 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-23 13:16:25,200 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a0dfb5cd-ddb8-4df7-9cb2-c3e1b3606637 2025-10-23 13:16:25,258 - DEBUG - Requesting: http://10.0.0.38:8082/project/92ff1af9-084f-4ece-ae2c-5c136e84ae07 2025-10-23 13:16:25,327 - INFO - Validated that VN ctest-vn-07119145 is not found in API Server 2025-10-23 13:16:25,338 - DEBUG - VN ctest-vn-07119145 is not present in Agent 10.0.0.38 2025-10-23 13:16:25,338 - INFO - Validated that VN ctest-vn-07119145 is not in any agent 2025-10-23 13:16:25,351 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07119145 info 2025-10-23 13:16:25,598 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 13:16:25,598 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-23 13:16:25,598 - INFO - -------------------------------------------------------------------------------- 2025-10-23 13:16:26,248 - INFO - Deleted project: ctest-TestBasicPolicy-13660060, ID : 92ff1af9-084f-4ece-ae2c-5c136e84ae07