2026-09-02 03:01:59,096 - INFO - Domain Default found not creating 2026-09-02 03:01:59,283 - INFO - Project ctest-TestBasicPolicy-98750764 not found, creating it 2026-09-02 03:01:59,780 - INFO - Created Project:ctest-TestBasicPolicy-98750764, ID : 7abe8af7-4bc0-41d8-8202-90bec4683ccd 2026-09-02 03:02:01,383 - INFO - ================================================================================ 2026-09-02 03:02:01,383 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-02 03:02:01,383 - 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 2026-09-02 03:02:01,644 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.17': '0'}} with 2026-09-02 03:02:01,644 - INFO - Initial checks done. Running the testcase now 2026-09-02 03:02:01,645 - INFO - 2026-09-02 03:02:02,309 - DEBUG - Response for create_network : {'network': {'id': '7dd00796-a4dc-494e-9bad-ed55c96def1c', 'name': 'ctest-vn-99232518', 'tenant_id': '7abe8af74bc041d8820290bec4683ccd', 'project_id': '7abe8af74bc041d8820290bec4683ccd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-vn-99232518'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 03:02:02,568 - DEBUG - Response for create_subnet : {'subnet': {'id': '682a0ef6-f730-4f97-9319-62dc4f65a8be', 'name': '', 'tenant_id': '7abe8af74bc041d8820290bec4683ccd', 'network_id': '7dd00796-a4dc-494e-9bad-ed55c96def1c', 'ip_version': 4, 'cidr': '19.37.178.0/26', 'allocation_pools': [{'start': '19.37.178.2', 'end': '19.37.178.62'}], 'gateway_ip': '19.37.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.37.178.2', 'tags': [], 'project_id': '7abe8af74bc041d8820290bec4683ccd'}} 2026-09-02 03:02:02,589 - INFO - Created VN ctest-vn-99232518 2026-09-02 03:02:02,646 - DEBUG - VN ctest-vn-99232518 UUID is 7dd00796-a4dc-494e-9bad-ed55c96def1c 2026-09-02 03:02:02,994 - DEBUG - Response for create_network : {'network': {'id': '97cc6c50-9a22-41e5-8e49-71e383e1775c', 'name': 'ctest-vn-95238166', 'tenant_id': '7abe8af74bc041d8820290bec4683ccd', 'project_id': '7abe8af74bc041d8820290bec4683ccd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-vn-95238166'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 03:02:03,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '677ecfa6-69b6-46da-ae3a-7df1b63b34fd', 'name': '', 'tenant_id': '7abe8af74bc041d8820290bec4683ccd', 'network_id': '97cc6c50-9a22-41e5-8e49-71e383e1775c', 'ip_version': 4, 'cidr': '220.186.205.128/26', 'allocation_pools': [{'start': '220.186.205.130', 'end': '220.186.205.190'}], 'gateway_ip': '220.186.205.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.186.205.130', 'tags': [], 'project_id': '7abe8af74bc041d8820290bec4683ccd'}} 2026-09-02 03:02:03,237 - INFO - Created VN ctest-vn-95238166 2026-09-02 03:02:03,294 - DEBUG - VN ctest-vn-95238166 UUID is 97cc6c50-9a22-41e5-8e49-71e383e1775c 2026-09-02 03:02:03,420 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-99232518, 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-98750764:ctest-vn-95238166, 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] 2026-09-02 03:02:03,778 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7dd00796-a4dc-494e-9bad-ed55c96def1c', 'name': 'ctest-vn-99232518', 'tenant_id': '7abe8af74bc041d8820290bec4683ccd', 'project_id': '7abe8af74bc041d8820290bec4683ccd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['682a0ef6-f730-4f97-9319-62dc4f65a8be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-vn-99232518'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-policy-allow-all-89130357']], 'subnet_ipam': [{'subnet_cidr': '19.37.178.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-02 03:02:04,029 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97cc6c50-9a22-41e5-8e49-71e383e1775c', 'name': 'ctest-vn-95238166', 'tenant_id': '7abe8af74bc041d8820290bec4683ccd', 'project_id': '7abe8af74bc041d8820290bec4683ccd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['677ecfa6-69b6-46da-ae3a-7df1b63b34fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-vn-95238166'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-policy-allow-all-89130357']], 'subnet_ipam': [{'subnet_cidr': '220.186.205.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-02 03:02:04,194 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-02 03:02:04,525 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-02 03:02:04,558 - DEBUG - Requesting: http://10.0.0.248:8082/domain/039cb222-8513-42b3-b8b0-060b2d1e146c 2026-09-02 03:02:04,574 - DEBUG - Requesting: http://10.0.0.248:8082/project/7abe8af7-4bc0-41d8-8202-90bec4683ccd 2026-09-02 03:02:04,660 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7dd00796-a4dc-494e-9bad-ed55c96def1c 2026-09-02 03:02:04,674 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7dd00796-a4dc-494e-9bad-ed55c96def1c 2026-09-02 03:02:04,686 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/35801874-abc8-4b28-97ca-7a5c6afd0d06 2026-09-02 03:02:04,695 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/35801874-abc8-4b28-97ca-7a5c6afd0d06 2026-09-02 03:02:04,703 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/c5d88cfe-9b22-486b-a7a6-b6126aab7465 2026-09-02 03:02:04,711 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-02 03:02:04,711 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7dd00796-a4dc-494e-9bad-ed55c96def1c 2026-09-02 03:02:04,724 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/35801874-abc8-4b28-97ca-7a5c6afd0d06 2026-09-02 03:02:04,742 - INFO - Verified VN network id 12 for VN 7dd00796-a4dc-494e-9bad-ed55c96def1c 2026-09-02 03:02:04,742 - INFO - Verifications in API Server for VN ctest-vn-99232518 passed 2026-09-02 03:02:04,742 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7dd00796-a4dc-494e-9bad-ed55c96def1c 2026-09-02 03:02:04,754 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/35801874-abc8-4b28-97ca-7a5c6afd0d06 2026-09-02 03:02:04,762 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/35801874-abc8-4b28-97ca-7a5c6afd0d06 2026-09-02 03:02:04,771 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/c5d88cfe-9b22-486b-a7a6-b6126aab7465 2026-09-02 03:02:04,785 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-99232518', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98750764', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9065754393489197390', 'uuid-lslong': '11217883199557201692'}, 'enable': 'true', 'created': '2026-09-02T03:02:02', 'last-modified': '2026-09-02T03:02:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.043746'} 2026-09-02 03:02:04,793 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-02 03:02:04,793 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99232518 passed 2026-09-02 03:02:04,793 - DEBUG - ====Verifying policy data for ctest-vn-99232518 in API_Server ====== 2026-09-02 03:02:04,793 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-02 03:02:04,799 - DEBUG - Requesting: http://10.0.0.248:8082/domain/039cb222-8513-42b3-b8b0-060b2d1e146c 2026-09-02 03:02:04,810 - DEBUG - Requesting: http://10.0.0.248:8082/project/7abe8af7-4bc0-41d8-8202-90bec4683ccd 2026-09-02 03:02:04,885 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7dd00796-a4dc-494e-9bad-ed55c96def1c 2026-09-02 03:02:04,896 - DEBUG - ==>Verifying data for policy with id: 1783c4bc-3718-4353-a009-f1fe12595d52, fqn: ['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-policy-allow-all-89130357'] 2026-09-02 03:02:04,896 - INFO - VN ctest-vn-99232518 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-02 03:02:04,896 - DEBUG - Verifying the vn in opserver 2026-09-02 03:02:04,896 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-99232518 virtual network link through opserver 10.0.0.248 2026-09-02 03:02:04,896 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-09-02 03:02:05,215 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-09-02 03:02:05,279 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-99232518', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-99232518?flat'} 2026-09-02 03:02:05,279 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-99232518 is found in opserver 2026-09-02 03:02:05,289 - DEBUG - Do not have enough data to verify VN in agent 2026-09-02 03:02:05,294 - DEBUG - VRF ids for VN ctest-vn-99232518: {} 2026-09-02 03:02:05,294 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-02 03:02:05,299 - DEBUG - Requesting: http://10.0.0.248:8082/domain/039cb222-8513-42b3-b8b0-060b2d1e146c 2026-09-02 03:02:05,310 - DEBUG - Requesting: http://10.0.0.248:8082/project/7abe8af7-4bc0-41d8-8202-90bec4683ccd 2026-09-02 03:02:05,387 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/97cc6c50-9a22-41e5-8e49-71e383e1775c 2026-09-02 03:02:05,402 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/97cc6c50-9a22-41e5-8e49-71e383e1775c 2026-09-02 03:02:05,413 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/64bf1ca6-a1c5-4776-a790-9208d2447834 2026-09-02 03:02:05,422 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/64bf1ca6-a1c5-4776-a790-9208d2447834 2026-09-02 03:02:05,433 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/9304478d-fa86-47ea-8967-762e06b47098 2026-09-02 03:02:05,443 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-02 03:02:05,443 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/97cc6c50-9a22-41e5-8e49-71e383e1775c 2026-09-02 03:02:05,453 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/64bf1ca6-a1c5-4776-a790-9208d2447834 2026-09-02 03:02:05,468 - INFO - Verified VN network id 13 for VN 97cc6c50-9a22-41e5-8e49-71e383e1775c 2026-09-02 03:02:05,468 - INFO - Verifications in API Server for VN ctest-vn-95238166 passed 2026-09-02 03:02:05,468 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/97cc6c50-9a22-41e5-8e49-71e383e1775c 2026-09-02 03:02:05,477 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/64bf1ca6-a1c5-4776-a790-9208d2447834 2026-09-02 03:02:05,486 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/64bf1ca6-a1c5-4776-a790-9208d2447834 2026-09-02 03:02:05,494 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/9304478d-fa86-47ea-8967-762e06b47098 2026-09-02 03:02:05,506 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-95238166', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98750764', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10938236688415212005', 'uuid-lslong': '10252851248669751132'}, 'enable': 'true', 'created': '2026-09-02T03:02:02', 'last-modified': '2026-09-02T03:02:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.506854'} 2026-09-02 03:02:05,512 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-02 03:02:05,512 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95238166 passed 2026-09-02 03:02:05,512 - DEBUG - ====Verifying policy data for ctest-vn-95238166 in API_Server ====== 2026-09-02 03:02:05,512 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-02 03:02:05,518 - DEBUG - Requesting: http://10.0.0.248:8082/domain/039cb222-8513-42b3-b8b0-060b2d1e146c 2026-09-02 03:02:05,531 - DEBUG - Requesting: http://10.0.0.248:8082/project/7abe8af7-4bc0-41d8-8202-90bec4683ccd 2026-09-02 03:02:05,605 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/97cc6c50-9a22-41e5-8e49-71e383e1775c 2026-09-02 03:02:05,614 - DEBUG - ==>Verifying data for policy with id: 1783c4bc-3718-4353-a009-f1fe12595d52, fqn: ['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-policy-allow-all-89130357'] 2026-09-02 03:02:05,614 - INFO - VN ctest-vn-95238166 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-02 03:02:05,614 - DEBUG - Verifying the vn in opserver 2026-09-02 03:02:05,614 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-95238166 virtual network link through opserver 10.0.0.248 2026-09-02 03:02:05,614 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-09-02 03:02:05,624 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-95238166', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-95238166?flat'} 2026-09-02 03:02:05,624 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-95238166 is found in opserver 2026-09-02 03:02:05,635 - DEBUG - Do not have enough data to verify VN in agent 2026-09-02 03:02:05,640 - DEBUG - VRF ids for VN ctest-vn-95238166: {} 2026-09-02 03:02:05,721 - DEBUG - Services list from nova: [, , ] 2026-09-02 03:02:06,230 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6244-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6244-30) 2026-09-02 03:02:06,634 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6244-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6244-30) 2026-09-02 03:02:06,634 - INFO - Waiting for VM ctest-TestBasicPolicy-98750764-76141337 to be up.. 2026-09-02 03:02:06,678 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 03:02:11,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 03:02:16,831 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 03:02:21,910 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 03:02:26,990 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 03:02:32,074 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 03:02:37,159 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 03:02:42,232 - DEBUG - VM is in ACTIVE state now 2026-09-02 03:02:42,232 - INFO - VM name : ctest-TestBasicPolicy-98750764-76141337 2026-09-02 03:02:42,300 - DEBUG - VM ctest-TestBasicPolicy-98750764-76141337 ID is d231d629-639d-42e0-a5e6-1ffa5db89769 2026-09-02 03:02:42,320 - DEBUG - VM ctest-TestBasicPolicy-98750764-76141337 launched on Node cn-jenkins-deploy-platform-ansible-os-6244-30 2026-09-02 03:02:42,391 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/d231d629-639d-42e0-a5e6-1ffa5db89769 2026-09-02 03:02:42,402 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/9d80829a-25e0-4df6-8541-61a2f347d5ae 2026-09-02 03:02:45,656 - 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 1009ms') 2026-09-02 03:02:45,656 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98750764-76141337 failed! 2026-09-02 03:02:45,710 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-99232518 is 19.37.178.1 and allocation pool is NOT set 2026-09-02 03:02:47,769 - 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=9.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/5.151/9.840/4.689 ms') 2026-09-02 03:02:47,769 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98750764-76141337 passed 2026-09-02 03:02:47,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 03:02:47,926 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98750764-76141337, IP 19.37.178.3, Port 22 2026-09-02 03:02:48,082 - DEBUG - VM ctest-TestBasicPolicy-98750764-76141337 is ready for SSH connections 2026-09-02 03:02:48,082 - INFO - Waiting for VM ctest-TestBasicPolicy-98750764-24298952 to be up.. 2026-09-02 03:02:48,164 - DEBUG - VM is in ACTIVE state now 2026-09-02 03:02:48,164 - INFO - VM name : ctest-TestBasicPolicy-98750764-24298952 2026-09-02 03:02:48,248 - DEBUG - VM ctest-TestBasicPolicy-98750764-24298952 ID is 6fa51a9e-a4ba-4ac1-bcc9-f0c9f77ba35c 2026-09-02 03:02:48,248 - DEBUG - VM ctest-TestBasicPolicy-98750764-24298952 launched on Node cn-jenkins-deploy-platform-ansible-os-6244-30 2026-09-02 03:02:48,327 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/6fa51a9e-a4ba-4ac1-bcc9-f0c9f77ba35c 2026-09-02 03:02:48,339 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/95099552-e3a1-4dee-8ef1-eca6a0cb3294 2026-09-02 03:02:51,603 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-09-02 03:02:51,603 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98750764-24298952 failed! 2026-09-02 03:02:51,658 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-95238166 is 220.186.205.129 and allocation pool is NOT set 2026-09-02 03:02:53,724 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.544 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.544/2.556/4.568/2.012 ms') 2026-09-02 03:02:53,724 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98750764-24298952 passed 2026-09-02 03:02:53,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 03:02:53,874 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98750764-24298952, IP 220.186.205.131, Port 22 2026-09-02 03:02:54,038 - DEBUG - VM ctest-TestBasicPolicy-98750764-24298952 is ready for SSH connections 2026-09-02 03:02:54,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 03:02:54,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.186.205.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123 2026-09-02 03:02:54,038 - DEBUG - ping -s 56 -c 3 -W 1 220.186.205.131 2026-09-02 03:02:57,917 - DEBUG - PING 220.186.205.131 (220.186.205.131): 56 data bytes 64 bytes from 220.186.205.131: seq=0 ttl=63 time=4.139 ms 64 bytes from 220.186.205.131: seq=1 ttl=63 time=0.962 ms 64 bytes from 220.186.205.131: seq=2 ttl=63 time=0.995 ms --- 220.186.205.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.962/2.032/4.139 ms 2026-09-02 03:02:57,917 - INFO - Ping to IP 220.186.205.131 from VM ctest-TestBasicPolicy-98750764-76141337 passed 2026-09-02 03:02:58,101 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1783c4bc-3718-4353-a009-f1fe12595d52", "href": "http://10.0.0.248:8082/network-policy/1783c4bc-3718-4353-a009-f1fe12595d52"}} 2026-09-02 03:02:58,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 03:02:58,102 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.186.205.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123 2026-09-02 03:02:58,102 - DEBUG - ping -s 56 -c 3 -W 1 220.186.205.131 2026-09-02 03:03:01,225 - DEBUG - PING 220.186.205.131 (220.186.205.131): 56 data bytes 64 bytes from 220.186.205.131: seq=0 ttl=63 time=1.272 ms --- 220.186.205.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.272/1.272/1.272 ms 2026-09-02 03:03:01,225 - WARNING - Ping to IP 220.186.205.131 from VM ctest-TestBasicPolicy-98750764-76141337 failed 2026-09-02 03:03:01,225 - INFO - Deleting VM ctest-TestBasicPolicy-98750764-24298952 2026-09-02 03:03:01,293 - INFO - Deleting VM ctest-TestBasicPolicy-98750764-76141337 2026-09-02 03:03:01,664 - INFO - Deleted policy ctest-policy-allow-all-89130357 2026-09-02 03:03:01,664 - INFO - Deleting VN ctest-vn-95238166 2026-09-02 03:03:01,696 - DEBUG - VN 97cc6c50-9a22-41e5-8e49-71e383e1775c still in use: Unable to complete operation on network 97cc6c50-9a22-41e5-8e49-71e383e1775c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6cf4b6a9-a661-42fa-ab2c-ba04d7b26d87'] 2026-09-02 03:03:01,696 - WARNING - Deleting VN ctest-vn-95238166 failed..Will retry 2026-09-02 03:03:03,811 - DEBUG - Response for deleting network () 2026-09-02 03:03:03,811 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/64bf1ca6-a1c5-4776-a790-9208d2447834 2026-09-02 03:03:03,820 - DEBUG - Response Code: 404 2026-09-02 03:03:03,821 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-02 03:03:03,826 - DEBUG - Requesting: http://10.0.0.248:8082/domain/039cb222-8513-42b3-b8b0-060b2d1e146c 2026-09-02 03:03:03,886 - DEBUG - Requesting: http://10.0.0.248:8082/project/7abe8af7-4bc0-41d8-8202-90bec4683ccd 2026-09-02 03:03:03,969 - INFO - Validated that VN ctest-vn-95238166 is not found in API Server 2026-09-02 03:03:03,982 - DEBUG - VN ctest-vn-95238166 is not present in Agent 10.0.0.248 2026-09-02 03:03:03,982 - INFO - Validated that VN ctest-vn-95238166 is not in any agent 2026-09-02 03:03:03,999 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95238166 info 2026-09-02 03:03:03,999 - INFO - Deleting VN ctest-vn-99232518 2026-09-02 03:03:04,151 - DEBUG - Response for deleting network () 2026-09-02 03:03:04,151 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/35801874-abc8-4b28-97ca-7a5c6afd0d06 2026-09-02 03:03:04,159 - DEBUG - Response Code: 404 2026-09-02 03:03:04,160 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-02 03:03:04,166 - DEBUG - Requesting: http://10.0.0.248:8082/domain/039cb222-8513-42b3-b8b0-060b2d1e146c 2026-09-02 03:03:04,219 - DEBUG - Requesting: http://10.0.0.248:8082/project/7abe8af7-4bc0-41d8-8202-90bec4683ccd 2026-09-02 03:03:04,300 - INFO - Validated that VN ctest-vn-99232518 is not found in API Server 2026-09-02 03:03:04,310 - DEBUG - VN ctest-vn-99232518 is not present in Agent 10.0.0.248 2026-09-02 03:03:04,310 - INFO - Validated that VN ctest-vn-99232518 is not in any agent 2026-09-02 03:03:04,327 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99232518 info 2026-09-02 03:03:04,579 - DEBUG - No XMPP flaps were noticed during the test 2026-09-02 03:03:04,579 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:03] 2026-09-02 03:03:04,579 - INFO - -------------------------------------------------------------------------------- 2026-09-02 03:03:05,296 - INFO - Deleted project: ctest-TestBasicPolicy-98750764, ID : 7abe8af7-4bc0-41d8-8202-90bec4683ccd