2025-08-21 11:23:06,523 - INFO - Domain Default found not creating 2025-08-21 11:23:06,671 - INFO - Project ctest-TestBasicPolicy-00765803 not found, creating it 2025-08-21 11:23:07,173 - INFO - Created Project:ctest-TestBasicPolicy-00765803, ID : 13b25ca1-3c33-496a-a1a4-d8bd13d3de64 2025-08-21 11:23:08,874 - INFO - ================================================================================ 2025-08-21 11:23:08,874 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-21 11:23:08,874 - 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-21 11:23:09,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-21 11:23:09,129 - INFO - Initial checks done. Running the testcase now 2025-08-21 11:23:09,129 - INFO - 2025-08-21 11:23:09,756 - DEBUG - Response for create_network : {'network': {'id': 'baa4406b-6b43-4c60-9f90-8d787691d190', 'name': 'ctest-vn-22367371', 'tenant_id': '13b25ca13c33496aa1a4d8bd13d3de64', 'project_id': '13b25ca13c33496aa1a4d8bd13d3de64', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00765803', 'ctest-vn-22367371'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 11:23:09,958 - DEBUG - Response for create_subnet : {'subnet': {'id': '153733a5-e647-4f38-a91a-c1f2e4481799', 'name': '', 'tenant_id': '13b25ca13c33496aa1a4d8bd13d3de64', 'network_id': 'baa4406b-6b43-4c60-9f90-8d787691d190', 'ip_version': 4, 'cidr': '24.249.181.0/26', 'allocation_pools': [{'start': '24.249.181.2', 'end': '24.249.181.62'}], 'gateway_ip': '24.249.181.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.249.181.2', 'tags': [], 'project_id': '13b25ca13c33496aa1a4d8bd13d3de64'}} 2025-08-21 11:23:09,978 - INFO - Created VN ctest-vn-22367371 2025-08-21 11:23:10,034 - DEBUG - VN ctest-vn-22367371 UUID is baa4406b-6b43-4c60-9f90-8d787691d190 2025-08-21 11:23:10,354 - DEBUG - Response for create_network : {'network': {'id': '9c446867-8f34-4f16-9037-ab72ab012ffd', 'name': 'ctest-vn-19345368', 'tenant_id': '13b25ca13c33496aa1a4d8bd13d3de64', 'project_id': '13b25ca13c33496aa1a4d8bd13d3de64', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00765803', 'ctest-vn-19345368'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 11:23:10,520 - DEBUG - Response for create_subnet : {'subnet': {'id': '5158a6ff-09ae-4a70-a904-3ba38697594a', 'name': '', 'tenant_id': '13b25ca13c33496aa1a4d8bd13d3de64', 'network_id': '9c446867-8f34-4f16-9037-ab72ab012ffd', 'ip_version': 4, 'cidr': '133.28.13.128/26', 'allocation_pools': [{'start': '133.28.13.130', 'end': '133.28.13.190'}], 'gateway_ip': '133.28.13.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.28.13.130', 'tags': [], 'project_id': '13b25ca13c33496aa1a4d8bd13d3de64'}} 2025-08-21 11:23:10,539 - INFO - Created VN ctest-vn-19345368 2025-08-21 11:23:10,594 - DEBUG - VN ctest-vn-19345368 UUID is 9c446867-8f34-4f16-9037-ab72ab012ffd 2025-08-21 11:23:10,716 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00765803:ctest-vn-22367371, 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-00765803:ctest-vn-19345368, 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-21 11:23:11,035 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'baa4406b-6b43-4c60-9f90-8d787691d190', 'name': 'ctest-vn-22367371', 'tenant_id': '13b25ca13c33496aa1a4d8bd13d3de64', 'project_id': '13b25ca13c33496aa1a4d8bd13d3de64', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['153733a5-e647-4f38-a91a-c1f2e4481799'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00765803', 'ctest-vn-22367371'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00765803', 'ctest-policy-allow-all-95562499']], 'subnet_ipam': [{'subnet_cidr': '24.249.181.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-21 11:23:11,329 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9c446867-8f34-4f16-9037-ab72ab012ffd', 'name': 'ctest-vn-19345368', 'tenant_id': '13b25ca13c33496aa1a4d8bd13d3de64', 'project_id': '13b25ca13c33496aa1a4d8bd13d3de64', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5158a6ff-09ae-4a70-a904-3ba38697594a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00765803', 'ctest-vn-19345368'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00765803', 'ctest-policy-allow-all-95562499']], 'subnet_ipam': [{'subnet_cidr': '133.28.13.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-21 11:23:11,502 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-21 11:23:11,839 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-21 11:23:11,872 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a542de93-2e07-4db5-ab77-916ef612d1b2 2025-08-21 11:23:11,888 - DEBUG - Requesting: http://10.0.0.38:8082/project/13b25ca1-3c33-496a-a1a4-d8bd13d3de64 2025-08-21 11:23:11,973 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/baa4406b-6b43-4c60-9f90-8d787691d190 2025-08-21 11:23:11,987 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/baa4406b-6b43-4c60-9f90-8d787691d190 2025-08-21 11:23:11,997 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1643a7d6-3a59-453c-a77f-5305b168400e 2025-08-21 11:23:12,005 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1643a7d6-3a59-453c-a77f-5305b168400e 2025-08-21 11:23:12,013 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/30ef2f76-b4a6-4f50-a79c-53a97d7b325d 2025-08-21 11:23:12,022 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-21 11:23:12,022 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/baa4406b-6b43-4c60-9f90-8d787691d190 2025-08-21 11:23:12,032 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1643a7d6-3a59-453c-a77f-5305b168400e 2025-08-21 11:23:12,047 - INFO - Verified VN network id 10 for VN baa4406b-6b43-4c60-9f90-8d787691d190 2025-08-21 11:23:12,047 - INFO - Verifications in API Server for VN ctest-vn-22367371 passed 2025-08-21 11:23:12,047 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/baa4406b-6b43-4c60-9f90-8d787691d190 2025-08-21 11:23:12,058 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1643a7d6-3a59-453c-a77f-5305b168400e 2025-08-21 11:23:12,065 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1643a7d6-3a59-453c-a77f-5305b168400e 2025-08-21 11:23:12,072 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/30ef2f76-b4a6-4f50-a79c-53a97d7b325d 2025-08-21 11:23:12,085 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00765803:ctest-vn-22367371', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00765803', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13448945217340394592', 'uuid-lslong': '11497845397201736080'}, 'enable': 'true', 'created': '2025-08-21T11:23:09', 'last-modified': '2025-08-21T11:23:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.079674'} 2025-08-21 11:23:12,092 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-21 11:23:12,093 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22367371 passed 2025-08-21 11:23:12,093 - DEBUG - ====Verifying policy data for ctest-vn-22367371 in API_Server ====== 2025-08-21 11:23:12,093 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-21 11:23:12,101 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a542de93-2e07-4db5-ab77-916ef612d1b2 2025-08-21 11:23:12,117 - DEBUG - Requesting: http://10.0.0.38:8082/project/13b25ca1-3c33-496a-a1a4-d8bd13d3de64 2025-08-21 11:23:12,204 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/baa4406b-6b43-4c60-9f90-8d787691d190 2025-08-21 11:23:12,220 - DEBUG - ==>Verifying data for policy with id: 6de9a27b-b6cd-41a1-b0a3-c9c2dfc367c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-00765803', 'ctest-policy-allow-all-95562499'] 2025-08-21 11:23:12,220 - INFO - VN ctest-vn-22367371 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-21 11:23:12,220 - DEBUG - Verifying the vn in opserver 2025-08-21 11:23:12,220 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00765803:ctest-vn-22367371 virtual network link through opserver 10.0.0.38 2025-08-21 11:23:12,220 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-21 11:23:12,563 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-21 11:23:12,622 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00765803:ctest-vn-22367371', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00765803:ctest-vn-22367371?flat'} 2025-08-21 11:23:12,622 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00765803:ctest-vn-22367371 is found in opserver 2025-08-21 11:23:12,635 - DEBUG - Do not have enough data to verify VN in agent 2025-08-21 11:23:12,641 - DEBUG - VRF ids for VN ctest-vn-22367371: {} 2025-08-21 11:23:12,641 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-21 11:23:12,648 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a542de93-2e07-4db5-ab77-916ef612d1b2 2025-08-21 11:23:12,661 - DEBUG - Requesting: http://10.0.0.38:8082/project/13b25ca1-3c33-496a-a1a4-d8bd13d3de64 2025-08-21 11:23:12,743 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9c446867-8f34-4f16-9037-ab72ab012ffd 2025-08-21 11:23:12,756 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9c446867-8f34-4f16-9037-ab72ab012ffd 2025-08-21 11:23:12,766 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7db73360-b9d7-4573-9af0-8ed27efafdd7 2025-08-21 11:23:12,774 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7db73360-b9d7-4573-9af0-8ed27efafdd7 2025-08-21 11:23:12,782 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/84507795-6c92-4ba1-8979-d6877e9694c2 2025-08-21 11:23:12,790 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-21 11:23:12,790 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9c446867-8f34-4f16-9037-ab72ab012ffd 2025-08-21 11:23:12,802 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7db73360-b9d7-4573-9af0-8ed27efafdd7 2025-08-21 11:23:12,818 - INFO - Verified VN network id 11 for VN 9c446867-8f34-4f16-9037-ab72ab012ffd 2025-08-21 11:23:12,818 - INFO - Verifications in API Server for VN ctest-vn-19345368 passed 2025-08-21 11:23:12,818 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9c446867-8f34-4f16-9037-ab72ab012ffd 2025-08-21 11:23:12,829 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7db73360-b9d7-4573-9af0-8ed27efafdd7 2025-08-21 11:23:12,837 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7db73360-b9d7-4573-9af0-8ed27efafdd7 2025-08-21 11:23:12,845 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/84507795-6c92-4ba1-8979-d6877e9694c2 2025-08-21 11:23:12,859 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00765803:ctest-vn-19345368', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00765803', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11260239762326572822', 'uuid-lslong': '10391963174164312061'}, 'enable': 'true', 'created': '2025-08-21T11:23:10', 'last-modified': '2025-08-21T11:23:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.559479'} 2025-08-21 11:23:12,868 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-21 11:23:12,868 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19345368 passed 2025-08-21 11:23:12,868 - DEBUG - ====Verifying policy data for ctest-vn-19345368 in API_Server ====== 2025-08-21 11:23:12,868 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-21 11:23:12,875 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a542de93-2e07-4db5-ab77-916ef612d1b2 2025-08-21 11:23:12,889 - DEBUG - Requesting: http://10.0.0.38:8082/project/13b25ca1-3c33-496a-a1a4-d8bd13d3de64 2025-08-21 11:23:12,968 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9c446867-8f34-4f16-9037-ab72ab012ffd 2025-08-21 11:23:12,980 - DEBUG - ==>Verifying data for policy with id: 6de9a27b-b6cd-41a1-b0a3-c9c2dfc367c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-00765803', 'ctest-policy-allow-all-95562499'] 2025-08-21 11:23:12,980 - INFO - VN ctest-vn-19345368 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-21 11:23:12,980 - DEBUG - Verifying the vn in opserver 2025-08-21 11:23:12,980 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00765803:ctest-vn-19345368 virtual network link through opserver 10.0.0.38 2025-08-21 11:23:12,981 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-21 11:23:12,993 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00765803:ctest-vn-19345368', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00765803:ctest-vn-19345368?flat'} 2025-08-21 11:23:12,993 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00765803:ctest-vn-19345368 is found in opserver 2025-08-21 11:23:13,005 - DEBUG - Do not have enough data to verify VN in agent 2025-08-21 11:23:13,010 - DEBUG - VRF ids for VN ctest-vn-19345368: {} 2025-08-21 11:23:13,071 - DEBUG - Services list from nova: [, , ] 2025-08-21 11:23:14,223 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3906-1) 2025-08-21 11:23:15,548 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3906-1) 2025-08-21 11:23:15,548 - INFO - Waiting for VM ctest-TestBasicPolicy-00765803-07436852 to be up.. 2025-08-21 11:23:15,665 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-21 11:23:20,753 - DEBUG - VM is in ACTIVE state now 2025-08-21 11:23:20,753 - INFO - VM name : ctest-TestBasicPolicy-00765803-07436852 2025-08-21 11:23:20,838 - DEBUG - VM ctest-TestBasicPolicy-00765803-07436852 ID is 78c637c6-9dd8-4e8c-a85a-1a3cbcc6e033 2025-08-21 11:23:20,862 - DEBUG - VM ctest-TestBasicPolicy-00765803-07436852 launched on Node cn-jenkins-deploy-platform-ansible-os-3906-1 2025-08-21 11:23:20,952 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/78c637c6-9dd8-4e8c-a85a-1a3cbcc6e033 2025-08-21 11:23:20,967 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9fdee7b1-38c0-4483-ae0e-d27b60868e5f 2025-08-21 11:23:24,247 - 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 1015ms') 2025-08-21 11:23:24,248 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00765803-07436852 failed! 2025-08-21 11:23:24,306 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00765803:ctest-vn-22367371 is 24.249.181.1 and allocation pool is NOT set 2025-08-21 11:23:26,380 - 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=11.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.76 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 = 3.761/7.394/11.027/3.633 ms') 2025-08-21 11:23:26,382 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00765803-07436852 passed 2025-08-21 11:23:26,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:23:26,554 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00765803-07436852, IP 24.249.181.3, Port 22 2025-08-21 11:23:26,732 - DEBUG - VM ctest-TestBasicPolicy-00765803-07436852 is ready for SSH connections 2025-08-21 11:23:26,732 - INFO - Waiting for VM ctest-TestBasicPolicy-00765803-52880464 to be up.. 2025-08-21 11:23:26,822 - DEBUG - VM is in ACTIVE state now 2025-08-21 11:23:26,823 - INFO - VM name : ctest-TestBasicPolicy-00765803-52880464 2025-08-21 11:23:26,924 - DEBUG - VM ctest-TestBasicPolicy-00765803-52880464 ID is 049b83f9-ce08-4f2f-bf38-539fd44a5d69 2025-08-21 11:23:26,924 - DEBUG - VM ctest-TestBasicPolicy-00765803-52880464 launched on Node cn-jenkins-deploy-platform-ansible-os-3906-1 2025-08-21 11:23:27,016 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/049b83f9-ce08-4f2f-bf38-539fd44a5d69 2025-08-21 11:23:27,029 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/92b5e0d5-e4ff-4679-8564-bae7a0ac5d16 2025-08-21 11:23:28,289 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.04 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.037/3.010/4.983/1.973 ms') 2025-08-21 11:23:28,289 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00765803-52880464 passed 2025-08-21 11:23:28,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:23:28,450 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00765803-52880464, IP 133.28.13.131, Port 22 2025-08-21 11:23:28,605 - DEBUG - VM ctest-TestBasicPolicy-00765803-52880464 is ready for SSH connections 2025-08-21 11:23:28,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:23:28,606 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.28.13.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-21 11:23:28,606 - DEBUG - ping -s 56 -c 3 -W 1 133.28.13.131 2025-08-21 11:23:32,688 - DEBUG - PING 133.28.13.131 (133.28.13.131): 56 data bytes 64 bytes from 133.28.13.131: seq=0 ttl=63 time=3.856 ms 64 bytes from 133.28.13.131: seq=1 ttl=63 time=0.984 ms 64 bytes from 133.28.13.131: seq=2 ttl=63 time=1.210 ms --- 133.28.13.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.984/2.016/3.856 ms 2025-08-21 11:23:32,688 - INFO - Ping to IP 133.28.13.131 from VM ctest-TestBasicPolicy-00765803-07436852 passed 2025-08-21 11:23:32,882 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6de9a27b-b6cd-41a1-b0a3-c9c2dfc367c3", "href": "http://10.0.0.38:8082/network-policy/6de9a27b-b6cd-41a1-b0a3-c9c2dfc367c3"}} 2025-08-21 11:23:32,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:23:32,882 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.28.13.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-21 11:23:32,882 - DEBUG - ping -s 56 -c 3 -W 1 133.28.13.131 2025-08-21 11:23:36,113 - DEBUG - PING 133.28.13.131 (133.28.13.131): 56 data bytes --- 133.28.13.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-21 11:23:36,113 - WARNING - Ping to IP 133.28.13.131 from VM ctest-TestBasicPolicy-00765803-07436852 failed 2025-08-21 11:23:36,114 - INFO - Deleting VM ctest-TestBasicPolicy-00765803-52880464 2025-08-21 11:23:36,191 - INFO - Deleting VM ctest-TestBasicPolicy-00765803-07436852 2025-08-21 11:23:36,699 - INFO - Deleted policy ctest-policy-allow-all-95562499 2025-08-21 11:23:36,699 - INFO - Deleting VN ctest-vn-19345368 2025-08-21 11:23:36,741 - DEBUG - VN 9c446867-8f34-4f16-9037-ab72ab012ffd still in use: Unable to complete operation on network 9c446867-8f34-4f16-9037-ab72ab012ffd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-09053ab5-baad-4a64-a7ba-be116168a62b'] 2025-08-21 11:23:36,741 - WARNING - Deleting VN ctest-vn-19345368 failed..Will retry 2025-08-21 11:23:38,857 - DEBUG - Response for deleting network () 2025-08-21 11:23:38,857 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7db73360-b9d7-4573-9af0-8ed27efafdd7 2025-08-21 11:23:38,866 - DEBUG - Response Code: 404 2025-08-21 11:23:38,866 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-21 11:23:38,874 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a542de93-2e07-4db5-ab77-916ef612d1b2 2025-08-21 11:23:38,933 - DEBUG - Requesting: http://10.0.0.38:8082/project/13b25ca1-3c33-496a-a1a4-d8bd13d3de64 2025-08-21 11:23:39,011 - INFO - Validated that VN ctest-vn-19345368 is not found in API Server 2025-08-21 11:23:39,026 - DEBUG - VN ctest-vn-19345368 is not present in Agent 10.0.0.38 2025-08-21 11:23:39,026 - INFO - Validated that VN ctest-vn-19345368 is not in any agent 2025-08-21 11:23:39,045 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19345368 info 2025-08-21 11:23:39,045 - INFO - Deleting VN ctest-vn-22367371 2025-08-21 11:23:39,164 - DEBUG - Response for deleting network () 2025-08-21 11:23:39,165 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1643a7d6-3a59-453c-a77f-5305b168400e 2025-08-21 11:23:39,174 - DEBUG - Response Code: 404 2025-08-21 11:23:39,174 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-21 11:23:39,183 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a542de93-2e07-4db5-ab77-916ef612d1b2 2025-08-21 11:23:39,240 - DEBUG - Requesting: http://10.0.0.38:8082/project/13b25ca1-3c33-496a-a1a4-d8bd13d3de64 2025-08-21 11:23:39,322 - INFO - Validated that VN ctest-vn-22367371 is not found in API Server 2025-08-21 11:23:39,334 - DEBUG - VN ctest-vn-22367371 is not present in Agent 10.0.0.38 2025-08-21 11:23:39,334 - INFO - Validated that VN ctest-vn-22367371 is not in any agent 2025-08-21 11:23:39,352 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22367371 info 2025-08-21 11:23:39,612 - DEBUG - No XMPP flaps were noticed during the test 2025-08-21 11:23:39,612 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-08-21 11:23:39,612 - INFO - -------------------------------------------------------------------------------- 2025-08-21 11:23:40,362 - INFO - Deleted project: ctest-TestBasicPolicy-00765803, ID : 13b25ca1-3c33-496a-a1a4-d8bd13d3de64