2025-10-16 02:17:53,192 - INFO - Domain Default found not creating 2025-10-16 02:17:53,364 - INFO - Project ctest-TestBasicPolicy-78422803 not found, creating it 2025-10-16 02:17:53,838 - INFO - Created Project:ctest-TestBasicPolicy-78422803, ID : 0f0c9cd6-597f-4a46-9444-51bcb3216c8f 2025-10-16 02:17:55,294 - INFO - ================================================================================ 2025-10-16 02:17:55,294 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-16 02:17:55,294 - 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-16 02:17:55,550 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.253': '0'}} with 2025-10-16 02:17:55,550 - INFO - Initial checks done. Running the testcase now 2025-10-16 02:17:55,550 - INFO - 2025-10-16 02:17:56,121 - DEBUG - Response for create_network : {'network': {'id': '1226b7eb-52ee-4ccc-92d0-4386863ac2b8', 'name': 'ctest-vn-30258401', 'tenant_id': '0f0c9cd6597f4a46944451bcb3216c8f', 'project_id': '0f0c9cd6597f4a46944451bcb3216c8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78422803', 'ctest-vn-30258401'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:17:56,338 - DEBUG - Response for create_subnet : {'subnet': {'id': '635c1e89-6d52-41cf-a74a-d02cb2a7c905', 'name': '', 'tenant_id': '0f0c9cd6597f4a46944451bcb3216c8f', 'network_id': '1226b7eb-52ee-4ccc-92d0-4386863ac2b8', 'ip_version': 4, 'cidr': '69.159.226.64/26', 'allocation_pools': [{'start': '69.159.226.66', 'end': '69.159.226.126'}], 'gateway_ip': '69.159.226.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.159.226.66', 'tags': [], 'project_id': '0f0c9cd6597f4a46944451bcb3216c8f'}} 2025-10-16 02:17:56,357 - INFO - Created VN ctest-vn-30258401 2025-10-16 02:17:56,408 - DEBUG - VN ctest-vn-30258401 UUID is 1226b7eb-52ee-4ccc-92d0-4386863ac2b8 2025-10-16 02:17:56,773 - DEBUG - Response for create_network : {'network': {'id': '44a3f9b3-4fce-44e5-a99a-dbce0b4b5625', 'name': 'ctest-vn-61133140', 'tenant_id': '0f0c9cd6597f4a46944451bcb3216c8f', 'project_id': '0f0c9cd6597f4a46944451bcb3216c8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78422803', 'ctest-vn-61133140'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:17:56,946 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eec24484-8561-4315-a51a-4169772b0496', 'name': '', 'tenant_id': '0f0c9cd6597f4a46944451bcb3216c8f', 'network_id': '44a3f9b3-4fce-44e5-a99a-dbce0b4b5625', 'ip_version': 4, 'cidr': '53.36.2.192/26', 'allocation_pools': [{'start': '53.36.2.194', 'end': '53.36.2.254'}], 'gateway_ip': '53.36.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.36.2.194', 'tags': [], 'project_id': '0f0c9cd6597f4a46944451bcb3216c8f'}} 2025-10-16 02:17:56,965 - INFO - Created VN ctest-vn-61133140 2025-10-16 02:17:57,016 - DEBUG - VN ctest-vn-61133140 UUID is 44a3f9b3-4fce-44e5-a99a-dbce0b4b5625 2025-10-16 02:17:57,133 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78422803:ctest-vn-30258401, 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-78422803:ctest-vn-61133140, 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-16 02:17:57,436 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1226b7eb-52ee-4ccc-92d0-4386863ac2b8', 'name': 'ctest-vn-30258401', 'tenant_id': '0f0c9cd6597f4a46944451bcb3216c8f', 'project_id': '0f0c9cd6597f4a46944451bcb3216c8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['635c1e89-6d52-41cf-a74a-d02cb2a7c905'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78422803', 'ctest-vn-30258401'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78422803', 'ctest-policy-allow-all-83833805']], 'subnet_ipam': [{'subnet_cidr': '69.159.226.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:17:57,679 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44a3f9b3-4fce-44e5-a99a-dbce0b4b5625', 'name': 'ctest-vn-61133140', 'tenant_id': '0f0c9cd6597f4a46944451bcb3216c8f', 'project_id': '0f0c9cd6597f4a46944451bcb3216c8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eec24484-8561-4315-a51a-4169772b0496'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78422803', 'ctest-vn-61133140'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78422803', 'ctest-policy-allow-all-83833805']], 'subnet_ipam': [{'subnet_cidr': '53.36.2.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:17:57,834 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-16 02:17:58,141 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-16 02:17:58,169 - DEBUG - Requesting: http://10.0.0.73:8082/domain/61b1a5e4-4f17-4839-837e-aba6307473a6 2025-10-16 02:17:58,184 - DEBUG - Requesting: http://10.0.0.73:8082/project/0f0c9cd6-597f-4a46-9444-51bcb3216c8f 2025-10-16 02:17:58,255 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/1226b7eb-52ee-4ccc-92d0-4386863ac2b8 2025-10-16 02:17:58,267 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/1226b7eb-52ee-4ccc-92d0-4386863ac2b8 2025-10-16 02:17:58,276 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/5ce0946b-a54a-4d7e-81b1-f4aa57ed5325 2025-10-16 02:17:58,283 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/5ce0946b-a54a-4d7e-81b1-f4aa57ed5325 2025-10-16 02:17:58,289 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/f7228032-5276-40b2-9f42-c50cc75918a0 2025-10-16 02:17:58,296 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-16 02:17:58,296 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/1226b7eb-52ee-4ccc-92d0-4386863ac2b8 2025-10-16 02:17:58,304 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/5ce0946b-a54a-4d7e-81b1-f4aa57ed5325 2025-10-16 02:17:58,317 - INFO - Verified VN network id 11 for VN 1226b7eb-52ee-4ccc-92d0-4386863ac2b8 2025-10-16 02:17:58,318 - INFO - Verifications in API Server for VN ctest-vn-30258401 passed 2025-10-16 02:17:58,318 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/1226b7eb-52ee-4ccc-92d0-4386863ac2b8 2025-10-16 02:17:58,326 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/5ce0946b-a54a-4d7e-81b1-f4aa57ed5325 2025-10-16 02:17:58,332 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/5ce0946b-a54a-4d7e-81b1-f4aa57ed5325 2025-10-16 02:17:58,340 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/f7228032-5276-40b2-9f42-c50cc75918a0 2025-10-16 02:17:58,350 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78422803:ctest-vn-30258401', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78422803', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1307934963134254284', 'uuid-lslong': '10579029769749971640'}, 'enable': 'true', 'created': '2025-10-16T02:17:56', 'last-modified': '2025-10-16T02:17:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930693'} 2025-10-16 02:17:58,357 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-16 02:17:58,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30258401 passed 2025-10-16 02:17:58,358 - DEBUG - ====Verifying policy data for ctest-vn-30258401 in API_Server ====== 2025-10-16 02:17:58,358 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-16 02:17:58,364 - DEBUG - Requesting: http://10.0.0.73:8082/domain/61b1a5e4-4f17-4839-837e-aba6307473a6 2025-10-16 02:17:58,375 - DEBUG - Requesting: http://10.0.0.73:8082/project/0f0c9cd6-597f-4a46-9444-51bcb3216c8f 2025-10-16 02:17:58,447 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/1226b7eb-52ee-4ccc-92d0-4386863ac2b8 2025-10-16 02:17:58,456 - DEBUG - ==>Verifying data for policy with id: 5fcee1fa-a6d5-4dfb-9788-9c8f0b392901, fqn: ['default-domain', 'ctest-TestBasicPolicy-78422803', 'ctest-policy-allow-all-83833805'] 2025-10-16 02:17:58,456 - INFO - VN ctest-vn-30258401 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-16 02:17:58,456 - DEBUG - Verifying the vn in opserver 2025-10-16 02:17:58,456 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78422803:ctest-vn-30258401 virtual network link through opserver 10.0.0.73 2025-10-16 02:17:58,457 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-10-16 02:17:58,756 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-10-16 02:17:58,811 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78422803:ctest-vn-30258401', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78422803:ctest-vn-30258401?flat'} 2025-10-16 02:17:58,811 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78422803:ctest-vn-30258401 is found in opserver 2025-10-16 02:17:58,821 - DEBUG - Do not have enough data to verify VN in agent 2025-10-16 02:17:58,825 - DEBUG - VRF ids for VN ctest-vn-30258401: {} 2025-10-16 02:17:58,825 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-16 02:17:58,831 - DEBUG - Requesting: http://10.0.0.73:8082/domain/61b1a5e4-4f17-4839-837e-aba6307473a6 2025-10-16 02:17:58,842 - DEBUG - Requesting: http://10.0.0.73:8082/project/0f0c9cd6-597f-4a46-9444-51bcb3216c8f 2025-10-16 02:17:58,908 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/44a3f9b3-4fce-44e5-a99a-dbce0b4b5625 2025-10-16 02:17:58,921 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/44a3f9b3-4fce-44e5-a99a-dbce0b4b5625 2025-10-16 02:17:58,930 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/38149722-4eda-4d4f-a9b6-898edbee03c8 2025-10-16 02:17:58,937 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/38149722-4eda-4d4f-a9b6-898edbee03c8 2025-10-16 02:17:58,944 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/6e9ee2be-5939-41a2-aada-87ebeb7a3dc0 2025-10-16 02:17:58,952 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-16 02:17:58,952 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/44a3f9b3-4fce-44e5-a99a-dbce0b4b5625 2025-10-16 02:17:58,961 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/38149722-4eda-4d4f-a9b6-898edbee03c8 2025-10-16 02:17:58,974 - INFO - Verified VN network id 12 for VN 44a3f9b3-4fce-44e5-a99a-dbce0b4b5625 2025-10-16 02:17:58,974 - INFO - Verifications in API Server for VN ctest-vn-61133140 passed 2025-10-16 02:17:58,974 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/44a3f9b3-4fce-44e5-a99a-dbce0b4b5625 2025-10-16 02:17:58,983 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/38149722-4eda-4d4f-a9b6-898edbee03c8 2025-10-16 02:17:58,991 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/38149722-4eda-4d4f-a9b6-898edbee03c8 2025-10-16 02:17:58,999 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/6e9ee2be-5939-41a2-aada-87ebeb7a3dc0 2025-10-16 02:17:59,014 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78422803:ctest-vn-61133140', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78422803', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4946071364316316901', 'uuid-lslong': '12221322216822494757'}, 'enable': 'true', 'created': '2025-10-16T02:17:56', 'last-modified': '2025-10-16T02:17:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.359362'} 2025-10-16 02:17:59,021 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-16 02:17:59,021 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61133140 passed 2025-10-16 02:17:59,021 - DEBUG - ====Verifying policy data for ctest-vn-61133140 in API_Server ====== 2025-10-16 02:17:59,021 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-16 02:17:59,028 - DEBUG - Requesting: http://10.0.0.73:8082/domain/61b1a5e4-4f17-4839-837e-aba6307473a6 2025-10-16 02:17:59,040 - DEBUG - Requesting: http://10.0.0.73:8082/project/0f0c9cd6-597f-4a46-9444-51bcb3216c8f 2025-10-16 02:17:59,115 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/44a3f9b3-4fce-44e5-a99a-dbce0b4b5625 2025-10-16 02:17:59,124 - DEBUG - ==>Verifying data for policy with id: 5fcee1fa-a6d5-4dfb-9788-9c8f0b392901, fqn: ['default-domain', 'ctest-TestBasicPolicy-78422803', 'ctest-policy-allow-all-83833805'] 2025-10-16 02:17:59,124 - INFO - VN ctest-vn-61133140 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-16 02:17:59,124 - DEBUG - Verifying the vn in opserver 2025-10-16 02:17:59,124 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78422803:ctest-vn-61133140 virtual network link through opserver 10.0.0.73 2025-10-16 02:17:59,124 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-10-16 02:17:59,135 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78422803:ctest-vn-61133140', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78422803:ctest-vn-61133140?flat'} 2025-10-16 02:17:59,135 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78422803:ctest-vn-61133140 is found in opserver 2025-10-16 02:17:59,145 - DEBUG - Do not have enough data to verify VN in agent 2025-10-16 02:17:59,150 - DEBUG - VRF ids for VN ctest-vn-61133140: {} 2025-10-16 02:17:59,209 - DEBUG - Services list from nova: [, , ] 2025-10-16 02:18:00,259 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4338-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4338-1) 2025-10-16 02:18:01,414 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4338-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4338-1) 2025-10-16 02:18:01,415 - INFO - Waiting for VM ctest-TestBasicPolicy-78422803-41850918 to be up.. 2025-10-16 02:18:01,492 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 02:18:06,574 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:18:06,574 - INFO - VM name : ctest-TestBasicPolicy-78422803-41850918 2025-10-16 02:18:06,648 - DEBUG - VM ctest-TestBasicPolicy-78422803-41850918 ID is de6c7c72-3779-4b06-8541-170c56d8d790 2025-10-16 02:18:06,671 - DEBUG - VM ctest-TestBasicPolicy-78422803-41850918 launched on Node cn-jenkins-deploy-platform-ansible-os-4338-1 2025-10-16 02:18:06,747 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/de6c7c72-3779-4b06-8541-170c56d8d790 2025-10-16 02:18:06,755 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/9923a712-bd6f-4a6e-8a28-77f174fd9f9c 2025-10-16 02:18:10,011 - 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 1018ms') 2025-10-16 02:18:10,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78422803-41850918 failed! 2025-10-16 02:18:10,068 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78422803:ctest-vn-30258401 is 69.159.226.65 and allocation pool is NOT set 2025-10-16 02:18:12,134 - 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.0 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 1001ms\r\nrtt min/avg/max/mdev = 0.289/5.163/10.037/4.874 ms') 2025-10-16 02:18:12,134 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78422803-41850918 passed 2025-10-16 02:18:12,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:18:12,292 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78422803-41850918, IP 69.159.226.67, Port 22 2025-10-16 02:18:12,456 - DEBUG - VM ctest-TestBasicPolicy-78422803-41850918 is ready for SSH connections 2025-10-16 02:18:12,456 - INFO - Waiting for VM ctest-TestBasicPolicy-78422803-50279460 to be up.. 2025-10-16 02:18:12,543 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:18:12,543 - INFO - VM name : ctest-TestBasicPolicy-78422803-50279460 2025-10-16 02:18:12,617 - DEBUG - VM ctest-TestBasicPolicy-78422803-50279460 ID is 0cb1b7b1-a329-4d17-964b-076c0adecbcc 2025-10-16 02:18:12,617 - DEBUG - VM ctest-TestBasicPolicy-78422803-50279460 launched on Node cn-jenkins-deploy-platform-ansible-os-4338-1 2025-10-16 02:18:12,692 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/0cb1b7b1-a329-4d17-964b-076c0adecbcc 2025-10-16 02:18:12,701 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/61a540a9-9cf8-4b21-b22d-f846d39d7d13 2025-10-16 02:18:13,942 - 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=2.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.599 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.599/1.745/2.891/1.146 ms') 2025-10-16 02:18:13,942 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78422803-50279460 passed 2025-10-16 02:18:14,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:18:14,092 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78422803-50279460, IP 53.36.2.195, Port 22 2025-10-16 02:18:14,259 - DEBUG - VM ctest-TestBasicPolicy-78422803-50279460 is ready for SSH connections 2025-10-16 02:18:14,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:18:14,259 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.36.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-16 02:18:14,259 - DEBUG - ping -s 56 -c 3 -W 1 53.36.2.195 2025-10-16 02:18:17,959 - DEBUG - PING 53.36.2.195 (53.36.2.195): 56 data bytes 64 bytes from 53.36.2.195: seq=0 ttl=63 time=3.588 ms 64 bytes from 53.36.2.195: seq=1 ttl=63 time=0.844 ms 64 bytes from 53.36.2.195: seq=2 ttl=63 time=0.913 ms --- 53.36.2.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/1.781/3.588 ms 2025-10-16 02:18:17,960 - INFO - Ping to IP 53.36.2.195 from VM ctest-TestBasicPolicy-78422803-41850918 passed 2025-10-16 02:18:18,144 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5fcee1fa-a6d5-4dfb-9788-9c8f0b392901", "href": "http://10.0.0.73:8082/network-policy/5fcee1fa-a6d5-4dfb-9788-9c8f0b392901"}} 2025-10-16 02:18:18,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:18:18,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.36.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-16 02:18:18,144 - DEBUG - ping -s 56 -c 3 -W 1 53.36.2.195 2025-10-16 02:18:21,360 - DEBUG - PING 53.36.2.195 (53.36.2.195): 56 data bytes --- 53.36.2.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-16 02:18:21,360 - WARNING - Ping to IP 53.36.2.195 from VM ctest-TestBasicPolicy-78422803-41850918 failed 2025-10-16 02:18:21,360 - INFO - Deleting VM ctest-TestBasicPolicy-78422803-50279460 2025-10-16 02:18:21,430 - INFO - Deleting VM ctest-TestBasicPolicy-78422803-41850918 2025-10-16 02:18:21,806 - INFO - Deleted policy ctest-policy-allow-all-83833805 2025-10-16 02:18:21,806 - INFO - Deleting VN ctest-vn-61133140 2025-10-16 02:18:21,844 - DEBUG - VN 44a3f9b3-4fce-44e5-a99a-dbce0b4b5625 still in use: Unable to complete operation on network 44a3f9b3-4fce-44e5-a99a-dbce0b4b5625. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8fdac361-7f2d-4987-87cf-53b3fd53fe1d'] 2025-10-16 02:18:21,844 - WARNING - Deleting VN ctest-vn-61133140 failed..Will retry 2025-10-16 02:18:23,961 - DEBUG - Response for deleting network () 2025-10-16 02:18:23,961 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/38149722-4eda-4d4f-a9b6-898edbee03c8 2025-10-16 02:18:23,969 - DEBUG - Response Code: 404 2025-10-16 02:18:23,969 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-16 02:18:23,974 - DEBUG - Requesting: http://10.0.0.73:8082/domain/61b1a5e4-4f17-4839-837e-aba6307473a6 2025-10-16 02:18:24,030 - DEBUG - Requesting: http://10.0.0.73:8082/project/0f0c9cd6-597f-4a46-9444-51bcb3216c8f 2025-10-16 02:18:24,102 - INFO - Validated that VN ctest-vn-61133140 is not found in API Server 2025-10-16 02:18:24,113 - DEBUG - VN ctest-vn-61133140 is not present in Agent 10.0.0.73 2025-10-16 02:18:24,113 - INFO - Validated that VN ctest-vn-61133140 is not in any agent 2025-10-16 02:18:24,130 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61133140 info 2025-10-16 02:18:24,130 - INFO - Deleting VN ctest-vn-30258401 2025-10-16 02:18:24,245 - DEBUG - Response for deleting network () 2025-10-16 02:18:24,245 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/5ce0946b-a54a-4d7e-81b1-f4aa57ed5325 2025-10-16 02:18:24,255 - DEBUG - Response Code: 404 2025-10-16 02:18:24,256 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-16 02:18:24,263 - DEBUG - Requesting: http://10.0.0.73:8082/domain/61b1a5e4-4f17-4839-837e-aba6307473a6 2025-10-16 02:18:24,321 - DEBUG - Requesting: http://10.0.0.73:8082/project/0f0c9cd6-597f-4a46-9444-51bcb3216c8f 2025-10-16 02:18:24,393 - INFO - Validated that VN ctest-vn-30258401 is not found in API Server 2025-10-16 02:18:24,403 - DEBUG - VN ctest-vn-30258401 is not present in Agent 10.0.0.73 2025-10-16 02:18:24,403 - INFO - Validated that VN ctest-vn-30258401 is not in any agent 2025-10-16 02:18:24,418 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30258401 info 2025-10-16 02:18:24,678 - DEBUG - No XMPP flaps were noticed during the test 2025-10-16 02:18:24,678 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-16 02:18:24,678 - INFO - -------------------------------------------------------------------------------- 2025-10-16 02:18:25,402 - INFO - Deleted project: ctest-TestBasicPolicy-78422803, ID : 0f0c9cd6-597f-4a46-9444-51bcb3216c8f