2025-05-27 15:22:34,397 - INFO - Domain Default found not creating 2025-05-27 15:22:34,535 - INFO - Project ctest-TestBasicPolicy-88777549 not found, creating it 2025-05-27 15:22:34,999 - INFO - Created Project:ctest-TestBasicPolicy-88777549, ID : f04bdf71-4abe-4865-ac50-1da7599579f2 2025-05-27 15:22:36,526 - INFO - ================================================================================ 2025-05-27 15:22:36,526 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-27 15:22:36,526 - 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-05-27 15:22:36,788 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2025-05-27 15:22:36,788 - INFO - Initial checks done. Running the testcase now 2025-05-27 15:22:36,789 - INFO - 2025-05-27 15:22:37,356 - DEBUG - Response for create_network : {'network': {'id': '50a3bfd8-e942-4863-83d9-01b9491cbb51', 'name': 'ctest-vn-12269314', 'tenant_id': 'f04bdf714abe4865ac501da7599579f2', 'project_id': 'f04bdf714abe4865ac501da7599579f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88777549', 'ctest-vn-12269314'], 'port_security_enabled': True, 'description': ''}} 2025-05-27 15:22:37,569 - DEBUG - Response for create_subnet : {'subnet': {'id': '60cb221b-6baf-4464-83fa-553fa4a0c32b', 'name': '', 'tenant_id': 'f04bdf714abe4865ac501da7599579f2', 'network_id': '50a3bfd8-e942-4863-83d9-01b9491cbb51', 'ip_version': 4, 'cidr': '113.102.252.192/26', 'allocation_pools': [{'start': '113.102.252.194', 'end': '113.102.252.254'}], 'gateway_ip': '113.102.252.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.102.252.194', 'tags': [], 'project_id': 'f04bdf714abe4865ac501da7599579f2'}} 2025-05-27 15:22:37,584 - INFO - Created VN ctest-vn-12269314 2025-05-27 15:22:37,639 - DEBUG - VN ctest-vn-12269314 UUID is 50a3bfd8-e942-4863-83d9-01b9491cbb51 2025-05-27 15:22:37,943 - DEBUG - Response for create_network : {'network': {'id': '992fcb8d-0d7c-44fb-8845-78e83f6c6e65', 'name': 'ctest-vn-62256214', 'tenant_id': 'f04bdf714abe4865ac501da7599579f2', 'project_id': 'f04bdf714abe4865ac501da7599579f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88777549', 'ctest-vn-62256214'], 'port_security_enabled': True, 'description': ''}} 2025-05-27 15:22:38,140 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef444587-bd47-45de-a7da-b92eb4a0c137', 'name': '', 'tenant_id': 'f04bdf714abe4865ac501da7599579f2', 'network_id': '992fcb8d-0d7c-44fb-8845-78e83f6c6e65', 'ip_version': 4, 'cidr': '199.25.61.192/26', 'allocation_pools': [{'start': '199.25.61.194', 'end': '199.25.61.254'}], 'gateway_ip': '199.25.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.25.61.194', 'tags': [], 'project_id': 'f04bdf714abe4865ac501da7599579f2'}} 2025-05-27 15:22:38,159 - INFO - Created VN ctest-vn-62256214 2025-05-27 15:22:38,212 - DEBUG - VN ctest-vn-62256214 UUID is 992fcb8d-0d7c-44fb-8845-78e83f6c6e65 2025-05-27 15:22:38,359 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88777549:ctest-vn-12269314, 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-88777549:ctest-vn-62256214, 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-05-27 15:22:38,641 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '50a3bfd8-e942-4863-83d9-01b9491cbb51', 'name': 'ctest-vn-12269314', 'tenant_id': 'f04bdf714abe4865ac501da7599579f2', 'project_id': 'f04bdf714abe4865ac501da7599579f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['60cb221b-6baf-4464-83fa-553fa4a0c32b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88777549', 'ctest-vn-12269314'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88777549', 'ctest-policy-allow-all-06346267']], 'subnet_ipam': [{'subnet_cidr': '113.102.252.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-27 15:22:38,904 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '992fcb8d-0d7c-44fb-8845-78e83f6c6e65', 'name': 'ctest-vn-62256214', 'tenant_id': 'f04bdf714abe4865ac501da7599579f2', 'project_id': 'f04bdf714abe4865ac501da7599579f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ef444587-bd47-45de-a7da-b92eb4a0c137'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88777549', 'ctest-vn-62256214'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88777549', 'ctest-policy-allow-all-06346267']], 'subnet_ipam': [{'subnet_cidr': '199.25.61.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-27 15:22:39,056 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-27 15:22:39,392 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-27 15:22:39,416 - DEBUG - Requesting: http://10.0.0.27:8082/domain/874a0299-f823-415f-9e6a-e2be69e54d9e 2025-05-27 15:22:39,426 - DEBUG - Requesting: http://10.0.0.27:8082/project/f04bdf71-4abe-4865-ac50-1da7599579f2 2025-05-27 15:22:39,493 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/50a3bfd8-e942-4863-83d9-01b9491cbb51 2025-05-27 15:22:39,502 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/50a3bfd8-e942-4863-83d9-01b9491cbb51 2025-05-27 15:22:39,509 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/57fa69d5-21d7-4536-b8c0-bee61a19f9dd 2025-05-27 15:22:39,515 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/57fa69d5-21d7-4536-b8c0-bee61a19f9dd 2025-05-27 15:22:39,520 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/83f0247e-9861-43f1-9cbf-e65879cac139 2025-05-27 15:22:39,524 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-27 15:22:39,524 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/50a3bfd8-e942-4863-83d9-01b9491cbb51 2025-05-27 15:22:39,532 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/57fa69d5-21d7-4536-b8c0-bee61a19f9dd 2025-05-27 15:22:39,543 - INFO - Verified VN network id 7 for VN 50a3bfd8-e942-4863-83d9-01b9491cbb51 2025-05-27 15:22:39,543 - INFO - Verifications in API Server for VN ctest-vn-12269314 passed 2025-05-27 15:22:39,543 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/50a3bfd8-e942-4863-83d9-01b9491cbb51 2025-05-27 15:22:39,550 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/57fa69d5-21d7-4536-b8c0-bee61a19f9dd 2025-05-27 15:22:39,555 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/57fa69d5-21d7-4536-b8c0-bee61a19f9dd 2025-05-27 15:22:39,561 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/83f0247e-9861-43f1-9cbf-e65879cac139 2025-05-27 15:22:39,571 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88777549:ctest-vn-12269314', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88777549', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5810698882585348195', 'uuid-lslong': '9500626784221969233'}, 'enable': 'true', 'created': '2025-05-27T15:22:37', 'last-modified': '2025-05-27T15:22:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944895'} 2025-05-27 15:22:39,576 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-27 15:22:39,577 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12269314 passed 2025-05-27 15:22:39,577 - DEBUG - ====Verifying policy data for ctest-vn-12269314 in API_Server ====== 2025-05-27 15:22:39,577 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-27 15:22:39,581 - DEBUG - Requesting: http://10.0.0.27:8082/domain/874a0299-f823-415f-9e6a-e2be69e54d9e 2025-05-27 15:22:39,590 - DEBUG - Requesting: http://10.0.0.27:8082/project/f04bdf71-4abe-4865-ac50-1da7599579f2 2025-05-27 15:22:39,660 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/50a3bfd8-e942-4863-83d9-01b9491cbb51 2025-05-27 15:22:39,668 - DEBUG - ==>Verifying data for policy with id: 63efc84d-f497-48ab-a50d-9d77956a4c22, fqn: ['default-domain', 'ctest-TestBasicPolicy-88777549', 'ctest-policy-allow-all-06346267'] 2025-05-27 15:22:39,668 - INFO - VN ctest-vn-12269314 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-27 15:22:39,668 - DEBUG - Verifying the vn in opserver 2025-05-27 15:22:39,668 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88777549:ctest-vn-12269314 virtual network link through opserver 10.0.0.27 2025-05-27 15:22:39,668 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-05-27 15:22:39,997 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-05-27 15:22:43,045 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88777549:ctest-vn-12269314 virtual network link through opserver 10.0.0.27 2025-05-27 15:22:43,045 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-05-27 15:22:43,055 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88777549:ctest-vn-12269314', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88777549:ctest-vn-12269314?flat'} 2025-05-27 15:22:43,055 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88777549:ctest-vn-12269314 is found in opserver 2025-05-27 15:22:43,065 - DEBUG - Do not have enough data to verify VN in agent 2025-05-27 15:22:43,069 - DEBUG - VRF ids for VN ctest-vn-12269314: {} 2025-05-27 15:22:43,069 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-27 15:22:43,074 - DEBUG - Requesting: http://10.0.0.27:8082/domain/874a0299-f823-415f-9e6a-e2be69e54d9e 2025-05-27 15:22:43,083 - DEBUG - Requesting: http://10.0.0.27:8082/project/f04bdf71-4abe-4865-ac50-1da7599579f2 2025-05-27 15:22:43,154 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/992fcb8d-0d7c-44fb-8845-78e83f6c6e65 2025-05-27 15:22:43,163 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/992fcb8d-0d7c-44fb-8845-78e83f6c6e65 2025-05-27 15:22:43,173 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/945d1a2f-0ee8-4af4-9c09-da689d74befa 2025-05-27 15:22:43,181 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/945d1a2f-0ee8-4af4-9c09-da689d74befa 2025-05-27 15:22:43,186 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/79a845c1-6c07-4cea-aab5-3adff6d95896 2025-05-27 15:22:43,192 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-27 15:22:43,192 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/992fcb8d-0d7c-44fb-8845-78e83f6c6e65 2025-05-27 15:22:43,200 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/945d1a2f-0ee8-4af4-9c09-da689d74befa 2025-05-27 15:22:43,214 - INFO - Verified VN network id 8 for VN 992fcb8d-0d7c-44fb-8845-78e83f6c6e65 2025-05-27 15:22:43,214 - INFO - Verifications in API Server for VN ctest-vn-62256214 passed 2025-05-27 15:22:43,214 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/992fcb8d-0d7c-44fb-8845-78e83f6c6e65 2025-05-27 15:22:43,222 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/945d1a2f-0ee8-4af4-9c09-da689d74befa 2025-05-27 15:22:43,227 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/945d1a2f-0ee8-4af4-9c09-da689d74befa 2025-05-27 15:22:43,285 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/79a845c1-6c07-4cea-aab5-3adff6d95896 2025-05-27 15:22:43,296 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88777549:ctest-vn-62256214', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88777549', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11038265018385450235', 'uuid-lslong': '9819387501443051109'}, 'enable': 'true', 'created': '2025-05-27T15:22:37', 'last-modified': '2025-05-27T15:22:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.458454'} 2025-05-27 15:22:43,301 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-27 15:22:43,301 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62256214 passed 2025-05-27 15:22:43,301 - DEBUG - ====Verifying policy data for ctest-vn-62256214 in API_Server ====== 2025-05-27 15:22:43,301 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-27 15:22:43,305 - DEBUG - Requesting: http://10.0.0.27:8082/domain/874a0299-f823-415f-9e6a-e2be69e54d9e 2025-05-27 15:22:43,314 - DEBUG - Requesting: http://10.0.0.27:8082/project/f04bdf71-4abe-4865-ac50-1da7599579f2 2025-05-27 15:22:43,386 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/992fcb8d-0d7c-44fb-8845-78e83f6c6e65 2025-05-27 15:22:43,393 - DEBUG - ==>Verifying data for policy with id: 63efc84d-f497-48ab-a50d-9d77956a4c22, fqn: ['default-domain', 'ctest-TestBasicPolicy-88777549', 'ctest-policy-allow-all-06346267'] 2025-05-27 15:22:43,393 - INFO - VN ctest-vn-62256214 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-27 15:22:43,394 - DEBUG - Verifying the vn in opserver 2025-05-27 15:22:43,394 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88777549:ctest-vn-62256214 virtual network link through opserver 10.0.0.27 2025-05-27 15:22:43,394 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-05-27 15:22:43,402 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88777549:ctest-vn-62256214', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88777549:ctest-vn-62256214?flat'} 2025-05-27 15:22:43,402 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88777549:ctest-vn-62256214 is found in opserver 2025-05-27 15:22:43,410 - DEBUG - Do not have enough data to verify VN in agent 2025-05-27 15:22:43,414 - DEBUG - VRF ids for VN ctest-vn-62256214: {} 2025-05-27 15:22:43,462 - DEBUG - Services list from nova: [, , ] 2025-05-27 15:22:44,491 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3347-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3347-1) 2025-05-27 15:22:45,755 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3347-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3347-1) 2025-05-27 15:22:45,755 - INFO - Waiting for VM ctest-TestBasicPolicy-88777549-20988331 to be up.. 2025-05-27 15:22:45,829 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-27 15:22:50,916 - DEBUG - VM is in ACTIVE state now 2025-05-27 15:22:50,916 - INFO - VM name : ctest-TestBasicPolicy-88777549-20988331 2025-05-27 15:22:51,003 - DEBUG - VM ctest-TestBasicPolicy-88777549-20988331 ID is 6779c36a-f5c2-4571-adcb-c3f7596d2ee6 2025-05-27 15:22:51,022 - DEBUG - VM ctest-TestBasicPolicy-88777549-20988331 launched on Node cn-jenkins-deploy-platform-ansible-os-3347-1. 2025-05-27 15:22:51,103 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6779c36a-f5c2-4571-adcb-c3f7596d2ee6 2025-05-27 15:22:51,110 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5c35b24d-399d-442f-a952-b4ee4e0d954f 2025-05-27 15:22:54,380 - 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 1031ms') 2025-05-27 15:22:54,381 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88777549-20988331 failed! 2025-05-27 15:22:54,436 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88777549:ctest-vn-12269314 is 113.102.252.193 and allocation pool is NOT set 2025-05-27 15:22:56,503 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.828 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.828/5.261/9.695/4.433 ms') 2025-05-27 15:22:56,503 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88777549-20988331 passed 2025-05-27 15:22:56,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 15:22:56,656 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88777549-20988331, IP 113.102.252.195, Port 22 2025-05-27 15:22:56,811 - DEBUG - VM ctest-TestBasicPolicy-88777549-20988331 is ready for SSH connections 2025-05-27 15:22:56,811 - INFO - Waiting for VM ctest-TestBasicPolicy-88777549-18267327 to be up.. 2025-05-27 15:22:56,893 - DEBUG - VM is in ACTIVE state now 2025-05-27 15:22:56,894 - INFO - VM name : ctest-TestBasicPolicy-88777549-18267327 2025-05-27 15:22:56,962 - DEBUG - VM ctest-TestBasicPolicy-88777549-18267327 ID is 0de2789c-b6f8-4d67-9a63-9c1bbfeb3b14 2025-05-27 15:22:56,962 - DEBUG - VM ctest-TestBasicPolicy-88777549-18267327 launched on Node cn-jenkins-deploy-platform-ansible-os-3347-1. 2025-05-27 15:22:57,033 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0de2789c-b6f8-4d67-9a63-9c1bbfeb3b14 2025-05-27 15:22:57,040 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/77abb781-1de8-45e0-bc55-faca984c64d6 2025-05-27 15:22:58,271 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.980 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 = 0.980/3.102/5.225/2.122 ms') 2025-05-27 15:22:58,271 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88777549-18267327 passed 2025-05-27 15:22:58,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 15:22:58,416 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88777549-18267327, IP 199.25.61.195, Port 22 2025-05-27 15:22:58,575 - DEBUG - VM ctest-TestBasicPolicy-88777549-18267327 is ready for SSH connections 2025-05-27 15:22:58,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 15:22:58,575 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.25.61.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-05-27 15:22:58,576 - DEBUG - ping -s 56 -c 3 -W 1 199.25.61.195 2025-05-27 15:23:02,597 - DEBUG - PING 199.25.61.195 (199.25.61.195): 56 data bytes 64 bytes from 199.25.61.195: seq=0 ttl=63 time=3.718 ms 64 bytes from 199.25.61.195: seq=1 ttl=63 time=0.775 ms 64 bytes from 199.25.61.195: seq=2 ttl=63 time=0.823 ms --- 199.25.61.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.775/1.772/3.718 ms 2025-05-27 15:23:02,597 - INFO - Ping to IP 199.25.61.195 from VM ctest-TestBasicPolicy-88777549-20988331 passed 2025-05-27 15:23:02,783 - DEBUG - Policy Update Response {"network-policy": {"uuid": "63efc84d-f497-48ab-a50d-9d77956a4c22", "href": "http://10.0.0.27:8082/network-policy/63efc84d-f497-48ab-a50d-9d77956a4c22"}} 2025-05-27 15:23:02,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 15:23:02,784 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.25.61.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-05-27 15:23:02,784 - DEBUG - ping -s 56 -c 3 -W 1 199.25.61.195 2025-05-27 15:23:06,002 - DEBUG - PING 199.25.61.195 (199.25.61.195): 56 data bytes --- 199.25.61.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-27 15:23:06,002 - WARNING - Ping to IP 199.25.61.195 from VM ctest-TestBasicPolicy-88777549-20988331 failed 2025-05-27 15:23:06,002 - INFO - Deleting VM ctest-TestBasicPolicy-88777549-18267327 2025-05-27 15:23:06,070 - INFO - Deleting VM ctest-TestBasicPolicy-88777549-20988331 2025-05-27 15:23:06,486 - INFO - Deleted policy ctest-policy-allow-all-06346267 2025-05-27 15:23:06,486 - INFO - Deleting VN ctest-vn-62256214 2025-05-27 15:23:06,522 - DEBUG - VN 992fcb8d-0d7c-44fb-8845-78e83f6c6e65 still in use: Unable to complete operation on network 992fcb8d-0d7c-44fb-8845-78e83f6c6e65. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e0d0a38-f483-4554-b13d-81b9792795fc'] 2025-05-27 15:23:06,522 - WARNING - Deleting VN ctest-vn-62256214 failed..Will retry 2025-05-27 15:23:08,613 - DEBUG - Response for deleting network () 2025-05-27 15:23:08,613 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/945d1a2f-0ee8-4af4-9c09-da689d74befa 2025-05-27 15:23:08,622 - DEBUG - Response Code: 404 2025-05-27 15:23:08,623 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-27 15:23:08,627 - DEBUG - Requesting: http://10.0.0.27:8082/domain/874a0299-f823-415f-9e6a-e2be69e54d9e 2025-05-27 15:23:08,681 - DEBUG - Requesting: http://10.0.0.27:8082/project/f04bdf71-4abe-4865-ac50-1da7599579f2 2025-05-27 15:23:08,755 - INFO - Validated that VN ctest-vn-62256214 is not found in API Server 2025-05-27 15:23:08,764 - DEBUG - VN ctest-vn-62256214 is not present in Agent 10.0.0.27 2025-05-27 15:23:08,764 - INFO - Validated that VN ctest-vn-62256214 is not in any agent 2025-05-27 15:23:08,777 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62256214 info 2025-05-27 15:23:08,777 - INFO - Deleting VN ctest-vn-12269314 2025-05-27 15:23:08,867 - DEBUG - Response for deleting network () 2025-05-27 15:23:08,867 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/57fa69d5-21d7-4536-b8c0-bee61a19f9dd 2025-05-27 15:23:08,871 - DEBUG - Response Code: 404 2025-05-27 15:23:08,871 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-27 15:23:08,879 - DEBUG - Requesting: http://10.0.0.27:8082/domain/874a0299-f823-415f-9e6a-e2be69e54d9e 2025-05-27 15:23:08,932 - DEBUG - Requesting: http://10.0.0.27:8082/project/f04bdf71-4abe-4865-ac50-1da7599579f2 2025-05-27 15:23:09,002 - INFO - Validated that VN ctest-vn-12269314 is not found in API Server 2025-05-27 15:23:09,011 - DEBUG - VN ctest-vn-12269314 is not present in Agent 10.0.0.27 2025-05-27 15:23:09,011 - INFO - Validated that VN ctest-vn-12269314 is not in any agent 2025-05-27 15:23:09,023 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12269314 info 2025-05-27 15:23:09,280 - DEBUG - No XMPP flaps were noticed during the test 2025-05-27 15:23:09,280 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2025-05-27 15:23:09,280 - INFO - -------------------------------------------------------------------------------- 2025-05-27 15:23:10,003 - INFO - Deleted project: ctest-TestBasicPolicy-88777549, ID : f04bdf71-4abe-4865-ac50-1da7599579f2