2026-02-06 11:58:37,025 - INFO - Domain Default found not creating 2026-02-06 11:58:37,195 - INFO - Project ctest-TestBasicPolicy-77957629 not found, creating it 2026-02-06 11:58:37,682 - INFO - Created Project:ctest-TestBasicPolicy-77957629, ID : cd74c869-5e0d-4eaf-b8bc-127611324ded 2026-02-06 11:58:39,220 - INFO - ================================================================================ 2026-02-06 11:58:39,220 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-06 11:58:39,220 - 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-02-06 11:58:39,474 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-06 11:58:39,474 - INFO - Initial checks done. Running the testcase now 2026-02-06 11:58:39,474 - INFO - 2026-02-06 11:58:40,037 - DEBUG - Response for create_network : {'network': {'id': '9b55c3a2-17ce-42bc-85ba-6da014a4ff25', 'name': 'ctest-vn-87163936', 'tenant_id': 'cd74c8695e0d4eafb8bc127611324ded', 'project_id': 'cd74c8695e0d4eafb8bc127611324ded', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77957629', 'ctest-vn-87163936'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 11:58:40,226 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8e4a71c-7631-4998-aef2-572821bb4654', 'name': '', 'tenant_id': 'cd74c8695e0d4eafb8bc127611324ded', 'network_id': '9b55c3a2-17ce-42bc-85ba-6da014a4ff25', 'ip_version': 4, 'cidr': '2.202.235.0/26', 'allocation_pools': [{'start': '2.202.235.2', 'end': '2.202.235.62'}], 'gateway_ip': '2.202.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.202.235.2', 'tags': [], 'project_id': 'cd74c8695e0d4eafb8bc127611324ded'}} 2026-02-06 11:58:40,245 - INFO - Created VN ctest-vn-87163936 2026-02-06 11:58:40,297 - DEBUG - VN ctest-vn-87163936 UUID is 9b55c3a2-17ce-42bc-85ba-6da014a4ff25 2026-02-06 11:58:40,575 - DEBUG - Response for create_network : {'network': {'id': 'c8b1df99-cf32-44b6-88de-ac51ca417f45', 'name': 'ctest-vn-13206522', 'tenant_id': 'cd74c8695e0d4eafb8bc127611324ded', 'project_id': 'cd74c8695e0d4eafb8bc127611324ded', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77957629', 'ctest-vn-13206522'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 11:58:40,748 - DEBUG - Response for create_subnet : {'subnet': {'id': '3bac0f01-560f-41cd-9a0c-fa612acfe863', 'name': '', 'tenant_id': 'cd74c8695e0d4eafb8bc127611324ded', 'network_id': 'c8b1df99-cf32-44b6-88de-ac51ca417f45', 'ip_version': 4, 'cidr': '158.70.16.192/26', 'allocation_pools': [{'start': '158.70.16.194', 'end': '158.70.16.254'}], 'gateway_ip': '158.70.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.70.16.194', 'tags': [], 'project_id': 'cd74c8695e0d4eafb8bc127611324ded'}} 2026-02-06 11:58:40,769 - INFO - Created VN ctest-vn-13206522 2026-02-06 11:58:40,821 - DEBUG - VN ctest-vn-13206522 UUID is c8b1df99-cf32-44b6-88de-ac51ca417f45 2026-02-06 11:58:40,938 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77957629:ctest-vn-87163936, 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-77957629:ctest-vn-13206522, 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-02-06 11:58:41,241 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b55c3a2-17ce-42bc-85ba-6da014a4ff25', 'name': 'ctest-vn-87163936', 'tenant_id': 'cd74c8695e0d4eafb8bc127611324ded', 'project_id': 'cd74c8695e0d4eafb8bc127611324ded', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f8e4a71c-7631-4998-aef2-572821bb4654'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77957629', 'ctest-vn-87163936'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77957629', 'ctest-policy-allow-all-90618499']], 'subnet_ipam': [{'subnet_cidr': '2.202.235.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-06 11:58:41,459 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c8b1df99-cf32-44b6-88de-ac51ca417f45', 'name': 'ctest-vn-13206522', 'tenant_id': 'cd74c8695e0d4eafb8bc127611324ded', 'project_id': 'cd74c8695e0d4eafb8bc127611324ded', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3bac0f01-560f-41cd-9a0c-fa612acfe863'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77957629', 'ctest-vn-13206522'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77957629', 'ctest-policy-allow-all-90618499']], 'subnet_ipam': [{'subnet_cidr': '158.70.16.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-06 11:58:41,629 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 11:58:41,936 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 11:58:41,976 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7a2e9e8c-30b5-455c-8c38-384f3bb20d04 2026-02-06 11:58:41,990 - DEBUG - Requesting: http://10.0.0.50:8082/project/cd74c869-5e0d-4eaf-b8bc-127611324ded 2026-02-06 11:58:42,066 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b55c3a2-17ce-42bc-85ba-6da014a4ff25 2026-02-06 11:58:42,077 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b55c3a2-17ce-42bc-85ba-6da014a4ff25 2026-02-06 11:58:42,087 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a378b82e-9065-4bc0-8592-e5c04a274c46 2026-02-06 11:58:42,095 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a378b82e-9065-4bc0-8592-e5c04a274c46 2026-02-06 11:58:42,103 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/691b8eac-bbb5-4b56-b3f6-654512e79a56 2026-02-06 11:58:42,111 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-06 11:58:42,111 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b55c3a2-17ce-42bc-85ba-6da014a4ff25 2026-02-06 11:58:42,120 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a378b82e-9065-4bc0-8592-e5c04a274c46 2026-02-06 11:58:42,134 - INFO - Verified VN network id 11 for VN 9b55c3a2-17ce-42bc-85ba-6da014a4ff25 2026-02-06 11:58:42,134 - INFO - Verifications in API Server for VN ctest-vn-87163936 passed 2026-02-06 11:58:42,134 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b55c3a2-17ce-42bc-85ba-6da014a4ff25 2026-02-06 11:58:42,143 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a378b82e-9065-4bc0-8592-e5c04a274c46 2026-02-06 11:58:42,149 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a378b82e-9065-4bc0-8592-e5c04a274c46 2026-02-06 11:58:42,156 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/691b8eac-bbb5-4b56-b3f6-654512e79a56 2026-02-06 11:58:42,172 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77957629:ctest-vn-87163936', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77957629', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11193067549850747580', 'uuid-lslong': '9636134887021149989'}, 'enable': 'true', 'created': '2026-02-06T11:58:40', 'last-modified': '2026-02-06T11:58:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954998'} 2026-02-06 11:58:42,178 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-06 11:58:42,178 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87163936 passed 2026-02-06 11:58:42,178 - DEBUG - ====Verifying policy data for ctest-vn-87163936 in API_Server ====== 2026-02-06 11:58:42,178 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 11:58:42,184 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7a2e9e8c-30b5-455c-8c38-384f3bb20d04 2026-02-06 11:58:42,194 - DEBUG - Requesting: http://10.0.0.50:8082/project/cd74c869-5e0d-4eaf-b8bc-127611324ded 2026-02-06 11:58:42,266 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9b55c3a2-17ce-42bc-85ba-6da014a4ff25 2026-02-06 11:58:42,277 - DEBUG - ==>Verifying data for policy with id: 83180083-b238-4893-9fdc-685c59e099df, fqn: ['default-domain', 'ctest-TestBasicPolicy-77957629', 'ctest-policy-allow-all-90618499'] 2026-02-06 11:58:42,277 - INFO - VN ctest-vn-87163936 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-06 11:58:42,277 - DEBUG - Verifying the vn in opserver 2026-02-06 11:58:42,278 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77957629:ctest-vn-87163936 virtual network link through opserver 10.0.0.50 2026-02-06 11:58:42,278 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-06 11:58:42,570 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-06 11:58:42,645 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77957629:ctest-vn-87163936', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77957629:ctest-vn-87163936?flat'} 2026-02-06 11:58:42,645 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77957629:ctest-vn-87163936 is found in opserver 2026-02-06 11:58:42,657 - DEBUG - Do not have enough data to verify VN in agent 2026-02-06 11:58:42,663 - DEBUG - VRF ids for VN ctest-vn-87163936: {} 2026-02-06 11:58:42,663 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 11:58:42,670 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7a2e9e8c-30b5-455c-8c38-384f3bb20d04 2026-02-06 11:58:42,681 - DEBUG - Requesting: http://10.0.0.50:8082/project/cd74c869-5e0d-4eaf-b8bc-127611324ded 2026-02-06 11:58:42,752 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c8b1df99-cf32-44b6-88de-ac51ca417f45 2026-02-06 11:58:42,764 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c8b1df99-cf32-44b6-88de-ac51ca417f45 2026-02-06 11:58:42,774 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0a4a6cc3-dcf9-48d6-82a6-d99bec77f860 2026-02-06 11:58:42,783 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0a4a6cc3-dcf9-48d6-82a6-d99bec77f860 2026-02-06 11:58:42,790 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c4cd953f-3972-40b9-b9a6-6da5325c0858 2026-02-06 11:58:42,797 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-06 11:58:42,797 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c8b1df99-cf32-44b6-88de-ac51ca417f45 2026-02-06 11:58:42,806 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0a4a6cc3-dcf9-48d6-82a6-d99bec77f860 2026-02-06 11:58:42,822 - INFO - Verified VN network id 12 for VN c8b1df99-cf32-44b6-88de-ac51ca417f45 2026-02-06 11:58:42,823 - INFO - Verifications in API Server for VN ctest-vn-13206522 passed 2026-02-06 11:58:42,823 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c8b1df99-cf32-44b6-88de-ac51ca417f45 2026-02-06 11:58:42,833 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0a4a6cc3-dcf9-48d6-82a6-d99bec77f860 2026-02-06 11:58:42,841 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0a4a6cc3-dcf9-48d6-82a6-d99bec77f860 2026-02-06 11:58:42,848 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c4cd953f-3972-40b9-b9a6-6da5325c0858 2026-02-06 11:58:42,860 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77957629:ctest-vn-13206522', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77957629', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14461585730162541750', 'uuid-lslong': '9862509701273583429'}, 'enable': 'true', 'created': '2026-02-06T11:58:40', 'last-modified': '2026-02-06T11:58:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.421035'} 2026-02-06 11:58:42,865 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-06 11:58:42,865 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13206522 passed 2026-02-06 11:58:42,866 - DEBUG - ====Verifying policy data for ctest-vn-13206522 in API_Server ====== 2026-02-06 11:58:42,866 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 11:58:42,872 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7a2e9e8c-30b5-455c-8c38-384f3bb20d04 2026-02-06 11:58:42,883 - DEBUG - Requesting: http://10.0.0.50:8082/project/cd74c869-5e0d-4eaf-b8bc-127611324ded 2026-02-06 11:58:42,958 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c8b1df99-cf32-44b6-88de-ac51ca417f45 2026-02-06 11:58:42,967 - DEBUG - ==>Verifying data for policy with id: 83180083-b238-4893-9fdc-685c59e099df, fqn: ['default-domain', 'ctest-TestBasicPolicy-77957629', 'ctest-policy-allow-all-90618499'] 2026-02-06 11:58:42,968 - INFO - VN ctest-vn-13206522 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-06 11:58:42,968 - DEBUG - Verifying the vn in opserver 2026-02-06 11:58:42,968 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77957629:ctest-vn-13206522 virtual network link through opserver 10.0.0.50 2026-02-06 11:58:42,968 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-06 11:58:42,979 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77957629:ctest-vn-13206522', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77957629:ctest-vn-13206522?flat'} 2026-02-06 11:58:42,979 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77957629:ctest-vn-13206522 is found in opserver 2026-02-06 11:58:42,988 - DEBUG - Do not have enough data to verify VN in agent 2026-02-06 11:58:42,993 - DEBUG - VRF ids for VN ctest-vn-13206522: {} 2026-02-06 11:58:43,054 - DEBUG - Services list from nova: [, , ] 2026-02-06 11:58:44,116 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5226-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5226-1) 2026-02-06 11:58:45,290 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5226-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5226-1) 2026-02-06 11:58:45,290 - INFO - Waiting for VM ctest-TestBasicPolicy-77957629-76301685 to be up.. 2026-02-06 11:58:45,384 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-06 11:58:50,467 - DEBUG - VM is in ACTIVE state now 2026-02-06 11:58:50,467 - INFO - VM name : ctest-TestBasicPolicy-77957629-76301685 2026-02-06 11:58:50,545 - DEBUG - VM ctest-TestBasicPolicy-77957629-76301685 ID is aa6c543a-5835-4d19-9448-9298e488f1fc 2026-02-06 11:58:50,565 - DEBUG - VM ctest-TestBasicPolicy-77957629-76301685 launched on Node cn-jenkins-deploy-platform-ansible-os-5226-1 2026-02-06 11:58:50,642 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/aa6c543a-5835-4d19-9448-9298e488f1fc 2026-02-06 11:58:50,651 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d5ada7e1-5ac3-40da-8098-51202ddec5ed 2026-02-06 11:58:53,907 - 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 1021ms') 2026-02-06 11:58:53,908 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77957629-76301685 failed! 2026-02-06 11:58:53,965 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77957629:ctest-vn-87163936 is 2.202.235.1 and allocation pool is NOT set 2026-02-06 11:58:56,030 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.89 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 = 1.892/6.158/10.424/4.266 ms') 2026-02-06 11:58:56,030 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77957629-76301685 passed 2026-02-06 11:58:56,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 11:58:56,185 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77957629-76301685, IP 2.202.235.3, Port 22 2026-02-06 11:58:56,341 - DEBUG - VM ctest-TestBasicPolicy-77957629-76301685 is ready for SSH connections 2026-02-06 11:58:56,341 - INFO - Waiting for VM ctest-TestBasicPolicy-77957629-60385921 to be up.. 2026-02-06 11:58:56,425 - DEBUG - VM is in ACTIVE state now 2026-02-06 11:58:56,425 - INFO - VM name : ctest-TestBasicPolicy-77957629-60385921 2026-02-06 11:58:56,502 - DEBUG - VM ctest-TestBasicPolicy-77957629-60385921 ID is 9acc1bdf-a76b-4729-8eee-0db0b4d25fe6 2026-02-06 11:58:56,502 - DEBUG - VM ctest-TestBasicPolicy-77957629-60385921 launched on Node cn-jenkins-deploy-platform-ansible-os-5226-1 2026-02-06 11:58:56,579 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9acc1bdf-a76b-4729-8eee-0db0b4d25fe6 2026-02-06 11:58:56,590 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/70a47ce2-eeda-4a3e-a9d2-2793ee4382ab 2026-02-06 11:58:57,831 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.600 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.600/2.293/3.986/1.693 ms') 2026-02-06 11:58:57,831 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77957629-60385921 passed 2026-02-06 11:58:57,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 11:58:57,985 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77957629-60385921, IP 158.70.16.195, Port 22 2026-02-06 11:58:58,141 - DEBUG - VM ctest-TestBasicPolicy-77957629-60385921 is ready for SSH connections 2026-02-06 11:58:58,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 11:58:58,141 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.70.16.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-06 11:58:58,141 - DEBUG - ping -s 56 -c 3 -W 1 158.70.16.195 2026-02-06 11:59:02,250 - DEBUG - PING 158.70.16.195 (158.70.16.195): 56 data bytes 64 bytes from 158.70.16.195: seq=0 ttl=63 time=3.627 ms 64 bytes from 158.70.16.195: seq=1 ttl=63 time=1.294 ms 64 bytes from 158.70.16.195: seq=2 ttl=63 time=0.987 ms --- 158.70.16.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.987/1.969/3.627 ms 2026-02-06 11:59:02,251 - INFO - Ping to IP 158.70.16.195 from VM ctest-TestBasicPolicy-77957629-76301685 passed 2026-02-06 11:59:02,437 - DEBUG - Policy Update Response {"network-policy": {"uuid": "83180083-b238-4893-9fdc-685c59e099df", "href": "http://10.0.0.50:8082/network-policy/83180083-b238-4893-9fdc-685c59e099df"}} 2026-02-06 11:59:02,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 11:59:02,437 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.70.16.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-06 11:59:02,437 - DEBUG - ping -s 56 -c 3 -W 1 158.70.16.195 2026-02-06 11:59:05,661 - DEBUG - PING 158.70.16.195 (158.70.16.195): 56 data bytes --- 158.70.16.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-06 11:59:05,661 - WARNING - Ping to IP 158.70.16.195 from VM ctest-TestBasicPolicy-77957629-76301685 failed 2026-02-06 11:59:05,662 - INFO - Deleting VM ctest-TestBasicPolicy-77957629-60385921 2026-02-06 11:59:05,738 - INFO - Deleting VM ctest-TestBasicPolicy-77957629-76301685 2026-02-06 11:59:06,120 - INFO - Deleted policy ctest-policy-allow-all-90618499 2026-02-06 11:59:06,120 - INFO - Deleting VN ctest-vn-13206522 2026-02-06 11:59:06,163 - DEBUG - VN c8b1df99-cf32-44b6-88de-ac51ca417f45 still in use: Unable to complete operation on network c8b1df99-cf32-44b6-88de-ac51ca417f45. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f0beeb12-d053-4c7b-838f-4ab7916fb76d'] 2026-02-06 11:59:06,163 - WARNING - Deleting VN ctest-vn-13206522 failed..Will retry 2026-02-06 11:59:08,269 - DEBUG - Response for deleting network () 2026-02-06 11:59:08,269 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0a4a6cc3-dcf9-48d6-82a6-d99bec77f860 2026-02-06 11:59:08,276 - DEBUG - Response Code: 404 2026-02-06 11:59:08,276 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 11:59:08,281 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7a2e9e8c-30b5-455c-8c38-384f3bb20d04 2026-02-06 11:59:08,334 - DEBUG - Requesting: http://10.0.0.50:8082/project/cd74c869-5e0d-4eaf-b8bc-127611324ded 2026-02-06 11:59:08,405 - INFO - Validated that VN ctest-vn-13206522 is not found in API Server 2026-02-06 11:59:08,416 - DEBUG - VN ctest-vn-13206522 is not present in Agent 10.0.0.50 2026-02-06 11:59:08,416 - INFO - Validated that VN ctest-vn-13206522 is not in any agent 2026-02-06 11:59:08,429 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13206522 info 2026-02-06 11:59:08,429 - INFO - Deleting VN ctest-vn-87163936 2026-02-06 11:59:08,538 - DEBUG - Response for deleting network () 2026-02-06 11:59:08,538 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a378b82e-9065-4bc0-8592-e5c04a274c46 2026-02-06 11:59:08,544 - DEBUG - Response Code: 404 2026-02-06 11:59:08,544 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 11:59:08,550 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7a2e9e8c-30b5-455c-8c38-384f3bb20d04 2026-02-06 11:59:08,603 - DEBUG - Requesting: http://10.0.0.50:8082/project/cd74c869-5e0d-4eaf-b8bc-127611324ded 2026-02-06 11:59:08,673 - INFO - Validated that VN ctest-vn-87163936 is not found in API Server 2026-02-06 11:59:08,684 - DEBUG - VN ctest-vn-87163936 is not present in Agent 10.0.0.50 2026-02-06 11:59:08,684 - INFO - Validated that VN ctest-vn-87163936 is not in any agent 2026-02-06 11:59:08,699 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87163936 info 2026-02-06 11:59:08,954 - DEBUG - No XMPP flaps were noticed during the test 2026-02-06 11:59:08,954 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-02-06 11:59:08,954 - INFO - -------------------------------------------------------------------------------- 2026-02-06 11:59:09,637 - INFO - Deleted project: ctest-TestBasicPolicy-77957629, ID : cd74c869-5e0d-4eaf-b8bc-127611324ded