2025-09-13 06:10:05,377 - INFO - Domain Default found not creating 2025-09-13 06:10:05,542 - INFO - Project ctest-TestBasicPolicy-74109197 not found, creating it 2025-09-13 06:10:06,002 - INFO - Created Project:ctest-TestBasicPolicy-74109197, ID : f08644a5-65d1-49dd-b58d-6f17a790fcfa 2025-09-13 06:10:07,515 - INFO - ================================================================================ 2025-09-13 06:10:07,515 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-13 06:10:07,516 - 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-13 06:10:07,773 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-13 06:10:07,773 - INFO - Initial checks done. Running the testcase now 2025-09-13 06:10:07,773 - INFO - 2025-09-13 06:10:08,384 - DEBUG - Response for create_network : {'network': {'id': '98336c90-3094-4ee5-92ee-6f388c2fb93f', 'name': 'ctest-vn-26420585', 'tenant_id': 'f08644a565d149ddb58d6f17a790fcfa', 'project_id': 'f08644a565d149ddb58d6f17a790fcfa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-vn-26420585'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 06:10:08,610 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2824de3-d23e-4ee0-8095-1f1b7907c68d', 'name': '', 'tenant_id': 'f08644a565d149ddb58d6f17a790fcfa', 'network_id': '98336c90-3094-4ee5-92ee-6f388c2fb93f', 'ip_version': 4, 'cidr': '69.82.175.192/26', 'allocation_pools': [{'start': '69.82.175.194', 'end': '69.82.175.254'}], 'gateway_ip': '69.82.175.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.82.175.194', 'tags': [], 'project_id': 'f08644a565d149ddb58d6f17a790fcfa'}} 2025-09-13 06:10:08,629 - INFO - Created VN ctest-vn-26420585 2025-09-13 06:10:08,683 - DEBUG - VN ctest-vn-26420585 UUID is 98336c90-3094-4ee5-92ee-6f388c2fb93f 2025-09-13 06:10:08,981 - DEBUG - Response for create_network : {'network': {'id': 'f14c2dbd-7659-49e4-af74-5f6498e7d083', 'name': 'ctest-vn-89960805', 'tenant_id': 'f08644a565d149ddb58d6f17a790fcfa', 'project_id': 'f08644a565d149ddb58d6f17a790fcfa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-vn-89960805'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 06:10:09,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c6b457a-b8c5-42ce-b5a1-462b6487929f', 'name': '', 'tenant_id': 'f08644a565d149ddb58d6f17a790fcfa', 'network_id': 'f14c2dbd-7659-49e4-af74-5f6498e7d083', 'ip_version': 4, 'cidr': '184.145.94.64/26', 'allocation_pools': [{'start': '184.145.94.66', 'end': '184.145.94.126'}], 'gateway_ip': '184.145.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.145.94.66', 'tags': [], 'project_id': 'f08644a565d149ddb58d6f17a790fcfa'}} 2025-09-13 06:10:09,148 - INFO - Created VN ctest-vn-89960805 2025-09-13 06:10:09,203 - DEBUG - VN ctest-vn-89960805 UUID is f14c2dbd-7659-49e4-af74-5f6498e7d083 2025-09-13 06:10:09,319 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-26420585, 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-74109197:ctest-vn-89960805, 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-13 06:10:09,623 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '98336c90-3094-4ee5-92ee-6f388c2fb93f', 'name': 'ctest-vn-26420585', 'tenant_id': 'f08644a565d149ddb58d6f17a790fcfa', 'project_id': 'f08644a565d149ddb58d6f17a790fcfa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f2824de3-d23e-4ee0-8095-1f1b7907c68d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-vn-26420585'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-policy-allow-all-95871621']], 'subnet_ipam': [{'subnet_cidr': '69.82.175.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-13 06:10:09,895 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f14c2dbd-7659-49e4-af74-5f6498e7d083', 'name': 'ctest-vn-89960805', 'tenant_id': 'f08644a565d149ddb58d6f17a790fcfa', 'project_id': 'f08644a565d149ddb58d6f17a790fcfa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c6b457a-b8c5-42ce-b5a1-462b6487929f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-vn-89960805'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-policy-allow-all-95871621']], 'subnet_ipam': [{'subnet_cidr': '184.145.94.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-13 06:10:10,043 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-13 06:10:10,346 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-13 06:10:10,376 - DEBUG - Requesting: http://10.0.0.254:8082/domain/add8d047-1fe8-4989-ab9a-0467b0281e30 2025-09-13 06:10:10,388 - DEBUG - Requesting: http://10.0.0.254:8082/project/f08644a5-65d1-49dd-b58d-6f17a790fcfa 2025-09-13 06:10:10,463 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/98336c90-3094-4ee5-92ee-6f388c2fb93f 2025-09-13 06:10:10,473 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/98336c90-3094-4ee5-92ee-6f388c2fb93f 2025-09-13 06:10:10,482 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e525372e-dd8b-4300-b625-cc075fc28a5a 2025-09-13 06:10:10,489 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e525372e-dd8b-4300-b625-cc075fc28a5a 2025-09-13 06:10:10,495 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/63b70b76-fa4a-4669-8c7b-4ba78952e8d3 2025-09-13 06:10:10,501 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-13 06:10:10,501 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/98336c90-3094-4ee5-92ee-6f388c2fb93f 2025-09-13 06:10:10,509 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e525372e-dd8b-4300-b625-cc075fc28a5a 2025-09-13 06:10:10,523 - INFO - Verified VN network id 12 for VN 98336c90-3094-4ee5-92ee-6f388c2fb93f 2025-09-13 06:10:10,523 - INFO - Verifications in API Server for VN ctest-vn-26420585 passed 2025-09-13 06:10:10,523 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/98336c90-3094-4ee5-92ee-6f388c2fb93f 2025-09-13 06:10:10,533 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e525372e-dd8b-4300-b625-cc075fc28a5a 2025-09-13 06:10:10,540 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e525372e-dd8b-4300-b625-cc075fc28a5a 2025-09-13 06:10:10,549 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/63b70b76-fa4a-4669-8c7b-4ba78952e8d3 2025-09-13 06:10:10,563 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-26420585', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74109197', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10967228884123406053', 'uuid-lslong': '10587522062655404351'}, 'enable': 'true', 'created': '2025-09-13T06:10:08', 'last-modified': '2025-09-13T06:10:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.969645'} 2025-09-13 06:10:10,569 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-13 06:10:10,569 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26420585 passed 2025-09-13 06:10:10,570 - DEBUG - ====Verifying policy data for ctest-vn-26420585 in API_Server ====== 2025-09-13 06:10:10,570 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-13 06:10:10,575 - DEBUG - Requesting: http://10.0.0.254:8082/domain/add8d047-1fe8-4989-ab9a-0467b0281e30 2025-09-13 06:10:10,594 - DEBUG - Requesting: http://10.0.0.254:8082/project/f08644a5-65d1-49dd-b58d-6f17a790fcfa 2025-09-13 06:10:10,674 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/98336c90-3094-4ee5-92ee-6f388c2fb93f 2025-09-13 06:10:10,684 - DEBUG - ==>Verifying data for policy with id: ab5814d1-dbd6-43e8-a520-0fef541b8c62, fqn: ['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-policy-allow-all-95871621'] 2025-09-13 06:10:10,684 - INFO - VN ctest-vn-26420585 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-13 06:10:10,684 - DEBUG - Verifying the vn in opserver 2025-09-13 06:10:10,684 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-26420585 virtual network link through opserver 10.0.0.254 2025-09-13 06:10:10,684 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-13 06:10:10,985 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-13 06:10:11,041 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-26420585', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-26420585?flat'} 2025-09-13 06:10:11,041 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-26420585 is found in opserver 2025-09-13 06:10:11,049 - DEBUG - Do not have enough data to verify VN in agent 2025-09-13 06:10:11,053 - DEBUG - VRF ids for VN ctest-vn-26420585: {} 2025-09-13 06:10:11,053 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-13 06:10:11,058 - DEBUG - Requesting: http://10.0.0.254:8082/domain/add8d047-1fe8-4989-ab9a-0467b0281e30 2025-09-13 06:10:11,069 - DEBUG - Requesting: http://10.0.0.254:8082/project/f08644a5-65d1-49dd-b58d-6f17a790fcfa 2025-09-13 06:10:11,141 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f14c2dbd-7659-49e4-af74-5f6498e7d083 2025-09-13 06:10:11,152 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f14c2dbd-7659-49e4-af74-5f6498e7d083 2025-09-13 06:10:11,161 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81f59d29-0b13-490b-a49d-5353ca54faef 2025-09-13 06:10:11,168 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81f59d29-0b13-490b-a49d-5353ca54faef 2025-09-13 06:10:11,175 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f81336d5-a862-4c8d-805d-07bb7bba42b8 2025-09-13 06:10:11,182 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-09-13 06:10:11,182 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f14c2dbd-7659-49e4-af74-5f6498e7d083 2025-09-13 06:10:11,191 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81f59d29-0b13-490b-a49d-5353ca54faef 2025-09-13 06:10:11,204 - INFO - Verified VN network id 13 for VN f14c2dbd-7659-49e4-af74-5f6498e7d083 2025-09-13 06:10:11,204 - INFO - Verifications in API Server for VN ctest-vn-89960805 passed 2025-09-13 06:10:11,204 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f14c2dbd-7659-49e4-af74-5f6498e7d083 2025-09-13 06:10:11,213 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81f59d29-0b13-490b-a49d-5353ca54faef 2025-09-13 06:10:11,219 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81f59d29-0b13-490b-a49d-5353ca54faef 2025-09-13 06:10:11,226 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f81336d5-a862-4c8d-805d-07bb7bba42b8 2025-09-13 06:10:11,237 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-89960805', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74109197', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17387322553128274404', 'uuid-lslong': '12642834939602522243'}, 'enable': 'true', 'created': '2025-09-13T06:10:08', 'last-modified': '2025-09-13T06:10:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.414104'} 2025-09-13 06:10:11,243 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-09-13 06:10:11,243 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89960805 passed 2025-09-13 06:10:11,243 - DEBUG - ====Verifying policy data for ctest-vn-89960805 in API_Server ====== 2025-09-13 06:10:11,243 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-13 06:10:11,249 - DEBUG - Requesting: http://10.0.0.254:8082/domain/add8d047-1fe8-4989-ab9a-0467b0281e30 2025-09-13 06:10:11,261 - DEBUG - Requesting: http://10.0.0.254:8082/project/f08644a5-65d1-49dd-b58d-6f17a790fcfa 2025-09-13 06:10:11,338 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f14c2dbd-7659-49e4-af74-5f6498e7d083 2025-09-13 06:10:11,349 - DEBUG - ==>Verifying data for policy with id: ab5814d1-dbd6-43e8-a520-0fef541b8c62, fqn: ['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-policy-allow-all-95871621'] 2025-09-13 06:10:11,349 - INFO - VN ctest-vn-89960805 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-13 06:10:11,349 - DEBUG - Verifying the vn in opserver 2025-09-13 06:10:11,349 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-89960805 virtual network link through opserver 10.0.0.254 2025-09-13 06:10:11,349 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-13 06:10:11,361 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-89960805', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-89960805?flat'} 2025-09-13 06:10:11,361 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-89960805 is found in opserver 2025-09-13 06:10:11,372 - DEBUG - Do not have enough data to verify VN in agent 2025-09-13 06:10:11,376 - DEBUG - VRF ids for VN ctest-vn-89960805: {} 2025-09-13 06:10:11,439 - DEBUG - Services list from nova: [, , ] 2025-09-13 06:10:12,499 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4101-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4101-1) 2025-09-13 06:10:13,668 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4101-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4101-1) 2025-09-13 06:10:13,668 - INFO - Waiting for VM ctest-TestBasicPolicy-74109197-38812035 to be up.. 2025-09-13 06:10:13,753 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-13 06:10:18,910 - DEBUG - VM is in ACTIVE state now 2025-09-13 06:10:18,911 - INFO - VM name : ctest-TestBasicPolicy-74109197-38812035 2025-09-13 06:10:19,050 - DEBUG - VM ctest-TestBasicPolicy-74109197-38812035 ID is 71fbb691-574a-47e7-8370-53c18efaff2b 2025-09-13 06:10:19,121 - DEBUG - VM ctest-TestBasicPolicy-74109197-38812035 launched on Node cn-jenkins-deploy-platform-ansible-os-4101-1 2025-09-13 06:10:19,270 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/71fbb691-574a-47e7-8370-53c18efaff2b 2025-09-13 06:10:19,285 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d5fe4693-0f09-484e-8ef1-92bd4ec54fc8 2025-09-13 06:10:22,610 - 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 1026ms') 2025-09-13 06:10:22,610 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74109197-38812035 failed! 2025-09-13 06:10:22,667 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-26420585 is 69.82.175.193 and allocation pool is NOT set 2025-09-13 06:10:24,733 - 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=3.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.921 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.921/2.319/3.718/1.398 ms') 2025-09-13 06:10:24,733 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74109197-38812035 passed 2025-09-13 06:10:24,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 06:10:24,883 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74109197-38812035, IP 69.82.175.195, Port 22 2025-09-13 06:10:25,043 - DEBUG - VM ctest-TestBasicPolicy-74109197-38812035 is ready for SSH connections 2025-09-13 06:10:25,043 - INFO - Waiting for VM ctest-TestBasicPolicy-74109197-35999089 to be up.. 2025-09-13 06:10:25,117 - DEBUG - VM is in ACTIVE state now 2025-09-13 06:10:25,117 - INFO - VM name : ctest-TestBasicPolicy-74109197-35999089 2025-09-13 06:10:25,191 - DEBUG - VM ctest-TestBasicPolicy-74109197-35999089 ID is ac5e3bb4-d291-4a78-86b4-b1776ade9e91 2025-09-13 06:10:25,191 - DEBUG - VM ctest-TestBasicPolicy-74109197-35999089 launched on Node cn-jenkins-deploy-platform-ansible-os-4101-1 2025-09-13 06:10:25,266 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ac5e3bb4-d291-4a78-86b4-b1776ade9e91 2025-09-13 06:10:25,275 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e5fa983a-1436-4d9e-bbe6-b660c3d4556d 2025-09-13 06:10:26,517 - 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=3.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.63 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.632/2.995/3.359/0.363 ms') 2025-09-13 06:10:26,517 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74109197-35999089 passed 2025-09-13 06:10:26,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 06:10:26,679 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74109197-35999089, IP 184.145.94.67, Port 22 2025-09-13 06:10:26,835 - DEBUG - VM ctest-TestBasicPolicy-74109197-35999089 is ready for SSH connections 2025-09-13 06:10:26,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 06:10:26,835 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.145.94.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-13 06:10:26,835 - DEBUG - ping -s 56 -c 3 -W 1 184.145.94.67 2025-09-13 06:10:30,931 - DEBUG - PING 184.145.94.67 (184.145.94.67): 56 data bytes 64 bytes from 184.145.94.67: seq=0 ttl=63 time=5.076 ms 64 bytes from 184.145.94.67: seq=1 ttl=63 time=1.410 ms 64 bytes from 184.145.94.67: seq=2 ttl=63 time=0.956 ms --- 184.145.94.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.956/2.480/5.076 ms 2025-09-13 06:10:30,931 - INFO - Ping to IP 184.145.94.67 from VM ctest-TestBasicPolicy-74109197-38812035 passed 2025-09-13 06:10:31,111 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ab5814d1-dbd6-43e8-a520-0fef541b8c62", "href": "http://10.0.0.254:8082/network-policy/ab5814d1-dbd6-43e8-a520-0fef541b8c62"}} 2025-09-13 06:10:31,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 06:10:31,111 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.145.94.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-13 06:10:31,111 - DEBUG - ping -s 56 -c 3 -W 1 184.145.94.67 2025-09-13 06:10:34,324 - DEBUG - PING 184.145.94.67 (184.145.94.67): 56 data bytes --- 184.145.94.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-13 06:10:34,324 - WARNING - Ping to IP 184.145.94.67 from VM ctest-TestBasicPolicy-74109197-38812035 failed 2025-09-13 06:10:34,324 - INFO - Deleting VM ctest-TestBasicPolicy-74109197-35999089 2025-09-13 06:10:34,398 - INFO - Deleting VM ctest-TestBasicPolicy-74109197-38812035 2025-09-13 06:10:34,772 - INFO - Deleted policy ctest-policy-allow-all-95871621 2025-09-13 06:10:34,772 - INFO - Deleting VN ctest-vn-89960805 2025-09-13 06:10:34,807 - DEBUG - VN f14c2dbd-7659-49e4-af74-5f6498e7d083 still in use: Unable to complete operation on network f14c2dbd-7659-49e4-af74-5f6498e7d083. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-36bdf5ad-5b2c-4b9b-8314-3071c23d37dc'] 2025-09-13 06:10:34,807 - WARNING - Deleting VN ctest-vn-89960805 failed..Will retry 2025-09-13 06:10:36,938 - DEBUG - Response for deleting network () 2025-09-13 06:10:36,938 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81f59d29-0b13-490b-a49d-5353ca54faef 2025-09-13 06:10:36,943 - DEBUG - Response Code: 404 2025-09-13 06:10:36,943 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-13 06:10:36,950 - DEBUG - Requesting: http://10.0.0.254:8082/domain/add8d047-1fe8-4989-ab9a-0467b0281e30 2025-09-13 06:10:37,009 - DEBUG - Requesting: http://10.0.0.254:8082/project/f08644a5-65d1-49dd-b58d-6f17a790fcfa 2025-09-13 06:10:37,084 - INFO - Validated that VN ctest-vn-89960805 is not found in API Server 2025-09-13 06:10:37,097 - DEBUG - VN ctest-vn-89960805 is not present in Agent 10.0.0.254 2025-09-13 06:10:37,097 - INFO - Validated that VN ctest-vn-89960805 is not in any agent 2025-09-13 06:10:37,113 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89960805 info 2025-09-13 06:10:37,113 - INFO - Deleting VN ctest-vn-26420585 2025-09-13 06:10:37,236 - DEBUG - Response for deleting network () 2025-09-13 06:10:37,237 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e525372e-dd8b-4300-b625-cc075fc28a5a 2025-09-13 06:10:37,242 - DEBUG - Response Code: 404 2025-09-13 06:10:37,243 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-13 06:10:37,247 - DEBUG - Requesting: http://10.0.0.254:8082/domain/add8d047-1fe8-4989-ab9a-0467b0281e30 2025-09-13 06:10:37,301 - DEBUG - Requesting: http://10.0.0.254:8082/project/f08644a5-65d1-49dd-b58d-6f17a790fcfa 2025-09-13 06:10:37,381 - INFO - Validated that VN ctest-vn-26420585 is not found in API Server 2025-09-13 06:10:37,391 - DEBUG - VN ctest-vn-26420585 is not present in Agent 10.0.0.254 2025-09-13 06:10:37,391 - INFO - Validated that VN ctest-vn-26420585 is not in any agent 2025-09-13 06:10:37,408 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26420585 info 2025-09-13 06:10:37,682 - DEBUG - No XMPP flaps were noticed during the test 2025-09-13 06:10:37,682 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-13 06:10:37,682 - INFO - -------------------------------------------------------------------------------- 2025-09-13 06:10:38,399 - INFO - Deleted project: ctest-TestBasicPolicy-74109197, ID : f08644a5-65d1-49dd-b58d-6f17a790fcfa