2025-10-27 07:53:53,295 - INFO - Domain Default found not creating 2025-10-27 07:53:53,446 - INFO - Project ctest-TestBasicPolicy-51372866 not found, creating it 2025-10-27 07:53:53,910 - INFO - Created Project:ctest-TestBasicPolicy-51372866, ID : 95c514f4-b73f-4bbb-9ad1-1e741e4b98a5 2025-10-27 07:53:55,558 - INFO - ================================================================================ 2025-10-27 07:53:55,558 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 07:53:55,558 - 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-10-27 07:53:55,815 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-27 07:53:55,815 - INFO - Initial checks done. Running the testcase now 2025-10-27 07:53:55,815 - INFO - 2025-10-27 07:53:56,397 - DEBUG - Response for create_network : {'network': {'id': 'f64711d6-ae47-4354-bf0a-8120b83170c6', 'name': 'ctest-vn-27167296', 'tenant_id': '95c514f4b73f4bbb9ad11e741e4b98a5', 'project_id': '95c514f4b73f4bbb9ad11e741e4b98a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51372866', 'ctest-vn-27167296'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 07:53:56,559 - DEBUG - Response for create_subnet : {'subnet': {'id': '037dd661-3420-434e-89f9-4f8310de7026', 'name': '', 'tenant_id': '95c514f4b73f4bbb9ad11e741e4b98a5', 'network_id': 'f64711d6-ae47-4354-bf0a-8120b83170c6', 'ip_version': 4, 'cidr': '11.125.31.0/26', 'allocation_pools': [{'start': '11.125.31.2', 'end': '11.125.31.62'}], 'gateway_ip': '11.125.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.125.31.2', 'tags': [], 'project_id': '95c514f4b73f4bbb9ad11e741e4b98a5'}} 2025-10-27 07:53:56,579 - INFO - Created VN ctest-vn-27167296 2025-10-27 07:53:56,630 - DEBUG - VN ctest-vn-27167296 UUID is f64711d6-ae47-4354-bf0a-8120b83170c6 2025-10-27 07:53:56,953 - DEBUG - Response for create_network : {'network': {'id': '7fcd0091-589c-4352-a3ae-84c4452fc923', 'name': 'ctest-vn-54777500', 'tenant_id': '95c514f4b73f4bbb9ad11e741e4b98a5', 'project_id': '95c514f4b73f4bbb9ad11e741e4b98a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51372866', 'ctest-vn-54777500'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 07:53:57,103 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd60783f-071a-4223-a3f2-26ac2c808671', 'name': '', 'tenant_id': '95c514f4b73f4bbb9ad11e741e4b98a5', 'network_id': '7fcd0091-589c-4352-a3ae-84c4452fc923', 'ip_version': 4, 'cidr': '123.94.253.64/26', 'allocation_pools': [{'start': '123.94.253.66', 'end': '123.94.253.126'}], 'gateway_ip': '123.94.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.94.253.66', 'tags': [], 'project_id': '95c514f4b73f4bbb9ad11e741e4b98a5'}} 2025-10-27 07:53:57,123 - INFO - Created VN ctest-vn-54777500 2025-10-27 07:53:57,174 - DEBUG - VN ctest-vn-54777500 UUID is 7fcd0091-589c-4352-a3ae-84c4452fc923 2025-10-27 07:53:57,295 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51372866:ctest-vn-27167296, 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-51372866:ctest-vn-54777500, 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-10-27 07:53:57,593 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f64711d6-ae47-4354-bf0a-8120b83170c6', 'name': 'ctest-vn-27167296', 'tenant_id': '95c514f4b73f4bbb9ad11e741e4b98a5', 'project_id': '95c514f4b73f4bbb9ad11e741e4b98a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['037dd661-3420-434e-89f9-4f8310de7026'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51372866', 'ctest-vn-27167296'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51372866', 'ctest-policy-allow-all-35474538']], 'subnet_ipam': [{'subnet_cidr': '11.125.31.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 07:53:57,831 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7fcd0091-589c-4352-a3ae-84c4452fc923', 'name': 'ctest-vn-54777500', 'tenant_id': '95c514f4b73f4bbb9ad11e741e4b98a5', 'project_id': '95c514f4b73f4bbb9ad11e741e4b98a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fd60783f-071a-4223-a3f2-26ac2c808671'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51372866', 'ctest-vn-54777500'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51372866', 'ctest-policy-allow-all-35474538']], 'subnet_ipam': [{'subnet_cidr': '123.94.253.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 07:53:57,986 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 07:53:58,318 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 07:53:58,345 - DEBUG - Requesting: http://10.0.0.249:8082/domain/05a5bf6f-da3c-4d7f-b9ed-69828826623a 2025-10-27 07:53:58,357 - DEBUG - Requesting: http://10.0.0.249:8082/project/95c514f4-b73f-4bbb-9ad1-1e741e4b98a5 2025-10-27 07:53:58,433 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f64711d6-ae47-4354-bf0a-8120b83170c6 2025-10-27 07:53:58,445 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f64711d6-ae47-4354-bf0a-8120b83170c6 2025-10-27 07:53:58,454 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/74e788a0-eaeb-493d-9ffc-df69dade0f5e 2025-10-27 07:53:58,461 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/74e788a0-eaeb-493d-9ffc-df69dade0f5e 2025-10-27 07:53:58,468 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/af802399-4767-4434-8c9d-a62259670ff6 2025-10-27 07:53:58,474 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 07:53:58,474 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f64711d6-ae47-4354-bf0a-8120b83170c6 2025-10-27 07:53:58,483 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/74e788a0-eaeb-493d-9ffc-df69dade0f5e 2025-10-27 07:53:58,497 - INFO - Verified VN network id 11 for VN f64711d6-ae47-4354-bf0a-8120b83170c6 2025-10-27 07:53:58,497 - INFO - Verifications in API Server for VN ctest-vn-27167296 passed 2025-10-27 07:53:58,497 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f64711d6-ae47-4354-bf0a-8120b83170c6 2025-10-27 07:53:58,506 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/74e788a0-eaeb-493d-9ffc-df69dade0f5e 2025-10-27 07:53:58,512 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/74e788a0-eaeb-493d-9ffc-df69dade0f5e 2025-10-27 07:53:58,518 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/af802399-4767-4434-8c9d-a62259670ff6 2025-10-27 07:53:58,529 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51372866:ctest-vn-27167296', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51372866', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17746172470421308244', 'uuid-lslong': '13765957188540526790'}, 'enable': 'true', 'created': '2025-10-27T07:53:56', 'last-modified': '2025-10-27T07:53:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.960507'} 2025-10-27 07:53:58,535 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 07:53:58,535 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27167296 passed 2025-10-27 07:53:58,535 - DEBUG - ====Verifying policy data for ctest-vn-27167296 in API_Server ====== 2025-10-27 07:53:58,535 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 07:53:58,540 - DEBUG - Requesting: http://10.0.0.249:8082/domain/05a5bf6f-da3c-4d7f-b9ed-69828826623a 2025-10-27 07:53:58,551 - DEBUG - Requesting: http://10.0.0.249:8082/project/95c514f4-b73f-4bbb-9ad1-1e741e4b98a5 2025-10-27 07:53:58,619 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/f64711d6-ae47-4354-bf0a-8120b83170c6 2025-10-27 07:53:58,628 - DEBUG - ==>Verifying data for policy with id: 20bf775a-5ffa-443c-93f3-a9735436675a, fqn: ['default-domain', 'ctest-TestBasicPolicy-51372866', 'ctest-policy-allow-all-35474538'] 2025-10-27 07:53:58,628 - INFO - VN ctest-vn-27167296 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 07:53:58,629 - DEBUG - Verifying the vn in opserver 2025-10-27 07:53:58,629 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51372866:ctest-vn-27167296 virtual network link through opserver 10.0.0.249 2025-10-27 07:53:58,629 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-27 07:53:58,960 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-27 07:53:59,020 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51372866:ctest-vn-27167296', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51372866:ctest-vn-27167296?flat'} 2025-10-27 07:53:59,020 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51372866:ctest-vn-27167296 is found in opserver 2025-10-27 07:53:59,030 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 07:53:59,035 - DEBUG - VRF ids for VN ctest-vn-27167296: {} 2025-10-27 07:53:59,035 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 07:53:59,040 - DEBUG - Requesting: http://10.0.0.249:8082/domain/05a5bf6f-da3c-4d7f-b9ed-69828826623a 2025-10-27 07:53:59,052 - DEBUG - Requesting: http://10.0.0.249:8082/project/95c514f4-b73f-4bbb-9ad1-1e741e4b98a5 2025-10-27 07:53:59,120 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/7fcd0091-589c-4352-a3ae-84c4452fc923 2025-10-27 07:53:59,132 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/7fcd0091-589c-4352-a3ae-84c4452fc923 2025-10-27 07:53:59,141 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f7fbcfb5-eaef-405a-b32a-fdf56a7ef94e 2025-10-27 07:53:59,148 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f7fbcfb5-eaef-405a-b32a-fdf56a7ef94e 2025-10-27 07:53:59,156 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b2e2f5ae-5608-40cd-b1fc-d908e7fda81e 2025-10-27 07:53:59,164 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 07:53:59,164 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/7fcd0091-589c-4352-a3ae-84c4452fc923 2025-10-27 07:53:59,176 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f7fbcfb5-eaef-405a-b32a-fdf56a7ef94e 2025-10-27 07:53:59,193 - INFO - Verified VN network id 12 for VN 7fcd0091-589c-4352-a3ae-84c4452fc923 2025-10-27 07:53:59,193 - INFO - Verifications in API Server for VN ctest-vn-54777500 passed 2025-10-27 07:53:59,193 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/7fcd0091-589c-4352-a3ae-84c4452fc923 2025-10-27 07:53:59,202 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f7fbcfb5-eaef-405a-b32a-fdf56a7ef94e 2025-10-27 07:53:59,208 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f7fbcfb5-eaef-405a-b32a-fdf56a7ef94e 2025-10-27 07:53:59,215 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b2e2f5ae-5608-40cd-b1fc-d908e7fda81e 2025-10-27 07:53:59,227 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51372866:ctest-vn-54777500', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51372866', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9209017437299426130', 'uuid-lslong': '11794510452639123747'}, 'enable': 'true', 'created': '2025-10-27T07:53:56', 'last-modified': '2025-10-27T07:53:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.429940'} 2025-10-27 07:53:59,233 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 07:53:59,233 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54777500 passed 2025-10-27 07:53:59,233 - DEBUG - ====Verifying policy data for ctest-vn-54777500 in API_Server ====== 2025-10-27 07:53:59,233 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 07:53:59,240 - DEBUG - Requesting: http://10.0.0.249:8082/domain/05a5bf6f-da3c-4d7f-b9ed-69828826623a 2025-10-27 07:53:59,251 - DEBUG - Requesting: http://10.0.0.249:8082/project/95c514f4-b73f-4bbb-9ad1-1e741e4b98a5 2025-10-27 07:53:59,324 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/7fcd0091-589c-4352-a3ae-84c4452fc923 2025-10-27 07:53:59,335 - DEBUG - ==>Verifying data for policy with id: 20bf775a-5ffa-443c-93f3-a9735436675a, fqn: ['default-domain', 'ctest-TestBasicPolicy-51372866', 'ctest-policy-allow-all-35474538'] 2025-10-27 07:53:59,335 - INFO - VN ctest-vn-54777500 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 07:53:59,335 - DEBUG - Verifying the vn in opserver 2025-10-27 07:53:59,335 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51372866:ctest-vn-54777500 virtual network link through opserver 10.0.0.249 2025-10-27 07:53:59,335 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-27 07:53:59,345 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51372866:ctest-vn-54777500', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51372866:ctest-vn-54777500?flat'} 2025-10-27 07:53:59,345 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51372866:ctest-vn-54777500 is found in opserver 2025-10-27 07:53:59,354 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 07:53:59,359 - DEBUG - VRF ids for VN ctest-vn-54777500: {} 2025-10-27 07:53:59,420 - DEBUG - Services list from nova: [, , ] 2025-10-27 07:54:00,559 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4495-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4495-1) 2025-10-27 07:54:01,783 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4495-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4495-1) 2025-10-27 07:54:01,784 - INFO - Waiting for VM ctest-TestBasicPolicy-51372866-78061884 to be up.. 2025-10-27 07:54:01,875 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 07:54:06,954 - DEBUG - VM is in ACTIVE state now 2025-10-27 07:54:06,955 - INFO - VM name : ctest-TestBasicPolicy-51372866-78061884 2025-10-27 07:54:07,028 - DEBUG - VM ctest-TestBasicPolicy-51372866-78061884 ID is 6e576890-8d9d-467e-91ae-76d7788514e9 2025-10-27 07:54:07,049 - DEBUG - VM ctest-TestBasicPolicy-51372866-78061884 launched on Node cn-jenkins-deploy-platform-ansible-os-4495-1 2025-10-27 07:54:07,123 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6e576890-8d9d-467e-91ae-76d7788514e9 2025-10-27 07:54:07,132 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ea6b4b78-84e1-448e-ac0b-598ba210cd16 2025-10-27 07:54:10,379 - 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 1006ms') 2025-10-27 07:54:10,379 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51372866-78061884 failed! 2025-10-27 07:54:10,434 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51372866:ctest-vn-27167296 is 11.125.31.1 and allocation pool is NOT set 2025-10-27 07:54:12,498 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.02 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.020/6.704/10.389/3.684 ms') 2025-10-27 07:54:12,498 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51372866-78061884 passed 2025-10-27 07:54:12,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 07:54:12,646 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51372866-78061884, IP 11.125.31.3, Port 22 2025-10-27 07:54:12,820 - DEBUG - VM ctest-TestBasicPolicy-51372866-78061884 is ready for SSH connections 2025-10-27 07:54:12,820 - INFO - Waiting for VM ctest-TestBasicPolicy-51372866-86382791 to be up.. 2025-10-27 07:54:12,923 - DEBUG - VM is in ACTIVE state now 2025-10-27 07:54:12,923 - INFO - VM name : ctest-TestBasicPolicy-51372866-86382791 2025-10-27 07:54:13,036 - DEBUG - VM ctest-TestBasicPolicy-51372866-86382791 ID is 26d4c1ae-ad4f-47f5-8ec8-56d697e99eff 2025-10-27 07:54:13,036 - DEBUG - VM ctest-TestBasicPolicy-51372866-86382791 launched on Node cn-jenkins-deploy-platform-ansible-os-4495-1 2025-10-27 07:54:13,133 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/26d4c1ae-ad4f-47f5-8ec8-56d697e99eff 2025-10-27 07:54:13,143 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f39ed320-82d1-44f6-a78b-cac29f6f6f03 2025-10-27 07:54:14,395 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.440 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.440/2.752/5.064/2.312 ms') 2025-10-27 07:54:14,396 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51372866-86382791 passed 2025-10-27 07:54:14,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 07:54:14,550 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51372866-86382791, IP 123.94.253.67, Port 22 2025-10-27 07:54:14,709 - DEBUG - VM ctest-TestBasicPolicy-51372866-86382791 is ready for SSH connections 2025-10-27 07:54:14,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 07:54:14,709 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.94.253.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-27 07:54:14,709 - DEBUG - ping -s 56 -c 3 -W 1 123.94.253.67 2025-10-27 07:54:18,866 - DEBUG - PING 123.94.253.67 (123.94.253.67): 56 data bytes 64 bytes from 123.94.253.67: seq=0 ttl=63 time=3.856 ms 64 bytes from 123.94.253.67: seq=1 ttl=63 time=0.749 ms 64 bytes from 123.94.253.67: seq=2 ttl=63 time=0.753 ms --- 123.94.253.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.749/1.786/3.856 ms 2025-10-27 07:54:18,867 - INFO - Ping to IP 123.94.253.67 from VM ctest-TestBasicPolicy-51372866-78061884 passed 2025-10-27 07:54:19,041 - DEBUG - Policy Update Response {"network-policy": {"uuid": "20bf775a-5ffa-443c-93f3-a9735436675a", "href": "http://10.0.0.249:8082/network-policy/20bf775a-5ffa-443c-93f3-a9735436675a"}} 2025-10-27 07:54:19,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 07:54:19,042 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.94.253.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-27 07:54:19,042 - DEBUG - ping -s 56 -c 3 -W 1 123.94.253.67 2025-10-27 07:54:22,279 - DEBUG - PING 123.94.253.67 (123.94.253.67): 56 data bytes --- 123.94.253.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 07:54:22,279 - WARNING - Ping to IP 123.94.253.67 from VM ctest-TestBasicPolicy-51372866-78061884 failed 2025-10-27 07:54:22,279 - INFO - Deleting VM ctest-TestBasicPolicy-51372866-86382791 2025-10-27 07:54:22,350 - INFO - Deleting VM ctest-TestBasicPolicy-51372866-78061884 2025-10-27 07:54:22,743 - INFO - Deleted policy ctest-policy-allow-all-35474538 2025-10-27 07:54:22,743 - INFO - Deleting VN ctest-vn-54777500 2025-10-27 07:54:22,779 - DEBUG - VN 7fcd0091-589c-4352-a3ae-84c4452fc923 still in use: Unable to complete operation on network 7fcd0091-589c-4352-a3ae-84c4452fc923. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6fa1fb21-c2f5-4eaa-b8ff-5ff9f9a2f424'] 2025-10-27 07:54:22,779 - WARNING - Deleting VN ctest-vn-54777500 failed..Will retry 2025-10-27 07:54:24,878 - DEBUG - Response for deleting network () 2025-10-27 07:54:24,878 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f7fbcfb5-eaef-405a-b32a-fdf56a7ef94e 2025-10-27 07:54:24,882 - DEBUG - Response Code: 404 2025-10-27 07:54:24,883 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 07:54:24,887 - DEBUG - Requesting: http://10.0.0.249:8082/domain/05a5bf6f-da3c-4d7f-b9ed-69828826623a 2025-10-27 07:54:24,944 - DEBUG - Requesting: http://10.0.0.249:8082/project/95c514f4-b73f-4bbb-9ad1-1e741e4b98a5 2025-10-27 07:54:25,015 - INFO - Validated that VN ctest-vn-54777500 is not found in API Server 2025-10-27 07:54:25,025 - DEBUG - VN ctest-vn-54777500 is not present in Agent 10.0.0.249 2025-10-27 07:54:25,026 - INFO - Validated that VN ctest-vn-54777500 is not in any agent 2025-10-27 07:54:25,039 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54777500 info 2025-10-27 07:54:25,039 - INFO - Deleting VN ctest-vn-27167296 2025-10-27 07:54:25,130 - DEBUG - Response for deleting network () 2025-10-27 07:54:25,130 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/74e788a0-eaeb-493d-9ffc-df69dade0f5e 2025-10-27 07:54:25,139 - DEBUG - Response Code: 404 2025-10-27 07:54:25,139 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 07:54:25,145 - DEBUG - Requesting: http://10.0.0.249:8082/domain/05a5bf6f-da3c-4d7f-b9ed-69828826623a 2025-10-27 07:54:25,199 - DEBUG - Requesting: http://10.0.0.249:8082/project/95c514f4-b73f-4bbb-9ad1-1e741e4b98a5 2025-10-27 07:54:25,270 - INFO - Validated that VN ctest-vn-27167296 is not found in API Server 2025-10-27 07:54:25,281 - DEBUG - VN ctest-vn-27167296 is not present in Agent 10.0.0.249 2025-10-27 07:54:25,281 - INFO - Validated that VN ctest-vn-27167296 is not in any agent 2025-10-27 07:54:25,294 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27167296 info 2025-10-27 07:54:25,546 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 07:54:25,546 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-27 07:54:25,546 - INFO - -------------------------------------------------------------------------------- 2025-10-27 07:54:26,261 - INFO - Deleted project: ctest-TestBasicPolicy-51372866, ID : 95c514f4-b73f-4bbb-9ad1-1e741e4b98a5