2025-10-09 19:17:03,015 - INFO - Domain Default found not creating 2025-10-09 19:17:03,180 - INFO - Project ctest-TestBasicPolicy-07939152 not found, creating it 2025-10-09 19:17:03,643 - INFO - Created Project:ctest-TestBasicPolicy-07939152, ID : f1c26b62-f48a-4ae8-9974-5976374de156 2025-10-09 19:17:05,118 - INFO - ================================================================================ 2025-10-09 19:17:05,118 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 19:17:05,118 - 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-09 19:17:05,376 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-10-09 19:17:05,376 - INFO - Initial checks done. Running the testcase now 2025-10-09 19:17:05,376 - INFO - 2025-10-09 19:17:05,910 - DEBUG - Response for create_network : {'network': {'id': 'ecd0453d-7c1d-44e3-8619-625a6033d90e', 'name': 'ctest-vn-56689431', 'tenant_id': 'f1c26b62f48a4ae899745976374de156', 'project_id': 'f1c26b62f48a4ae899745976374de156', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07939152', 'ctest-vn-56689431'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 19:17:06,131 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cab61192-8c7d-430b-9f1d-a960f2624de6', 'name': '', 'tenant_id': 'f1c26b62f48a4ae899745976374de156', 'network_id': 'ecd0453d-7c1d-44e3-8619-625a6033d90e', 'ip_version': 4, 'cidr': '28.176.221.0/26', 'allocation_pools': [{'start': '28.176.221.2', 'end': '28.176.221.62'}], 'gateway_ip': '28.176.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.176.221.2', 'tags': [], 'project_id': 'f1c26b62f48a4ae899745976374de156'}} 2025-10-09 19:17:06,148 - INFO - Created VN ctest-vn-56689431 2025-10-09 19:17:06,199 - DEBUG - VN ctest-vn-56689431 UUID is ecd0453d-7c1d-44e3-8619-625a6033d90e 2025-10-09 19:17:06,520 - DEBUG - Response for create_network : {'network': {'id': 'b45b684d-ede7-4f95-acec-2a2120d7c087', 'name': 'ctest-vn-80804027', 'tenant_id': 'f1c26b62f48a4ae899745976374de156', 'project_id': 'f1c26b62f48a4ae899745976374de156', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07939152', 'ctest-vn-80804027'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 19:17:06,682 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e1eb58d-45b5-43f7-b7f2-716ca4371c6c', 'name': '', 'tenant_id': 'f1c26b62f48a4ae899745976374de156', 'network_id': 'b45b684d-ede7-4f95-acec-2a2120d7c087', 'ip_version': 4, 'cidr': '182.141.252.192/26', 'allocation_pools': [{'start': '182.141.252.194', 'end': '182.141.252.254'}], 'gateway_ip': '182.141.252.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.141.252.194', 'tags': [], 'project_id': 'f1c26b62f48a4ae899745976374de156'}} 2025-10-09 19:17:06,699 - INFO - Created VN ctest-vn-80804027 2025-10-09 19:17:06,750 - DEBUG - VN ctest-vn-80804027 UUID is b45b684d-ede7-4f95-acec-2a2120d7c087 2025-10-09 19:17:06,863 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07939152:ctest-vn-56689431, 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-07939152:ctest-vn-80804027, 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-09 19:17:07,153 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ecd0453d-7c1d-44e3-8619-625a6033d90e', 'name': 'ctest-vn-56689431', 'tenant_id': 'f1c26b62f48a4ae899745976374de156', 'project_id': 'f1c26b62f48a4ae899745976374de156', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cab61192-8c7d-430b-9f1d-a960f2624de6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07939152', 'ctest-vn-56689431'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07939152', 'ctest-policy-allow-all-92208609']], 'subnet_ipam': [{'subnet_cidr': '28.176.221.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 19:17:07,418 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b45b684d-ede7-4f95-acec-2a2120d7c087', 'name': 'ctest-vn-80804027', 'tenant_id': 'f1c26b62f48a4ae899745976374de156', 'project_id': 'f1c26b62f48a4ae899745976374de156', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0e1eb58d-45b5-43f7-b7f2-716ca4371c6c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07939152', 'ctest-vn-80804027'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07939152', 'ctest-policy-allow-all-92208609']], 'subnet_ipam': [{'subnet_cidr': '182.141.252.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 19:17:07,559 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-09 19:17:07,851 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-09 19:17:07,884 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7f38dd22-d909-452c-b06a-9abce033d718 2025-10-09 19:17:07,895 - DEBUG - Requesting: http://10.0.0.141:8082/project/f1c26b62-f48a-4ae8-9974-5976374de156 2025-10-09 19:17:07,974 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd0453d-7c1d-44e3-8619-625a6033d90e 2025-10-09 19:17:07,985 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd0453d-7c1d-44e3-8619-625a6033d90e 2025-10-09 19:17:07,993 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/95c3a56a-553e-41e8-a124-9d0d1dc97f9a 2025-10-09 19:17:08,001 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/95c3a56a-553e-41e8-a124-9d0d1dc97f9a 2025-10-09 19:17:08,008 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/eae70df2-b181-4d96-b3de-8a2f400a4e0b 2025-10-09 19:17:08,015 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 19:17:08,015 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd0453d-7c1d-44e3-8619-625a6033d90e 2025-10-09 19:17:08,024 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/95c3a56a-553e-41e8-a124-9d0d1dc97f9a 2025-10-09 19:17:08,039 - INFO - Verified VN network id 10 for VN ecd0453d-7c1d-44e3-8619-625a6033d90e 2025-10-09 19:17:08,040 - INFO - Verifications in API Server for VN ctest-vn-56689431 passed 2025-10-09 19:17:08,040 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd0453d-7c1d-44e3-8619-625a6033d90e 2025-10-09 19:17:08,049 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/95c3a56a-553e-41e8-a124-9d0d1dc97f9a 2025-10-09 19:17:08,055 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/95c3a56a-553e-41e8-a124-9d0d1dc97f9a 2025-10-09 19:17:08,061 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/eae70df2-b181-4d96-b3de-8a2f400a4e0b 2025-10-09 19:17:08,072 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07939152:ctest-vn-56689431', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07939152', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17064215118484423907', 'uuid-lslong': '9662862615800699150'}, 'enable': 'true', 'created': '2025-10-09T19:17:05', 'last-modified': '2025-10-09T19:17:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936839'} 2025-10-09 19:17:08,079 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 19:17:08,079 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56689431 passed 2025-10-09 19:17:08,080 - DEBUG - ====Verifying policy data for ctest-vn-56689431 in API_Server ====== 2025-10-09 19:17:08,080 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-09 19:17:08,086 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7f38dd22-d909-452c-b06a-9abce033d718 2025-10-09 19:17:08,100 - DEBUG - Requesting: http://10.0.0.141:8082/project/f1c26b62-f48a-4ae8-9974-5976374de156 2025-10-09 19:17:08,175 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ecd0453d-7c1d-44e3-8619-625a6033d90e 2025-10-09 19:17:08,185 - DEBUG - ==>Verifying data for policy with id: 47c73d5f-78d7-41b9-8b37-b39deabe70e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-07939152', 'ctest-policy-allow-all-92208609'] 2025-10-09 19:17:08,185 - INFO - VN ctest-vn-56689431 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 19:17:08,185 - DEBUG - Verifying the vn in opserver 2025-10-09 19:17:08,186 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07939152:ctest-vn-56689431 virtual network link through opserver 10.0.0.141 2025-10-09 19:17:08,186 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-09 19:17:08,482 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-09 19:17:08,554 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07939152:ctest-vn-56689431', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07939152:ctest-vn-56689431?flat'} 2025-10-09 19:17:08,554 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07939152:ctest-vn-56689431 is found in opserver 2025-10-09 19:17:08,563 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 19:17:08,567 - DEBUG - VRF ids for VN ctest-vn-56689431: {} 2025-10-09 19:17:08,567 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-09 19:17:08,572 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7f38dd22-d909-452c-b06a-9abce033d718 2025-10-09 19:17:08,582 - DEBUG - Requesting: http://10.0.0.141:8082/project/f1c26b62-f48a-4ae8-9974-5976374de156 2025-10-09 19:17:08,654 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b45b684d-ede7-4f95-acec-2a2120d7c087 2025-10-09 19:17:08,664 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b45b684d-ede7-4f95-acec-2a2120d7c087 2025-10-09 19:17:08,674 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ea293925-f99c-4c6c-a8ad-1bb539d0ad7f 2025-10-09 19:17:08,682 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ea293925-f99c-4c6c-a8ad-1bb539d0ad7f 2025-10-09 19:17:08,688 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/61ce1334-dc50-47a0-bfb6-a031f2822163 2025-10-09 19:17:08,694 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 19:17:08,694 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b45b684d-ede7-4f95-acec-2a2120d7c087 2025-10-09 19:17:08,703 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ea293925-f99c-4c6c-a8ad-1bb539d0ad7f 2025-10-09 19:17:08,715 - INFO - Verified VN network id 11 for VN b45b684d-ede7-4f95-acec-2a2120d7c087 2025-10-09 19:17:08,715 - INFO - Verifications in API Server for VN ctest-vn-80804027 passed 2025-10-09 19:17:08,715 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b45b684d-ede7-4f95-acec-2a2120d7c087 2025-10-09 19:17:08,725 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ea293925-f99c-4c6c-a8ad-1bb539d0ad7f 2025-10-09 19:17:08,732 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ea293925-f99c-4c6c-a8ad-1bb539d0ad7f 2025-10-09 19:17:08,738 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/61ce1334-dc50-47a0-bfb6-a031f2822163 2025-10-09 19:17:08,749 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07939152:ctest-vn-80804027', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07939152', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12996095833620828053', 'uuid-lslong': '12460380590800617607'}, 'enable': 'true', 'created': '2025-10-09T19:17:06', 'last-modified': '2025-10-09T19:17:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398034'} 2025-10-09 19:17:08,755 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 19:17:08,755 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80804027 passed 2025-10-09 19:17:08,755 - DEBUG - ====Verifying policy data for ctest-vn-80804027 in API_Server ====== 2025-10-09 19:17:08,755 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-09 19:17:08,760 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7f38dd22-d909-452c-b06a-9abce033d718 2025-10-09 19:17:08,771 - DEBUG - Requesting: http://10.0.0.141:8082/project/f1c26b62-f48a-4ae8-9974-5976374de156 2025-10-09 19:17:08,842 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b45b684d-ede7-4f95-acec-2a2120d7c087 2025-10-09 19:17:08,852 - DEBUG - ==>Verifying data for policy with id: 47c73d5f-78d7-41b9-8b37-b39deabe70e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-07939152', 'ctest-policy-allow-all-92208609'] 2025-10-09 19:17:08,852 - INFO - VN ctest-vn-80804027 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 19:17:08,852 - DEBUG - Verifying the vn in opserver 2025-10-09 19:17:08,852 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07939152:ctest-vn-80804027 virtual network link through opserver 10.0.0.141 2025-10-09 19:17:08,852 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-09 19:17:08,861 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07939152:ctest-vn-80804027', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07939152:ctest-vn-80804027?flat'} 2025-10-09 19:17:08,861 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07939152:ctest-vn-80804027 is found in opserver 2025-10-09 19:17:08,869 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 19:17:08,873 - DEBUG - VRF ids for VN ctest-vn-80804027: {} 2025-10-09 19:17:08,928 - DEBUG - Services list from nova: [, , ] 2025-10-09 19:17:09,924 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4275-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4275-1) 2025-10-09 19:17:11,113 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4275-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4275-1) 2025-10-09 19:17:11,113 - INFO - Waiting for VM ctest-TestBasicPolicy-07939152-49752216 to be up.. 2025-10-09 19:17:11,199 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 19:17:16,278 - DEBUG - VM is in ACTIVE state now 2025-10-09 19:17:16,278 - INFO - VM name : ctest-TestBasicPolicy-07939152-49752216 2025-10-09 19:17:16,351 - DEBUG - VM ctest-TestBasicPolicy-07939152-49752216 ID is c5f81a2d-d743-46d7-b647-d63a9ae002fc 2025-10-09 19:17:16,370 - DEBUG - VM ctest-TestBasicPolicy-07939152-49752216 launched on Node cn-jenkins-deploy-platform-ansible-os-4275-1 2025-10-09 19:17:16,446 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/c5f81a2d-d743-46d7-b647-d63a9ae002fc 2025-10-09 19:17:16,454 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/736cdeec-8cbd-4477-8e63-c14ed80c5e18 2025-10-09 19:17:19,721 - 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-09 19:17:19,721 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07939152-49752216 failed! 2025-10-09 19:17:19,775 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07939152:ctest-vn-56689431 is 28.176.221.1 and allocation pool is NOT set 2025-10-09 19:17:21,832 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.924 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.924/4.612/8.301/3.688 ms') 2025-10-09 19:17:21,832 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07939152-49752216 passed 2025-10-09 19:17:21,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:17:21,979 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07939152-49752216, IP 28.176.221.3, Port 22 2025-10-09 19:17:22,134 - DEBUG - VM ctest-TestBasicPolicy-07939152-49752216 is ready for SSH connections 2025-10-09 19:17:22,134 - INFO - Waiting for VM ctest-TestBasicPolicy-07939152-98565679 to be up.. 2025-10-09 19:17:22,214 - DEBUG - VM is in ACTIVE state now 2025-10-09 19:17:22,214 - INFO - VM name : ctest-TestBasicPolicy-07939152-98565679 2025-10-09 19:17:22,291 - DEBUG - VM ctest-TestBasicPolicy-07939152-98565679 ID is 3fe77a5c-3217-4a4b-b606-d00db63d9b40 2025-10-09 19:17:22,291 - DEBUG - VM ctest-TestBasicPolicy-07939152-98565679 launched on Node cn-jenkins-deploy-platform-ansible-os-4275-1 2025-10-09 19:17:22,366 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/3fe77a5c-3217-4a4b-b606-d00db63d9b40 2025-10-09 19:17:22,374 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/fe581625-1cbb-4f7c-ac0d-6d88260bb2ef 2025-10-09 19:17:23,601 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.69 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 = 1.685/3.205/4.725/1.520 ms') 2025-10-09 19:17:23,601 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07939152-98565679 passed 2025-10-09 19:17:23,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:17:23,755 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07939152-98565679, IP 182.141.252.195, Port 22 2025-10-09 19:17:23,910 - DEBUG - VM ctest-TestBasicPolicy-07939152-98565679 is ready for SSH connections 2025-10-09 19:17:23,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:17:23,910 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.141.252.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-09 19:17:23,911 - DEBUG - ping -s 56 -c 3 -W 1 182.141.252.195 2025-10-09 19:17:27,601 - DEBUG - PING 182.141.252.195 (182.141.252.195): 56 data bytes 64 bytes from 182.141.252.195: seq=0 ttl=63 time=3.596 ms 64 bytes from 182.141.252.195: seq=1 ttl=63 time=1.025 ms 64 bytes from 182.141.252.195: seq=2 ttl=63 time=0.831 ms --- 182.141.252.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.831/1.817/3.596 ms 2025-10-09 19:17:27,601 - INFO - Ping to IP 182.141.252.195 from VM ctest-TestBasicPolicy-07939152-49752216 passed 2025-10-09 19:17:27,778 - DEBUG - Policy Update Response {"network-policy": {"uuid": "47c73d5f-78d7-41b9-8b37-b39deabe70e7", "href": "http://10.0.0.141:8082/network-policy/47c73d5f-78d7-41b9-8b37-b39deabe70e7"}} 2025-10-09 19:17:27,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:17:27,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.141.252.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-09 19:17:27,779 - DEBUG - ping -s 56 -c 3 -W 1 182.141.252.195 2025-10-09 19:17:30,978 - DEBUG - PING 182.141.252.195 (182.141.252.195): 56 data bytes --- 182.141.252.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 19:17:30,978 - WARNING - Ping to IP 182.141.252.195 from VM ctest-TestBasicPolicy-07939152-49752216 failed 2025-10-09 19:17:30,978 - INFO - Deleting VM ctest-TestBasicPolicy-07939152-98565679 2025-10-09 19:17:31,053 - INFO - Deleting VM ctest-TestBasicPolicy-07939152-49752216 2025-10-09 19:17:31,413 - INFO - Deleted policy ctest-policy-allow-all-92208609 2025-10-09 19:17:31,413 - INFO - Deleting VN ctest-vn-80804027 2025-10-09 19:17:31,448 - DEBUG - VN b45b684d-ede7-4f95-acec-2a2120d7c087 still in use: Unable to complete operation on network b45b684d-ede7-4f95-acec-2a2120d7c087. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2fcee984-1844-462a-b8b8-6dda3da7971a'] 2025-10-09 19:17:31,448 - WARNING - Deleting VN ctest-vn-80804027 failed..Will retry 2025-10-09 19:17:33,548 - DEBUG - Response for deleting network () 2025-10-09 19:17:33,548 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ea293925-f99c-4c6c-a8ad-1bb539d0ad7f 2025-10-09 19:17:33,553 - DEBUG - Response Code: 404 2025-10-09 19:17:33,553 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-09 19:17:33,557 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7f38dd22-d909-452c-b06a-9abce033d718 2025-10-09 19:17:33,607 - DEBUG - Requesting: http://10.0.0.141:8082/project/f1c26b62-f48a-4ae8-9974-5976374de156 2025-10-09 19:17:33,676 - INFO - Validated that VN ctest-vn-80804027 is not found in API Server 2025-10-09 19:17:33,684 - DEBUG - VN ctest-vn-80804027 is not present in Agent 10.0.0.141 2025-10-09 19:17:33,684 - INFO - Validated that VN ctest-vn-80804027 is not in any agent 2025-10-09 19:17:33,697 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80804027 info 2025-10-09 19:17:33,697 - INFO - Deleting VN ctest-vn-56689431 2025-10-09 19:17:33,822 - DEBUG - Response for deleting network () 2025-10-09 19:17:33,822 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/95c3a56a-553e-41e8-a124-9d0d1dc97f9a 2025-10-09 19:17:33,827 - DEBUG - Response Code: 404 2025-10-09 19:17:33,827 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-09 19:17:33,831 - DEBUG - Requesting: http://10.0.0.141:8082/domain/7f38dd22-d909-452c-b06a-9abce033d718 2025-10-09 19:17:33,883 - DEBUG - Requesting: http://10.0.0.141:8082/project/f1c26b62-f48a-4ae8-9974-5976374de156 2025-10-09 19:17:33,958 - INFO - Validated that VN ctest-vn-56689431 is not found in API Server 2025-10-09 19:17:33,967 - DEBUG - VN ctest-vn-56689431 is not present in Agent 10.0.0.141 2025-10-09 19:17:33,967 - INFO - Validated that VN ctest-vn-56689431 is not in any agent 2025-10-09 19:17:33,981 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56689431 info 2025-10-09 19:17:34,246 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 19:17:34,246 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-09 19:17:34,246 - INFO - -------------------------------------------------------------------------------- 2025-10-09 19:17:34,930 - INFO - Deleted project: ctest-TestBasicPolicy-07939152, ID : f1c26b62-f48a-4ae8-9974-5976374de156