2026-05-14 15:51:51,084 - INFO - Domain Default found not creating 2026-05-14 15:51:51,264 - INFO - Project ctest-TestBasicPolicy-00985874 not found, creating it 2026-05-14 15:51:51,748 - INFO - Created Project:ctest-TestBasicPolicy-00985874, ID : 63d8df64-441a-4ac6-aff0-c2312ad38201 2026-05-14 15:51:53,284 - INFO - ================================================================================ 2026-05-14 15:51:53,285 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-14 15:51:53,285 - 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-05-14 15:51:53,543 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-14 15:51:53,543 - INFO - Initial checks done. Running the testcase now 2026-05-14 15:51:53,543 - INFO - 2026-05-14 15:51:54,099 - DEBUG - Response for create_network : {'network': {'id': 'e16ecf43-e702-47d6-9de6-628bb0f989ca', 'name': 'ctest-vn-07552160', 'tenant_id': '63d8df64441a4ac6aff0c2312ad38201', 'project_id': '63d8df64441a4ac6aff0c2312ad38201', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-vn-07552160'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 15:51:54,279 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf6068bc-329d-47ec-a430-5401dbe35dcd', 'name': '', 'tenant_id': '63d8df64441a4ac6aff0c2312ad38201', 'network_id': 'e16ecf43-e702-47d6-9de6-628bb0f989ca', 'ip_version': 4, 'cidr': '159.198.255.192/26', 'allocation_pools': [{'start': '159.198.255.194', 'end': '159.198.255.254'}], 'gateway_ip': '159.198.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.198.255.194', 'tags': [], 'project_id': '63d8df64441a4ac6aff0c2312ad38201'}} 2026-05-14 15:51:54,298 - INFO - Created VN ctest-vn-07552160 2026-05-14 15:51:54,350 - DEBUG - VN ctest-vn-07552160 UUID is e16ecf43-e702-47d6-9de6-628bb0f989ca 2026-05-14 15:51:54,644 - DEBUG - Response for create_network : {'network': {'id': '0755e3bd-4267-47ce-a808-8fa2ac2a0ff5', 'name': 'ctest-vn-66155657', 'tenant_id': '63d8df64441a4ac6aff0c2312ad38201', 'project_id': '63d8df64441a4ac6aff0c2312ad38201', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-vn-66155657'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 15:51:54,829 - DEBUG - Response for create_subnet : {'subnet': {'id': '56e099ad-fc2e-4ee6-bbbb-e1eb82420f29', 'name': '', 'tenant_id': '63d8df64441a4ac6aff0c2312ad38201', 'network_id': '0755e3bd-4267-47ce-a808-8fa2ac2a0ff5', 'ip_version': 4, 'cidr': '125.32.24.192/26', 'allocation_pools': [{'start': '125.32.24.194', 'end': '125.32.24.254'}], 'gateway_ip': '125.32.24.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.32.24.194', 'tags': [], 'project_id': '63d8df64441a4ac6aff0c2312ad38201'}} 2026-05-14 15:51:54,846 - INFO - Created VN ctest-vn-66155657 2026-05-14 15:51:54,898 - DEBUG - VN ctest-vn-66155657 UUID is 0755e3bd-4267-47ce-a808-8fa2ac2a0ff5 2026-05-14 15:51:55,025 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-07552160, 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-00985874:ctest-vn-66155657, 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-05-14 15:51:55,320 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e16ecf43-e702-47d6-9de6-628bb0f989ca', 'name': 'ctest-vn-07552160', 'tenant_id': '63d8df64441a4ac6aff0c2312ad38201', 'project_id': '63d8df64441a4ac6aff0c2312ad38201', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bf6068bc-329d-47ec-a430-5401dbe35dcd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-vn-07552160'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-policy-allow-all-38337559']], 'subnet_ipam': [{'subnet_cidr': '159.198.255.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-14 15:51:55,565 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0755e3bd-4267-47ce-a808-8fa2ac2a0ff5', 'name': 'ctest-vn-66155657', 'tenant_id': '63d8df64441a4ac6aff0c2312ad38201', 'project_id': '63d8df64441a4ac6aff0c2312ad38201', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['56e099ad-fc2e-4ee6-bbbb-e1eb82420f29'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-vn-66155657'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-policy-allow-all-38337559']], 'subnet_ipam': [{'subnet_cidr': '125.32.24.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-14 15:51:55,726 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 15:51:56,038 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 15:51:56,071 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568c3dd6-5d48-4841-ac35-3bf812d5a441 2026-05-14 15:51:56,086 - DEBUG - Requesting: http://10.0.0.50:8082/project/63d8df64-441a-4ac6-aff0-c2312ad38201 2026-05-14 15:51:56,167 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e16ecf43-e702-47d6-9de6-628bb0f989ca 2026-05-14 15:51:56,183 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e16ecf43-e702-47d6-9de6-628bb0f989ca 2026-05-14 15:51:56,197 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/170b03b1-5d81-4a43-a182-0a862c1e4f23 2026-05-14 15:51:56,207 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/170b03b1-5d81-4a43-a182-0a862c1e4f23 2026-05-14 15:51:56,215 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/11e15ff0-c587-4320-b4ab-2e807e6f6550 2026-05-14 15:51:56,222 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-14 15:51:56,222 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e16ecf43-e702-47d6-9de6-628bb0f989ca 2026-05-14 15:51:56,232 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/170b03b1-5d81-4a43-a182-0a862c1e4f23 2026-05-14 15:51:56,247 - INFO - Verified VN network id 11 for VN e16ecf43-e702-47d6-9de6-628bb0f989ca 2026-05-14 15:51:56,247 - INFO - Verifications in API Server for VN ctest-vn-07552160 passed 2026-05-14 15:51:56,247 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e16ecf43-e702-47d6-9de6-628bb0f989ca 2026-05-14 15:51:56,257 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/170b03b1-5d81-4a43-a182-0a862c1e4f23 2026-05-14 15:51:56,264 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/170b03b1-5d81-4a43-a182-0a862c1e4f23 2026-05-14 15:51:56,272 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/11e15ff0-c587-4320-b4ab-2e807e6f6550 2026-05-14 15:51:56,285 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-07552160', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00985874', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16244148796517402582', 'uuid-lslong': '11377889860707256778'}, 'enable': 'true', 'created': '2026-05-14T15:51:54', 'last-modified': '2026-05-14T15:51:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.984848'} 2026-05-14 15:51:56,294 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-14 15:51:56,294 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07552160 passed 2026-05-14 15:51:56,294 - DEBUG - ====Verifying policy data for ctest-vn-07552160 in API_Server ====== 2026-05-14 15:51:56,294 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 15:51:56,303 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568c3dd6-5d48-4841-ac35-3bf812d5a441 2026-05-14 15:51:56,314 - DEBUG - Requesting: http://10.0.0.50:8082/project/63d8df64-441a-4ac6-aff0-c2312ad38201 2026-05-14 15:51:56,389 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e16ecf43-e702-47d6-9de6-628bb0f989ca 2026-05-14 15:51:56,400 - DEBUG - ==>Verifying data for policy with id: fc4e1d2f-953f-4b9a-ad20-bd749b6d8ec4, fqn: ['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-policy-allow-all-38337559'] 2026-05-14 15:51:56,400 - INFO - VN ctest-vn-07552160 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-14 15:51:56,400 - DEBUG - Verifying the vn in opserver 2026-05-14 15:51:56,400 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-07552160 virtual network link through opserver 10.0.0.50 2026-05-14 15:51:56,400 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-14 15:51:56,695 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-14 15:51:56,767 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-07552160', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-07552160?flat'} 2026-05-14 15:51:56,767 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-07552160 is found in opserver 2026-05-14 15:51:56,777 - DEBUG - Do not have enough data to verify VN in agent 2026-05-14 15:51:56,782 - DEBUG - VRF ids for VN ctest-vn-07552160: {} 2026-05-14 15:51:56,782 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 15:51:56,787 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568c3dd6-5d48-4841-ac35-3bf812d5a441 2026-05-14 15:51:56,798 - DEBUG - Requesting: http://10.0.0.50:8082/project/63d8df64-441a-4ac6-aff0-c2312ad38201 2026-05-14 15:51:56,873 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0755e3bd-4267-47ce-a808-8fa2ac2a0ff5 2026-05-14 15:51:56,884 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0755e3bd-4267-47ce-a808-8fa2ac2a0ff5 2026-05-14 15:51:56,893 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c72545ed-0e6d-4e01-9155-83a4573588b6 2026-05-14 15:51:56,900 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c72545ed-0e6d-4e01-9155-83a4573588b6 2026-05-14 15:51:56,907 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c8df7d8f-59e1-4bc8-98b4-a2bf05fd2985 2026-05-14 15:51:56,914 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-14 15:51:56,914 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0755e3bd-4267-47ce-a808-8fa2ac2a0ff5 2026-05-14 15:51:56,923 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c72545ed-0e6d-4e01-9155-83a4573588b6 2026-05-14 15:51:56,938 - INFO - Verified VN network id 12 for VN 0755e3bd-4267-47ce-a808-8fa2ac2a0ff5 2026-05-14 15:51:56,938 - INFO - Verifications in API Server for VN ctest-vn-66155657 passed 2026-05-14 15:51:56,938 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0755e3bd-4267-47ce-a808-8fa2ac2a0ff5 2026-05-14 15:51:56,949 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c72545ed-0e6d-4e01-9155-83a4573588b6 2026-05-14 15:51:56,957 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c72545ed-0e6d-4e01-9155-83a4573588b6 2026-05-14 15:51:56,964 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c8df7d8f-59e1-4bc8-98b4-a2bf05fd2985 2026-05-14 15:51:56,976 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-66155657', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00985874', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '528578933288290254', 'uuid-lslong': '12108085527021490165'}, 'enable': 'true', 'created': '2026-05-14T15:51:54', 'last-modified': '2026-05-14T15:51:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.438467'} 2026-05-14 15:51:56,982 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-14 15:51:56,982 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66155657 passed 2026-05-14 15:51:56,983 - DEBUG - ====Verifying policy data for ctest-vn-66155657 in API_Server ====== 2026-05-14 15:51:56,983 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 15:51:56,988 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568c3dd6-5d48-4841-ac35-3bf812d5a441 2026-05-14 15:51:56,999 - DEBUG - Requesting: http://10.0.0.50:8082/project/63d8df64-441a-4ac6-aff0-c2312ad38201 2026-05-14 15:51:57,072 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0755e3bd-4267-47ce-a808-8fa2ac2a0ff5 2026-05-14 15:51:57,082 - DEBUG - ==>Verifying data for policy with id: fc4e1d2f-953f-4b9a-ad20-bd749b6d8ec4, fqn: ['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-policy-allow-all-38337559'] 2026-05-14 15:51:57,082 - INFO - VN ctest-vn-66155657 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-14 15:51:57,083 - DEBUG - Verifying the vn in opserver 2026-05-14 15:51:57,083 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-66155657 virtual network link through opserver 10.0.0.50 2026-05-14 15:51:57,083 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-14 15:51:57,096 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-66155657', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-66155657?flat'} 2026-05-14 15:51:57,096 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-66155657 is found in opserver 2026-05-14 15:51:57,106 - DEBUG - Do not have enough data to verify VN in agent 2026-05-14 15:51:57,112 - DEBUG - VRF ids for VN ctest-vn-66155657: {} 2026-05-14 15:51:57,190 - DEBUG - Services list from nova: [, , ] 2026-05-14 15:51:58,283 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5785-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5785-1) 2026-05-14 15:51:59,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5785-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5785-1) 2026-05-14 15:51:59,495 - INFO - Waiting for VM ctest-TestBasicPolicy-00985874-09278368 to be up.. 2026-05-14 15:51:59,600 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-14 15:52:04,681 - DEBUG - VM is in ACTIVE state now 2026-05-14 15:52:04,681 - INFO - VM name : ctest-TestBasicPolicy-00985874-09278368 2026-05-14 15:52:04,765 - DEBUG - VM ctest-TestBasicPolicy-00985874-09278368 ID is 279eb51e-cca9-4e66-8fa3-edbd42a3a627 2026-05-14 15:52:04,785 - DEBUG - VM ctest-TestBasicPolicy-00985874-09278368 launched on Node cn-jenkins-deploy-platform-ansible-os-5785-1 2026-05-14 15:52:04,861 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/279eb51e-cca9-4e66-8fa3-edbd42a3a627 2026-05-14 15:52:04,869 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2ca832e8-0e26-4bcd-8021-11a45b940d49 2026-05-14 15:52:08,089 - 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') 2026-05-14 15:52:08,089 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00985874-09278368 failed! 2026-05-14 15:52:08,146 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-07552160 is 159.198.255.193 and allocation pool is NOT set 2026-05-14 15:52:10,213 - 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=8.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.496 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.496/4.723/8.950/4.227 ms') 2026-05-14 15:52:10,213 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00985874-09278368 passed 2026-05-14 15:52:10,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 15:52:10,367 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00985874-09278368, IP 159.198.255.195, Port 22 2026-05-14 15:52:10,526 - DEBUG - VM ctest-TestBasicPolicy-00985874-09278368 is ready for SSH connections 2026-05-14 15:52:10,526 - INFO - Waiting for VM ctest-TestBasicPolicy-00985874-70215512 to be up.. 2026-05-14 15:52:10,610 - DEBUG - VM is in ACTIVE state now 2026-05-14 15:52:10,610 - INFO - VM name : ctest-TestBasicPolicy-00985874-70215512 2026-05-14 15:52:10,690 - DEBUG - VM ctest-TestBasicPolicy-00985874-70215512 ID is 1d034930-6d7f-4188-80a6-3e1d63b6dbae 2026-05-14 15:52:10,690 - DEBUG - VM ctest-TestBasicPolicy-00985874-70215512 launched on Node cn-jenkins-deploy-platform-ansible-os-5785-1 2026-05-14 15:52:10,772 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1d034930-6d7f-4188-80a6-3e1d63b6dbae 2026-05-14 15:52:10,781 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9e17440a-d28e-4a0d-b9aa-31f195dee885 2026-05-14 15:52:12,032 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.49 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 = 1.486/2.303/3.120/0.817 ms') 2026-05-14 15:52:12,032 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00985874-70215512 passed 2026-05-14 15:52:12,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 15:52:12,182 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00985874-70215512, IP 125.32.24.195, Port 22 2026-05-14 15:52:12,339 - DEBUG - VM ctest-TestBasicPolicy-00985874-70215512 is ready for SSH connections 2026-05-14 15:52:12,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 15:52:12,340 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.32.24.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-14 15:52:12,340 - DEBUG - ping -s 56 -c 3 -W 1 125.32.24.195 2026-05-14 15:52:16,383 - DEBUG - PING 125.32.24.195 (125.32.24.195): 56 data bytes 64 bytes from 125.32.24.195: seq=0 ttl=63 time=4.036 ms 64 bytes from 125.32.24.195: seq=1 ttl=63 time=1.144 ms 64 bytes from 125.32.24.195: seq=2 ttl=63 time=0.846 ms --- 125.32.24.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/2.008/4.036 ms 2026-05-14 15:52:16,383 - INFO - Ping to IP 125.32.24.195 from VM ctest-TestBasicPolicy-00985874-09278368 passed 2026-05-14 15:52:16,562 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fc4e1d2f-953f-4b9a-ad20-bd749b6d8ec4", "href": "http://10.0.0.50:8082/network-policy/fc4e1d2f-953f-4b9a-ad20-bd749b6d8ec4"}} 2026-05-14 15:52:16,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 15:52:16,562 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.32.24.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-14 15:52:16,562 - DEBUG - ping -s 56 -c 3 -W 1 125.32.24.195 2026-05-14 15:52:19,788 - DEBUG - PING 125.32.24.195 (125.32.24.195): 56 data bytes --- 125.32.24.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-14 15:52:19,788 - WARNING - Ping to IP 125.32.24.195 from VM ctest-TestBasicPolicy-00985874-09278368 failed 2026-05-14 15:52:19,788 - INFO - Deleting VM ctest-TestBasicPolicy-00985874-70215512 2026-05-14 15:52:19,863 - INFO - Deleting VM ctest-TestBasicPolicy-00985874-09278368 2026-05-14 15:52:20,275 - INFO - Deleted policy ctest-policy-allow-all-38337559 2026-05-14 15:52:20,275 - INFO - Deleting VN ctest-vn-66155657 2026-05-14 15:52:20,314 - DEBUG - VN 0755e3bd-4267-47ce-a808-8fa2ac2a0ff5 still in use: Unable to complete operation on network 0755e3bd-4267-47ce-a808-8fa2ac2a0ff5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ecb68931-b4fa-436f-b376-53b24b261b7d'] 2026-05-14 15:52:20,315 - WARNING - Deleting VN ctest-vn-66155657 failed..Will retry 2026-05-14 15:52:22,434 - DEBUG - Response for deleting network () 2026-05-14 15:52:22,434 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c72545ed-0e6d-4e01-9155-83a4573588b6 2026-05-14 15:52:22,440 - DEBUG - Response Code: 404 2026-05-14 15:52:22,440 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 15:52:22,450 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568c3dd6-5d48-4841-ac35-3bf812d5a441 2026-05-14 15:52:22,507 - DEBUG - Requesting: http://10.0.0.50:8082/project/63d8df64-441a-4ac6-aff0-c2312ad38201 2026-05-14 15:52:22,582 - INFO - Validated that VN ctest-vn-66155657 is not found in API Server 2026-05-14 15:52:22,591 - DEBUG - VN ctest-vn-66155657 is not present in Agent 10.0.0.50 2026-05-14 15:52:22,591 - INFO - Validated that VN ctest-vn-66155657 is not in any agent 2026-05-14 15:52:22,607 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66155657 info 2026-05-14 15:52:22,607 - INFO - Deleting VN ctest-vn-07552160 2026-05-14 15:52:22,711 - DEBUG - Response for deleting network () 2026-05-14 15:52:22,711 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/170b03b1-5d81-4a43-a182-0a862c1e4f23 2026-05-14 15:52:22,717 - DEBUG - Response Code: 404 2026-05-14 15:52:22,717 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-14 15:52:22,723 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568c3dd6-5d48-4841-ac35-3bf812d5a441 2026-05-14 15:52:22,775 - DEBUG - Requesting: http://10.0.0.50:8082/project/63d8df64-441a-4ac6-aff0-c2312ad38201 2026-05-14 15:52:22,842 - INFO - Validated that VN ctest-vn-07552160 is not found in API Server 2026-05-14 15:52:22,853 - DEBUG - VN ctest-vn-07552160 is not present in Agent 10.0.0.50 2026-05-14 15:52:22,853 - INFO - Validated that VN ctest-vn-07552160 is not in any agent 2026-05-14 15:52:22,870 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07552160 info 2026-05-14 15:52:23,127 - DEBUG - No XMPP flaps were noticed during the test 2026-05-14 15:52:23,127 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-05-14 15:52:23,127 - INFO - -------------------------------------------------------------------------------- 2026-05-14 15:52:23,829 - INFO - Deleted project: ctest-TestBasicPolicy-00985874, ID : 63d8df64-441a-4ac6-aff0-c2312ad38201