2025-05-05 02:06:45,157 - INFO - Domain Default found not creating 2025-05-05 02:06:45,279 - INFO - Project ctest-TestBasicPolicy-83950176 not found, creating it 2025-05-05 02:06:45,732 - INFO - Created Project:ctest-TestBasicPolicy-83950176, ID : 48e7607c-4775-41b1-8bb5-a714ed5a0f95 2025-05-05 02:06:47,054 - INFO - ================================================================================ 2025-05-05 02:06:47,055 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-05 02:06:47,055 - 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-05 02:06:47,306 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-05-05 02:06:47,307 - INFO - Initial checks done. Running the testcase now 2025-05-05 02:06:47,307 - INFO - 2025-05-05 02:06:48,086 - DEBUG - Response for create_network : {'network': {'id': '2bece20b-35c8-4e62-8065-8d59167ccf93', 'name': 'ctest-vn-90408301', 'tenant_id': '48e7607c477541b18bb5a714ed5a0f95', 'project_id': '48e7607c477541b18bb5a714ed5a0f95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83950176', 'ctest-vn-90408301'], 'port_security_enabled': True, 'description': ''}} 2025-05-05 02:06:48,388 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eee338ac-2e96-43db-9c08-55aae0971358', 'name': '', 'tenant_id': '48e7607c477541b18bb5a714ed5a0f95', 'network_id': '2bece20b-35c8-4e62-8065-8d59167ccf93', 'ip_version': 4, 'cidr': '28.186.87.192/26', 'allocation_pools': [{'start': '28.186.87.194', 'end': '28.186.87.254'}], 'gateway_ip': '28.186.87.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.186.87.194', 'tags': [], 'project_id': '48e7607c477541b18bb5a714ed5a0f95'}} 2025-05-05 02:06:48,407 - INFO - Created VN ctest-vn-90408301 2025-05-05 02:06:48,460 - DEBUG - VN ctest-vn-90408301 UUID is 2bece20b-35c8-4e62-8065-8d59167ccf93 2025-05-05 02:06:48,779 - DEBUG - Response for create_network : {'network': {'id': '1e012a2a-fed2-402d-9771-e6da97b04e0e', 'name': 'ctest-vn-48502909', 'tenant_id': '48e7607c477541b18bb5a714ed5a0f95', 'project_id': '48e7607c477541b18bb5a714ed5a0f95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83950176', 'ctest-vn-48502909'], 'port_security_enabled': True, 'description': ''}} 2025-05-05 02:06:48,926 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab403aac-dd9d-4b14-a171-6ae71579c178', 'name': '', 'tenant_id': '48e7607c477541b18bb5a714ed5a0f95', 'network_id': '1e012a2a-fed2-402d-9771-e6da97b04e0e', 'ip_version': 4, 'cidr': '51.131.10.64/26', 'allocation_pools': [{'start': '51.131.10.66', 'end': '51.131.10.126'}], 'gateway_ip': '51.131.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.131.10.66', 'tags': [], 'project_id': '48e7607c477541b18bb5a714ed5a0f95'}} 2025-05-05 02:06:48,941 - INFO - Created VN ctest-vn-48502909 2025-05-05 02:06:48,992 - DEBUG - VN ctest-vn-48502909 UUID is 1e012a2a-fed2-402d-9771-e6da97b04e0e 2025-05-05 02:06:49,140 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83950176:ctest-vn-90408301, 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-83950176:ctest-vn-48502909, 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-05 02:06:49,433 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2bece20b-35c8-4e62-8065-8d59167ccf93', 'name': 'ctest-vn-90408301', 'tenant_id': '48e7607c477541b18bb5a714ed5a0f95', 'project_id': '48e7607c477541b18bb5a714ed5a0f95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eee338ac-2e96-43db-9c08-55aae0971358'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83950176', 'ctest-vn-90408301'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83950176', 'ctest-policy-allow-all-15023421']], 'subnet_ipam': [{'subnet_cidr': '28.186.87.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-05 02:06:49,659 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1e012a2a-fed2-402d-9771-e6da97b04e0e', 'name': 'ctest-vn-48502909', 'tenant_id': '48e7607c477541b18bb5a714ed5a0f95', 'project_id': '48e7607c477541b18bb5a714ed5a0f95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ab403aac-dd9d-4b14-a171-6ae71579c178'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83950176', 'ctest-vn-48502909'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83950176', 'ctest-policy-allow-all-15023421']], 'subnet_ipam': [{'subnet_cidr': '51.131.10.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-05 02:06:49,816 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-05 02:06:50,109 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-05 02:06:50,136 - DEBUG - Requesting: http://10.0.0.38:8082/domain/15de78b2-cb4d-49de-94f9-32c178720b38 2025-05-05 02:06:50,151 - DEBUG - Requesting: http://10.0.0.38:8082/project/48e7607c-4775-41b1-8bb5-a714ed5a0f95 2025-05-05 02:06:50,225 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2bece20b-35c8-4e62-8065-8d59167ccf93 2025-05-05 02:06:50,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2bece20b-35c8-4e62-8065-8d59167ccf93 2025-05-05 02:06:50,245 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/30d65881-1771-43a8-b173-39739c444dde 2025-05-05 02:06:50,251 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/30d65881-1771-43a8-b173-39739c444dde 2025-05-05 02:06:50,258 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b79b870b-f12f-4575-b354-3da2d4ee244d 2025-05-05 02:06:50,264 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-05 02:06:50,264 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2bece20b-35c8-4e62-8065-8d59167ccf93 2025-05-05 02:06:50,273 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/30d65881-1771-43a8-b173-39739c444dde 2025-05-05 02:06:50,285 - INFO - Verified VN network id 9 for VN 2bece20b-35c8-4e62-8065-8d59167ccf93 2025-05-05 02:06:50,285 - INFO - Verifications in API Server for VN ctest-vn-90408301 passed 2025-05-05 02:06:50,285 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2bece20b-35c8-4e62-8065-8d59167ccf93 2025-05-05 02:06:50,294 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/30d65881-1771-43a8-b173-39739c444dde 2025-05-05 02:06:50,300 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/30d65881-1771-43a8-b173-39739c444dde 2025-05-05 02:06:50,306 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b79b870b-f12f-4575-b354-3da2d4ee244d 2025-05-05 02:06:50,316 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83950176:ctest-vn-90408301', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83950176', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3165153175909453410', 'uuid-lslong': '9251956423271436179'}, 'enable': 'true', 'created': '2025-05-05T02:06:47', 'last-modified': '2025-05-05T02:06:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.903775'} 2025-05-05 02:06:50,322 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-05 02:06:50,322 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90408301 passed 2025-05-05 02:06:50,323 - DEBUG - ====Verifying policy data for ctest-vn-90408301 in API_Server ====== 2025-05-05 02:06:50,323 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-05 02:06:50,327 - DEBUG - Requesting: http://10.0.0.38:8082/domain/15de78b2-cb4d-49de-94f9-32c178720b38 2025-05-05 02:06:50,338 - DEBUG - Requesting: http://10.0.0.38:8082/project/48e7607c-4775-41b1-8bb5-a714ed5a0f95 2025-05-05 02:06:50,415 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2bece20b-35c8-4e62-8065-8d59167ccf93 2025-05-05 02:06:50,425 - DEBUG - ==>Verifying data for policy with id: 694329ab-87f5-4217-a3a9-ea638a2da73d, fqn: ['default-domain', 'ctest-TestBasicPolicy-83950176', 'ctest-policy-allow-all-15023421'] 2025-05-05 02:06:50,425 - INFO - VN ctest-vn-90408301 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-05 02:06:50,425 - DEBUG - Verifying the vn in opserver 2025-05-05 02:06:50,425 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83950176:ctest-vn-90408301 virtual network link through opserver 10.0.0.38 2025-05-05 02:06:50,425 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-05 02:06:50,711 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-05 02:06:50,762 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83950176:ctest-vn-90408301', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83950176:ctest-vn-90408301?flat'} 2025-05-05 02:06:50,762 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83950176:ctest-vn-90408301 is found in opserver 2025-05-05 02:06:50,773 - DEBUG - Do not have enough data to verify VN in agent 2025-05-05 02:06:50,778 - DEBUG - VRF ids for VN ctest-vn-90408301: {} 2025-05-05 02:06:50,778 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-05 02:06:50,784 - DEBUG - Requesting: http://10.0.0.38:8082/domain/15de78b2-cb4d-49de-94f9-32c178720b38 2025-05-05 02:06:50,797 - DEBUG - Requesting: http://10.0.0.38:8082/project/48e7607c-4775-41b1-8bb5-a714ed5a0f95 2025-05-05 02:06:50,869 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1e012a2a-fed2-402d-9771-e6da97b04e0e 2025-05-05 02:06:50,881 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1e012a2a-fed2-402d-9771-e6da97b04e0e 2025-05-05 02:06:50,890 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a82210a-262f-4349-a292-51cff20d2573 2025-05-05 02:06:50,897 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a82210a-262f-4349-a292-51cff20d2573 2025-05-05 02:06:50,903 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8e3c75ac-e20e-49ec-b1ff-a3ea7670b923 2025-05-05 02:06:50,909 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-05 02:06:50,909 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1e012a2a-fed2-402d-9771-e6da97b04e0e 2025-05-05 02:06:50,919 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a82210a-262f-4349-a292-51cff20d2573 2025-05-05 02:06:50,932 - INFO - Verified VN network id 10 for VN 1e012a2a-fed2-402d-9771-e6da97b04e0e 2025-05-05 02:06:50,932 - INFO - Verifications in API Server for VN ctest-vn-48502909 passed 2025-05-05 02:06:50,932 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1e012a2a-fed2-402d-9771-e6da97b04e0e 2025-05-05 02:06:50,942 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a82210a-262f-4349-a292-51cff20d2573 2025-05-05 02:06:50,948 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a82210a-262f-4349-a292-51cff20d2573 2025-05-05 02:06:50,956 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8e3c75ac-e20e-49ec-b1ff-a3ea7670b923 2025-05-05 02:06:50,968 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83950176:ctest-vn-48502909', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83950176', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2162055660266733613', 'uuid-lslong': '10912757198617595406'}, 'enable': 'true', 'created': '2025-05-05T02:06:48', 'last-modified': '2025-05-05T02:06:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.329578'} 2025-05-05 02:06:50,975 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-05 02:06:50,975 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48502909 passed 2025-05-05 02:06:50,976 - DEBUG - ====Verifying policy data for ctest-vn-48502909 in API_Server ====== 2025-05-05 02:06:50,976 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-05 02:06:50,982 - DEBUG - Requesting: http://10.0.0.38:8082/domain/15de78b2-cb4d-49de-94f9-32c178720b38 2025-05-05 02:06:50,993 - DEBUG - Requesting: http://10.0.0.38:8082/project/48e7607c-4775-41b1-8bb5-a714ed5a0f95 2025-05-05 02:06:51,063 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1e012a2a-fed2-402d-9771-e6da97b04e0e 2025-05-05 02:06:51,073 - DEBUG - ==>Verifying data for policy with id: 694329ab-87f5-4217-a3a9-ea638a2da73d, fqn: ['default-domain', 'ctest-TestBasicPolicy-83950176', 'ctest-policy-allow-all-15023421'] 2025-05-05 02:06:51,073 - INFO - VN ctest-vn-48502909 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-05 02:06:51,073 - DEBUG - Verifying the vn in opserver 2025-05-05 02:06:51,073 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83950176:ctest-vn-48502909 virtual network link through opserver 10.0.0.38 2025-05-05 02:06:51,073 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-05 02:06:51,082 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83950176:ctest-vn-48502909', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83950176:ctest-vn-48502909?flat'} 2025-05-05 02:06:51,083 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83950176:ctest-vn-48502909 is found in opserver 2025-05-05 02:06:51,093 - DEBUG - Do not have enough data to verify VN in agent 2025-05-05 02:06:51,097 - DEBUG - VRF ids for VN ctest-vn-48502909: {} 2025-05-05 02:06:51,148 - DEBUG - Services list from nova: [, , ] 2025-05-05 02:06:52,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3266-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3266-1) 2025-05-05 02:06:53,346 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3266-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3266-1) 2025-05-05 02:06:53,346 - INFO - Waiting for VM ctest-TestBasicPolicy-83950176-94501309 to be up.. 2025-05-05 02:06:53,425 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-05 02:06:58,509 - DEBUG - VM is in ACTIVE state now 2025-05-05 02:06:58,509 - INFO - VM name : ctest-TestBasicPolicy-83950176-94501309 2025-05-05 02:06:58,587 - DEBUG - VM ctest-TestBasicPolicy-83950176-94501309 ID is bcf0e135-fd98-48e5-89ca-c27cda61eec7 2025-05-05 02:06:58,611 - DEBUG - VM ctest-TestBasicPolicy-83950176-94501309 launched on Node cn-jenkins-deploy-platform-ansible-os-3266-1 2025-05-05 02:06:58,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bcf0e135-fd98-48e5-89ca-c27cda61eec7 2025-05-05 02:06:58,694 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ad43df1e-6515-4cd5-965f-56b555cf3c41 2025-05-05 02:07:01,947 - 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 1016ms') 2025-05-05 02:07:01,947 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83950176-94501309 failed! 2025-05-05 02:07:02,000 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-83950176:ctest-vn-90408301 is 28.186.87.193 and allocation pool is NOT set 2025-05-05 02:07:04,057 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.289 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.289/1.674/3.060/1.385 ms') 2025-05-05 02:07:04,057 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83950176-94501309 passed 2025-05-05 02:07:04,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:07:04,208 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83950176-94501309, IP 28.186.87.195, Port 22 2025-05-05 02:07:04,360 - DEBUG - VM ctest-TestBasicPolicy-83950176-94501309 is ready for SSH connections 2025-05-05 02:07:04,360 - INFO - Waiting for VM ctest-TestBasicPolicy-83950176-93226075 to be up.. 2025-05-05 02:07:04,424 - DEBUG - VM is in ACTIVE state now 2025-05-05 02:07:04,424 - INFO - VM name : ctest-TestBasicPolicy-83950176-93226075 2025-05-05 02:07:04,489 - DEBUG - VM ctest-TestBasicPolicy-83950176-93226075 ID is 8e40ef3e-4759-4b4d-82e0-360a16865de1 2025-05-05 02:07:04,489 - DEBUG - VM ctest-TestBasicPolicy-83950176-93226075 launched on Node cn-jenkins-deploy-platform-ansible-os-3266-1 2025-05-05 02:07:04,552 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8e40ef3e-4759-4b4d-82e0-360a16865de1 2025-05-05 02:07:04,560 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f0e61f91-2dbd-45f1-b993-7dce06a39c56 2025-05-05 02:07:05,789 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.551 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 = 0.551/2.144/3.738/1.593 ms') 2025-05-05 02:07:05,789 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83950176-93226075 passed 2025-05-05 02:07:05,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:07:05,944 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83950176-93226075, IP 51.131.10.67, Port 22 2025-05-05 02:07:06,103 - DEBUG - VM ctest-TestBasicPolicy-83950176-93226075 is ready for SSH connections 2025-05-05 02:07:06,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:07:06,103 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.131.10.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-05 02:07:06,104 - DEBUG - ping -s 56 -c 3 -W 1 51.131.10.67 2025-05-05 02:07:10,040 - DEBUG - PING 51.131.10.67 (51.131.10.67): 56 data bytes 64 bytes from 51.131.10.67: seq=0 ttl=63 time=3.195 ms 64 bytes from 51.131.10.67: seq=1 ttl=63 time=0.632 ms 64 bytes from 51.131.10.67: seq=2 ttl=63 time=0.851 ms --- 51.131.10.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.632/1.559/3.195 ms 2025-05-05 02:07:10,040 - INFO - Ping to IP 51.131.10.67 from VM ctest-TestBasicPolicy-83950176-94501309 passed 2025-05-05 02:07:10,212 - DEBUG - Policy Update Response {"network-policy": {"uuid": "694329ab-87f5-4217-a3a9-ea638a2da73d", "href": "http://10.0.0.38:8082/network-policy/694329ab-87f5-4217-a3a9-ea638a2da73d"}} 2025-05-05 02:07:10,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:07:10,212 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.131.10.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-05 02:07:10,212 - DEBUG - ping -s 56 -c 3 -W 1 51.131.10.67 2025-05-05 02:07:13,406 - DEBUG - PING 51.131.10.67 (51.131.10.67): 56 data bytes --- 51.131.10.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-05 02:07:13,406 - WARNING - Ping to IP 51.131.10.67 from VM ctest-TestBasicPolicy-83950176-94501309 failed 2025-05-05 02:07:13,406 - INFO - Deleting VM ctest-TestBasicPolicy-83950176-93226075 2025-05-05 02:07:13,464 - INFO - Deleting VM ctest-TestBasicPolicy-83950176-94501309 2025-05-05 02:07:13,777 - INFO - Deleted policy ctest-policy-allow-all-15023421 2025-05-05 02:07:13,777 - INFO - Deleting VN ctest-vn-48502909 2025-05-05 02:07:13,807 - DEBUG - VN 1e012a2a-fed2-402d-9771-e6da97b04e0e still in use: Unable to complete operation on network 1e012a2a-fed2-402d-9771-e6da97b04e0e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-821cfa8a-9299-42fd-b442-63aba07f0d04'] 2025-05-05 02:07:13,807 - WARNING - Deleting VN ctest-vn-48502909 failed..Will retry 2025-05-05 02:07:15,913 - DEBUG - Response for deleting network () 2025-05-05 02:07:15,913 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6a82210a-262f-4349-a292-51cff20d2573 2025-05-05 02:07:15,923 - DEBUG - Response Code: 404 2025-05-05 02:07:15,923 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-05 02:07:15,928 - DEBUG - Requesting: http://10.0.0.38:8082/domain/15de78b2-cb4d-49de-94f9-32c178720b38 2025-05-05 02:07:15,981 - DEBUG - Requesting: http://10.0.0.38:8082/project/48e7607c-4775-41b1-8bb5-a714ed5a0f95 2025-05-05 02:07:16,048 - INFO - Validated that VN ctest-vn-48502909 is not found in API Server 2025-05-05 02:07:16,059 - DEBUG - VN ctest-vn-48502909 is not present in Agent 10.0.0.38 2025-05-05 02:07:16,060 - INFO - Validated that VN ctest-vn-48502909 is not in any agent 2025-05-05 02:07:16,074 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48502909 info 2025-05-05 02:07:16,074 - INFO - Deleting VN ctest-vn-90408301 2025-05-05 02:07:16,178 - DEBUG - Response for deleting network () 2025-05-05 02:07:16,178 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/30d65881-1771-43a8-b173-39739c444dde 2025-05-05 02:07:16,184 - DEBUG - Response Code: 404 2025-05-05 02:07:16,184 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-05 02:07:16,189 - DEBUG - Requesting: http://10.0.0.38:8082/domain/15de78b2-cb4d-49de-94f9-32c178720b38 2025-05-05 02:07:16,241 - DEBUG - Requesting: http://10.0.0.38:8082/project/48e7607c-4775-41b1-8bb5-a714ed5a0f95 2025-05-05 02:07:16,309 - INFO - Validated that VN ctest-vn-90408301 is not found in API Server 2025-05-05 02:07:16,323 - DEBUG - VN ctest-vn-90408301 is not present in Agent 10.0.0.38 2025-05-05 02:07:16,323 - INFO - Validated that VN ctest-vn-90408301 is not in any agent 2025-05-05 02:07:16,338 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90408301 info 2025-05-05 02:07:16,598 - DEBUG - No XMPP flaps were noticed during the test 2025-05-05 02:07:16,598 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-05-05 02:07:16,598 - INFO - -------------------------------------------------------------------------------- 2025-05-05 02:07:17,235 - INFO - Deleted project: ctest-TestBasicPolicy-83950176, ID : 48e7607c-4775-41b1-8bb5-a714ed5a0f95