2025-09-22 07:47:43,997 - INFO - Domain Default found not creating 2025-09-22 07:47:44,190 - INFO - Project ctest-TestBasicPolicy-56317794 not found, creating it 2025-09-22 07:47:44,671 - INFO - Created Project:ctest-TestBasicPolicy-56317794, ID : 5185d536-b98b-4996-b432-70d4bdf9bc96 2025-09-22 07:47:46,270 - INFO - ================================================================================ 2025-09-22 07:47:46,270 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-22 07:47:46,270 - 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-09-22 07:47:46,528 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-22 07:47:46,528 - INFO - Initial checks done. Running the testcase now 2025-09-22 07:47:46,528 - INFO - 2025-09-22 07:47:47,111 - DEBUG - Response for create_network : {'network': {'id': 'ee7ce357-c0cb-42e8-bb59-cb8fcb448e1b', 'name': 'ctest-vn-72478091', 'tenant_id': '5185d536b98b4996b43270d4bdf9bc96', 'project_id': '5185d536b98b4996b43270d4bdf9bc96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56317794', 'ctest-vn-72478091'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 07:47:47,288 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bcf72fc-90cc-4fdc-a806-f85ce9b6c236', 'name': '', 'tenant_id': '5185d536b98b4996b43270d4bdf9bc96', 'network_id': 'ee7ce357-c0cb-42e8-bb59-cb8fcb448e1b', 'ip_version': 4, 'cidr': '136.155.150.128/26', 'allocation_pools': [{'start': '136.155.150.130', 'end': '136.155.150.190'}], 'gateway_ip': '136.155.150.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.155.150.130', 'tags': [], 'project_id': '5185d536b98b4996b43270d4bdf9bc96'}} 2025-09-22 07:47:47,306 - INFO - Created VN ctest-vn-72478091 2025-09-22 07:47:47,359 - DEBUG - VN ctest-vn-72478091 UUID is ee7ce357-c0cb-42e8-bb59-cb8fcb448e1b 2025-09-22 07:47:47,652 - DEBUG - Response for create_network : {'network': {'id': '33eca758-c559-4e72-b13a-5158b31bd619', 'name': 'ctest-vn-65590229', 'tenant_id': '5185d536b98b4996b43270d4bdf9bc96', 'project_id': '5185d536b98b4996b43270d4bdf9bc96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56317794', 'ctest-vn-65590229'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 07:47:47,834 - DEBUG - Response for create_subnet : {'subnet': {'id': '61e10a1a-8ecc-4681-827b-692b1682b470', 'name': '', 'tenant_id': '5185d536b98b4996b43270d4bdf9bc96', 'network_id': '33eca758-c559-4e72-b13a-5158b31bd619', 'ip_version': 4, 'cidr': '155.35.83.192/26', 'allocation_pools': [{'start': '155.35.83.194', 'end': '155.35.83.254'}], 'gateway_ip': '155.35.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.35.83.194', 'tags': [], 'project_id': '5185d536b98b4996b43270d4bdf9bc96'}} 2025-09-22 07:47:47,853 - INFO - Created VN ctest-vn-65590229 2025-09-22 07:47:47,907 - DEBUG - VN ctest-vn-65590229 UUID is 33eca758-c559-4e72-b13a-5158b31bd619 2025-09-22 07:47:48,029 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56317794:ctest-vn-72478091, 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-56317794:ctest-vn-65590229, 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-09-22 07:47:48,316 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee7ce357-c0cb-42e8-bb59-cb8fcb448e1b', 'name': 'ctest-vn-72478091', 'tenant_id': '5185d536b98b4996b43270d4bdf9bc96', 'project_id': '5185d536b98b4996b43270d4bdf9bc96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8bcf72fc-90cc-4fdc-a806-f85ce9b6c236'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56317794', 'ctest-vn-72478091'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56317794', 'ctest-policy-allow-all-44749908']], 'subnet_ipam': [{'subnet_cidr': '136.155.150.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-22 07:47:48,550 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '33eca758-c559-4e72-b13a-5158b31bd619', 'name': 'ctest-vn-65590229', 'tenant_id': '5185d536b98b4996b43270d4bdf9bc96', 'project_id': '5185d536b98b4996b43270d4bdf9bc96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['61e10a1a-8ecc-4681-827b-692b1682b470'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56317794', 'ctest-vn-65590229'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56317794', 'ctest-policy-allow-all-44749908']], 'subnet_ipam': [{'subnet_cidr': '155.35.83.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-22 07:47:48,716 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-22 07:47:49,053 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-22 07:47:49,086 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9bcf03ed-319e-4000-87f1-0170b3fc8244 2025-09-22 07:47:49,099 - DEBUG - Requesting: http://10.0.0.48:8082/project/5185d536-b98b-4996-b432-70d4bdf9bc96 2025-09-22 07:47:49,171 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/ee7ce357-c0cb-42e8-bb59-cb8fcb448e1b 2025-09-22 07:47:49,182 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/ee7ce357-c0cb-42e8-bb59-cb8fcb448e1b 2025-09-22 07:47:49,191 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5e419bd6-467c-4df4-b592-1bbde958c0fb 2025-09-22 07:47:49,198 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5e419bd6-467c-4df4-b592-1bbde958c0fb 2025-09-22 07:47:49,204 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/20dabe40-a33d-4a3b-8e28-b69d35ec5ac9 2025-09-22 07:47:49,209 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 07:47:49,209 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/ee7ce357-c0cb-42e8-bb59-cb8fcb448e1b 2025-09-22 07:47:49,217 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5e419bd6-467c-4df4-b592-1bbde958c0fb 2025-09-22 07:47:49,230 - INFO - Verified VN network id 12 for VN ee7ce357-c0cb-42e8-bb59-cb8fcb448e1b 2025-09-22 07:47:49,230 - INFO - Verifications in API Server for VN ctest-vn-72478091 passed 2025-09-22 07:47:49,230 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/ee7ce357-c0cb-42e8-bb59-cb8fcb448e1b 2025-09-22 07:47:49,239 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5e419bd6-467c-4df4-b592-1bbde958c0fb 2025-09-22 07:47:49,245 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5e419bd6-467c-4df4-b592-1bbde958c0fb 2025-09-22 07:47:49,251 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/20dabe40-a33d-4a3b-8e28-b69d35ec5ac9 2025-09-22 07:47:49,262 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56317794:ctest-vn-72478091', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56317794', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17184860244175176424', 'uuid-lslong': '13500045176470801947'}, 'enable': 'true', 'created': '2025-09-22T07:47:47', 'last-modified': '2025-09-22T07:47:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.965698'} 2025-09-22 07:47:49,268 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 07:47:49,268 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72478091 passed 2025-09-22 07:47:49,268 - DEBUG - ====Verifying policy data for ctest-vn-72478091 in API_Server ====== 2025-09-22 07:47:49,268 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-22 07:47:49,273 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9bcf03ed-319e-4000-87f1-0170b3fc8244 2025-09-22 07:47:49,283 - DEBUG - Requesting: http://10.0.0.48:8082/project/5185d536-b98b-4996-b432-70d4bdf9bc96 2025-09-22 07:47:49,354 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/ee7ce357-c0cb-42e8-bb59-cb8fcb448e1b 2025-09-22 07:47:49,363 - DEBUG - ==>Verifying data for policy with id: eb9d691b-98a0-4fdc-b6d8-32c3fb413890, fqn: ['default-domain', 'ctest-TestBasicPolicy-56317794', 'ctest-policy-allow-all-44749908'] 2025-09-22 07:47:49,363 - INFO - VN ctest-vn-72478091 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-22 07:47:49,363 - DEBUG - Verifying the vn in opserver 2025-09-22 07:47:49,363 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56317794:ctest-vn-72478091 virtual network link through opserver 10.0.0.48 2025-09-22 07:47:49,363 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-22 07:47:49,694 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-22 07:47:49,751 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56317794:ctest-vn-72478091', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56317794:ctest-vn-72478091?flat'} 2025-09-22 07:47:49,751 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56317794:ctest-vn-72478091 is found in opserver 2025-09-22 07:47:49,760 - DEBUG - Do not have enough data to verify VN in agent 2025-09-22 07:47:49,764 - DEBUG - VRF ids for VN ctest-vn-72478091: {} 2025-09-22 07:47:49,765 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-22 07:47:49,770 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9bcf03ed-319e-4000-87f1-0170b3fc8244 2025-09-22 07:47:49,780 - DEBUG - Requesting: http://10.0.0.48:8082/project/5185d536-b98b-4996-b432-70d4bdf9bc96 2025-09-22 07:47:49,846 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/33eca758-c559-4e72-b13a-5158b31bd619 2025-09-22 07:47:49,862 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/33eca758-c559-4e72-b13a-5158b31bd619 2025-09-22 07:47:49,871 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c334c8fb-8b4c-4ec7-83d8-334c866615b9 2025-09-22 07:47:49,878 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c334c8fb-8b4c-4ec7-83d8-334c866615b9 2025-09-22 07:47:49,884 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/2323fdef-af70-4192-a064-5c6569fbdf94 2025-09-22 07:47:49,890 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-22 07:47:49,890 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/33eca758-c559-4e72-b13a-5158b31bd619 2025-09-22 07:47:49,898 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c334c8fb-8b4c-4ec7-83d8-334c866615b9 2025-09-22 07:47:49,912 - INFO - Verified VN network id 13 for VN 33eca758-c559-4e72-b13a-5158b31bd619 2025-09-22 07:47:49,912 - INFO - Verifications in API Server for VN ctest-vn-65590229 passed 2025-09-22 07:47:49,912 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/33eca758-c559-4e72-b13a-5158b31bd619 2025-09-22 07:47:49,923 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c334c8fb-8b4c-4ec7-83d8-334c866615b9 2025-09-22 07:47:49,932 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c334c8fb-8b4c-4ec7-83d8-334c866615b9 2025-09-22 07:47:49,938 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/2323fdef-af70-4192-a064-5c6569fbdf94 2025-09-22 07:47:49,951 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56317794:ctest-vn-65590229', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56317794', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3741549390147964530', 'uuid-lslong': '12770609134766380569'}, 'enable': 'true', 'created': '2025-09-22T07:47:47', 'last-modified': '2025-09-22T07:47:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.420841'} 2025-09-22 07:47:49,957 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-22 07:47:49,957 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65590229 passed 2025-09-22 07:47:49,957 - DEBUG - ====Verifying policy data for ctest-vn-65590229 in API_Server ====== 2025-09-22 07:47:49,957 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-22 07:47:49,963 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9bcf03ed-319e-4000-87f1-0170b3fc8244 2025-09-22 07:47:49,974 - DEBUG - Requesting: http://10.0.0.48:8082/project/5185d536-b98b-4996-b432-70d4bdf9bc96 2025-09-22 07:47:50,042 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/33eca758-c559-4e72-b13a-5158b31bd619 2025-09-22 07:47:50,056 - DEBUG - ==>Verifying data for policy with id: eb9d691b-98a0-4fdc-b6d8-32c3fb413890, fqn: ['default-domain', 'ctest-TestBasicPolicy-56317794', 'ctest-policy-allow-all-44749908'] 2025-09-22 07:47:50,056 - INFO - VN ctest-vn-65590229 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-22 07:47:50,056 - DEBUG - Verifying the vn in opserver 2025-09-22 07:47:50,056 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56317794:ctest-vn-65590229 virtual network link through opserver 10.0.0.48 2025-09-22 07:47:50,056 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-22 07:47:50,066 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56317794:ctest-vn-65590229', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56317794:ctest-vn-65590229?flat'} 2025-09-22 07:47:50,066 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56317794:ctest-vn-65590229 is found in opserver 2025-09-22 07:47:50,076 - DEBUG - Do not have enough data to verify VN in agent 2025-09-22 07:47:50,080 - DEBUG - VRF ids for VN ctest-vn-65590229: {} 2025-09-22 07:47:50,144 - DEBUG - Services list from nova: [, , ] 2025-09-22 07:47:51,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4165-1) 2025-09-22 07:47:52,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4165-1) 2025-09-22 07:47:52,495 - INFO - Waiting for VM ctest-TestBasicPolicy-56317794-45646730 to be up.. 2025-09-22 07:47:52,585 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 07:47:57,664 - DEBUG - VM is in ACTIVE state now 2025-09-22 07:47:57,665 - INFO - VM name : ctest-TestBasicPolicy-56317794-45646730 2025-09-22 07:47:57,739 - DEBUG - VM ctest-TestBasicPolicy-56317794-45646730 ID is 115ee616-4bf3-41b1-b2ba-1a62eaac9b01 2025-09-22 07:47:57,758 - DEBUG - VM ctest-TestBasicPolicy-56317794-45646730 launched on Node cn-jenkins-deploy-platform-ansible-os-4165-1 2025-09-22 07:47:57,851 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/115ee616-4bf3-41b1-b2ba-1a62eaac9b01 2025-09-22 07:47:57,861 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/e9737af5-cdd2-4322-9b77-9963460f3779 2025-09-22 07:48:01,100 - 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 1002ms') 2025-09-22 07:48:01,100 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56317794-45646730 failed! 2025-09-22 07:48:01,155 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56317794:ctest-vn-72478091 is 136.155.150.129 and allocation pool is NOT set 2025-09-22 07:48:03,216 - 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=9.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.330 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.330/5.045/9.760/4.715 ms') 2025-09-22 07:48:03,216 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56317794-45646730 passed 2025-09-22 07:48:03,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 07:48:03,371 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56317794-45646730, IP 136.155.150.131, Port 22 2025-09-22 07:48:03,526 - DEBUG - VM ctest-TestBasicPolicy-56317794-45646730 is ready for SSH connections 2025-09-22 07:48:03,526 - INFO - Waiting for VM ctest-TestBasicPolicy-56317794-50137086 to be up.. 2025-09-22 07:48:03,604 - DEBUG - VM is in ACTIVE state now 2025-09-22 07:48:03,604 - INFO - VM name : ctest-TestBasicPolicy-56317794-50137086 2025-09-22 07:48:03,683 - DEBUG - VM ctest-TestBasicPolicy-56317794-50137086 ID is 1164d4b6-7870-473c-a317-1c8d6ffce51f 2025-09-22 07:48:03,683 - DEBUG - VM ctest-TestBasicPolicy-56317794-50137086 launched on Node cn-jenkins-deploy-platform-ansible-os-4165-1 2025-09-22 07:48:03,757 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/1164d4b6-7870-473c-a317-1c8d6ffce51f 2025-09-22 07:48:03,765 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/54c7d139-2c20-4c07-ad34-40e2c76e6024 2025-09-22 07:48:04,998 - 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=5.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.50 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 = 2.499/3.836/5.173/1.337 ms') 2025-09-22 07:48:04,998 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56317794-50137086 passed 2025-09-22 07:48:05,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 07:48:05,155 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56317794-50137086, IP 155.35.83.195, Port 22 2025-09-22 07:48:05,321 - DEBUG - VM ctest-TestBasicPolicy-56317794-50137086 is ready for SSH connections 2025-09-22 07:48:05,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 07:48:05,321 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.35.83.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-22 07:48:05,322 - DEBUG - ping -s 56 -c 3 -W 1 155.35.83.195 2025-09-22 07:48:09,438 - DEBUG - PING 155.35.83.195 (155.35.83.195): 56 data bytes 64 bytes from 155.35.83.195: seq=0 ttl=63 time=4.490 ms 64 bytes from 155.35.83.195: seq=1 ttl=63 time=1.219 ms 64 bytes from 155.35.83.195: seq=2 ttl=63 time=0.942 ms --- 155.35.83.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.942/2.217/4.490 ms 2025-09-22 07:48:09,438 - INFO - Ping to IP 155.35.83.195 from VM ctest-TestBasicPolicy-56317794-45646730 passed 2025-09-22 07:48:09,622 - DEBUG - Policy Update Response {"network-policy": {"uuid": "eb9d691b-98a0-4fdc-b6d8-32c3fb413890", "href": "http://10.0.0.48:8082/network-policy/eb9d691b-98a0-4fdc-b6d8-32c3fb413890"}} 2025-09-22 07:48:09,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 07:48:09,623 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.35.83.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-22 07:48:09,623 - DEBUG - ping -s 56 -c 3 -W 1 155.35.83.195 2025-09-22 07:48:12,856 - DEBUG - PING 155.35.83.195 (155.35.83.195): 56 data bytes --- 155.35.83.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 07:48:12,857 - WARNING - Ping to IP 155.35.83.195 from VM ctest-TestBasicPolicy-56317794-45646730 failed 2025-09-22 07:48:12,857 - INFO - Deleting VM ctest-TestBasicPolicy-56317794-50137086 2025-09-22 07:48:12,924 - INFO - Deleting VM ctest-TestBasicPolicy-56317794-45646730 2025-09-22 07:48:13,324 - INFO - Deleted policy ctest-policy-allow-all-44749908 2025-09-22 07:48:13,324 - INFO - Deleting VN ctest-vn-65590229 2025-09-22 07:48:13,368 - DEBUG - VN 33eca758-c559-4e72-b13a-5158b31bd619 still in use: Unable to complete operation on network 33eca758-c559-4e72-b13a-5158b31bd619. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8d471ad2-e713-4a33-890d-6695cf00fc17'] 2025-09-22 07:48:13,368 - WARNING - Deleting VN ctest-vn-65590229 failed..Will retry 2025-09-22 07:48:15,473 - DEBUG - Response for deleting network () 2025-09-22 07:48:15,473 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c334c8fb-8b4c-4ec7-83d8-334c866615b9 2025-09-22 07:48:15,479 - DEBUG - Response Code: 404 2025-09-22 07:48:15,480 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-22 07:48:15,484 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9bcf03ed-319e-4000-87f1-0170b3fc8244 2025-09-22 07:48:15,536 - DEBUG - Requesting: http://10.0.0.48:8082/project/5185d536-b98b-4996-b432-70d4bdf9bc96 2025-09-22 07:48:15,606 - INFO - Validated that VN ctest-vn-65590229 is not found in API Server 2025-09-22 07:48:15,615 - DEBUG - VN ctest-vn-65590229 is not present in Agent 10.0.0.48 2025-09-22 07:48:15,615 - INFO - Validated that VN ctest-vn-65590229 is not in any agent 2025-09-22 07:48:15,627 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65590229 info 2025-09-22 07:48:15,628 - INFO - Deleting VN ctest-vn-72478091 2025-09-22 07:48:15,730 - DEBUG - Response for deleting network () 2025-09-22 07:48:15,730 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5e419bd6-467c-4df4-b592-1bbde958c0fb 2025-09-22 07:48:15,738 - DEBUG - Response Code: 404 2025-09-22 07:48:15,738 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-22 07:48:15,743 - DEBUG - Requesting: http://10.0.0.48:8082/domain/9bcf03ed-319e-4000-87f1-0170b3fc8244 2025-09-22 07:48:15,797 - DEBUG - Requesting: http://10.0.0.48:8082/project/5185d536-b98b-4996-b432-70d4bdf9bc96 2025-09-22 07:48:15,870 - INFO - Validated that VN ctest-vn-72478091 is not found in API Server 2025-09-22 07:48:15,880 - DEBUG - VN ctest-vn-72478091 is not present in Agent 10.0.0.48 2025-09-22 07:48:15,880 - INFO - Validated that VN ctest-vn-72478091 is not in any agent 2025-09-22 07:48:15,893 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72478091 info 2025-09-22 07:48:16,152 - DEBUG - No XMPP flaps were noticed during the test 2025-09-22 07:48:16,152 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-22 07:48:16,152 - INFO - -------------------------------------------------------------------------------- 2025-09-22 07:48:16,909 - INFO - Deleted project: ctest-TestBasicPolicy-56317794, ID : 5185d536-b98b-4996-b432-70d4bdf9bc96