2025-08-21 02:15:09,871 - INFO - Domain Default found not creating 2025-08-21 02:15:10,002 - INFO - Project ctest-TestBasicPolicy-38688001 not found, creating it 2025-08-21 02:15:10,460 - INFO - Created Project:ctest-TestBasicPolicy-38688001, ID : 3bca42c8-e316-4822-86ef-b3fc82ccbb9f 2025-08-21 02:15:11,796 - INFO - ================================================================================ 2025-08-21 02:15:11,797 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-21 02:15:11,797 - 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 02:15:12,052 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0'}} with 2025-08-21 02:15:12,052 - INFO - Initial checks done. Running the testcase now 2025-08-21 02:15:12,052 - INFO - 2025-08-21 02:15:12,600 - DEBUG - Response for create_network : {'network': {'id': 'd3b018db-3984-4835-a7d9-e94aa81f4cb5', 'name': 'ctest-vn-90411461', 'tenant_id': '3bca42c8e316482286efb3fc82ccbb9f', 'project_id': '3bca42c8e316482286efb3fc82ccbb9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38688001', 'ctest-vn-90411461'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 02:15:12,811 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9b2eb58-37e3-4065-a8bc-8b23298fa1f6', 'name': '', 'tenant_id': '3bca42c8e316482286efb3fc82ccbb9f', 'network_id': 'd3b018db-3984-4835-a7d9-e94aa81f4cb5', 'ip_version': 4, 'cidr': '98.59.109.64/26', 'allocation_pools': [{'start': '98.59.109.66', 'end': '98.59.109.126'}], 'gateway_ip': '98.59.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.59.109.66', 'tags': [], 'project_id': '3bca42c8e316482286efb3fc82ccbb9f'}} 2025-08-21 02:15:12,832 - INFO - Created VN ctest-vn-90411461 2025-08-21 02:15:12,883 - DEBUG - VN ctest-vn-90411461 UUID is d3b018db-3984-4835-a7d9-e94aa81f4cb5 2025-08-21 02:15:13,211 - DEBUG - Response for create_network : {'network': {'id': 'c6226cf5-38c2-4cfa-be72-e7f5e4adde13', 'name': 'ctest-vn-00091301', 'tenant_id': '3bca42c8e316482286efb3fc82ccbb9f', 'project_id': '3bca42c8e316482286efb3fc82ccbb9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38688001', 'ctest-vn-00091301'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 02:15:13,398 - DEBUG - Response for create_subnet : {'subnet': {'id': '784aef34-658e-400c-8a49-b820654292bf', 'name': '', 'tenant_id': '3bca42c8e316482286efb3fc82ccbb9f', 'network_id': 'c6226cf5-38c2-4cfa-be72-e7f5e4adde13', 'ip_version': 4, 'cidr': '113.147.59.192/26', 'allocation_pools': [{'start': '113.147.59.194', 'end': '113.147.59.254'}], 'gateway_ip': '113.147.59.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.147.59.194', 'tags': [], 'project_id': '3bca42c8e316482286efb3fc82ccbb9f'}} 2025-08-21 02:15:13,414 - INFO - Created VN ctest-vn-00091301 2025-08-21 02:15:13,467 - DEBUG - VN ctest-vn-00091301 UUID is c6226cf5-38c2-4cfa-be72-e7f5e4adde13 2025-08-21 02:15:13,615 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38688001:ctest-vn-90411461, 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-38688001:ctest-vn-00091301, 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 02:15:13,916 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3b018db-3984-4835-a7d9-e94aa81f4cb5', 'name': 'ctest-vn-90411461', 'tenant_id': '3bca42c8e316482286efb3fc82ccbb9f', 'project_id': '3bca42c8e316482286efb3fc82ccbb9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c9b2eb58-37e3-4065-a8bc-8b23298fa1f6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38688001', 'ctest-vn-90411461'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38688001', 'ctest-policy-allow-all-35609576']], 'subnet_ipam': [{'subnet_cidr': '98.59.109.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-21 02:15:14,194 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c6226cf5-38c2-4cfa-be72-e7f5e4adde13', 'name': 'ctest-vn-00091301', 'tenant_id': '3bca42c8e316482286efb3fc82ccbb9f', 'project_id': '3bca42c8e316482286efb3fc82ccbb9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['784aef34-658e-400c-8a49-b820654292bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38688001', 'ctest-vn-00091301'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38688001', 'ctest-policy-allow-all-35609576']], 'subnet_ipam': [{'subnet_cidr': '113.147.59.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-21 02:15:14,351 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-21 02:15:14,648 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-21 02:15:14,677 - DEBUG - Requesting: http://10.0.0.57:8082/domain/fb50318c-3f8c-47ea-811c-581016166294 2025-08-21 02:15:14,692 - DEBUG - Requesting: http://10.0.0.57:8082/project/3bca42c8-e316-4822-86ef-b3fc82ccbb9f 2025-08-21 02:15:14,768 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d3b018db-3984-4835-a7d9-e94aa81f4cb5 2025-08-21 02:15:14,778 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d3b018db-3984-4835-a7d9-e94aa81f4cb5 2025-08-21 02:15:14,785 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/5ab81954-8ce7-40bf-9885-1914cb66fce2 2025-08-21 02:15:14,791 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/5ab81954-8ce7-40bf-9885-1914cb66fce2 2025-08-21 02:15:14,797 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/55e406b0-72a9-489e-b94a-5f5ffbe6148d 2025-08-21 02:15:14,802 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-21 02:15:14,802 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d3b018db-3984-4835-a7d9-e94aa81f4cb5 2025-08-21 02:15:14,810 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/5ab81954-8ce7-40bf-9885-1914cb66fce2 2025-08-21 02:15:14,821 - INFO - Verified VN network id 12 for VN d3b018db-3984-4835-a7d9-e94aa81f4cb5 2025-08-21 02:15:14,821 - INFO - Verifications in API Server for VN ctest-vn-90411461 passed 2025-08-21 02:15:14,822 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d3b018db-3984-4835-a7d9-e94aa81f4cb5 2025-08-21 02:15:14,829 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/5ab81954-8ce7-40bf-9885-1914cb66fce2 2025-08-21 02:15:14,834 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/5ab81954-8ce7-40bf-9885-1914cb66fce2 2025-08-21 02:15:14,840 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/55e406b0-72a9-489e-b94a-5f5ffbe6148d 2025-08-21 02:15:14,850 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38688001:ctest-vn-90411461', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38688001', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15253719267745744949', 'uuid-lslong': '12094954781137652917'}, 'enable': 'true', 'created': '2025-08-21T02:15:12', 'last-modified': '2025-08-21T02:15:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.965507'} 2025-08-21 02:15:14,856 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-21 02:15:14,856 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90411461 passed 2025-08-21 02:15:14,857 - DEBUG - ====Verifying policy data for ctest-vn-90411461 in API_Server ====== 2025-08-21 02:15:14,857 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-21 02:15:14,862 - DEBUG - Requesting: http://10.0.0.57:8082/domain/fb50318c-3f8c-47ea-811c-581016166294 2025-08-21 02:15:14,873 - DEBUG - Requesting: http://10.0.0.57:8082/project/3bca42c8-e316-4822-86ef-b3fc82ccbb9f 2025-08-21 02:15:14,947 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d3b018db-3984-4835-a7d9-e94aa81f4cb5 2025-08-21 02:15:14,955 - DEBUG - ==>Verifying data for policy with id: a813ff5e-4c6c-4a9c-a11e-5c3b43aa9463, fqn: ['default-domain', 'ctest-TestBasicPolicy-38688001', 'ctest-policy-allow-all-35609576'] 2025-08-21 02:15:14,955 - INFO - VN ctest-vn-90411461 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-21 02:15:14,955 - DEBUG - Verifying the vn in opserver 2025-08-21 02:15:14,955 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38688001:ctest-vn-90411461 virtual network link through opserver 10.0.0.57 2025-08-21 02:15:14,955 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-08-21 02:15:15,246 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-08-21 02:15:15,303 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38688001:ctest-vn-90411461', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38688001:ctest-vn-90411461?flat'} 2025-08-21 02:15:15,303 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38688001:ctest-vn-90411461 is found in opserver 2025-08-21 02:15:15,314 - DEBUG - Do not have enough data to verify VN in agent 2025-08-21 02:15:15,322 - DEBUG - VRF ids for VN ctest-vn-90411461: {} 2025-08-21 02:15:15,322 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-21 02:15:15,328 - DEBUG - Requesting: http://10.0.0.57:8082/domain/fb50318c-3f8c-47ea-811c-581016166294 2025-08-21 02:15:15,340 - DEBUG - Requesting: http://10.0.0.57:8082/project/3bca42c8-e316-4822-86ef-b3fc82ccbb9f 2025-08-21 02:15:15,412 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c6226cf5-38c2-4cfa-be72-e7f5e4adde13 2025-08-21 02:15:15,423 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c6226cf5-38c2-4cfa-be72-e7f5e4adde13 2025-08-21 02:15:15,433 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/7aa3c185-e4e7-4b33-9c7a-48129f6cef07 2025-08-21 02:15:15,439 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/7aa3c185-e4e7-4b33-9c7a-48129f6cef07 2025-08-21 02:15:15,445 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/febee590-02dc-401d-85fd-80b90d0b33df 2025-08-21 02:15:15,450 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-21 02:15:15,450 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c6226cf5-38c2-4cfa-be72-e7f5e4adde13 2025-08-21 02:15:15,460 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/7aa3c185-e4e7-4b33-9c7a-48129f6cef07 2025-08-21 02:15:15,475 - INFO - Verified VN network id 13 for VN c6226cf5-38c2-4cfa-be72-e7f5e4adde13 2025-08-21 02:15:15,475 - INFO - Verifications in API Server for VN ctest-vn-00091301 passed 2025-08-21 02:15:15,475 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c6226cf5-38c2-4cfa-be72-e7f5e4adde13 2025-08-21 02:15:15,485 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/7aa3c185-e4e7-4b33-9c7a-48129f6cef07 2025-08-21 02:15:15,492 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/7aa3c185-e4e7-4b33-9c7a-48129f6cef07 2025-08-21 02:15:15,499 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/febee590-02dc-401d-85fd-80b90d0b33df 2025-08-21 02:15:15,512 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38688001:ctest-vn-00091301', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38688001', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14277093569192938746', 'uuid-lslong': '13723286057840926227'}, 'enable': 'true', 'created': '2025-08-21T02:15:13', 'last-modified': '2025-08-21T02:15:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.386118'} 2025-08-21 02:15:15,519 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-21 02:15:15,520 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00091301 passed 2025-08-21 02:15:15,520 - DEBUG - ====Verifying policy data for ctest-vn-00091301 in API_Server ====== 2025-08-21 02:15:15,520 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-21 02:15:15,528 - DEBUG - Requesting: http://10.0.0.57:8082/domain/fb50318c-3f8c-47ea-811c-581016166294 2025-08-21 02:15:15,540 - DEBUG - Requesting: http://10.0.0.57:8082/project/3bca42c8-e316-4822-86ef-b3fc82ccbb9f 2025-08-21 02:15:15,627 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/c6226cf5-38c2-4cfa-be72-e7f5e4adde13 2025-08-21 02:15:15,642 - DEBUG - ==>Verifying data for policy with id: a813ff5e-4c6c-4a9c-a11e-5c3b43aa9463, fqn: ['default-domain', 'ctest-TestBasicPolicy-38688001', 'ctest-policy-allow-all-35609576'] 2025-08-21 02:15:15,642 - INFO - VN ctest-vn-00091301 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-21 02:15:15,642 - DEBUG - Verifying the vn in opserver 2025-08-21 02:15:15,642 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38688001:ctest-vn-00091301 virtual network link through opserver 10.0.0.57 2025-08-21 02:15:15,642 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-08-21 02:15:15,652 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38688001:ctest-vn-00091301', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38688001:ctest-vn-00091301?flat'} 2025-08-21 02:15:15,652 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38688001:ctest-vn-00091301 is found in opserver 2025-08-21 02:15:15,661 - DEBUG - Do not have enough data to verify VN in agent 2025-08-21 02:15:15,666 - DEBUG - VRF ids for VN ctest-vn-00091301: {} 2025-08-21 02:15:15,729 - DEBUG - Services list from nova: [, , ] 2025-08-21 02:15:16,703 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3903-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3903-1) 2025-08-21 02:15:17,899 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3903-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3903-1) 2025-08-21 02:15:17,899 - INFO - Waiting for VM ctest-TestBasicPolicy-38688001-03802533 to be up.. 2025-08-21 02:15:17,979 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-21 02:15:23,058 - DEBUG - VM is in ACTIVE state now 2025-08-21 02:15:23,058 - INFO - VM name : ctest-TestBasicPolicy-38688001-03802533 2025-08-21 02:15:23,145 - DEBUG - VM ctest-TestBasicPolicy-38688001-03802533 ID is c1311509-4124-4845-b7d8-ac8136b051b6 2025-08-21 02:15:23,175 - DEBUG - VM ctest-TestBasicPolicy-38688001-03802533 launched on Node cn-jenkins-deploy-platform-ansible-os-3903-1 2025-08-21 02:15:23,268 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/c1311509-4124-4845-b7d8-ac8136b051b6 2025-08-21 02:15:23,277 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/2f56968a-4fd4-4978-9ef0-5ebb52428d8c 2025-08-21 02:15:26,542 - 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 02:15:26,543 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38688001-03802533 failed! 2025-08-21 02:15:26,607 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38688001:ctest-vn-90411461 is 98.59.109.65 and allocation pool is NOT set 2025-08-21 02:15:28,668 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.619 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.619/2.249/3.879/1.630 ms') 2025-08-21 02:15:28,668 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38688001-03802533 passed 2025-08-21 02:15:28,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:15:28,823 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38688001-03802533, IP 98.59.109.67, Port 22 2025-08-21 02:15:28,991 - DEBUG - VM ctest-TestBasicPolicy-38688001-03802533 is ready for SSH connections 2025-08-21 02:15:28,991 - INFO - Waiting for VM ctest-TestBasicPolicy-38688001-14020439 to be up.. 2025-08-21 02:15:29,066 - DEBUG - VM is in ACTIVE state now 2025-08-21 02:15:29,066 - INFO - VM name : ctest-TestBasicPolicy-38688001-14020439 2025-08-21 02:15:29,145 - DEBUG - VM ctest-TestBasicPolicy-38688001-14020439 ID is 2a3eeceb-ca0f-40cb-9221-6091a81e3bda 2025-08-21 02:15:29,145 - DEBUG - VM ctest-TestBasicPolicy-38688001-14020439 launched on Node cn-jenkins-deploy-platform-ansible-os-3903-1 2025-08-21 02:15:29,217 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/2a3eeceb-ca0f-40cb-9221-6091a81e3bda 2025-08-21 02:15:29,224 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/43f40bac-213f-4c60-b9e6-7c7f8cb9b8db 2025-08-21 02:15:30,463 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.05 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.052/3.436/4.821/1.384 ms') 2025-08-21 02:15:30,464 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38688001-14020439 passed 2025-08-21 02:15:30,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:15:30,611 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38688001-14020439, IP 113.147.59.195, Port 22 2025-08-21 02:15:30,762 - DEBUG - VM ctest-TestBasicPolicy-38688001-14020439 is ready for SSH connections 2025-08-21 02:15:30,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:15:30,762 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.147.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-21 02:15:30,762 - DEBUG - ping -s 56 -c 3 -W 1 113.147.59.195 2025-08-21 02:15:34,712 - DEBUG - PING 113.147.59.195 (113.147.59.195): 56 data bytes 64 bytes from 113.147.59.195: seq=0 ttl=63 time=3.614 ms 64 bytes from 113.147.59.195: seq=1 ttl=63 time=0.812 ms 64 bytes from 113.147.59.195: seq=2 ttl=63 time=0.762 ms --- 113.147.59.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.762/1.729/3.614 ms 2025-08-21 02:15:34,712 - INFO - Ping to IP 113.147.59.195 from VM ctest-TestBasicPolicy-38688001-03802533 passed 2025-08-21 02:15:34,902 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a813ff5e-4c6c-4a9c-a11e-5c3b43aa9463", "href": "http://10.0.0.57:8082/network-policy/a813ff5e-4c6c-4a9c-a11e-5c3b43aa9463"}} 2025-08-21 02:15:34,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:15:34,903 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.147.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-21 02:15:34,903 - DEBUG - ping -s 56 -c 3 -W 1 113.147.59.195 2025-08-21 02:15:38,104 - DEBUG - PING 113.147.59.195 (113.147.59.195): 56 data bytes --- 113.147.59.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-21 02:15:38,104 - WARNING - Ping to IP 113.147.59.195 from VM ctest-TestBasicPolicy-38688001-03802533 failed 2025-08-21 02:15:38,104 - INFO - Deleting VM ctest-TestBasicPolicy-38688001-14020439 2025-08-21 02:15:38,249 - INFO - Deleting VM ctest-TestBasicPolicy-38688001-03802533 2025-08-21 02:15:38,630 - INFO - Deleted policy ctest-policy-allow-all-35609576 2025-08-21 02:15:38,630 - INFO - Deleting VN ctest-vn-00091301 2025-08-21 02:15:38,665 - DEBUG - VN c6226cf5-38c2-4cfa-be72-e7f5e4adde13 still in use: Unable to complete operation on network c6226cf5-38c2-4cfa-be72-e7f5e4adde13. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eb7292ec-1224-4931-8345-3b48a81c7767'] 2025-08-21 02:15:38,665 - WARNING - Deleting VN ctest-vn-00091301 failed..Will retry 2025-08-21 02:15:40,764 - DEBUG - Response for deleting network () 2025-08-21 02:15:40,764 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/7aa3c185-e4e7-4b33-9c7a-48129f6cef07 2025-08-21 02:15:40,770 - DEBUG - Response Code: 404 2025-08-21 02:15:40,770 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-21 02:15:40,776 - DEBUG - Requesting: http://10.0.0.57:8082/domain/fb50318c-3f8c-47ea-811c-581016166294 2025-08-21 02:15:40,833 - DEBUG - Requesting: http://10.0.0.57:8082/project/3bca42c8-e316-4822-86ef-b3fc82ccbb9f 2025-08-21 02:15:40,913 - INFO - Validated that VN ctest-vn-00091301 is not found in API Server 2025-08-21 02:15:40,923 - DEBUG - VN ctest-vn-00091301 is not present in Agent 10.0.0.57 2025-08-21 02:15:40,923 - INFO - Validated that VN ctest-vn-00091301 is not in any agent 2025-08-21 02:15:40,935 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00091301 info 2025-08-21 02:15:40,936 - INFO - Deleting VN ctest-vn-90411461 2025-08-21 02:15:41,047 - DEBUG - Response for deleting network () 2025-08-21 02:15:41,047 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/5ab81954-8ce7-40bf-9885-1914cb66fce2 2025-08-21 02:15:41,053 - DEBUG - Response Code: 404 2025-08-21 02:15:41,053 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-21 02:15:41,059 - DEBUG - Requesting: http://10.0.0.57:8082/domain/fb50318c-3f8c-47ea-811c-581016166294 2025-08-21 02:15:41,115 - DEBUG - Requesting: http://10.0.0.57:8082/project/3bca42c8-e316-4822-86ef-b3fc82ccbb9f 2025-08-21 02:15:41,187 - INFO - Validated that VN ctest-vn-90411461 is not found in API Server 2025-08-21 02:15:41,196 - DEBUG - VN ctest-vn-90411461 is not present in Agent 10.0.0.57 2025-08-21 02:15:41,196 - INFO - Validated that VN ctest-vn-90411461 is not in any agent 2025-08-21 02:15:41,209 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90411461 info 2025-08-21 02:15:41,468 - DEBUG - No XMPP flaps were noticed during the test 2025-08-21 02:15:41,468 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-21 02:15:41,468 - INFO - -------------------------------------------------------------------------------- 2025-08-21 02:15:42,137 - INFO - Deleted project: ctest-TestBasicPolicy-38688001, ID : 3bca42c8-e316-4822-86ef-b3fc82ccbb9f