2025-10-14 18:13:45,436 - INFO - Domain Default found not creating 2025-10-14 18:13:45,569 - INFO - Project ctest-TestBasicPolicy-88586345 not found, creating it 2025-10-14 18:13:45,999 - INFO - Created Project:ctest-TestBasicPolicy-88586345, ID : 88c65935-84e7-49b7-ac71-dbff4aa8125d 2025-10-14 18:13:47,405 - INFO - ================================================================================ 2025-10-14 18:13:47,405 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-14 18:13:47,406 - 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-14 18:13:47,665 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-14 18:13:47,665 - INFO - Initial checks done. Running the testcase now 2025-10-14 18:13:47,665 - INFO - 2025-10-14 18:13:48,220 - DEBUG - Response for create_network : {'network': {'id': '67fe5e6a-9477-4fa6-995e-47fc4d122732', 'name': 'ctest-vn-11165152', 'tenant_id': '88c6593584e749b7ac71dbff4aa8125d', 'project_id': '88c6593584e749b7ac71dbff4aa8125d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88586345', 'ctest-vn-11165152'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:13:48,434 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fb3deee-4d86-4e75-8b51-240c9e2e8238', 'name': '', 'tenant_id': '88c6593584e749b7ac71dbff4aa8125d', 'network_id': '67fe5e6a-9477-4fa6-995e-47fc4d122732', 'ip_version': 4, 'cidr': '106.228.129.192/26', 'allocation_pools': [{'start': '106.228.129.194', 'end': '106.228.129.254'}], 'gateway_ip': '106.228.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.228.129.194', 'tags': [], 'project_id': '88c6593584e749b7ac71dbff4aa8125d'}} 2025-10-14 18:13:48,451 - INFO - Created VN ctest-vn-11165152 2025-10-14 18:13:48,504 - DEBUG - VN ctest-vn-11165152 UUID is 67fe5e6a-9477-4fa6-995e-47fc4d122732 2025-10-14 18:13:48,806 - DEBUG - Response for create_network : {'network': {'id': '613c553f-7be3-4ada-af70-713f1c00c097', 'name': 'ctest-vn-16612251', 'tenant_id': '88c6593584e749b7ac71dbff4aa8125d', 'project_id': '88c6593584e749b7ac71dbff4aa8125d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88586345', 'ctest-vn-16612251'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:13:48,975 - DEBUG - Response for create_subnet : {'subnet': {'id': '78a5f39d-791d-43b4-84a5-1934eabcdcc0', 'name': '', 'tenant_id': '88c6593584e749b7ac71dbff4aa8125d', 'network_id': '613c553f-7be3-4ada-af70-713f1c00c097', 'ip_version': 4, 'cidr': '198.158.111.128/26', 'allocation_pools': [{'start': '198.158.111.130', 'end': '198.158.111.190'}], 'gateway_ip': '198.158.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.158.111.130', 'tags': [], 'project_id': '88c6593584e749b7ac71dbff4aa8125d'}} 2025-10-14 18:13:48,993 - INFO - Created VN ctest-vn-16612251 2025-10-14 18:13:49,044 - DEBUG - VN ctest-vn-16612251 UUID is 613c553f-7be3-4ada-af70-713f1c00c097 2025-10-14 18:13:49,195 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88586345:ctest-vn-11165152, 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-88586345:ctest-vn-16612251, 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-14 18:13:49,480 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '67fe5e6a-9477-4fa6-995e-47fc4d122732', 'name': 'ctest-vn-11165152', 'tenant_id': '88c6593584e749b7ac71dbff4aa8125d', 'project_id': '88c6593584e749b7ac71dbff4aa8125d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4fb3deee-4d86-4e75-8b51-240c9e2e8238'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88586345', 'ctest-vn-11165152'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88586345', 'ctest-policy-allow-all-19268407']], 'subnet_ipam': [{'subnet_cidr': '106.228.129.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:13:49,744 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '613c553f-7be3-4ada-af70-713f1c00c097', 'name': 'ctest-vn-16612251', 'tenant_id': '88c6593584e749b7ac71dbff4aa8125d', 'project_id': '88c6593584e749b7ac71dbff4aa8125d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['78a5f39d-791d-43b4-84a5-1934eabcdcc0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88586345', 'ctest-vn-16612251'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88586345', 'ctest-policy-allow-all-19268407']], 'subnet_ipam': [{'subnet_cidr': '198.158.111.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:13:49,892 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-14 18:13:50,182 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-14 18:13:50,210 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31fb57cf-c5a9-415c-b926-81959e070dfb 2025-10-14 18:13:50,220 - DEBUG - Requesting: http://10.0.0.254:8082/project/88c65935-84e7-49b7-ac71-dbff4aa8125d 2025-10-14 18:13:50,289 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/67fe5e6a-9477-4fa6-995e-47fc4d122732 2025-10-14 18:13:50,297 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/67fe5e6a-9477-4fa6-995e-47fc4d122732 2025-10-14 18:13:50,304 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f748c7f2-5a21-48e3-acda-0366371395a5 2025-10-14 18:13:50,310 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f748c7f2-5a21-48e3-acda-0366371395a5 2025-10-14 18:13:50,316 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9c8788be-fc1f-409d-af04-3dec8f14317d 2025-10-14 18:13:50,320 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-14 18:13:50,320 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/67fe5e6a-9477-4fa6-995e-47fc4d122732 2025-10-14 18:13:50,327 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f748c7f2-5a21-48e3-acda-0366371395a5 2025-10-14 18:13:50,338 - INFO - Verified VN network id 12 for VN 67fe5e6a-9477-4fa6-995e-47fc4d122732 2025-10-14 18:13:50,338 - INFO - Verifications in API Server for VN ctest-vn-11165152 passed 2025-10-14 18:13:50,338 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/67fe5e6a-9477-4fa6-995e-47fc4d122732 2025-10-14 18:13:50,346 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f748c7f2-5a21-48e3-acda-0366371395a5 2025-10-14 18:13:50,351 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f748c7f2-5a21-48e3-acda-0366371395a5 2025-10-14 18:13:50,356 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9c8788be-fc1f-409d-af04-3dec8f14317d 2025-10-14 18:13:50,365 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88586345:ctest-vn-11165152', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88586345', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7493530641841475494', 'uuid-lslong': '11051349684564141874'}, 'enable': 'true', 'created': '2025-10-14T18:13:48', 'last-modified': '2025-10-14T18:13:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906883'} 2025-10-14 18:13:50,370 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-14 18:13:50,370 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11165152 passed 2025-10-14 18:13:50,370 - DEBUG - ====Verifying policy data for ctest-vn-11165152 in API_Server ====== 2025-10-14 18:13:50,370 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-14 18:13:50,374 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31fb57cf-c5a9-415c-b926-81959e070dfb 2025-10-14 18:13:50,383 - DEBUG - Requesting: http://10.0.0.254:8082/project/88c65935-84e7-49b7-ac71-dbff4aa8125d 2025-10-14 18:13:50,449 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/67fe5e6a-9477-4fa6-995e-47fc4d122732 2025-10-14 18:13:50,458 - DEBUG - ==>Verifying data for policy with id: 8ad07802-935d-4ff1-9880-09e8aa5038ba, fqn: ['default-domain', 'ctest-TestBasicPolicy-88586345', 'ctest-policy-allow-all-19268407'] 2025-10-14 18:13:50,458 - INFO - VN ctest-vn-11165152 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-14 18:13:50,458 - DEBUG - Verifying the vn in opserver 2025-10-14 18:13:50,458 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88586345:ctest-vn-11165152 virtual network link through opserver 10.0.0.254 2025-10-14 18:13:50,458 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-14 18:13:50,748 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-14 18:13:50,796 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88586345:ctest-vn-11165152', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88586345:ctest-vn-11165152?flat'} 2025-10-14 18:13:50,796 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88586345:ctest-vn-11165152 is found in opserver 2025-10-14 18:13:50,805 - DEBUG - Do not have enough data to verify VN in agent 2025-10-14 18:13:50,809 - DEBUG - VRF ids for VN ctest-vn-11165152: {} 2025-10-14 18:13:50,809 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-14 18:13:50,814 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31fb57cf-c5a9-415c-b926-81959e070dfb 2025-10-14 18:13:50,823 - DEBUG - Requesting: http://10.0.0.254:8082/project/88c65935-84e7-49b7-ac71-dbff4aa8125d 2025-10-14 18:13:50,892 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/613c553f-7be3-4ada-af70-713f1c00c097 2025-10-14 18:13:50,903 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/613c553f-7be3-4ada-af70-713f1c00c097 2025-10-14 18:13:50,911 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5e4971be-da0a-425c-afef-bd30e0c177ec 2025-10-14 18:13:50,917 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5e4971be-da0a-425c-afef-bd30e0c177ec 2025-10-14 18:13:50,923 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2f3678f7-4ee5-4bb4-bce1-a247ab8f84f3 2025-10-14 18:13:50,929 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-14 18:13:50,929 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/613c553f-7be3-4ada-af70-713f1c00c097 2025-10-14 18:13:50,937 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5e4971be-da0a-425c-afef-bd30e0c177ec 2025-10-14 18:13:50,948 - INFO - Verified VN network id 13 for VN 613c553f-7be3-4ada-af70-713f1c00c097 2025-10-14 18:13:50,949 - INFO - Verifications in API Server for VN ctest-vn-16612251 passed 2025-10-14 18:13:50,949 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/613c553f-7be3-4ada-af70-713f1c00c097 2025-10-14 18:13:50,956 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5e4971be-da0a-425c-afef-bd30e0c177ec 2025-10-14 18:13:50,962 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5e4971be-da0a-425c-afef-bd30e0c177ec 2025-10-14 18:13:50,968 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2f3678f7-4ee5-4bb4-bce1-a247ab8f84f3 2025-10-14 18:13:50,978 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88586345:ctest-vn-16612251', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88586345', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7006568851431443162', 'uuid-lslong': '12641728669895671959'}, 'enable': 'true', 'created': '2025-10-14T18:13:48', 'last-modified': '2025-10-14T18:13:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.305675'} 2025-10-14 18:13:50,984 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-14 18:13:50,984 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16612251 passed 2025-10-14 18:13:50,984 - DEBUG - ====Verifying policy data for ctest-vn-16612251 in API_Server ====== 2025-10-14 18:13:50,984 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-14 18:13:50,989 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31fb57cf-c5a9-415c-b926-81959e070dfb 2025-10-14 18:13:50,998 - DEBUG - Requesting: http://10.0.0.254:8082/project/88c65935-84e7-49b7-ac71-dbff4aa8125d 2025-10-14 18:13:51,066 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/613c553f-7be3-4ada-af70-713f1c00c097 2025-10-14 18:13:51,074 - DEBUG - ==>Verifying data for policy with id: 8ad07802-935d-4ff1-9880-09e8aa5038ba, fqn: ['default-domain', 'ctest-TestBasicPolicy-88586345', 'ctest-policy-allow-all-19268407'] 2025-10-14 18:13:51,074 - INFO - VN ctest-vn-16612251 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-14 18:13:51,074 - DEBUG - Verifying the vn in opserver 2025-10-14 18:13:51,074 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88586345:ctest-vn-16612251 virtual network link through opserver 10.0.0.254 2025-10-14 18:13:51,074 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-14 18:13:51,082 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88586345:ctest-vn-16612251', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88586345:ctest-vn-16612251?flat'} 2025-10-14 18:13:51,082 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88586345:ctest-vn-16612251 is found in opserver 2025-10-14 18:13:51,092 - DEBUG - Do not have enough data to verify VN in agent 2025-10-14 18:13:51,096 - DEBUG - VRF ids for VN ctest-vn-16612251: {} 2025-10-14 18:13:51,148 - DEBUG - Services list from nova: [, , ] 2025-10-14 18:13:52,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4316-1) 2025-10-14 18:13:53,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4316-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4316-1) 2025-10-14 18:13:53,221 - INFO - Waiting for VM ctest-TestBasicPolicy-88586345-91843996 to be up.. 2025-10-14 18:13:53,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-14 18:13:58,425 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:13:58,425 - INFO - VM name : ctest-TestBasicPolicy-88586345-91843996 2025-10-14 18:13:58,553 - DEBUG - VM ctest-TestBasicPolicy-88586345-91843996 ID is 1ea84339-52a2-4dba-bb31-2b9f1cc03158 2025-10-14 18:13:58,571 - DEBUG - VM ctest-TestBasicPolicy-88586345-91843996 launched on Node cn-jenkins-deploy-platform-ansible-os-4316-1 2025-10-14 18:13:58,702 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1ea84339-52a2-4dba-bb31-2b9f1cc03158 2025-10-14 18:13:58,721 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0ba680d5-b4e9-48ef-8629-7d8523f11ec1 2025-10-14 18:14:02,034 - 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-14 18:14:02,034 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88586345-91843996 failed! 2025-10-14 18:14:02,088 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88586345:ctest-vn-11165152 is 106.228.129.193 and allocation pool is NOT set 2025-10-14 18:14:04,150 - 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=6.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.702 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.702/3.677/6.652/2.975 ms') 2025-10-14 18:14:04,150 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88586345-91843996 passed 2025-10-14 18:14:04,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:14:04,300 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88586345-91843996, IP 106.228.129.195, Port 22 2025-10-14 18:14:04,359 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-14 18:14:04,446 - DEBUG - VM ctest-TestBasicPolicy-88586345-91843996 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-14 18:14:09,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:14:09,447 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88586345-91843996, IP 106.228.129.195, Port 22 2025-10-14 18:14:09,610 - DEBUG - VM ctest-TestBasicPolicy-88586345-91843996 is ready for SSH connections 2025-10-14 18:14:09,610 - INFO - Waiting for VM ctest-TestBasicPolicy-88586345-12125472 to be up.. 2025-10-14 18:14:09,685 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:14:09,685 - INFO - VM name : ctest-TestBasicPolicy-88586345-12125472 2025-10-14 18:14:09,751 - DEBUG - VM ctest-TestBasicPolicy-88586345-12125472 ID is 3e708ed9-eabc-4c75-8a68-279b47ffb54d 2025-10-14 18:14:09,751 - DEBUG - VM ctest-TestBasicPolicy-88586345-12125472 launched on Node cn-jenkins-deploy-platform-ansible-os-4316-1 2025-10-14 18:14:09,816 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3e708ed9-eabc-4c75-8a68-279b47ffb54d 2025-10-14 18:14:09,824 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8bac769d-ed67-4bec-9220-17ac55e36c69 2025-10-14 18:14:11,063 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.331 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.331/1.538/2.746/1.207 ms') 2025-10-14 18:14:11,063 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88586345-12125472 passed 2025-10-14 18:14:11,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:14:11,212 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88586345-12125472, IP 198.158.111.131, Port 22 2025-10-14 18:14:11,367 - DEBUG - VM ctest-TestBasicPolicy-88586345-12125472 is ready for SSH connections 2025-10-14 18:14:11,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:14:11,367 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.158.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-14 18:14:11,367 - DEBUG - ping -s 56 -c 3 -W 1 198.158.111.131 2025-10-14 18:14:15,067 - DEBUG - PING 198.158.111.131 (198.158.111.131): 56 data bytes 64 bytes from 198.158.111.131: seq=0 ttl=63 time=3.182 ms 64 bytes from 198.158.111.131: seq=1 ttl=63 time=0.885 ms 64 bytes from 198.158.111.131: seq=2 ttl=63 time=0.739 ms --- 198.158.111.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.739/1.602/3.182 ms 2025-10-14 18:14:15,067 - INFO - Ping to IP 198.158.111.131 from VM ctest-TestBasicPolicy-88586345-91843996 passed 2025-10-14 18:14:15,247 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8ad07802-935d-4ff1-9880-09e8aa5038ba", "href": "http://10.0.0.254:8082/network-policy/8ad07802-935d-4ff1-9880-09e8aa5038ba"}} 2025-10-14 18:14:15,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:14:15,248 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.158.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-14 18:14:15,248 - DEBUG - ping -s 56 -c 3 -W 1 198.158.111.131 2025-10-14 18:14:18,463 - DEBUG - PING 198.158.111.131 (198.158.111.131): 56 data bytes --- 198.158.111.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-14 18:14:18,463 - WARNING - Ping to IP 198.158.111.131 from VM ctest-TestBasicPolicy-88586345-91843996 failed 2025-10-14 18:14:18,463 - INFO - Deleting VM ctest-TestBasicPolicy-88586345-12125472 2025-10-14 18:14:18,523 - INFO - Deleting VM ctest-TestBasicPolicy-88586345-91843996 2025-10-14 18:14:18,878 - INFO - Deleted policy ctest-policy-allow-all-19268407 2025-10-14 18:14:18,878 - INFO - Deleting VN ctest-vn-16612251 2025-10-14 18:14:18,909 - DEBUG - VN 613c553f-7be3-4ada-af70-713f1c00c097 still in use: Unable to complete operation on network 613c553f-7be3-4ada-af70-713f1c00c097. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2958c886-abea-4fc9-8a09-37b6c0dad81c'] 2025-10-14 18:14:18,909 - WARNING - Deleting VN ctest-vn-16612251 failed..Will retry 2025-10-14 18:14:21,012 - DEBUG - Response for deleting network () 2025-10-14 18:14:21,012 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5e4971be-da0a-425c-afef-bd30e0c177ec 2025-10-14 18:14:21,018 - DEBUG - Response Code: 404 2025-10-14 18:14:21,018 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-14 18:14:21,023 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31fb57cf-c5a9-415c-b926-81959e070dfb 2025-10-14 18:14:21,077 - DEBUG - Requesting: http://10.0.0.254:8082/project/88c65935-84e7-49b7-ac71-dbff4aa8125d 2025-10-14 18:14:21,142 - INFO - Validated that VN ctest-vn-16612251 is not found in API Server 2025-10-14 18:14:21,151 - DEBUG - VN ctest-vn-16612251 is not present in Agent 10.0.0.254 2025-10-14 18:14:21,151 - INFO - Validated that VN ctest-vn-16612251 is not in any agent 2025-10-14 18:14:21,165 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16612251 info 2025-10-14 18:14:21,166 - INFO - Deleting VN ctest-vn-11165152 2025-10-14 18:14:21,258 - DEBUG - Response for deleting network () 2025-10-14 18:14:21,258 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f748c7f2-5a21-48e3-acda-0366371395a5 2025-10-14 18:14:21,263 - DEBUG - Response Code: 404 2025-10-14 18:14:21,263 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-14 18:14:21,268 - DEBUG - Requesting: http://10.0.0.254:8082/domain/31fb57cf-c5a9-415c-b926-81959e070dfb 2025-10-14 18:14:21,320 - DEBUG - Requesting: http://10.0.0.254:8082/project/88c65935-84e7-49b7-ac71-dbff4aa8125d 2025-10-14 18:14:21,389 - INFO - Validated that VN ctest-vn-11165152 is not found in API Server 2025-10-14 18:14:21,398 - DEBUG - VN ctest-vn-11165152 is not present in Agent 10.0.0.254 2025-10-14 18:14:21,398 - INFO - Validated that VN ctest-vn-11165152 is not in any agent 2025-10-14 18:14:21,410 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11165152 info 2025-10-14 18:14:21,668 - DEBUG - No XMPP flaps were noticed during the test 2025-10-14 18:14:21,668 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-10-14 18:14:21,668 - INFO - -------------------------------------------------------------------------------- 2025-10-14 18:14:22,319 - INFO - Deleted project: ctest-TestBasicPolicy-88586345, ID : 88c65935-84e7-49b7-ac71-dbff4aa8125d