2026-01-23 10:38:13,672 - INFO - Domain Default found not creating 2026-01-23 10:38:14,434 - INFO - Project ctest-TestBasicPolicy-91391850 not found, creating it 2026-01-23 10:38:14,894 - INFO - Created Project:ctest-TestBasicPolicy-91391850, ID : 3d5ccd4e-a97b-409f-9bdb-e4d12d8e1e59 2026-01-23 10:38:16,331 - INFO - ================================================================================ 2026-01-23 10:38:16,331 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-23 10:38:16,331 - 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-01-23 10:38:16,587 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2026-01-23 10:38:16,587 - INFO - Initial checks done. Running the testcase now 2026-01-23 10:38:16,587 - INFO - 2026-01-23 10:38:17,133 - DEBUG - Response for create_network : {'network': {'id': 'a63e40ba-1aa0-4c99-99cf-b8452202ab5d', 'name': 'ctest-vn-46836123', 'tenant_id': '3d5ccd4ea97b409f9bdbe4d12d8e1e59', 'project_id': '3d5ccd4ea97b409f9bdbe4d12d8e1e59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91391850', 'ctest-vn-46836123'], 'port_security_enabled': True, 'description': ''}} 2026-01-23 10:38:17,294 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c52e200-c0c5-4714-abd4-bef7eaeadd0b', 'name': '', 'tenant_id': '3d5ccd4ea97b409f9bdbe4d12d8e1e59', 'network_id': 'a63e40ba-1aa0-4c99-99cf-b8452202ab5d', 'ip_version': 4, 'cidr': '156.52.101.192/26', 'allocation_pools': [{'start': '156.52.101.194', 'end': '156.52.101.254'}], 'gateway_ip': '156.52.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.52.101.194', 'tags': [], 'project_id': '3d5ccd4ea97b409f9bdbe4d12d8e1e59'}} 2026-01-23 10:38:17,311 - INFO - Created VN ctest-vn-46836123 2026-01-23 10:38:17,366 - DEBUG - VN ctest-vn-46836123 UUID is a63e40ba-1aa0-4c99-99cf-b8452202ab5d 2026-01-23 10:38:17,671 - DEBUG - Response for create_network : {'network': {'id': 'f3f66a92-cf2d-48e8-8416-55eae224fb63', 'name': 'ctest-vn-14899791', 'tenant_id': '3d5ccd4ea97b409f9bdbe4d12d8e1e59', 'project_id': '3d5ccd4ea97b409f9bdbe4d12d8e1e59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91391850', 'ctest-vn-14899791'], 'port_security_enabled': True, 'description': ''}} 2026-01-23 10:38:17,849 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0b47cc3-bde0-4e64-a542-0a33dbef5d7e', 'name': '', 'tenant_id': '3d5ccd4ea97b409f9bdbe4d12d8e1e59', 'network_id': 'f3f66a92-cf2d-48e8-8416-55eae224fb63', 'ip_version': 4, 'cidr': '170.55.90.64/26', 'allocation_pools': [{'start': '170.55.90.66', 'end': '170.55.90.126'}], 'gateway_ip': '170.55.90.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.55.90.66', 'tags': [], 'project_id': '3d5ccd4ea97b409f9bdbe4d12d8e1e59'}} 2026-01-23 10:38:17,867 - INFO - Created VN ctest-vn-14899791 2026-01-23 10:38:17,918 - DEBUG - VN ctest-vn-14899791 UUID is f3f66a92-cf2d-48e8-8416-55eae224fb63 2026-01-23 10:38:18,066 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91391850:ctest-vn-46836123, 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-91391850:ctest-vn-14899791, 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-01-23 10:38:18,357 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a63e40ba-1aa0-4c99-99cf-b8452202ab5d', 'name': 'ctest-vn-46836123', 'tenant_id': '3d5ccd4ea97b409f9bdbe4d12d8e1e59', 'project_id': '3d5ccd4ea97b409f9bdbe4d12d8e1e59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c52e200-c0c5-4714-abd4-bef7eaeadd0b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91391850', 'ctest-vn-46836123'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91391850', 'ctest-policy-allow-all-11057596']], 'subnet_ipam': [{'subnet_cidr': '156.52.101.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-23 10:38:18,593 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f3f66a92-cf2d-48e8-8416-55eae224fb63', 'name': 'ctest-vn-14899791', 'tenant_id': '3d5ccd4ea97b409f9bdbe4d12d8e1e59', 'project_id': '3d5ccd4ea97b409f9bdbe4d12d8e1e59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e0b47cc3-bde0-4e64-a542-0a33dbef5d7e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91391850', 'ctest-vn-14899791'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91391850', 'ctest-policy-allow-all-11057596']], 'subnet_ipam': [{'subnet_cidr': '170.55.90.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-23 10:38:18,762 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-23 10:38:19,056 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-23 10:38:19,085 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2281bc87-c97e-4502-8399-851b8df86e5d 2026-01-23 10:38:19,097 - DEBUG - Requesting: http://10.0.0.22:8082/project/3d5ccd4e-a97b-409f-9bdb-e4d12d8e1e59 2026-01-23 10:38:19,169 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a63e40ba-1aa0-4c99-99cf-b8452202ab5d 2026-01-23 10:38:19,179 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a63e40ba-1aa0-4c99-99cf-b8452202ab5d 2026-01-23 10:38:19,187 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5b44f14e-43a2-4910-870e-fc02f4af4237 2026-01-23 10:38:19,194 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5b44f14e-43a2-4910-870e-fc02f4af4237 2026-01-23 10:38:19,202 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c67d8e7c-22f5-486d-82d5-a84af438e770 2026-01-23 10:38:19,207 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-23 10:38:19,207 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a63e40ba-1aa0-4c99-99cf-b8452202ab5d 2026-01-23 10:38:19,216 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5b44f14e-43a2-4910-870e-fc02f4af4237 2026-01-23 10:38:19,229 - INFO - Verified VN network id 11 for VN a63e40ba-1aa0-4c99-99cf-b8452202ab5d 2026-01-23 10:38:19,229 - INFO - Verifications in API Server for VN ctest-vn-46836123 passed 2026-01-23 10:38:19,229 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a63e40ba-1aa0-4c99-99cf-b8452202ab5d 2026-01-23 10:38:19,237 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5b44f14e-43a2-4910-870e-fc02f4af4237 2026-01-23 10:38:19,242 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5b44f14e-43a2-4910-870e-fc02f4af4237 2026-01-23 10:38:19,248 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c67d8e7c-22f5-486d-82d5-a84af438e770 2026-01-23 10:38:19,258 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91391850:ctest-vn-46836123', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91391850', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11979083226906905753', 'uuid-lslong': '11083279815044934493'}, 'enable': 'true', 'created': '2026-01-23T10:38:17', 'last-modified': '2026-01-23T10:38:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.922707'} 2026-01-23 10:38:19,264 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-23 10:38:19,264 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46836123 passed 2026-01-23 10:38:19,264 - DEBUG - ====Verifying policy data for ctest-vn-46836123 in API_Server ====== 2026-01-23 10:38:19,264 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-23 10:38:19,270 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2281bc87-c97e-4502-8399-851b8df86e5d 2026-01-23 10:38:19,281 - DEBUG - Requesting: http://10.0.0.22:8082/project/3d5ccd4e-a97b-409f-9bdb-e4d12d8e1e59 2026-01-23 10:38:19,354 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a63e40ba-1aa0-4c99-99cf-b8452202ab5d 2026-01-23 10:38:19,362 - DEBUG - ==>Verifying data for policy with id: dbd6decb-d78a-40d0-b5cd-8af46e32a883, fqn: ['default-domain', 'ctest-TestBasicPolicy-91391850', 'ctest-policy-allow-all-11057596'] 2026-01-23 10:38:19,362 - INFO - VN ctest-vn-46836123 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-23 10:38:19,362 - DEBUG - Verifying the vn in opserver 2026-01-23 10:38:19,362 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91391850:ctest-vn-46836123 virtual network link through opserver 10.0.0.22 2026-01-23 10:38:19,363 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-23 10:38:19,654 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-23 10:38:19,711 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91391850:ctest-vn-46836123', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91391850:ctest-vn-46836123?flat'} 2026-01-23 10:38:19,711 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91391850:ctest-vn-46836123 is found in opserver 2026-01-23 10:38:19,720 - DEBUG - Do not have enough data to verify VN in agent 2026-01-23 10:38:19,724 - DEBUG - VRF ids for VN ctest-vn-46836123: {} 2026-01-23 10:38:19,724 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-23 10:38:19,729 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2281bc87-c97e-4502-8399-851b8df86e5d 2026-01-23 10:38:19,737 - DEBUG - Requesting: http://10.0.0.22:8082/project/3d5ccd4e-a97b-409f-9bdb-e4d12d8e1e59 2026-01-23 10:38:19,808 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f3f66a92-cf2d-48e8-8416-55eae224fb63 2026-01-23 10:38:19,819 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f3f66a92-cf2d-48e8-8416-55eae224fb63 2026-01-23 10:38:19,829 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/55a7196b-78ee-482b-a724-80b072fa919e 2026-01-23 10:38:19,836 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/55a7196b-78ee-482b-a724-80b072fa919e 2026-01-23 10:38:19,843 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e160860f-1704-481e-87e7-e50755176907 2026-01-23 10:38:19,848 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-23 10:38:19,848 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f3f66a92-cf2d-48e8-8416-55eae224fb63 2026-01-23 10:38:19,855 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/55a7196b-78ee-482b-a724-80b072fa919e 2026-01-23 10:38:19,871 - INFO - Verified VN network id 12 for VN f3f66a92-cf2d-48e8-8416-55eae224fb63 2026-01-23 10:38:19,871 - INFO - Verifications in API Server for VN ctest-vn-14899791 passed 2026-01-23 10:38:19,871 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f3f66a92-cf2d-48e8-8416-55eae224fb63 2026-01-23 10:38:19,878 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/55a7196b-78ee-482b-a724-80b072fa919e 2026-01-23 10:38:19,884 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/55a7196b-78ee-482b-a724-80b072fa919e 2026-01-23 10:38:19,889 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e160860f-1704-481e-87e7-e50755176907 2026-01-23 10:38:19,899 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91391850:ctest-vn-14899791', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91391850', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17579355374260930792', 'uuid-lslong': '9517889329798904675'}, 'enable': 'true', 'created': '2026-01-23T10:38:17', 'last-modified': '2026-01-23T10:38:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.326369'} 2026-01-23 10:38:19,907 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-23 10:38:19,907 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14899791 passed 2026-01-23 10:38:19,907 - DEBUG - ====Verifying policy data for ctest-vn-14899791 in API_Server ====== 2026-01-23 10:38:19,907 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-23 10:38:19,912 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2281bc87-c97e-4502-8399-851b8df86e5d 2026-01-23 10:38:19,921 - DEBUG - Requesting: http://10.0.0.22:8082/project/3d5ccd4e-a97b-409f-9bdb-e4d12d8e1e59 2026-01-23 10:38:19,984 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f3f66a92-cf2d-48e8-8416-55eae224fb63 2026-01-23 10:38:19,993 - DEBUG - ==>Verifying data for policy with id: dbd6decb-d78a-40d0-b5cd-8af46e32a883, fqn: ['default-domain', 'ctest-TestBasicPolicy-91391850', 'ctest-policy-allow-all-11057596'] 2026-01-23 10:38:19,994 - INFO - VN ctest-vn-14899791 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-23 10:38:19,994 - DEBUG - Verifying the vn in opserver 2026-01-23 10:38:19,994 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91391850:ctest-vn-14899791 virtual network link through opserver 10.0.0.22 2026-01-23 10:38:19,994 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-23 10:38:20,003 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91391850:ctest-vn-14899791', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91391850:ctest-vn-14899791?flat'} 2026-01-23 10:38:20,003 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91391850:ctest-vn-14899791 is found in opserver 2026-01-23 10:38:20,011 - DEBUG - Do not have enough data to verify VN in agent 2026-01-23 10:38:20,016 - DEBUG - VRF ids for VN ctest-vn-14899791: {} 2026-01-23 10:38:20,079 - DEBUG - Services list from nova: [, , ] 2026-01-23 10:38:21,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5068-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5068-1) 2026-01-23 10:38:22,269 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5068-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5068-1) 2026-01-23 10:38:22,270 - INFO - Waiting for VM ctest-TestBasicPolicy-91391850-70272462 to be up.. 2026-01-23 10:38:22,349 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-23 10:38:27,422 - DEBUG - VM is in ACTIVE state now 2026-01-23 10:38:27,422 - INFO - VM name : ctest-TestBasicPolicy-91391850-70272462 2026-01-23 10:38:27,500 - DEBUG - VM ctest-TestBasicPolicy-91391850-70272462 ID is ec4f7534-b3d1-4c22-a3b1-b0115b48da09 2026-01-23 10:38:27,521 - DEBUG - VM ctest-TestBasicPolicy-91391850-70272462 launched on Node cn-jenkins-deploy-platform-ansible-os-5068-1 2026-01-23 10:38:27,597 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ec4f7534-b3d1-4c22-a3b1-b0115b48da09 2026-01-23 10:38:27,605 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/26bb80ef-25d8-48db-96a0-a1d5113e15e1 2026-01-23 10:38:30,823 - 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 1017ms') 2026-01-23 10:38:30,823 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91391850-70272462 failed! 2026-01-23 10:38:30,878 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-91391850:ctest-vn-46836123 is 156.52.101.193 and allocation pool is NOT set 2026-01-23 10:38:32,937 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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.435/3.527/6.619/3.092 ms') 2026-01-23 10:38:32,937 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91391850-70272462 passed 2026-01-23 10:38:33,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 10:38:33,086 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91391850-70272462, IP 156.52.101.195, Port 22 2026-01-23 10:38:33,242 - DEBUG - VM ctest-TestBasicPolicy-91391850-70272462 is ready for SSH connections 2026-01-23 10:38:33,242 - INFO - Waiting for VM ctest-TestBasicPolicy-91391850-86945324 to be up.. 2026-01-23 10:38:33,317 - DEBUG - VM is in ACTIVE state now 2026-01-23 10:38:33,317 - INFO - VM name : ctest-TestBasicPolicy-91391850-86945324 2026-01-23 10:38:33,390 - DEBUG - VM ctest-TestBasicPolicy-91391850-86945324 ID is faa5572f-7646-4dfb-b36d-6b0f34215725 2026-01-23 10:38:33,391 - DEBUG - VM ctest-TestBasicPolicy-91391850-86945324 launched on Node cn-jenkins-deploy-platform-ansible-os-5068-1 2026-01-23 10:38:33,471 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/faa5572f-7646-4dfb-b36d-6b0f34215725 2026-01-23 10:38:33,479 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/87b2d711-348f-4864-8dbd-8c46f43ff2a4 2026-01-23 10:38:34,713 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.748 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.748/1.962/3.176/1.214 ms') 2026-01-23 10:38:34,713 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91391850-86945324 passed 2026-01-23 10:38:34,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 10:38:34,862 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91391850-86945324, IP 170.55.90.67, Port 22 2026-01-23 10:38:35,018 - DEBUG - VM ctest-TestBasicPolicy-91391850-86945324 is ready for SSH connections 2026-01-23 10:38:35,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 10:38:35,018 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.55.90.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-23 10:38:35,018 - DEBUG - ping -s 56 -c 3 -W 1 170.55.90.67 2026-01-23 10:38:39,095 - DEBUG - PING 170.55.90.67 (170.55.90.67): 56 data bytes 64 bytes from 170.55.90.67: seq=0 ttl=63 time=4.170 ms 64 bytes from 170.55.90.67: seq=1 ttl=63 time=1.170 ms 64 bytes from 170.55.90.67: seq=2 ttl=63 time=0.980 ms --- 170.55.90.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.980/2.106/4.170 ms 2026-01-23 10:38:39,095 - INFO - Ping to IP 170.55.90.67 from VM ctest-TestBasicPolicy-91391850-70272462 passed 2026-01-23 10:38:39,266 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dbd6decb-d78a-40d0-b5cd-8af46e32a883", "href": "http://10.0.0.22:8082/network-policy/dbd6decb-d78a-40d0-b5cd-8af46e32a883"}} 2026-01-23 10:38:39,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 10:38:39,266 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.55.90.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-23 10:38:39,266 - DEBUG - ping -s 56 -c 3 -W 1 170.55.90.67 2026-01-23 10:38:42,473 - DEBUG - PING 170.55.90.67 (170.55.90.67): 56 data bytes --- 170.55.90.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-23 10:38:42,473 - WARNING - Ping to IP 170.55.90.67 from VM ctest-TestBasicPolicy-91391850-70272462 failed 2026-01-23 10:38:42,473 - INFO - Deleting VM ctest-TestBasicPolicy-91391850-86945324 2026-01-23 10:38:42,543 - INFO - Deleting VM ctest-TestBasicPolicy-91391850-70272462 2026-01-23 10:38:42,901 - INFO - Deleted policy ctest-policy-allow-all-11057596 2026-01-23 10:38:42,901 - INFO - Deleting VN ctest-vn-14899791 2026-01-23 10:38:42,937 - DEBUG - VN f3f66a92-cf2d-48e8-8416-55eae224fb63 still in use: Unable to complete operation on network f3f66a92-cf2d-48e8-8416-55eae224fb63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7269e2d5-874c-43c3-9297-be0f590296ac'] 2026-01-23 10:38:42,937 - WARNING - Deleting VN ctest-vn-14899791 failed..Will retry 2026-01-23 10:38:45,036 - DEBUG - Response for deleting network () 2026-01-23 10:38:45,037 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/55a7196b-78ee-482b-a724-80b072fa919e 2026-01-23 10:38:45,042 - DEBUG - Response Code: 404 2026-01-23 10:38:45,042 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-23 10:38:45,047 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2281bc87-c97e-4502-8399-851b8df86e5d 2026-01-23 10:38:45,099 - DEBUG - Requesting: http://10.0.0.22:8082/project/3d5ccd4e-a97b-409f-9bdb-e4d12d8e1e59 2026-01-23 10:38:45,167 - INFO - Validated that VN ctest-vn-14899791 is not found in API Server 2026-01-23 10:38:45,176 - DEBUG - VN ctest-vn-14899791 is not present in Agent 10.0.0.22 2026-01-23 10:38:45,176 - INFO - Validated that VN ctest-vn-14899791 is not in any agent 2026-01-23 10:38:45,188 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14899791 info 2026-01-23 10:38:45,188 - INFO - Deleting VN ctest-vn-46836123 2026-01-23 10:38:45,296 - DEBUG - Response for deleting network () 2026-01-23 10:38:45,296 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5b44f14e-43a2-4910-870e-fc02f4af4237 2026-01-23 10:38:45,304 - DEBUG - Response Code: 404 2026-01-23 10:38:45,304 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-23 10:38:45,309 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2281bc87-c97e-4502-8399-851b8df86e5d 2026-01-23 10:38:45,363 - DEBUG - Requesting: http://10.0.0.22:8082/project/3d5ccd4e-a97b-409f-9bdb-e4d12d8e1e59 2026-01-23 10:38:45,435 - INFO - Validated that VN ctest-vn-46836123 is not found in API Server 2026-01-23 10:38:45,444 - DEBUG - VN ctest-vn-46836123 is not present in Agent 10.0.0.22 2026-01-23 10:38:45,444 - INFO - Validated that VN ctest-vn-46836123 is not in any agent 2026-01-23 10:38:45,458 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46836123 info 2026-01-23 10:38:45,711 - DEBUG - No XMPP flaps were noticed during the test
2026-01-23 10:38:45,711 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-23 10:38:45,712 - INFO - -------------------------------------------------------------------------------- 2026-01-23 10:38:46,414 - INFO - Deleted project: ctest-TestBasicPolicy-91391850, ID : 3d5ccd4e-a97b-409f-9bdb-e4d12d8e1e59